etpproto-1.0.1
توضیحات
ETP protocol implementation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | etpproto-1.0.1 |
| نام | etpproto |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | ['Lionel Untereiner'] |
| ایمیل نگهدارنده | ['lionel.untereiner@geosiris.com'] |
| نویسنده | Lionel Untereiner |
| ایمیل نویسنده | lionel.untereiner@geosiris.com |
| آدرس صفحه اصلی | http://www.geosiris.com |
| آدرس اینترنتی | https://pypi.org/project/etpproto/ |
| مجوز | Apache-2.0 |
ETP Protocol Implementation
==========
[](https://github.com/geosiris-technologies/etpproto-python/blob/main/LICENSE)
[](https://etpproto-python.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/geosiris-technologies/etpproto-python/actions/workflows/ci-tests.yml)

[](https://badge.fury.io/py/etpproto)

[](https://codecov.io/gh/geosiris-technologies/etpproto-python)
Installation
----------
Etpproto-python can be installed with pip :
```console
pip install etpproto
```
or with poetry:
```console
poetry add etpproto
```
Developing
----------
First clone the repo from gitlab.
```console
git clone https://github.com/geosiris-technologies/etpproto-python.git
```
To develop, you should use **[Poetry](https://python-poetry.org/)**.
Install all necessary packages (including for development) with:
```console
poetry install
```
Then setup the Git pre-commit hook for **[Black](<https://github.com/psf/black>)** and **[Pylint](https://www.pylint.org/)** by running
```console
poetry run pre-commit install
```
as the ``rev`` gets updated through time to track changes of different hooks,
simply run
```console
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
```console
poetry run pytest -v --cache-clear -rf --cov=etpproto/ --cov-report=term --cov-report=html --maxfail=10
```
Test the code validity :
```console
poetry run black .
poetry run flake8 .
poetry run mypy etpproto
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.6.1,<2.0.0 | fastavro |
| >=6.2,<7.0 | coverage[toml] |
| >=1.0.1,<2.0.0 | etptypes |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<3.11 | Python |
نحوه نصب
نصب پکیج whl etpproto-1.0.1:
pip install etpproto-1.0.1.whl
نصب پکیج tar.gz etpproto-1.0.1:
pip install etpproto-1.0.1.tar.gz