plot-tree
Description
plot-tree creates tree views from a csv file with child-parent relationships. It supports time-based snapshots and generates hierarchical data visuals in meraid, yaml, and text-tree formats.
Setting Up the Project
-
Clone the repository:
git clone <repository-url> cd plot-tree
-
Make sure base python verison is >=3.11
- if base python is lower than 3.11, you can use conda to create a new environment with Python 3.11:
conda create -n py311 python=3.11 conda activate py311 which python
- then use poetry to create a new virtual environment with python 3.11
poetry env use python3.11
-
Install Poetry if has not installed: https://python-poetry.org/docs/#installation
pipx install poetry
-
Install Python dependencies using Poetry:
poetry installThis command will install all Python packages specified in
pyproject.toml, including:pyyamlversion ^6.0.1anytreeversion ^2.12.1
Run all the pytest unit tests
poetry run pytest -v
How to Run
- Input: put the child and parent entries in child_parent.csv by using the same format of the csv file
- Run at project's root folder:
poetry run plot
- Output: at folder /output
treeplots cli
pip install treeplots
treeplots --help
treeplots -v
treeplots --example
treeplots
cli publish
poetry version patch
poetry version minor
poetry publish --build
poetry publish --build --dry-run
tox -e release
Metadata
Release files for treeplots 0.10.8
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 |
|---|---|---|---|---|
| treeplots-0.10.8.tar.gz | 4.5 kB | Without provenance | Details for treeplots-0.10.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| treeplots-0.10.8-py3-none-any.whl | Python 3 | none | any | Details for treeplots-0.10.8-py3-none-any.whl |
Total release size: 11.0 kB
Release files / treeplots-0.10.8.tar.gz
| Download URL | treeplots-0.10.8.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2f70f9ff83e5d1e9de5793e6325e0be69e5b000065a963e446387b56011df98
|
|
BLAKE2b-256 checksum How to use checksums |
469d4bbcfe664ece4ef0c9e2f8b79be7cec95004a883dfbb88de1b29839f69ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.13 Darwin/24.6.0
|
Release files / treeplots-0.10.8-py3-none-any.whl
| Download URL | treeplots-0.10.8-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac75fbeb2bc8e0a474aea91c5233a07f6cfde618833ba39299def133e5d04212
|
|
BLAKE2b-256 checksum How to use checksums |
598f0d10750efe5f1937653aff6537c8a283c4eca3a72ed93e346f7876c211d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.11.13 Darwin/24.6.0
|
Security for treeplots 0.10.8
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.