An open API service indexing awesome lists of open source software.

https://github.com/adagio/pytemplate

Python project template
https://github.com/adagio/pytemplate

file-structure logging python python-logging python3

Last synced: about 2 months ago
JSON representation

Python project template

Awesome Lists containing this project

README

          

# Python project template

## File structure

.
├── README.md
├── source
| ├── app.py
| ├── setup.py
| ├── requirements.txt
| ├── modules
| ├── config
| | └── logging.yml
| └── logs
└── .gitignore

## Functionality included

- Logging

## Use the template

- Download tar.gz or zip from https://github.com/adagio/pytemplate/releases/latest
- Uncompress with `unzip` or `tar xzf`
- Rename to `template`
- Use, simple as, `cp -r template myproject`
- `cd myproject`

## Work inside source folder

- Enter `cd source`

## Run application

- Do `python app.py`

## Use venv if python3 is not default

- Do `python3 -m venv myenv`
- Do `source myenv/bin/activate`