d3tree
d3tree is a Python package used to visualize file paths using D3.js. The package is inspired by Dirtree, a similar library written in Ruby.
Installation
Install d3tree in your virtual environment of choice using:
python -m pip install d3tree
Usage
d3tree is a command-line utility that can be used as follows:
Usage: d3tree [OPTIONS] [PATH]
Options:
-v, --version Print version
-o, --output TEXT Specify filepath to write HTML output
-t, --template [tree|circles|flame|treemap]
Specify template
--help Show this message and exit.
Examples
Visualize current directory:
ls | d3tree -o output.html
Or use a file that contains the filepaths:
cat filepaths.txt | d3tree -o output.html
Features not implemented
The following features are not implemented (yet):
- shell completion
- screenshot feature
- using local JS dependencies
Feel free to create a PR for these or other features.
Metadata
Release files for d3tree 0.2.2
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 | |
|---|---|---|---|---|
| d3tree-0.2.2.tar.gz | 11.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d3tree-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / d3tree-0.2.2.tar.gz
| Download URL | d3tree-0.2.2.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3dc86b0e207cec1dc52814131f3c42781d1ee001b1601c66b64983f0effb5d1b
|
|
BLAKE2b-256 checksum How to use checksums |
a161f6d7f15341efe3c3b7b5e409468eed72a2ccd4ff034e34050adfccdac73d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / d3tree-0.2.2-py3-none-any.whl
| Download URL | d3tree-0.2.2-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
acd5ba22a25aff45d04a30de5534409df8bdcd3edf705e8aa2b9b141dc8eb79a
|
|
BLAKE2b-256 checksum How to use checksums |
f4854277495871ae01c7d89cac0c4c6217a69e3d51c26aa0a88b42076f48fdb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for d3tree 0.2.2
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.