Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using TMpy? #1

Open
iamambrus opened this issue Nov 10, 2016 · 2 comments
Open

Consider using TMpy? #1

iamambrus opened this issue Nov 10, 2016 · 2 comments

Comments

@iamambrus
Copy link

Hi Kaylon, just a quick hint (not an issue): there is already a great python Rest API library out there at https://github.com/MariusWirtz/TM1py
I would recommend to check it out for all the Rest communication.
Also if the parsing logic is working on abstract objects it could even work offline (from text / rux / pro /etc) files
Cheers,
Ambrus

@kaylon
Copy link
Owner

kaylon commented Nov 10, 2016

Hey Ambrus,
I wasn't aware of that library, thanks for telling me about it, it looks awesome! It also looks way better than my stuff from a software dev perspective.

Initially I had the logic working on offline objects just as you suggested. But i completly scrapped any support for that, because the REST api is soo much nicer. I still have it if anyone would be interested but I don't see myself ever going back.

APart from that. Did you have tha chance to check the tm1doc out? I am desperate to get some feedback. :)

Cheers
Benno

@MariusWirtz
Copy link

MariusWirtz commented Nov 13, 2016

Hi Benno,

TM1doc looks really interesting. It runs for me with Python 3.5. I just had to adjust the import statements a bit.

I think TM1py could indeed be a good bridge between tm1doc and the TM1 Server.
Also I think the Rules and Process class in TM1py could come in handy for TM1doc. They are rather basic but I suppose its a good starting point for further analysis.
https://github.com/MariusWirtz/TM1py/blob/master/Samples/analyse%20cube%20rules.py
https://github.com/MariusWirtz/TM1py/tree/master/Samples/Process

Feel free to do a pull request or open an issue if you are missing something in TM1py.

Cheers,

Marius

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants