自用常用函数
Project description
custom_function
这是一个自定义的 Python 库。
自用教程
上传到 PyPI
-
注册 PyPI 账号:访问 PyPI 注册页面,注册一个新账号。
-
安装 twine:twine 是用于上传包到 PyPI 的工具,可使用以下命令安装:
pip install twine -
打包项目:在项目根目录下运行以下命令打包项目:
python setup.py sdist bdist_wheel此命令会生成一个源代码分发包(.tar.gz)和一个二进制分发包(.whl),存于 dist 目录。 -
上传包:使用 twine 上传生成的包到 PyPI:
twine upload dist/*
执行该命令后,会提示输入 PyPI 的用户名和密码,输入正确信息即可完成上传。
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
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 custom_function-1.0.2.tar.gz.
File metadata
- Download URL: custom_function-1.0.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2667a3549dfff0e4a2dfb4f300a07aa980c86f3e9b8eb26639c91351006593bb
|
|
| MD5 |
96e13c0cec98914985221076981f490a
|
|
| BLAKE2b-256 |
4a663d7ee8ee67b8e4ea7bf1b3edc7a902c9e7246aae79303c3cdb06f5c9c906
|
File details
Details for the file custom_function-1.0.2-py3-none-any.whl.
File metadata
- Download URL: custom_function-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
614e1b95385cc0198df40716f02e3e70b6b40bd15a45584f01b8a05ac2d15ce7
|
|
| MD5 |
e92c5e79b28284da47d5cdc9fb5a1d4b
|
|
| BLAKE2b-256 |
6cfbdec62e4c0037c5fafe0952bcf6190e3a7e03f6a0f6eb4ed40c745666e4cf
|