TM1py
A python module for TM1.
Decision gist · record as of 2026-08-14
Yes. TM1py is the standard Python interface to Planning Analytics, actively maintained, widely used (top 15000 PyPI packages), and carries no known security vulnerabilities. Install it if you need to automate TM1 workflows or integrate TM1 data into Python applications. The low install friction and permissive license make it a straightforward choice for enterprise users.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires TM1/Planning Analytics v11 or higher running on-premise or cloud; Python 3.7 or higher.
- Low friction install with a pure-wheel distribution.
- Active maintenance with a recent release (62 days ago) and steady repository activity.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in commercial and private projects with minimal restrictions—only requiring attribution.
last release 2026-06-13 (62 days) · last repo commit 2026-06-23 · 222 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 322,911 downloads/mo, #7,606 on PyPI
Alternatives
Verify before relying
pip install tm1py
from TM1py.Services import TM1Service
with TM1Service(address='localhost', port=8001, user='admin', password='apple', ssl=True) as tm1:
print(tm1.server.get_product_version())- Whether optional dependencies (pandas, networkx) are required for specific features or truly optional.
- Performance characteristics when executing large MDX queries or bulk write operations.
- Compatibility details with the latest TM1 12 PAaaS and Cloud Pak For Data deployments.
What it is and what it does
TM1py is a Python client library for IBM Planning Analytics (TM1), a multidimensional database and planning platform. It abstracts the REST API into Pythonic methods for reading and writing cube data, managing dimensions and hierarchies, executing MDX queries, and running TI processes. The package supports both on-premise TM1 installations and cloud deployments (IBM Cloud, PAaaS, Cloud Pak For Data), with connection modes for SSL, LDAP, OAuth, and API keys.
The library is designed for data engineers and analysts who need to automate TM1 workflows from Python—extracting data via MDX or cube views, loading data from pandas DataFrames, updating metadata, and parallelizing operations with async methods. It handles the authentication and HTTP plumbing, leaving you to focus on business logic. Active maintenance and a permissive MIT license make it suitable for production use in enterprise environments.
Use it for
- Automate daily ETL pipelines that read TM1 cube data via MDX and load results into a data warehouse.
- Build Python scripts to bulk-update TM1 dimensions and hierarchies from external data sources.
- Execute TI processes programmatically and retrieve their return values for monitoring or error handling.
- Parallelize large cube write operations using async methods to reduce overall runtime.
- Integrate TM1 data into Jupyter notebooks or pandas workflows for ad-hoc analysis and reporting.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
TM1py is the standard Python interface to Planning Analytics, actively maintained, widely used (top 15000 PyPI packages), and carries no known security vulnerabilities. Install it if you need to automate TM1 workflows or integrate TM1 data into Python applications. The low install friction and permissive license make it a straightforward choice for enterprise users.
Install
tm1py on PyPI
Before you install
Low friction install with a pure-wheel distribution. Active maintenance with a recent release (62 days ago) and steady repository activity. Five runtime dependencies are all well-established packages (requests, ijson, pytz, and two SSPI/MDX-specific libraries).
Requires TM1/Planning Analytics v11 or higher running on-premise or cloud; Python 3.7 or higher.
License in practice
MIT license is permissive, allowing use in commercial and private projects with minimal restrictions—only requiring attribution.
Quickstart
pip install tm1py
from TM1py.Services import TM1Service
with TM1Service(address='localhost', port=8001, user='admin', password='apple', ssl=True) as tm1:
print(tm1.server.get_product_version())
Verify before relying
- Whether optional dependencies (pandas, networkx) are required for specific features or truly optional.
- Performance characteristics when executing large MDX queries or bulk write operations.
- Compatibility details with the latest TM1 12 PAaaS and Cloud Pak For Data deployments.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesijsonrequestspytzrequests_negotiate_sspimdxpy |
| Maintenance | Actively maintained 62 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 322,911 / month, #7,606 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: tm1py-2.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “IBM Planning Analytics Python client”
- TM1pyTM1py provides Python bindings to IBM Planning Analytics (TM1),…
- mdxpyBuilds MDX queries programmatically for TM1 and IBM Cognos Planning…
- ibm-dbPython driver for connecting to IBM Db2 for LUW and IBM Db2 for z/OS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also mdxpy · ibm-secrets-manager-sdk · ibm-platform-services · databend-driver · bigframes · atlassian-python-api · xtgeo · ibmmq · ibm-watson-machine-learning · pyspark-client