Skip to main content

A collection of automation tools for Python projects

Reason this release was yanked:

only can be used by myself

Project description

Zyt Auto Tools

PyPI Version License Python Version

Zyt Auto Tools 是一个 Python 工具集,旨在帮助开发者自动化常见的项目任务。它包含以下工具:

  1. 自动生成 __init__.py 文件:根据 utils 目录下的 _utils.py 文件,自动生成 __init__.py 文件。
  2. 自动创建 Python 文件:快速生成带有标准模板的 Python 文件。
  3. 自动更新文件修改时间:更新项目中今天修改过的 .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 许可证 开源。

作者

致谢

感谢所有为这个项目做出贡献的人!

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

zyt_auto_tools-0.1.5.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zyt_auto_tools-0.1.5-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

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

Hashes for zyt_auto_tools-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f5631269ba1fb54c0e98dde3d38f4e0b357a221bac7e9bedc819f73dd58ec042
MD5 e2b81d05d885d3f314d7dd06242e0d62
BLAKE2b-256 09da6025285cc95e9000efb7b0efe37bf40a5cad8f4a029298592aef0ed73955

See more details on using hashes here.

File details

Details for the file zyt_auto_tools-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for zyt_auto_tools-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 21adfd13198f29b7310a598fbff7dbc55e95984ad5fa25bc8fab30b0dc5e428d
MD5 156157914a2c8c462df142f4404fbdcd
BLAKE2b-256 71d1444091050636e3f5271ccdbf7fd14053593d4c4c4e4cb29326354523589f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page