Skip to main content

Full template for python web projects with Docker, GitHub Actions, PyPI, and more.

Project description

Python-Template

PyPI version GitHub Sponsorship

Full template for python web projects with Docker, GitHub Actions, PyPI, and more.

What to replace on project setup

  • Python-Template case-sensitive globally, use hyphens for spaces
    • strings in all files
  • rix_template case-sensitive globally, use underscores for spaces
    • strings in all files
    • filenames
    • folder names
  • rix-template case-sensitive globally, must match above but with hyphens (for docker/PyPI)
    • strings in all files
  • A template for my Python projects case-sensitive globally
    • strings in all files

Secrets to set up GitHub Actions

  • DOCKERUSER dockerhub username
  • DOCKERPASS dockerhub token
  • PYPI_TOKEN PyPI token

Setup

pip install rix-template

Run

rix_template
  --port=8080
  --config=/tmp/config
  --example=test

Docker

docker run -d \
  --name="Python-Template" \
  -p port:8080 \
  -v /path/to/config/:/config:rw \
  -e 'EXAMPLE'='test'
  rix1337/docker-rix-template:latest

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

rix_template-0.0.6.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

rix_template-0.0.6-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file rix_template-0.0.6.tar.gz.

File metadata

  • Download URL: rix_template-0.0.6.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for rix_template-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1871364ed81eea1ffdcba34eb7cce99e94afd1f1b3ca6a783ded5f60c90c6243
MD5 de50fc7b82a6b5a05d9620a538972586
BLAKE2b-256 ce31857f727f9c21351cff9cb061debe6b7e833415d8fcfc41170cd7f0f0a1bb

See more details on using hashes here.

File details

Details for the file rix_template-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: rix_template-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for rix_template-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b67652e5b8925448b185f2dfa51b544475bf180de9836d4a680aa785782042
MD5 f2f4c9871d30af63c9a662c2a0233c3c
BLAKE2b-256 38738547ac067d4e5ca48ab986ea924dffddd0657994cd8309ff53d7aab3b558

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page