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
Release files for ablil 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ablil-1.2.0.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ablil-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.9 kB
Release files / ablil-1.2.0.tar.gz
| Download URL | ablil-1.2.0.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcce7c1b48b5e62f3f2e8801ca9b65082e87a8adb4bc44838e56d2f42a3160b6
|
|
BLAKE2b-256 checksum How to use checksums |
c5bcaf79792df0e8fdf64fe3c5165a8f68e0043396e90ee25d777ec62e16960f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-1021-azure
|
Release files / ablil-1.2.0-py3-none-any.whl
| Download URL | ablil-1.2.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a400afdfc82da055c6e99000f3d47964b8c14327dc9bda4c771bc94de79212e
|
|
BLAKE2b-256 checksum How to use checksums |
5d11711d88e22ed695652a1d5190570a349b578dae97eee3288b46af4f30fb2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-1021-azure
|