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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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