Code samples regarding the module Pytools from DevPro Platform
Supported Python version 3
- Requests: HTTP for Humans™
python3 -m venv .venv source .venv/bin/activate pip install -r requirements-dev.txt
Check for Code Quality following PEP8, execute:
flake8python3 -m venv .venv source .venv/bin/activate
Install PyPi local Lib1
pip install -e "path to setup.py inside the lib"E.g. pip install -e ./pytools
Validate installation
python3 from libhttprequests.github_api import get_github_avatar get_github_avatar('mauriciodoerr')
python3 setup.py sdist pip install twine twine upload dist/*
pip install pytest pytest libhttprequests
Integrated with Travis via .travis.yml
pip install pytest-covCheck diff for .travis.yml on how to add codecov for Travis CI.
Footnotes
-
List Classifiers for PyPi can be found at https://pypi.org/pypi?%3Aaction=list_classifiers ↩