https://github.com/alexanderwillner/python-boilerplate
Simple Python 3 Boiler Plate / Template Project
https://github.com/alexanderwillner/python-boilerplate
boilerplate boilerplate-template python python-boiler-plate python-template python3 template template-project
Last synced: 5 months ago
JSON representation
Simple Python 3 Boiler Plate / Template Project
- Host: GitHub
- URL: https://github.com/alexanderwillner/python-boilerplate
- Owner: AlexanderWillner
- License: apache-2.0
- Created: 2018-07-28T02:39:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T09:09:13.000Z (over 4 years ago)
- Last Synced: 2025-03-31T18:02:13.069Z (6 months ago)
- Topics: boilerplate, boilerplate-template, python, python-boiler-plate, python-template, python3, template, template-project
- Language: Makefile
- Homepage:
- Size: 21.5 KB
- Stars: 46
- Watchers: 5
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Python 3 Boiler Plate
Simple Python boiler plate project. Main features:
* Main application with parameter parsing and logger (via decorator).
* Dynamic tests via unit tests and test coverage.
* Static tests via pycodestyle, pyflakes, and pyline.
* Requirements management.
* Basic make, .gitignore and other configuration files.[](https://github.com/AlexanderWillner/python-boilerplate/actions) [](https://travis-ci.org/AlexanderWillner/python-boilerplate) [](https://coveralls.io/github/AlexanderWillner/python-boilerplate?branch=master) [](https://scrutinizer-ci.com/g/AlexanderWillner/python-boilerplate/?branch=master)
## Examples
```bash
$ make
Some available commands:
* run - Run code.
* test - Run unit tests and test coverage.
* doc - Document code (pydoc).
* clean - Cleanup (e.g. pyc files).
* code-style - Check code style (pycodestyle).
* code-lint - Check code lints (pyflakes, pyline).
* code-count - Count code lines (cloc).
* deps-install - Install dependencies (see requirements.txt).
* deps-update - Update dependencies (via pur).
* feedback - Create a GitHub issue.
``````bash
$ make test
[D 180728 04:10:10 hello:23]
Hello world!
[I 180728 04:10:10 hello:47] []
.
----------------------------------------------------------------------
Ran 1 test in 0.001sOK
Name Stmts Miss Cover
-----------------------------------------
src/__init__.py 0 0 100%
src/hello.py 26 0 100%
tests/__init__.py 0 0 100%
tests/test_hello.py 12 0 100%
-----------------------------------------
TOTAL 38 0 100%
```