# 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)
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 <dev@ctrl-felix.de>, MathNodes <freQniK@mathnodes.com'>",
"download_url": "https://files.pythonhosted.org/packages/33/a0/db9cd58c2451fb2b07a3192f80b79bf37afef34e43f3e8f2c00a59d7a1be/sentinel_sdk-0.0.2.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]([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.2",
"project_urls": null,
"split_keywords": [
"cosmos",
" mospy",
" protobuf",
" sentinel",
" sentinel_protobuf",
" sentinel_sdk"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "badb6c14afa12f1939bf6f36e0e3edd1f8453035224a64d57bbcd7746f587aab",
"md5": "e78918e218e27d397e8b13a501c651d7",
"sha256": "6c0c7978b046e5560a9ae98feb13076ca1d68a20262ba4f5812ef97da55cf58d"
},
"downloads": -1,
"filename": "sentinel_sdk-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e78918e218e27d397e8b13a501c651d7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 34323,
"upload_time": "2024-03-29T21:13:42",
"upload_time_iso_8601": "2024-03-29T21:13:42.740831Z",
"url": "https://files.pythonhosted.org/packages/ba/db/6c14afa12f1939bf6f36e0e3edd1f8453035224a64d57bbcd7746f587aab/sentinel_sdk-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "33a0db9cd58c2451fb2b07a3192f80b79bf37afef34e43f3e8f2c00a59d7a1be",
"md5": "070afc37df7073221db3a24dd96646d6",
"sha256": "4ae4d602a0d7c6584054a96d78be8be632df1cea10cfaa58d7ce31d4c2520c63"
},
"downloads": -1,
"filename": "sentinel_sdk-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "070afc37df7073221db3a24dd96646d6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 29726,
"upload_time": "2024-03-29T21:13:45",
"upload_time_iso_8601": "2024-03-29T21:13:45.507547Z",
"url": "https://files.pythonhosted.org/packages/33/a0/db9cd58c2451fb2b07a3192f80b79bf37afef34e43f3e8f2c00a59d7a1be/sentinel_sdk-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-29 21:13:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "sentinel-sdk"
}