Skip to content

rom1504/python-template

Repository files navigation

python_template

pypi Open In Colab Try it on gitpod

A nice template to start with

Install

pip install python_template

Python examples

Checkout these examples to call this as a lib:

API

This module exposes a single function hello_world which takes the same arguments as the command line tool:

  • message the message to print. (required)

For development

Either locally, or in gitpod (do export PIP_USER=false there)

Setup a virtualenv:

python3 -m venv .env
source .env/bin/activate
pip install -e .

to run tests:

pip install -r requirements-test.txt

then

make lint
make test

You can use make black to reformat the code

python -m pytest -x -s -v tests -k "dummy" to run a specific test

About

Simple python template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published