python-package-starter
Project description
python-package-starter
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_package_starter-2.0.2.tar.gz.
File metadata
- Download URL: python_package_starter-2.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e997635941b9ceb34b87371b92933a685b89a528e1b29908ecd12a46082e92f
|
|
| MD5 |
52e81d7ed1fa3faf4fb9fa6dbab37e63
|
|
| BLAKE2b-256 |
9f8bf6e54bad7cd894e1aa8ffdd6f715ba321f4b07a796bfe9f8acd93deed5cf
|
File details
Details for the file python_package_starter-2.0.2-py3-none-any.whl.
File metadata
- Download URL: python_package_starter-2.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a880a8c732f2d4d035e7ff2e96e8e0147f5a859fff7b141608f25f2334e6b26
|
|
| MD5 |
109014aa3209f4e5f954989850da2bc9
|
|
| BLAKE2b-256 |
78098a46add215169d10dbcfbed3bbca9399d13eba271e422db4b9594f6d6823
|