自己常用的一些包,为了使用方便封装起来传到pypi
Project description
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
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file jiweicommonutil-0.0.8.tar.gz
.
File metadata
- Download URL: jiweicommonutil-0.0.8.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a26dfa883e04fe7156543ef708ac9fda3cc7ec959c133b9c6a5adfb2406870f |
|
MD5 | 09b25413ed0a6682e8e3980ad235e53e |
|
BLAKE2b-256 | 14033f43f96c2d9cdbffe5e08568492f65363421c21308d11276e6ef8dee8e37 |
File details
Details for the file JiweiCommonUtil-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: JiweiCommonUtil-0.0.8-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3745724d1c02ac88b893daf288b4d98aa28adda01a8183a13c608e403700e3f |
|
MD5 | 7d5fd55a87b59a885f509e6114a41b6d |
|
BLAKE2b-256 | b64d0221a60af84438ccd9d1176ab59c7e9b809ca5f5de68f0df7045dff9ec3f |