Skip to main content

pypi package template

GitHub Workflow Status Python PyPI

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

  1. Create a new repository from this template

  2. Configure your package

    • Update pyproject.toml with your package metadata (name, author, description)
    • Version is automatically set from GitHub release tags during release publishing
    • Edit requirements.txt to include your package dependencies
    • Place your code inside your package folder (e.g., your_package/, in this example summing_lixelv/)
  3. Set up CI/CD

    • Generate a PyPI API token: Get PyPI token
    • Add the token as PYPI_TOKEN in GitHub Secrets: Create GitHub secret
    • Replace <YOUR_GITHUB_USERNAME> and <YOUR_GITHUB_REPOSITORY> with your actual GitHub account and repository names
  4. 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

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)

Source distribution for summing-lixelv 0.0.5
File Size Uploaded
summing_lixelv-0.0.5.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for summing-lixelv 0.0.5
File Interpreter ABI Platform
summing_lixelv-0.0.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page