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

https://github.com/friesischscott/python-template

My base setup for a new python project.
https://github.com/friesischscott/python-template

python python-template python3

Last synced: 24 days ago
JSON representation

My base setup for a new python project.

Awesome Lists containing this project

README

          

# python-template

[![Build Status](https://travis-ci.com/FriesischScott/python-template.svg?branch=master)](https://travis-ci.com/FriesischScott/python-template)

This is a basic setup for any new python 3 project. It uses `autopep8` for auto-formatting, `flake8` for linting and `pytest` for testing.

## Installation

To get started, create and activate a new virtual environment.

```
python -m venv .venv
source .venv/bin/activate
```

Next, install the dependencies.

```
pip install -r requirements.txt
```

Finally, install the pre-commit hooks.

```
pre-commit install
```