Full template for python web projects with Docker, Github Actions, PyPI, and more.
Project description
Python-Template
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 usernameDOCKERPASS
dockerhub tokenPYPI_TOKEN
PyPI tokenCR_USER
Github usernameCR_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)
Built Distribution
Close
Hashes for rix_template-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925545fc4826afa12cbae97b8e0f04b59b1c58b0cf56c070a4852391d68c68b3 |
|
MD5 | ddd15fcba1097a11e63dfec2ced5afca |
|
BLAKE2b-256 | d8ffffdc429a98739eb4755352bad12aef79563b780efe626885b7790b0e5f49 |