Skip to main content

A starter project for quickly setting up new Python apps

Project description

Python Starter

Steps to set up

  1. Create a new repository in GitHub using this repository as a template
  2. Generate Docker Hub PAT (Personal Access Token)
  3. Create repository secrets in GitHub repo
    • DOCKER_USERNAME (Docker Hub username)
    • DOCKER_PASSWORD (Docker Hub PAT)
  4. Create a Docker Hub repository with the same name as the GitHub repository
  5. Update assignees in renovate.json with your GitHub username
  6. Set up code-cove and make sure it has access to this repository
  7. Setup branch protection rules
    • Set Enrforcment Status to Enabled
    • Make sure Target branches set to main or default branch
    • Ensure these Branch rules are selected
      • Restrict deletions
      • Require status checks to pass with these checks
        • Lint
        • Test
      • Block force pushes
  8. Create a PyPi Trusted Publisher
  9. Generate a PyPi API token and save to GitHub secrets with name PYPI_TOKEN
  10. Ensure the name in pyproject.toml matches the name of the package on PyPi

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

js_python_starter-20250310234755.dev0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

js_python_starter-20250310234755.dev0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file js_python_starter-20250310234755.dev0.tar.gz.

File metadata

File hashes

Hashes for js_python_starter-20250310234755.dev0.tar.gz
Algorithm Hash digest
SHA256 5ddf3855dc2a24b6da1318c4e788a5184c62d7d6731e1e54b35a22c700d8ac95
MD5 9704dcab57a54d801c40fbc83b84f7b8
BLAKE2b-256 8733dfff2ff1c2ab1796b115719b2e2f5cb94136e2c61e9833b1cb27cc9e156d

See more details on using hashes here.

Provenance

The following attestation bundles were made for js_python_starter-20250310234755.dev0.tar.gz:

Publisher: ci-cd.yml on jnstockley/python-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 js_python_starter-20250310234755.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for js_python_starter-20250310234755.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 83c0004a283eadf699b6bbf410a4708e82fcd92be67c6e46e00cd0199b88a683
MD5 88913c8abce7e594026dc31ef4eab230
BLAKE2b-256 3375cb7859b5effca5fc795502906c20d7bfc5886c420a2f02eea5ab5ac31f77

See more details on using hashes here.

Provenance

The following attestation bundles were made for js_python_starter-20250310234755.dev0-py3-none-any.whl:

Publisher: ci-cd.yml on jnstockley/python-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