Skip to main content

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

  1. Clone the repository:

    git clone <repository-url>
    cd plot-tree
    
  2. 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
    
  3. Install Poetry if has not installed: https://python-poetry.org/docs/#installation

     pipx install poetry
    
  4. Install Python dependencies using Poetry:

    poetry install
    

    This command will install all Python packages specified in pyproject.toml, including:

    • pyyaml version ^6.0.1
    • anytree version ^2.12.1

Run all the pytest unit tests

poetry run pytest -v

How to Run

  1. Input: put the child and parent entries in child_parent.csv by using the same format of the csv file
  2. Run at project's root folder:
poetry run plot

  1. 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treeplots-0.10.8.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

treeplots-0.10.8-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file treeplots-0.10.8.tar.gz.

File metadata

  • Download URL: treeplots-0.10.8.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Darwin/24.6.0

File hashes

Hashes for treeplots-0.10.8.tar.gz
Algorithm Hash digest
SHA256 d2f70f9ff83e5d1e9de5793e6325e0be69e5b000065a963e446387b56011df98
MD5 5875dfc22e55356ca633189e394adc18
BLAKE2b-256 469d4bbcfe664ece4ef0c9e2f8b79be7cec95004a883dfbb88de1b29839f69ed

See more details on using hashes here.

File details

Details for the file treeplots-0.10.8-py3-none-any.whl.

File metadata

  • Download URL: treeplots-0.10.8-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.13 Darwin/24.6.0

File hashes

Hashes for treeplots-0.10.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ac75fbeb2bc8e0a474aea91c5233a07f6cfde618833ba39299def133e5d04212
MD5 07df0a50492e8760cf1062b23c93a95a
BLAKE2b-256 598f0d10750efe5f1937653aff6537c8a283c4eca3a72ed93e346f7876c211d0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.10.8 This release

2 files

0.10.7

2 files

0.10.6

2 files

0.10.5

2 files

0.10.4

2 files

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.9.9

2 files

0.9.8

2 files

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.0

2 files

0.8.0

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

Supported by

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