Skip to main content

python-everywhere

python version issues travis license coveralls pypi-v pypi-dm pypi-dd Join the chat at https://gitter.im/wdv4758h/python-everywhere code-climate

This is a sample to help you with integrating services into your Python project !

Inspired by rust-everywhere.

Features

  • Travis CI integration

  • pytest integration for testing

  • flake8 integration (invoke by pytest)

  • pylint integration (invoke by pytest)

  • coverage integration (invoke by pytest)

  • pydocstyle integration

  • mypy integration (optional static type checker)

  • Publish to PyPI with Travis CI automatically (when tagging new release)

  • Publish to GitHub with Travis CI automatically (when tagging new release)

Installation

python setup.py install

Testing

pytest

With pytest-runner, we will have python setup.py pytest.

With addopts = --doctest-modules in pytest.ini, we will also invoke doctest.

With alias in setup.cfg, we can just use python setup.py test.

run your test code :

python setup.py test
python setup.py test --addopts -v   # verbose

Here is the pytest’s documetation about integrating with setuptools.

Coverage

With coverage, we can generate testing coverage report. With pytest-cov and --cov-report html --cov-report term in the pytest.ini, we can generate testing coverage report along with running testing code.

Coveralls

Please visit https://coveralls.io/ to create coveralls for your repo.

Linter

Flake8

python setup.py flake8

Here is the flake8’s documetation about integrating with setuptools.

Type Checking

mypy

mypy everywhere

Continuous Integration

Travis CI

Please visit https://travis-ci.org/profile/USERNAME to open Travis CI support for your repo.

Documentation

python build_doc.py

Comunication

Gitter

Please visit https://gitter.im/USERNAME#createroom to add chat room for your repo.

Code Review

Code Climate

Please visit https://codeclimate.com/github/signup to add automated code review for your repo.

Release files for python-everywhere 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-everywhere 0.1.0
File Size Uploaded
python-everywhere-0.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-everywhere 0.1.0
File Interpreter ABI Platform
python_everywhere-0.1.0-py34+-none-any.whl Details

Total release size: 8.9 kB

Release files / python-everywhere-0.1.0.tar.gz

Download URL python-everywhere-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9d0583dd4645c448eda7b21bc4b4d68f60a2cdbe1273f16fc79a0196006cb720
BLAKE2b-256 checksum
How to use checksums
7255863a43adbb14fcfb231cbf35471a842ca3cc52aa4c76b5e7d7d405038582
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python_everywhere-0.1.0-py34+-none-any.whl

Download URL python_everywhere-0.1.0-py34+-none-any.whl
Size 5.4 kB
SHA-256 checksum
How to use checksums
1818ae8a544359d0942a29874244165613907ea756c317e664246a18a776834c
BLAKE2b-256 checksum
How to use checksums
9366224ccacbf18712c5316d51090c02c8aac7b138cffdf8d0d809a212958f63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page