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 shell

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-1.1.0.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-1.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file ablil-1.1.0.tar.gz.

File metadata

  • Download URL: ablil-1.1.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for ablil-1.1.0.tar.gz
Algorithm Hash digest
SHA256 49026ee4a06754a7d21b4d1c32a2a0f7af0e72d7b7057fe8af7f396ccf916e92
MD5 6582c55166a028c5c6086150bb4cb1ce
BLAKE2b-256 5234fc266b6f0fc190edabad19e5bcf12911e7b9ae4835ee531c88f77a19ca3f

See more details on using hashes here.

File details

Details for the file ablil-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ablil-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.8.0-1021-azure

File hashes

Hashes for ablil-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60b2307cd7765a51bdb0816d8c3404a1980f5eee64b9f2ddd2d672e41cb88a08
MD5 6191d5acd5354019c6679e620676e8ea
BLAKE2b-256 4ef6b737bc6a879c5c851d5208f9816b7cca2c1d09dd4fc751d5eadc4e423c3a

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