Jan 3, 2022
Getting started with TM1py
TM1py is a free Python package that wraps the TM1 REST API in a simple to use library. Making it easier to integrate systems more effectively with IBM Planning Analytics.
Getting Started!
TM1py is really quick and easy to setup, just follow these steps and you will be able to run your first Python script in less than 5 min!
1. Install TM1py
To install Python and TM1py, just follow the steps described here.
2. Enabling the TM1 REST API
TM1py uses the TM1 REST API to connect to the TM1 Server, you will need to enable the TM1 REST API on each instance where you want TM1py to connect to.
3. Download TM1py samples
TM1py includes a lot of ready to use samples that you can download on Github.
4. Run your first Python script
Ever wondered which of the dimensions in your TM1 instance are not used in cubes? TM1py can help to answer these questions with 8 Lines of code! Just follow these steps to know which dimensions are not used in your TM1 application.