Skip to main content

Kickstarts the semantic release pipeline for your Python project

Project description

ci-starter

Kickstarts the semantic release pipeline for your Python project on GitHub. It creates an opinionated configuration file for python-semantic-release, semantic-release.toml and a pipeline with reusable workflows in .github/workflows.

Usage

Prerequisites

  • Create your project:
    • Use uv to initialize your project (must be a package)
      • Fill it with some minimally meaningful content, I recommend:
        • set version to 0.0.0
        • project urls
        • keywords
        • classifiers
        • license
      • Add a dependency group for running tests (group shall contain at least your test runner, e.g. pytest)
    • Create tests (CI/CD pipeline would fail if no tests are found)
    • Format and check everything with ruff
    • Set up a trusted publisher for your project on pypi.org:
      • Workflow: continuous-delivery.yml
      • Environment name: pypi
    • Set up a trusted publisher for your project on test.pypi.org:
      • Workflow: continuous-delivery.yml
      • Environment name: testpypi
    • Create a GitHub repository for your project
    • Add remote origin and its ssh address at your local clone

Create CI/CD Pipeline

  • run ci-start (not ci-starter) in the project directory:
ci-start \
    --module-name my_app \
    --package-name my-app \
    --workflow-file continuous_delivery.yml \
    --test-group test`
    --test-command "uv run -- pytest -v"
    .

That should create you a configuration file (semantic-release.toml) and some workflow files (.github/workflows/*.yml) to start with.

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

ci_starter-0.10.2.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

ci_starter-0.10.2-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file ci_starter-0.10.2.tar.gz.

File metadata

  • Download URL: ci_starter-0.10.2.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ci_starter-0.10.2.tar.gz
Algorithm Hash digest
SHA256 08828e621cb15dd5b8e90292efdd4f6296b72f7a188872d14895094a0f871d8a
MD5 533435c02e1aa7f16865c78d02651177
BLAKE2b-256 03d5e0b438731ceea07b8becac55073fb573bf538634eb6022029d68b155784b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ci_starter-0.10.2.tar.gz:

Publisher: continuous-delivery.yml on fleetingbytes/ci-starter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ci_starter-0.10.2-py3-none-any.whl.

File metadata

  • Download URL: ci_starter-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ci_starter-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1a74bdf3c1403c87c390ba3ce1ca4214170033ff7cec11b06dc414ab0f8de77
MD5 a709fd1ecd4f9dd5ed97b9fa9fdd36d4
BLAKE2b-256 c0a4a94c7000ace123d6ef00158c45dc908df5b602e9df3b6d23392672dd02af

See more details on using hashes here.

Provenance

The following attestation bundles were made for ci_starter-0.10.2-py3-none-any.whl:

Publisher: continuous-delivery.yml on fleetingbytes/ci-starter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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