GitXplorerGitXplorer
r

python-template

public
40 stars
7 forks
5 issues

Commits

List of commits on branch main.
Verified
56c1bfc0440ba70fdbbd2a4ebf2550feb4a64cc6

Create dependabot.yml

rrom1504 committed a year ago
Verified
c1d3b92b7496c4e1700a374f5ef4f91579d4f2b6

Update deps (#2)

rrom1504 committed a year ago
Verified
fa7dcbc50a3455ebb9b02b2c4bd06a36d9fc5e81

Update ci.yml

rrom1504 committed a year ago
Verified
6e3d682af0ec9c959f8e58253e0adb4f7396c216

improve gh publish action a bit

rrom1504 committed 3 years ago
Verified
463a834f0e29bb0e5dfebd7baa5b5ab93c48aa54

Update requirements-test.txt (#1)

rrom1504 committed 3 years ago
Unverified
748f84599603dda7ff979c02f463a5c0bdb889c5

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