Metadata-Version: 2.3
Name: sentinel-sdk
Version: 0.0.2
Summary: A Sentinel SDK Written in Python
Author: NAST0R
Author-email: Tkd-Alex <dev@ctrl-felix.de>, MathNodes <freQniK@mathnodes.com'>
License: GPL-3.0 license
License-File: LICENSE
Keywords: cosmos,mospy,protobuf,sentinel,sentinel_protobuf,sentinel_sdk
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: bip-utils==2.9.0
Requires-Dist: grpcio>=1.51.1
Requires-Dist: mospy-wallet==0.5.4
Requires-Dist: pywgkey
Requires-Dist: sentinel-protobuf==0.3.3
Description-Content-Type: text/markdown

# sentinel-python-sdk

A Sentinel SDK Written in Python

## Install

This is now a PyPi package and can be installed directly with pip:

```shell
pip install sentinel-sdk
```

### Packaging Python Projects references:

- https://packaging.python.org/en/latest/tutorials/packaging-projects/
- https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/

### Development environment:

https://setuptools.pypa.io/en/latest/userguide/development_mode.html

```bash
python -m venv venv
pip install --editable .
```

Please install pre-commit plugin, in order to follow [PEP8](https://peps.python.org/pep-0008/)

```bash
pip install pre-commit
pre-commit install
```

https://pre-commit.com/index.html

### Usage example:

```python
from sentinel_sdk.sdk import SDKInstance
from sentinel_sdk.types import Status, PageRequest
sdk = SDKInstance("grpc.sentinel.co", 9090)
nodes = sdk.nodes.QueryNodes(Status.ACTIVE)
subscriptions = sdk.subscriptions.QuerySubscriptions(pagination=PageRequest(limit=5000, offset=0, reverse=True))
```

## Coded with Love by:

[NAST0R · GitHub](https://github.com/NAST0R) , [Tkd-Alex (Alessandro Maggio) · GitHub](https://github.com/Tkd-Alex), [freQniK]([freQniK · GitHub](https://github.com/freQniK))

**Commissioned by MathNodes** [MathNodes](https://github.com/MathNodes/sentinel-python-sdk)
