No project description provided
Project description
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 publish --build
poetry publish --build --dry-run
tox -e release
Project details
Release history Release notifications | RSS feed
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 treeplots-0.9.3.tar.gz.
File metadata
- Download URL: treeplots-0.9.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.11.13 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ddd881c0a1d7e4ee2e25103c5bc8956609c95b9b5a4147cda6e7c7614332d7d
|
|
| MD5 |
87306bde749090512591881e21584b35
|
|
| BLAKE2b-256 |
4e53ffed6133bf7956ea7d2c13424445b9ea110038829cb02c03ff31813d9e38
|
File details
Details for the file treeplots-0.9.3-py3-none-any.whl.
File metadata
- Download URL: treeplots-0.9.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.11.13 Darwin/24.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
268b7458c2645ac0836d854735bc00e39043d17bc010a006b5d72e21a82e8157
|
|
| MD5 |
77b564fba9865c886948c37b797865c8
|
|
| BLAKE2b-256 |
58208ee134e9391ef6d1f1d5bd14d6b2ea359e7d4cbc532449e5f9fec805431b
|