Skip to main content

Python package starter with Poetry

Project description

Python starter with Poetry

CI

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.2.0.tar.gz (1.5 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.2.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ablil-1.2.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-1021-azure

File hashes

Hashes for ablil-1.2.0.tar.gz
Algorithm Hash digest
SHA256 bcce7c1b48b5e62f3f2e8801ca9b65082e87a8adb4bc44838e56d2f42a3160b6
MD5 366ee83bc3b632242d4873c02c66977f
BLAKE2b-256 c5bcaf79792df0e8fdf64fe3c5165a8f68e0043396e90ee25d777ec62e16960f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ablil-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a400afdfc82da055c6e99000f3d47964b8c14327dc9bda4c771bc94de79212e
MD5 b533536841c55a31c4bf2ad74cb1dc4f
BLAKE2b-256 5d11711d88e22ed695652a1d5190570a349b578dae97eee3288b46af4f30fb2f

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