# 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 · GitHub](https://github.com/freQniK))
**Commissioned by MathNodes** [MathNodes](https://github.com/MathNodes/sentinel-python-sdk)
Raw data
{
"_id": null,
"home_page": null,
"name": "sentinel-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "cosmos, mospy, protobuf, sentinel, sentinel_protobuf, sentinel_sdk",
"author": "NAST0R",
"author_email": "Tkd-Alex <alex.tkd.alex@gmail.com>, MathNodes <freQniK@mathnodes.com'>",
"download_url": "https://files.pythonhosted.org/packages/b4/7b/af016d392a0217a40ff43ca6f81e7f090280b2c73ba4ef293ea50ee0366e/sentinel_sdk-0.0.5.tar.gz",
"platform": null,
"description": "# sentinel-python-sdk\n\nA Sentinel SDK Written in Python\n\n## Install\n\nThis is now a PyPi package and can be installed directly with pip:\n\n```shell\npip install sentinel-sdk\n```\n\n### Packaging Python Projects references:\n\n- https://packaging.python.org/en/latest/tutorials/packaging-projects/\n- https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/\n\n### Development environment:\n\nhttps://setuptools.pypa.io/en/latest/userguide/development_mode.html\n\n```bash\npython -m venv venv\npip install --editable .\n```\n\nPlease install pre-commit plugin, in order to follow [PEP8](https://peps.python.org/pep-0008/)\n\n```bash\npip install pre-commit\npre-commit install\n```\n\nhttps://pre-commit.com/index.html\n\n### Usage example:\n\n```python\nfrom sentinel_sdk.sdk import SDKInstance\nfrom sentinel_sdk.types import Status, PageRequest\nsdk = SDKInstance(\"grpc.sentinel.co\", 9090)\nnodes = sdk.nodes.QueryNodes(Status.ACTIVE)\nsubscriptions = sdk.subscriptions.QuerySubscriptions(pagination=PageRequest(limit=5000, offset=0, reverse=True))\n```\n\n## Coded with Love by:\n\n[NAST0R \u00b7 GitHub](https://github.com/NAST0R) , [Tkd-Alex (Alessandro Maggio) \u00b7 GitHub](https://github.com/Tkd-Alex), ([freQniK \u00b7 GitHub](https://github.com/freQniK))\n\n**Commissioned by MathNodes** [MathNodes](https://github.com/MathNodes/sentinel-python-sdk)\n",
"bugtrack_url": null,
"license": "GPL-3.0 license",
"summary": "A Sentinel SDK Written in Python",
"version": "0.0.5",
"project_urls": null,
"split_keywords": [
"cosmos",
" mospy",
" protobuf",
" sentinel",
" sentinel_protobuf",
" sentinel_sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "06b2c52aac0dec1f6305a74067237e3a7a13daddf9fe1215bbb8bacc6c7910c4",
"md5": "e0de040f7de6c6ef1f9a4f9e56911a98",
"sha256": "c5dc7e1f27acfb40cdbd660b2e2947d4103666186d2e72731c094e9878c88d5b"
},
"downloads": -1,
"filename": "sentinel_sdk-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e0de040f7de6c6ef1f9a4f9e56911a98",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 34387,
"upload_time": "2024-08-06T23:35:37",
"upload_time_iso_8601": "2024-08-06T23:35:37.418777Z",
"url": "https://files.pythonhosted.org/packages/06/b2/c52aac0dec1f6305a74067237e3a7a13daddf9fe1215bbb8bacc6c7910c4/sentinel_sdk-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b47baf016d392a0217a40ff43ca6f81e7f090280b2c73ba4ef293ea50ee0366e",
"md5": "8112a5910c9938c440bb6902a3622c89",
"sha256": "cec6849046adf0f37f4cd45393c421a45aaebffa6cb2af59a837f52dc455c83e"
},
"downloads": -1,
"filename": "sentinel_sdk-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "8112a5910c9938c440bb6902a3622c89",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 29772,
"upload_time": "2024-08-06T23:35:38",
"upload_time_iso_8601": "2024-08-06T23:35:38.436614Z",
"url": "https://files.pythonhosted.org/packages/b4/7b/af016d392a0217a40ff43ca6f81e7f090280b2c73ba4ef293ea50ee0366e/sentinel_sdk-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-06 23:35:38",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "sentinel-sdk"
}