Skip to main content

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. It supports environment-based configuration via .env files for flexible and secure connection management.


Features

  • Easily execute TM1 functions via the command line.
  • Manage connection settings with .env files.
  • 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 .env file. Here's an example:

TM1_ADDRESS=localhost
TM1_USER=admin
TM1_PASSWORD=apple
TM1_SSL=true
TM1_PORT=12345

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

tm1cli-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tm1cli-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file tm1cli-0.1.0.tar.gz.

File metadata

  • Download URL: tm1cli-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.7 Windows/10

File hashes

Hashes for tm1cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79340f00ae95a20bb1866df053979b3f1510283ce49034f1a02a843b626a9581
MD5 4b11e6eb7d211ce76520ab1a0dea1300
BLAKE2b-256 46673edbde16b5144f8ad7afdc9aa19da8c3c168b611533f9b81498f0c1cd01e

See more details on using hashes here.

File details

Details for the file tm1cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tm1cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.7 Windows/10

File hashes

Hashes for tm1cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6441e9174c77725a519b217379215b9050024e160263aa3e7c30eb51633d6484
MD5 39910bb83e56e09c77f0dc06532a263e
BLAKE2b-256 b2be02d54b409ae0eafb69d6a01c59110f2247f2505c889bb5292a7e94a54587

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page