Name | toolstxf JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | 常用的一些包 |
upload_time | 2025-08-14 05:52:03 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | MIT |
keywords |
example
demo
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
构建分发包
在项目根目录运行:
python -m pip install --upgrade build
python -m build
执行后会生成:
dist/
├── my_package-0.1.0-py3-none-any.whl
└── my_package-0.1.0.tar.gz
4. 上传到 PyPI
安装 Twine:
python -m pip install --upgrade twine
上传到测试 PyPI(推荐先测试):
python -m twine upload --repository testpypi dist/*
测试 PyPI 地址:https://test.pypi.org/
测试安装:
pip install --index-url https://test.pypi.org/simple/ my_package
确认没问题后,上传到正式 PyPI:
python -m twine upload dist/*
正式 PyPI 地址:https://pypi.org/
5. 安装自己的包
pip install my_package
Raw data
{
"_id": null,
"home_page": null,
"name": "toolstxf",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "example, demo",
"author": null,
"author_email": "\u5927\u4f6c <402066270@qq.com>",
"download_url": "https://files.pythonhosted.org/packages/5b/32/b9ea5b4f26a983673f5bd6aca30e44475ff090f19dd204ba79ca4d0ecab0/toolstxf-0.1.1.tar.gz",
"platform": null,
"description": "\u6784\u5efa\u5206\u53d1\u5305\r\n\u5728\u9879\u76ee\u6839\u76ee\u5f55\u8fd0\u884c\uff1a\r\npython -m pip install --upgrade build\r\npython -m build\r\n\u6267\u884c\u540e\u4f1a\u751f\u6210\uff1a\r\ndist/\r\n\u251c\u2500\u2500 my_package-0.1.0-py3-none-any.whl\r\n\u2514\u2500\u2500 my_package-0.1.0.tar.gz\r\n4. \u4e0a\u4f20\u5230 PyPI\r\n\u5b89\u88c5 Twine\uff1a\r\npython -m pip install --upgrade twine\r\n\u4e0a\u4f20\u5230\u6d4b\u8bd5 PyPI\uff08\u63a8\u8350\u5148\u6d4b\u8bd5\uff09\uff1a\r\npython -m twine upload --repository testpypi dist/*\r\n\u6d4b\u8bd5 PyPI \u5730\u5740\uff1ahttps://test.pypi.org/\r\n\r\n\u6d4b\u8bd5\u5b89\u88c5\uff1a\r\npip install --index-url https://test.pypi.org/simple/ my_package\r\n\u786e\u8ba4\u6ca1\u95ee\u9898\u540e\uff0c\u4e0a\u4f20\u5230\u6b63\u5f0f PyPI\uff1a\r\npython -m twine upload dist/*\r\n\u6b63\u5f0f PyPI \u5730\u5740\uff1ahttps://pypi.org/\r\n\r\n5. \u5b89\u88c5\u81ea\u5df1\u7684\u5305\r\npip install my_package\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u5e38\u7528\u7684\u4e00\u4e9b\u5305",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [
"example",
" demo"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1afef53515dd3977102f357aab5b6496184ee75ef969f835962f0ba6c251c2c0",
"md5": "44aaba0d398962b466d92ce8559b43c9",
"sha256": "d3f076301f72ae3d2cffbb8d157441444d2f9bfc0d1cc1ab06eee2accc9102ad"
},
"downloads": -1,
"filename": "toolstxf-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "44aaba0d398962b466d92ce8559b43c9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7348,
"upload_time": "2025-08-14T05:52:01",
"upload_time_iso_8601": "2025-08-14T05:52:01.977875Z",
"url": "https://files.pythonhosted.org/packages/1a/fe/f53515dd3977102f357aab5b6496184ee75ef969f835962f0ba6c251c2c0/toolstxf-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5b32b9ea5b4f26a983673f5bd6aca30e44475ff090f19dd204ba79ca4d0ecab0",
"md5": "89b1848afc088ee30f660c60facf0227",
"sha256": "181b8d848fdac9beca92bc8cc38ac282d2414156f750c5b76ef34c836e42d08d"
},
"downloads": -1,
"filename": "toolstxf-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "89b1848afc088ee30f660c60facf0227",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7016,
"upload_time": "2025-08-14T05:52:03",
"upload_time_iso_8601": "2025-08-14T05:52:03.259850Z",
"url": "https://files.pythonhosted.org/packages/5b/32/b9ea5b4f26a983673f5bd6aca30e44475ff090f19dd204ba79ca4d0ecab0/toolstxf-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-14 05:52:03",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "toolstxf"
}