Skip to main content

A template project for Python

Project description

========================================
python-everywhere
========================================

|issues|
|travis|
|coveralls|
|pypi-dm|
|gitter|


Inspired by `rust-everywhere <https://github.com/japaric/rust-everywhere>`_.


Installation
========================================

.. code-block:: sh

python setup.py install



Testing
========================================

pytest
------------------------------

With `pytest-runner <https://github.com/pytest-dev/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 :

.. code-block:: sh

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


Here is the pytest's `documetation <https://pytest.org/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner>`_ about integrating with setuptools.


Coveralls
------------------------------

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



Linter
========================================

Flake8
------------------------------

.. code-block:: sh

python setup.py flake8


Here is the flake8's `documetation <http://flake8.readthedocs.io/en/latest/setuptools.html>`_ about integrating with setuptools.



Type Checking
========================================

mypy
------------------------------

.. code-block:: sh

mypy everywhere



Continuous Integration
========================================

Travis CI
------------------------------

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


Gitter
========================================

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


.. |issues| image:: https://img.shields.io/github/issues/wdv4758h/python-everywhere.svg
:target: https://github.com/wdv4758h/python-everywhere/issues

.. |travis| image:: https://img.shields.io/travis/wdv4758h/python-everywhere.svg
:target: https://travis-ci.org/wdv4758h/python-everywhere

.. |gitter| image:: https://badges.gitter.im/Join%20Chat.svg
:alt: Join the chat at https://gitter.im/wdv4758h/python-everywhere
:target: https://gitter.im/wdv4758h/python-everywhere

.. |coveralls| image:: https://coveralls.io/repos/github/wdv4758h/python-everywhere/badge.svg
:target: https://coveralls.io/github/wdv4758h/python-everywhere

.. |pypi-dm| image:: https://img.shields.io/pypi/dm/python-everywhere.svg
:target: https://pypi-hypernode.com/pypi/python-everywhere

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-everywhere-0.0.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

python_everywhere-0.0.3-py34+-none-any.whl (4.3 kB view details)

Uploaded Python 3.4+

File details

Details for the file python-everywhere-0.0.3.tar.gz.

File metadata

File hashes

Hashes for python-everywhere-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8c81b2413dcb53af0da70289d4240da402ae992235d9cac2e9b5443df5bb414a
MD5 73938a7007c00679819610ddebe3e3d3
BLAKE2b-256 624096b7a9d4447a192a93cd11d7ab878f00700d43937512e9744c8dc1471e45

See more details on using hashes here.

File details

Details for the file python_everywhere-0.0.3-py34+-none-any.whl.

File metadata

File hashes

Hashes for python_everywhere-0.0.3-py34+-none-any.whl
Algorithm Hash digest
SHA256 8de5fdb7a4ef7eb2c6d701cad5da0e803e28a0225b10e247dfe24ed41e54dbcd
MD5 aebb11d9196fde792ef7976a8a4c325b
BLAKE2b-256 32dde4e67e296cae085f8a60b580d8b8bf7cc0812a7d52d8488650aca79b6f78

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page