charity
Render a Trie from newline-separated input using Graphviz.
Installation
pip install charity
# or from a local checkout
pip install .
Graphviz must be installed on your system so the graphviz Python package can find the binaries.
Usage
cat test/fixtures/simple_input.txt | charity --output trie --format svg --view
Options:
-o / --output: Base filename (without extension). Default:trie-f / --format: Graphviz renderer output format (e.g.pdf,png,svg). Default:pdf-v / --view: Open the rendered file after creation.
You can also run the module directly:
python -m charity < input.txt
Publishing to PyPI
- Build distributions:
python -m build - Upload:
python -m twine upload dist/*
Install build and twine first if needed: pip install build twine.
Metadata
Release files for charity 0.1.0
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 |
|---|---|---|---|---|
| charity-0.1.0.tar.gz | 12.5 kB | Without provenance | Details for charity-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| charity-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for charity-0.1.0-py3-none-any.whl |
Total release size: 20.4 kB
Release files / charity-0.1.0.tar.gz
| Download URL | charity-0.1.0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3be9170bc9084060af59fdb05743a9d66e651304f6175b30d0d4d05bf4114406
|
|
BLAKE2b-256 checksum How to use checksums |
4f64c5adf3a8739c1b01e0e15e10d73a6fb01d19ab62df7940a2ca898e5b1f6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / charity-0.1.0-py3-none-any.whl
| Download URL | charity-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1259ab680d62288778d72721f2742d66ac260bd7dad42d620c759e76d8636855
|
|
BLAKE2b-256 checksum How to use checksums |
8f0e2eca6cdc751e4e3b2e3b5dc0863d0d1da450e8dd1940820ca012d4c2f319
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for charity 0.1.0
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.