Skip to main content

Kick-starts the semantic release pipeline for your Python project

Project description

ci-starter

Kick-starts 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.3.0.tar.gz (8.3 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.3.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ci_starter-0.3.0.tar.gz
  • Upload date:
  • Size: 8.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 e89089f6c74e8d0564c6a435d41d358838411704865c8b92341c7f5b26175ef3
MD5 4877e2473174a3ccda8f90d548dc081b
BLAKE2b-256 14b58f3b284a0044a79f539dae87302f3040b11cacb07873921314ed3b9e6505

See more details on using hashes here.

Provenance

The following attestation bundles were made for ci_starter-0.3.0.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: ci_starter-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d16fea65b975e6eda2ffb77428421f778c75c3d6bcd49d86de6271773dec5cb6
MD5 d9612e03345ce795ecd487eecc7ff238
BLAKE2b-256 283884271e8c8fd93f414beb6e21e54a6cc8430a1a7388f2dc23e72be57855cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ci_starter-0.3.0-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