Skip to main content

a template for build python package to upload pypi repository bu using poetry

Project description

pypi_poetry_template

a template for build python package to upload pypi repository bu using poetry

poetry init

poetry env use python

poetry add python-dotenv
poetry add pytest pytest-mock --group test
poetry add flake8 pylint mypy --group lint
poetry add black isort yapf --group format
poetry add mkdocs --group docs


poetry install --with test,docs --without docs
poetry install --only main
poetry remove mkdocs --group docs



poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry build
poetry publish -r testpypi
poetry publish

References:

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_poetry_template-0.1.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pypi_poetry_template-0.1.4-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi_poetry_template-0.1.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1016-azure

File hashes

Hashes for pypi_poetry_template-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f3af6c213da415a7b37bdfcf6f23ff24f2d54fb959ebfb021a906d3d4870a755
MD5 8acca5f1de8384f14dca01a4ba1758cf
BLAKE2b-256 490570f9cfbeaa6518fb90124cac73aa129e0bb080078654a0f0ffccb135ae89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypi_poetry_template-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Linux/6.2.0-1016-azure

File hashes

Hashes for pypi_poetry_template-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9ba801d23c594c9037c4d1c994c6563d930de4969d66de0583f491844b9b1a
MD5 aa2fea9f01261a999de705d48c1ddcbd
BLAKE2b-256 a5e3080e2ba7b64aa22cb4c9382ef6916658f6e95688c5c106bf6df45300f7d7

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