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 an Environment in GitHub with the following secrets
    • 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. Ensure the name in pyproject.toml matches the name of the package on PyPi
  10. Make sure the following linters are installed externally of the project
    • yamllint
    • shellcheck
    • shfmt
    • node (npx/dclint)

TODO

  • Handle GitHub pre-release
  • Update PYTHONPATH with src folder
  • Add custom user to Dockerfile
  • Fix Dockerfile
  • Fix health check
  • Fix version number

Project details


Release history Release notifications | RSS feed

This version

2.6.9

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-2.6.9.tar.gz (15.2 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-2.6.9-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file js_python_starter-2.6.9.tar.gz.

File metadata

  • Download URL: js_python_starter-2.6.9.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for js_python_starter-2.6.9.tar.gz
Algorithm Hash digest
SHA256 7be0f69221595d8fb6e291df56aecde17530593fc9ea2b3eca2354f52ef045f0
MD5 10e62d60779ae4233f4ba4d0ab6d520d
BLAKE2b-256 ea51ef842549b40e1ba489834fbd6f8e64e1a23df614f839cf1a34a40f83b7ac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for js_python_starter-2.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 5c2c2b4138869b7370cd28b8354d5c8fa255a2b640664e9f9539378e8b8652ac
MD5 84bf6c1ac179d44f6bdab4677fd2179c
BLAKE2b-256 02a4acf57f5b97d7a0d463ff181e7d67304fe9c775fdb1870b1bd9c517a62366

See more details on using hashes here.

Provenance

The following attestation bundles were made for js_python_starter-2.6.9-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