A new version of TM1py is now available, v1.3.1. TM1py is an open source Python package that wraps the TM1 REST API in a simple-to-use library. That makes it easy to build stuff with TM1 and python.
The main enhancement in this new version is the **support for SSO with CAM Security**, to authenticate with TM1 you can now replace the **user** and **password** with the new **gateway** parameter:
Code: Select all
[tm1srv01]
address=localhost
port=8884
namespace=CUBEWISE
gateway=http://localhost:80/ibmcognos/cgi-bin/cognos.cgi
ssl=True
pip install TM1py --upgrade
If you are new to Python and TM1py, a good place to start is to download the TM1py Samples: https://github.com/cubewise-code/tm1py-samples
Installing TM1py is fairly easy, just follow the steps described in this Help article: https://code.cubewise.com/tm1py-help-co ... ling-tm1py
Happy coding!