Skip to main content

ETP protocol implementation

Project description

ETP Protocol Implementation

License Documentation Status Python CI Python version PyPI Status codecov

Installation

Etpproto-python can be installed with pip :

pip install etpproto

or with poetry:

poetry add etpproto

Developing

First clone the repo from gitlab.

    git clone https://github.com/geosiris-technologies/etpproto-python.git

To develop, you should use Poetry.

Install all necessary packages (including for development) with:

    poetry install

Then setup the Git pre-commit hook for Black and Pylint by running

    poetry run pre-commit install

as the rev gets updated through time to track changes of different hooks, simply run

    poetry run pre-commit autoupdate

to have pre-commit install the new version.

To bump a new version of the project simply publish a release name 'vX.X.X' with X replaced by your numbers

Test

Run tests with poetry

poetry run pytest -v --cache-clear -rf --cov=etpproto/ --cov-report=term --cov-report=html --maxfail=10

Test the code validity :

poetry run black .
poetry run flake8 .
poetry run mypy etpproto

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

etpproto-1.0.5.tar.gz (30.5 kB view hashes)

Uploaded Source

Built Distribution

etpproto-1.0.5-py3-none-any.whl (44.3 kB view hashes)

Uploaded Python 3

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