Skip to main content

Python package starter with Poetry

Project description

Python starter with Poetry

This is a ready to use starter for Python packages, clone it and make sure to update:

  • pyproject.toml
  • README.md

Develop locally

Start a new virtual env

poetry shel

Install all dependencies (declared on pyproject.toml) from all groups

poetry install

# only main group
poetry install --only main

# without test group
poetry install --without test

Add new dependency

# add dep to main group
poetry add requests

# add dep to dev group
poetry add black --group dev

# add dep to test group
poetry add pytest --group test

Build and publish

Build package

poetry build

Publish package

poetry publish

Authenticate to PyPI

poetry config pypi-token.pypi $PYPI_TOKEN

Referencs

Guide to Python module Python packaging user guide

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

ablil-0.1.5a0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

ablil-0.1.5a0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file ablil-0.1.5a0.tar.gz.

File metadata

  • Download URL: ablil-0.1.5a0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for ablil-0.1.5a0.tar.gz
Algorithm Hash digest
SHA256 80b00bb50424c5e6ca1b6f1f2dbc1ed2a94c0f171f610dbc80c5cf4a8eee31f1
MD5 5eebae0df2c23c06dbbbbe8638f09b5b
BLAKE2b-256 57e82baf77b1537b715e1af4421694a8e38c87886ab1aa7236c2b6822b11b3e5

See more details on using hashes here.

File details

Details for the file ablil-0.1.5a0-py3-none-any.whl.

File metadata

  • Download URL: ablil-0.1.5a0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for ablil-0.1.5a0-py3-none-any.whl
Algorithm Hash digest
SHA256 6cdf931b91567c141a3ae32798dc9339cfb46022adad474b5d0ccd1ebec0056f
MD5 6cb9f6f1a1745b9ce7e667404f67ff63
BLAKE2b-256 713bc7fab718605a373f48730fd8d85d80b1e4c423058c2f590b898014bbec6e

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