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.2.tar.gz (1.6 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.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ablil-0.1.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for ablil-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ba4b0d698432df70fdfe68c56ff140a614b54a41a32325d8ee3697cedd839497
MD5 a989e77bcf1670f023b5a0348d9a8e99
BLAKE2b-256 98fcc70df2f211d45af81aff3b3654b47d7be9cc853710afcd98713facad5f8d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ablil-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for ablil-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b436bbb67734a1193e8cb1f865b5bc61ce862715ea24bda395cc706289781009
MD5 80146da92e236877f9c5446410574b21
BLAKE2b-256 4fb7a13882f358ccebd00f3bceff8a5ad65ea8d75dc24a81bab3b9067eb334b4

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