A command-line interface (CLI) tool for interacting with TM1 servers using TM1py.
Project description
TM1-CLI
TM1-CLI is a command-line interface (CLI) tool to interact with TM1 servers using TM1py.
Features
- Easily execute TM1 functions via the command line.
- Manage multiple connection settings with
databases.yamlfile. - Built with Python, powered by Typer for intuitive CLI design.
Installation
Using pip
Install the package directly from PyPI:
pip install tm1cli
Using Poetry
Clone the repository and install using Poetry
git clone https://github.com/onefloid/tm1cli.git
cd tm1cli
poetry install
Usage
Basic Command
Connect to a TM1 server and print its version:
tm1cli tm1-version
Available Commands
Run the following to see all available commands:
tm1cli --help
Configuration
Connection settings are stored in a databases.yaml file. Here's an example:
databases:
- name: mydb
address: localhost
port: 10001
ssl: false
user: admin
password: ""
- name: myremotedb
address: tm1.example.com
port: 20000
ssl: false
user: admin
password: apple
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tm1cli-0.1.1.tar.gz.
File metadata
- Download URL: tm1cli-0.1.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef0af507e3274e50577d9187a3b891de23ac83b2967be5034ed06f25bd82059d
|
|
| MD5 |
1c1bf603b5a6de8c2e8e708fe5513ff1
|
|
| BLAKE2b-256 |
88e1fec038562b38803a04f714ff02670b63fceae68c6a2d3bceb3f0538f660d
|
File details
Details for the file tm1cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: tm1cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.7 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5a01f3f11f468e4bd4ede7bace5864b7a27815835e04daca25ab44d2110c921
|
|
| MD5 |
87b128875d1e8a1c104ec4fa7959e2c7
|
|
| BLAKE2b-256 |
c3fe67a93e03b858a1f1e962d04d24d3bac7965df1581469911fc676eb7e51f4
|