## Introduction
1、pypi的测试服和正式服不是同一个数据库,需要注册两次账号
2、pypi 存放python依赖库
3、sphinx 文档自动生成工具
### 封装一些自己常用的函数,放到pypi方便直接pip安装使用
### 如何操作参考教程:
https://packaging.python.org/tutorials/packaging-projects/
### Procedure Reference
https://zhuanlan.zhihu.com/p/79164800
### pypi test and formal page
https://test.pypi.org/project/JiweiCommonUtil/0.0.1/
https://pypi.org/project/JiweiCommonUtil/0.0.2/
## how to install
pip install JiweiCommonUtil==0.0.3
## How to Use -- > API
./doc/_build/index.html
from JiweiCommonUtil.imageprocess import readMatFile,cv2Bgr2Rgb
from JiweiCommonUtil.imgshow import showLineImg
from JiweiCommonUtil.util import getNowTime
## How to rebuild project and generate doc file
1、edit setup.py version
2、package proejct: python setup.py sdist bdist_wheel
3、upload proejct to pypi server: python -m twine upload dist/*
4、sphinx-apidoc -F -o ./doc ./JiweiCommonUtil
Raw data
{
"_id": null,
"home_page": "https://github.com/JiweiMaster/jiwei_pypkg_tutorial",
"name": "JiweiCommonUtil",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "\u7eaa\u4f1f",
"author_email": "2413914266@qq.com",
"download_url": "https://files.pythonhosted.org/packages/52/3b/8dcd744f76165a1b0229d65ddf9f782d72ca49be728ed9911fd33e7675cb/jiweicommonutil-0.1.0.tar.gz",
"platform": null,
"description": "## Introduction \n1\u3001pypi\u7684\u6d4b\u8bd5\u670d\u548c\u6b63\u5f0f\u670d\u4e0d\u662f\u540c\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u9700\u8981\u6ce8\u518c\u4e24\u6b21\u8d26\u53f7\n\n2\u3001pypi \u5b58\u653epython\u4f9d\u8d56\u5e93\n\n3\u3001sphinx \u6587\u6863\u81ea\u52a8\u751f\u6210\u5de5\u5177\n\n### \u5c01\u88c5\u4e00\u4e9b\u81ea\u5df1\u5e38\u7528\u7684\u51fd\u6570\uff0c\u653e\u5230pypi\u65b9\u4fbf\u76f4\u63a5pip\u5b89\u88c5\u4f7f\u7528\n### \u5982\u4f55\u64cd\u4f5c\u53c2\u8003\u6559\u7a0b\uff1a \nhttps://packaging.python.org/tutorials/packaging-projects/\n\n### Procedure Reference\nhttps://zhuanlan.zhihu.com/p/79164800\n\n### pypi test and formal page\nhttps://test.pypi.org/project/JiweiCommonUtil/0.0.1/\n\nhttps://pypi.org/project/JiweiCommonUtil/0.0.2/\n\n## how to install\npip install JiweiCommonUtil==0.0.3\n\n## How to Use -- > API\n./doc/_build/index.html\n\nfrom JiweiCommonUtil.imageprocess import readMatFile,cv2Bgr2Rgb\n\nfrom JiweiCommonUtil.imgshow import showLineImg\n\nfrom JiweiCommonUtil.util import getNowTime\n\n## How to rebuild project and generate doc file\n1\u3001edit setup.py version\n\n2\u3001package proejct: python setup.py sdist bdist_wheel\n\n3\u3001upload proejct to pypi server: python -m twine upload dist/*\n\n4\u3001sphinx-apidoc -F -o ./doc ./JiweiCommonUtil\n\n\n\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "\u81ea\u5df1\u5e38\u7528\u7684\u4e00\u4e9b\u5305\uff0c\u4e3a\u4e86\u4f7f\u7528\u65b9\u4fbf\u5c01\u88c5\u8d77\u6765\u4f20\u5230pypi",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/JiweiMaster/jiwei_pypkg_tutorial"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fecf50b054b9a853d517fdb1005a9e1f47b6873637d1dbd8f9f1d06c13054c9f",
"md5": "4ebcd693bdc874c82e6f7ca170b81330",
"sha256": "9e3bcd2039711934357325723be3d9334c08984993c4c5a115f92692b42854f3"
},
"downloads": -1,
"filename": "JiweiCommonUtil-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4ebcd693bdc874c82e6f7ca170b81330",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 21483198,
"upload_time": "2024-10-21T09:27:03",
"upload_time_iso_8601": "2024-10-21T09:27:03.242132Z",
"url": "https://files.pythonhosted.org/packages/fe/cf/50b054b9a853d517fdb1005a9e1f47b6873637d1dbd8f9f1d06c13054c9f/JiweiCommonUtil-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "523b8dcd744f76165a1b0229d65ddf9f782d72ca49be728ed9911fd33e7675cb",
"md5": "ee0b43978518924d01a06ec9b6ec9b50",
"sha256": "1f91b01a9f4ae07b527e3825e18aade41150c0156748350520c88e0d5d9d9b4d"
},
"downloads": -1,
"filename": "jiweicommonutil-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ee0b43978518924d01a06ec9b6ec9b50",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 21475779,
"upload_time": "2024-10-21T09:27:15",
"upload_time_iso_8601": "2024-10-21T09:27:15.063589Z",
"url": "https://files.pythonhosted.org/packages/52/3b/8dcd744f76165a1b0229d65ddf9f782d72ca49be728ed9911fd33e7675cb/jiweicommonutil-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-21 09:27:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "JiweiMaster",
"github_project": "jiwei_pypkg_tutorial",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "jiweicommonutil"
}