GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mauriciodoerr/pytools: Module created with some code samples regarding the module Pytools from DevPro Platform

BranchesTags
Open more actions menu

Latest commit

 

History

50 Commits
50 Commits

Folders and files

NameName
Last commit message
Last commit date
libhttprequests
libhttprequests
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

pytools

Build Status Updates Python 3 codecov

Code samples regarding the module Pytools from DevPro Platform

Supported Python version 3

  1. Implemented Libs
  2. Installing
  3. Useful Commands
    • Virtual Environment
    • PyPi Local Lib
    • Publish at PyPi
    • Integrate Pytest
    • pytest-cov for Code coverage
    • Integrate with Codecov via Travis

Implemented Libs:

  • Requests: HTTP for Humans™

Installing

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt

Check for Code Quality following PEP8, execute:

flake8

Useful Python commands

Create and activate venv

python3 -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')

Publish at PyPi

python3 setup.py sdist
pip install twine
twine upload dist/*

Integrate Pytest

pip install pytest
pytest libhttprequests

Integrated with Travis via .travis.yml

Code coverage with pytest-cov

pip install pytest-cov

Integrate with Codecov via Travis

Check diff for .travis.yml on how to add codecov for Travis CI.

Footnotes

  1. List Classifiers for PyPi can be found at https://pypi.org/pypi?%3Aaction=list_classifiers ↩

About

Module created with some code samples regarding the module Pytools from DevPro Platform

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.