TM1py 1.5.0

A forum to post information about tools which are free and open source.
Post Reply
MariusWirtz
Posts: 31
Joined: Sat Apr 08, 2017 8:40 pm
OLAP Product: TM1
Version: 10.2.2.6
Excel Version: 2016

TM1py 1.5.0

Post by MariusWirtz »

Hi all TM1 & Planning Analytics fans,

yesterday we released TM1py 1.5.0.
It's a big release with lots of new features. You can find all the details here:

https://code.cubewise.com/blog/tm1py-v1 ... -available

TM1py is free and open-source.
User avatar
Elessar
Community Contributor
Posts: 358
Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:

Re: TM1py 1.5.0

Post by Elessar »

Hi Marius,

Thank you much!
Best regards, Alexander Dvoynev

TM1 and Data Science blog: 7th article - Development requirements.
User avatar
macsir
MVP
Posts: 785
Joined: Wed May 30, 2012 6:50 am
OLAP Product: TM1
Version: PAL 2.0.9
Excel Version: Office 365
Contact:

Re: TM1py 1.5.0

Post by macsir »

Thank you, Marius.
In TM1,the answer is always yes though sometimes with a but....
http://tm1sir.blogspot.com.au/
msingh
Posts: 1
Joined: Mon Aug 17, 2020 9:26 am
OLAP Product: TM1
Version: 10.3
Excel Version: 2020

Re: TM1py 1.5.0

Post by msingh »

Hi,

Has anybody been able to get the Python Type Hints working with TM1PY, if so what IDE are you using?
MariusWirtz
Posts: 31
Joined: Sat Apr 08, 2017 8:40 pm
OLAP Product: TM1
Version: 10.2.2.6
Excel Version: 2016

Re: TM1py 1.5.0

Post by MariusWirtz »

Hi msingh,

I recommend to use PyCharm (free version). Here is a sample:

Image

Due to the type hints, in PyCharm you always know what type of TM1py object you are dealing with and what properties and functions it has to offer. Three examples:

> When working with a service (e.g. SubsetService) the editor shows all functions (e.g. get, get_all_names, make_static)

> When calling a function, the editor shows all arguments (e.g. dimension_name, subset_name)

> When dealing with an object (e.g. Subset), the editor shows all properties

PyCharm has lots of other cool features as well, like CTRL + ALT + L to autoformat your python code or SHIFT + SHIFT to search through everything.
Post Reply