luanfsf / web-frameworks-benchmark-results

Results for tech empower benchmark results.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Template

Index

Description

Simple template to create Python apps.

Structure

Main files and directories structure.

.
├── .coveragerc			| Configuration for coverage.
├── .env.example		| Example of a .end file.
├── .pre-commit-config.yaml	| Pre-commit configuration.
├── Pipfile			| Pipenv configuration for environment and dependencies.
├── tasks/			| Invoke tasks directory for running, developing and testing.  
├── template/			| Main app directory.
└── tests/			| Tests directory.

Requirementes

Optional

Installation

$ pip install pipenv && pipenv install && pipenv install --dev

Running

  • Running template
$ invoke template

Testing

Tests are run using Python's unittest

  • Run all tests
$ invoke test
  • Run coverage
$ invoke test.coverage

Developing

  • Format code
$ invoke dev.black

About

Results for tech empower benchmark results.

License:GNU General Public License v3.0


Languages

Language:Python 99.7%Language:Shell 0.3%