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.0.7.tar.gz (30.0 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.0.7-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sentinel_sdk-0.0.7.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for sentinel_sdk-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ae0e2f2430315141cf3068473e22258fe82286943c72fc25f3d64c579eedd215
MD5 2cf04e04becd00549538546dfcf2f0a7
BLAKE2b-256 2eb556c4ab32b29aa72e67f1c1bec868c67c1acc482db1c3c9eb5c7c6d772d09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sentinel_sdk-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for sentinel_sdk-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f2e1eadf37103bc3a03af1f19edc14567bd8cc5dd01af72c0eaa13b11aa8ffb1
MD5 7eee1cac3cb107d4fce38961b083c214
BLAKE2b-256 943a00be15a39c6bc048a9bbb04391077a5e7109b1e46e5dce8072381dec4ae5

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