A Sentinel SDK Written in Python
Project description
sentinel-python-sdk
A Sentinel SDK Written in Python
Install
This is now a PyPi package and can be installed directly with pip:
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
python -m venv venv
pip install --editable .
Please install pre-commit plugin, in order to follow PEP8
pip install pre-commit
pre-commit install
https://pre-commit.com/index.html
Usage example:
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 , Tkd-Alex (Alessandro Maggio) · GitHub, (freQniK · GitHub)
Commissioned by MathNodes MathNodes
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
sentinel_sdk-0.0.5.tar.gz
(29.8 kB
view details)
Built Distribution
File details
Details for the file sentinel_sdk-0.0.5.tar.gz
.
File metadata
- Download URL: sentinel_sdk-0.0.5.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec6849046adf0f37f4cd45393c421a45aaebffa6cb2af59a837f52dc455c83e |
|
MD5 | 8112a5910c9938c440bb6902a3622c89 |
|
BLAKE2b-256 | b47baf016d392a0217a40ff43ca6f81e7f090280b2c73ba4ef293ea50ee0366e |
File details
Details for the file sentinel_sdk-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: sentinel_sdk-0.0.5-py3-none-any.whl
- Upload date:
- Size: 34.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5dc7e1f27acfb40cdbd660b2e2947d4103666186d2e72731c094e9878c88d5b |
|
MD5 | e0de040f7de6c6ef1f9a4f9e56911a98 |
|
BLAKE2b-256 | 06b2c52aac0dec1f6305a74067237e3a7a13daddf9fe1215bbb8bacc6c7910c4 |