a template for build python package
Project description
pypi-template
a template for build python package to upload pypi repository
ppoetry install
poetry run dev
publish
change pyproject.toml file -- version = "0.1.0" change pypi_utils/init.py -- version = "0.1.0"
sed -i"s#A#B#g" *.txt
version="0.1.0"
sed -i -e "s/__version__ = .*/__version__ = '${version}'/g"
python main.py ${version}
git add .
git commit -m "release v${version}"
git tag v${version} -m "release v${version}"
git push origin v${version}
$version="0.1.5"
((Get-Content -Path ./pypi_utils/__init__.py) -replace "__version__ = .*","__version__ = '$version'") | Set-Content -Path ./pypi_utils/__init__.py
python main.py $version
git add .
git commit -m "release v$version"
git tag v$version -m "release v$version"
git push origin v$version
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
pypi_utils-0.1.5.tar.gz
(3.4 kB
view details)
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 pypi_utils-0.1.5.tar.gz.
File metadata
- Download URL: pypi_utils-0.1.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e775a22fbfa8315891ac37637c3d31b07d0efbd6592ddb6e707fc48aec5c861
|
|
| MD5 |
d5ebcaa1005c8a811c69a995a06aba59
|
|
| BLAKE2b-256 |
ef6f1182aefa9d2006b3ff984d416c59c70f2de221bdfa19dbe2eecd15245da8
|
File details
Details for the file pypi_utils-0.1.5-py3-none-any.whl.
File metadata
- Download URL: pypi_utils-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
093e00c28582d3cd479ceea2fd96f952a8c31e91d328c6553f550086cbbdfed2
|
|
| MD5 |
e690fbe7ba842e1cf74f06d8e7ba11bd
|
|
| BLAKE2b-256 |
8737294d03dae74357e92e9b7585b46690f0877500c264a923bdacf385211a8c
|