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, .rux etc)
Provides methods to rename and delete files and properties specific to a file type (e.g. the cube a .vue file refers to)
Return lists of “orphaned” files (e.g. a .rux without a corresponding .cub)
What it doesn’t do
Operations on binary files (e.g. it can’t read or edit a .cub file)
Genuine parsing of text files (e.g. it can’t verify whether a .rux is valid)
Interact with the REST API (use TM1py for that)
Installation
pip install tm1filetools
Example Usage
from pathlib import Path
from tm1filetools import TM1FileTool
path = Path("./data")
ft = TM1FileTool(path)
orphans = ft.get_orphan_rules()
...
ft.delete_all_blbs()
...
Metadata
Release files for tm1filetools 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tm1filetools-0.3.3.tar.gz | 22.8 kB | Without provenance | Details for tm1filetools-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tm1filetools-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for tm1filetools-0.3.3-py3-none-any.whl |
Total release size: 40.0 kB
Release files / tm1filetools-0.3.3.tar.gz
| Download URL | tm1filetools-0.3.3.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1044469d74156086ca9cb378d607c562722cf6644b8f99536aff28ed220b237
|
|
BLAKE2b-256 checksum How to use checksums |
2ed6af085a4305378c0fd3779423562d0ce1354330d033643234aa4d241c7320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Release files / tm1filetools-0.3.3-py3-none-any.whl
| Download URL | tm1filetools-0.3.3-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf47d7f5fe6ea85b5015126a6003ef914db5693ec380dd7043417af9d902ec77
|
|
BLAKE2b-256 checksum How to use checksums |
575429fd701d2e6d751184ad6340ac602d383c49f54a06e1c6ab390380494161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.1
|
Security for tm1filetools 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.