pypi package template
A streamlined template for creating Python packages with an automated CI/CD pipeline.
Features
- Automated publishing to PyPI on GitHub releases
- Version automatically synced from GitHub release tags
- requirements.txt support for project dependencies
- Pre-configured setup with pyproject.toml using PEP 517/518
- Includes build and twine for modern package distribution
Setup Guide
-
Create a new repository from this template
-
Configure your package
- Update
pyproject.tomlwith your package metadata (name, author, description) - Version is automatically set from GitHub release tags during release publishing
- Edit
requirements.txtto include your package dependencies - Place your code inside your package folder (e.g.,
your_package/, in this examplesumming_lixelv/)
- Update
-
Set up CI/CD
- Generate a PyPI API token: Get PyPI token
- Add the token as
PYPI_TOKENin GitHub Secrets: Create GitHub secret - Replace
<YOUR_GITHUB_USERNAME>and<YOUR_GITHUB_REPOSITORY>with your actual GitHub account and repository names
-
Release your package
- Create a GitHub release with a semantic version tag (e.g.,
v1.0.0) - The workflow will automatically update the version, build, and publish your package to PyPI
- Create a GitHub release with a semantic version tag (e.g.,
pip install your-package-name
Metadata
Release files for summing-lixelv 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| summing_lixelv-0.0.5.tar.gz | 3.0 kB | Without provenance | Details for summing_lixelv-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| summing_lixelv-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for summing_lixelv-0.0.5-py3-none-any.whl |
Total release size: 6.2 kB
Release files / summing_lixelv-0.0.5.tar.gz
| Download URL | summing_lixelv-0.0.5.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8fa54777373d59d8a48a003fb40cd4d8d5c085e38a68bdee0698d3eb3171aed
|
|
BLAKE2b-256 checksum How to use checksums |
b9ccdbc9ace587dbc3e4d2200af97fbfc0f6480ac859cc20eabe2a6f99a77766
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / summing_lixelv-0.0.5-py3-none-any.whl
| Download URL | summing_lixelv-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cd5eeb26fdcb703209cce5124c6644abb247145af7e6af6658a8badaf80b474
|
|
BLAKE2b-256 checksum How to use checksums |
005b2b41cf6305d48bce9b1eede4cfc402faa1d2c920a802c2f3cbbc4a54b01b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for summing-lixelv 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.