All Projects → cubewise-code → tm1py

cubewise-code / tm1py

Licence: MIT license
TM1py is a Python package that wraps the TM1 REST API in a simple to use library.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tm1py

tm1py-samples
Do more with TM1 with these ready to use TM1py samples.
Stars: ✭ 43 (-68.15%)
Mutual labels:  tm1, planning-analytics, tm1-rest-api, cubewise
mdxpy
A simple, yet elegant MDX library for TM1
Stars: ✭ 19 (-85.93%)
Mutual labels:  tm1, planning-analytics, tm1-rest-api
arc-issues
The place for users to track and post issues for Arc for TM1, the TM1/Planning Analytics development tool by Cubewise.
Stars: ✭ 12 (-91.11%)
Mutual labels:  planning-analytics, tm1-rest-api
openshift101
OpenShift 101 on IBM Cloud tutorial: https://ibm.github.io/openshift101/
Stars: ✭ 27 (-80%)
Mutual labels:  ibm
platform-services-go-sdk
Go client library for IBM Cloud Platform Services
Stars: ✭ 14 (-89.63%)
Mutual labels:  ibm
devtools
A simple set of tools for teams building live Carbon pages.
Stars: ✭ 31 (-77.04%)
Mutual labels:  ibm
watson-personality-insights-php
Framework Agnostic Watson Personality Insights Client
Stars: ✭ 13 (-90.37%)
Mutual labels:  ibm
resilient-python-api
Python Library for the IBM SOAR REST API, a Python SDK for developing Apps for IBM SOAR and more...
Stars: ✭ 29 (-78.52%)
Mutual labels:  ibm
IBM-final-project-Machine-Learning
Final project of IBM's course https://www.coursera.org/learn/machine-learning-with-python on coursera
Stars: ✭ 33 (-75.56%)
Mutual labels:  ibm
text-bot-openwhisk
DEPRECATED: this repo is no longer actively maintained
Stars: ✭ 12 (-91.11%)
Mutual labels:  ibm
CVE-2020-4463
IBM Maximo Asset Management is vulnerable to Information Disclosure via XXE Vulnerability (CVE-2020-4463)
Stars: ✭ 41 (-69.63%)
Mutual labels:  ibm
terraform-module-icp-deploy
This Terraform module can be used to deploy IBM Cloud Private on any supported infrastructure vendor. Tested on Ubuntu 16.04 and RHEL 7 on SoftLayer, VMware, AWS and Azure.
Stars: ✭ 13 (-90.37%)
Mutual labels:  ibm
IBMulator
The IBM PS/1 emulator.
Stars: ✭ 62 (-54.07%)
Mutual labels:  ibm
mq-java-exporter
Exporter for IBM MQ metrics https://prometheus.io/
Stars: ✭ 19 (-85.93%)
Mutual labels:  ibm
data-science-best-practices
The goal of this repository is to enable data scientists and ML engineers to develop data science use cases and making it ready for production use. This means focusing on the versioning, scalability, monitoring and engineering of the solution.
Stars: ✭ 53 (-60.74%)
Mutual labels:  ibm
oec
IBM 3270 terminal controller - a replacement for the IBM 3174
Stars: ✭ 29 (-78.52%)
Mutual labels:  ibm
ublu
Ublu Midrange and Mainframe Life Cycle Extension Language
Stars: ✭ 13 (-90.37%)
Mutual labels:  ibm
nlc-email-phishing
Detect email phishing with Watson Natural Language Classifier
Stars: ✭ 26 (-80.74%)
Mutual labels:  ibm
SecretColors
Python package for fantastic colors :)
Stars: ✭ 31 (-77.04%)
Mutual labels:  ibm
p3270
A python library to take control of remote IBM hosts
Stars: ✭ 32 (-76.3%)
Mutual labels:  ibm

By wrapping the IBM Planning Analytics (TM1) REST API in a concise Python framework, TM1py facilitates Python developments for TM1.

Interacting with TM1 programmatically has never been easier.

with TM1Service(address='localhost', port=8001, user='admin', password='apple', ssl=True) as tm1:
    subset = Subset(dimension_name='Month', subset_name='Q1', elements=['Jan', 'Feb', 'Mar'])
    tm1.subsets.create(subset, private=True)

Features

TM1py offers handy features to interact with TM1 from Python, such as

  • Read data from cubes through cube views and MDX Queries
  • Write data into cubes
  • Execute processes and chores
  • Execute loose statements of TI
  • CRUD features for TM1 objects (cubes, dimensions, subsets, etc.)
  • Query and kill threads
  • Query MessageLog, TransactionLog and AuditLog
  • Generate MDX Queries from existing cube views

Requirements

  • python (3.7 or higher)
  • requests
  • requests_negotiate_sspi
  • TM1 11

Optional Requirements

  • pandas

Install

without pandas

pip install tm1py

with pandas

pip install "tm1py[pandas]"

Usage

on-premise

from TM1py.Services import TM1Service

with TM1Service(address='localhost', port=8001, user='admin', password='apple', ssl=True) as tm1:
    for chore in tm1.chores.get_all():
        chore.reschedule(hours=-1)
        tm1.chores.update(chore)

IBM cloud

with TM1Service(
        base_url='https://mycompany.planning-analytics.ibmcloud.com/tm1/api/tm1/',
        user="non_interactive_user",
        namespace="LDAP",
        password="U3lSn5QLwoQZY2",
        ssl=True,
        verify=True,
        async_requests_mode=True) as tm1:
    for chore in tm1.chores.get_all():
        chore.reschedule(hours=-1)
        tm1.chores.update(chore)

Samples: https://github.com/cubewise-code/TM1py-samples

Documentation

Detailed Installation instructions and Samples: https://github.com/cubewise-code/TM1py-samples

Issues

If you find issues, sign up in Github and open an Issue in this repository

Contribution

TM1py is an open source project. It thrives on contribution from the TM1 community. If you find a bug or feel like you can contribute please fork the repository, update the code and then create a pull request so we can merge in the changes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].