A simple directory tree display tool
Project description
# 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file directory_pytree-0.1.0.tar.gz.
File metadata
- Download URL: directory_pytree-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51042efbe092d20c805891bbc11c81e3f32c5b70157d710f462c505991dae603
|
|
| MD5 |
710fa2646fb98eabad0214c6e44ba3fb
|
|
| BLAKE2b-256 |
9b55cc819ec03c7fb50176034246b7092b8802a257802e9aba74548f9e837af9
|
File details
Details for the file directory_pytree-0.1.0-py3-none-any.whl.
File metadata
- Download URL: directory_pytree-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97ebe1491c3c397045ce83fbf78db8ab0032669349d20e367dcffae288388b35
|
|
| MD5 |
2c8e3d56f1828faccd74aa0053a5bafe
|
|
| BLAKE2b-256 |
d91abbb6d39a111154a7b42cef62b08952580f1d564e558cc044025346fbc39b
|