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
  • CR_USER Github username
  • CR_TOKEN Github token with repo workflow access

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.2.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

rix_template-0.0.2-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

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