d3tree-0.2.2
توضیحات
Visualizes file paths using D3.js
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | d3tree-0.2.2 |
| نام | d3tree |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Davey Kreeft |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/dkreeft/d3tree |
| آدرس اینترنتی | https://pypi.org/project/d3tree/ |
| مجوز | - |
# d3tree
`d3tree` is a Python package used to visualize file paths using D3.js. The package is inspired by [Dirtree](https://github.com/emad-elsaid/dirtree), a similar library written in Ruby.
## Installation
Install `d3tree` in your virtual environment of choice using:
```shell
python -m pip install d3tree
```
## Usage
`d3tree` is a command-line utility that can be used as follows:
```shell
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:
```shell
ls | d3tree -o output.html
```
Or use a file that contains the filepaths:
```shell
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.
نیازمندی
| مقدار | نام |
|---|---|
| >=7.0.0 | Click |
| - | pytest |
| - | pytest-cov |
| >=38.6.0 | setuptools |
| >=1.11.0 | twine |
| >=0.31.0 | wheel |
| - | pytest |
| - | pytest-cov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl d3tree-0.2.2:
pip install d3tree-0.2.2.whl
نصب پکیج tar.gz d3tree-0.2.2:
pip install d3tree-0.2.2.tar.gz