Skip to main content

An easy use tools package

Project description

通用工具集

这是一个通用工具集, 适用于>=Python3.8

1. 准备

1.1 安装依赖

pip3 install --upgrade packaging setuptools wheel twine

2. 命令说明

2.1 打包

- 使用setup.py打包: python3 setup.py sdist bdist_wheel
- 使用build打包: python3 -m build (在包含 pyproject.toml的项目根目录下,同时需要安装构建工具: python3 -m pip install --upgrade pip build)

在当前dist目录下的两个文件是要上传到 PyPi 网站上供别人下载安装的(.tar.gz、.whl)

2.2 配置文件检查

python3 setup.py check

2.3 上传前检查

twine check dist/*

2.5 执行上传

twine upload dist/*

2.6清理

rm -rf build/ dist/ *.egg-info/

3. 其他说明

  • 本地安装使用(本地安装而不使用pip安装)
python3 setup.py install
  • 安装此工具包
pip3 install easy_use_tools -i https://pypi.org/simple/
  • 升级此工具包
pip3 install --upgrade easy_use_tools -i https://pypi.org/simple/

4. 使用说明

详见当前项目的README_USE.md文件

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

easy_use_tools-1.0.7.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

easy_use_tools-1.0.7-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file easy_use_tools-1.0.7.tar.gz.

File metadata

  • Download URL: easy_use_tools-1.0.7.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for easy_use_tools-1.0.7.tar.gz
Algorithm Hash digest
SHA256 572ca26964ee9f2e0f11021362e667a848e77ac987d25c44e1dd6db1db14c537
MD5 1770fae3620b7c85d3d8b75fc0182822
BLAKE2b-256 3c01e6720f07ee9cec5595140bc42ce4960a5644a424a6a05a808811c353637e

See more details on using hashes here.

File details

Details for the file easy_use_tools-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: easy_use_tools-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for easy_use_tools-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e62ce2a906c16eb60b98b94cf951442668cd27df535e8b45818331e027ad395b
MD5 f5cb43da116b58247c292c19e32ad441
BLAKE2b-256 aaf6f732e9831f01fe5dc55da3bacb32e811157e76cd632eeba56908ea3c032b

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