Visualizes file paths using D3.js
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
d3tree-0.2.2.tar.gz
(11.9 kB
view details)
Built Distribution
d3tree-0.2.2-py3-none-any.whl
(13.3 kB
view details)
File details
Details for the file d3tree-0.2.2.tar.gz
.
File metadata
- Download URL: d3tree-0.2.2.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc86b0e207cec1dc52814131f3c42781d1ee001b1601c66b64983f0effb5d1b |
|
MD5 | 5fdd3e4e80e29bdd368b8b77d6099bca |
|
BLAKE2b-256 | a161f6d7f15341efe3c3b7b5e409468eed72a2ccd4ff034e34050adfccdac73d |
File details
Details for the file d3tree-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: d3tree-0.2.2-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd5ba22a25aff45d04a30de5534409df8bdcd3edf705e8aa2b9b141dc8eb79a |
|
MD5 | 1a2b716f4d956e9088704f1c1406d81a |
|
BLAKE2b-256 | f4854277495871ae01c7d89cac0c4c6217a69e3d51c26aa0a88b42076f48fdb4 |