Skip to main content

A Sentinel SDK Written in Python

Project description

sentinel-python-sdk

A Sentinel SDK Written in Python

Install

First install the required dependencies:

sudo apt update
sudo apt install build-essential autoconf automake libtool pkg-config python3-dev

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

pip install sentinel-sdk

Packaging Python Projects references:

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.1.7.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentinel_sdk-0.1.7-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

Details for the file sentinel_sdk-0.1.7.tar.gz.

File metadata

  • Download URL: sentinel_sdk-0.1.7.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for sentinel_sdk-0.1.7.tar.gz
Algorithm Hash digest
SHA256 941501e837b870ce12b5a92c68cf742092c85626bf783bc03ce646bec4d0e0d6
MD5 52b3cbc774f8d8232d0896cf818f6148
BLAKE2b-256 b54ffa1f545d6d173135835857a4e0cfa4822e2d89a58a24f24a038e5f3a80c9

See more details on using hashes here.

File details

Details for the file sentinel_sdk-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: sentinel_sdk-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for sentinel_sdk-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a2321ca7b24d200b0823fe4d07ce2f705b782c1f66c367be0deba44a16f4e99a
MD5 cdd91b4e17fc361de946a87df23569d0
BLAKE2b-256 78d7df66a2b051d92c0a9a4bcca8900aa642c2ddfdb965befc934269654e2d93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page