# PyTree
一个简单而强大的目录树显示工具。
## 安装
```bash
pip install directory-pytree
使用方法
pytree [路径] [-e 排除目录] [-L 层级] [-s]
参数说明
- 路径: 要显示的目录路径(可选,默认为当前目录)
- -e, --exclude: 要排除的目录列表
- -L, --level: 最大显示深度
- -s, --size: 显示文件大小
示例
pytree
pytree /path/to/directory
pytree -s -L 2
pytree -e node_modules .git
开发
- 克隆仓库
- 安装开发依赖: pip install -e ".[dev]"
- 运行测试: pytest
许可证
MIT License Copyright (c) 2023 Chen Ding Gang
Metadata
Release files for directory-pytree 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 |
|---|---|---|---|---|
| directory_pytree-0.1.0.tar.gz | 2.7 kB | Without provenance | Details for directory_pytree-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| directory_pytree-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for directory_pytree-0.1.0-py3-none-any.whl |
Total release size: 6.0 kB
Release files / directory_pytree-0.1.0.tar.gz
| Download URL | directory_pytree-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51042efbe092d20c805891bbc11c81e3f32c5b70157d710f462c505991dae603
|
|
BLAKE2b-256 checksum How to use checksums |
9b55cc819ec03c7fb50176034246b7092b8802a257802e9aba74548f9e837af9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / directory_pytree-0.1.0-py3-none-any.whl
| Download URL | directory_pytree-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97ebe1491c3c397045ce83fbf78db8ab0032669349d20e367dcffae288388b35
|
|
BLAKE2b-256 checksum How to use checksums |
d91abbb6d39a111154a7b42cef62b08952580f1d564e558cc044025346fbc39b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for directory-pytree 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.