Skip to main content

Simple template for creating PyPI packages with automated publishing using GitHub Actions.

Project description

PyPI Package Template

Ruff GitHub License Tests Codecov PyPI - Python Version PyPI - Version

This repository contains a simple template for creating PyPI packages with automated publishing using GitHub Actions. It includes the following features:

  • Automated Publishing:

    • New versions are published to Test PyPI when a new tag with a semantic version is pushed.
    • New releases trigger the build and publication of the package to the official PyPI.
  • Continuous Integration/Continuous Deployment (CI/CD):

    • Automated testing using pytest.
    • Coverage reports generated with pytest-cov and uploaded to Codecov.
  • Secrets Configuration:

    • Requires PYPI_TOKEN and TEST_PYPI_TOKEN for publishing.
    • Requires CODECOV_TOKEN for generating the coverage badge.

This template streamlines the process of developing, testing, and publishing Python packages, ensuring a smooth and automated workflow.

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

pypi_workflow-0.1.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypi_workflow-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file pypi_workflow-0.1.2.tar.gz.

File metadata

  • Download URL: pypi_workflow-0.1.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure

File hashes

Hashes for pypi_workflow-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dfa2c2a2547adc1329f9c27091ab5180606107578d58b72269a373566da1f6bd
MD5 f62f2cfb26210ec4b40f6afdf2e267ee
BLAKE2b-256 8755d7299b062cd462da34eaf60f67966621ac8d3eec9da631b6409b939a344c

See more details on using hashes here.

File details

Details for the file pypi_workflow-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pypi_workflow-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1022-azure

File hashes

Hashes for pypi_workflow-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b2036fd81c6bc9cc6ceedb1b21719267999ddf4662e4d13831f0166fe06c4b7
MD5 1398622493fdf5537cf9d4403266d4a1
BLAKE2b-256 907a1c6a7555570b488bd3129de3f2bcd51c74238b79e6eddf6b0f634cf845ba

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