GitXplorerGitXplorer
r

python-template

public
40 stars
7 forks
5 issues

Commits

List of commits on branch main.
Unverified
40e1e528595a68d51e78d768d735a0a933fd0a7f

first commit

rrom1504 committed 3 years ago

README

The README file for this repository.

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