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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file etpproto-1.0.5.tar.gz.

File metadata

  • Download URL: etpproto-1.0.5.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1018-azure

File hashes

Hashes for etpproto-1.0.5.tar.gz
Algorithm Hash digest
SHA256 bfdc12cf5030ac41e3d0e7c36bbdc7d4e72b0e99839ed0c6b79a7ed5922b0a71
MD5 9c756a4ba477e2f81d795fff51f39e75
BLAKE2b-256 722e3e14d03e66ff68101b99dc3ca4d9a0556c3ba96316bcdc0bdcacbbee08a1

See more details on using hashes here.

File details

Details for the file etpproto-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: etpproto-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 44.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.18 Linux/6.2.0-1018-azure

File hashes

Hashes for etpproto-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 390466de3638768eb55fcc9c094dfd57f6998d1ca21d3485cc753f914801d9a4
MD5 8007a6e8e094aa6cf62bba54d7f48296
BLAKE2b-256 49b7b0f548b5c5bb336051a184f5df727fb3dd5f169eecfcd2252aecc51de0f2

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