A package for working with files created by a TM1 database
Project description
TM1 File Tools
A Python package that simplifies working with files associated with a TM1 server. It's primarily useful for linting or cleaning up a server directory without a dependency on a running TM1 Server.
What it does
- Scans a TM1 database folder and finds most TM1 related files (e.g.
.cub,.ruxetc) - Provides methods to rename and delete files and properties specific to a file type (e.g. the cube a
.vuefile refers to) - Return lists of "orphaned" files (e.g. a
.ruxwithout a corresponding.cub)
What it doesn't do
- Operations on binary files (e.g. it can't read or edit a
.cubfile) - Genuine parsing of text files (e.g. it can't verify whether a
.ruxis valid) - Interact with the REST API (use TM1py for that)
Installation
If you want to try it out, you can install directly from this repo. I'll think about publishing it to PyPi once it's considered a bit more stable.
pip install git+https://github.com/scrambldchannel/tm1-file-tools.git
Testing
python -m pytest tests
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 tm1filetools-0.3.0.tar.gz.
File metadata
- Download URL: tm1filetools-0.3.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5548609007fbb749428ffac352a9be9ad37b3c2e429410ff76e516520d37bd25
|
|
| MD5 |
800f0a542646b9adc86a4fceaea0b608
|
|
| BLAKE2b-256 |
87674f0456d5e12905f1d72fa6f1bd90e887bcd06360dfdaaf8b6b89063e4a4b
|
File details
Details for the file tm1filetools-0.3.0-py3-none-any.whl.
File metadata
- Download URL: tm1filetools-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09adee349d1c79957ca39cb5ec189e26d06cd7c9e2e193a1c49ef7b2c8d670c7
|
|
| MD5 |
14b7548d45764ce60457ab1c5c4f397c
|
|
| BLAKE2b-256 |
116154ad416f979d415bed114f6e9deb5546b43df43db7a9817cac75885c0fa4
|