A collection of automation tools for Python projects
Reason this release was yanked:
only can be used by myself
Project description
Zyt Auto Tools
Zyt Auto Tools 是一个 Python 工具集,旨在帮助开发者自动化常见的项目任务。它包含以下工具:
- 自动生成
__init__.py文件:根据utils目录下的_utils.py文件,自动生成__init__.py文件。 - 自动创建 Python 文件:快速生成带有标准模板的 Python 文件。
- 自动更新文件修改时间:更新项目中今天修改过的
.py文件的Update日期。
安装
你可以通过 pip 安装这个工具集:
pip install zyt_auto_tools
使用方法
1. 自动生成 __init__.py 文件
在项目根目录下运行以下命令,自动生成 utils 目录下的 __init__.py 文件:
auto-generate-all-utils
2. 自动创建 Python 文件
使用以下命令快速创建一个带有标准模板的 Python 文件:
auto-init-python-file my_script.py
你还可以指定目标目录:
auto-init-python-file my_script.py --dir ./my_project
3. 自动更新文件修改时间
在项目根目录下运行以下命令,更新今天修改过的 .py 文件的 Update 日期:
auto-update-ctime
贡献
欢迎贡献代码!
许可证
本项目基于 MIT 许可证 开源。
作者
- ZhangYuetao - 项目开发者
- 邮箱: zhang894171707@gmail.com
- GitHub: https://github.com/VerySeriousMan
致谢
感谢所有为这个项目做出贡献的人!
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 zyt_auto_tools-0.1.5.tar.gz.
File metadata
- Download URL: zyt_auto_tools-0.1.5.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5631269ba1fb54c0e98dde3d38f4e0b357a221bac7e9bedc819f73dd58ec042
|
|
| MD5 |
e2b81d05d885d3f314d7dd06242e0d62
|
|
| BLAKE2b-256 |
09da6025285cc95e9000efb7b0efe37bf40a5cad8f4a029298592aef0ed73955
|
File details
Details for the file zyt_auto_tools-0.1.5-py3-none-any.whl.
File metadata
- Download URL: zyt_auto_tools-0.1.5-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21adfd13198f29b7310a598fbff7dbc55e95984ad5fa25bc8fab30b0dc5e428d
|
|
| MD5 |
156157914a2c8c462df142f4404fbdcd
|
|
| BLAKE2b-256 |
71d1444091050636e3f5271ccdbf7fd14053593d4c4c4e4cb29326354523589f
|