Skip to main content

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.4"
((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


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.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypi_utils-0.1.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file pypi_utils-0.1.4.tar.gz.

File metadata

  • Download URL: pypi_utils-0.1.4.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

Hashes for pypi_utils-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bca672f45b98d21ec9ea92653bd80a925d9277c0570c1d3eccba733be6e287c2
MD5 23c5a8c225bb160596a3d875d0c88b19
BLAKE2b-256 85efb143ef7fd3ddf550d51252a1a06bac995c80ebe60c458a661a380fa5efde

See more details on using hashes here.

File details

Details for the file pypi_utils-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pypi_utils-0.1.4-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

Hashes for pypi_utils-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 93c8a1a23d3868056939b919e714138c8526a1e81bd0c7418bc1c44863d4228c
MD5 16ea385ce477020086ed02ce8aa25584
BLAKE2b-256 5efe6280bd6edb1cce4f2bc6d03a17b2ee09953e5ce01694c9b5b94536638869

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page