Skip to main content

Hisia Climate Intelligence SDK - Earth observation APIs for Africa

Project description

Hisia Python SDK

Official Python SDK for the Hisia Climate Intelligence Platform - Earth observation and climate data APIs for Africa.

PyPI version Python 3.9+ License: MIT

Installation

pip install hisia-sdk

Quick Start

from hisia import Hisia

# Initialize client (uses HISIA_API_KEY env var by default)
client = Hisia(api_key="hs_...")

# List available datasets
datasets = client.datasets.list(limit=10)
for ds in datasets:
    print(f"{ds.name}: {ds.description}")

# Search satellite imagery by location
imagery = client.satellite.search(
    bbox=[36.7, -1.3, 36.9, -1.1],  # Nairobi area
    sensor="sentinel-2-l2a",
    start_date="2025-01-01",
    end_date="2025-01-31"
)

# Calculate vegetation indices
ndvi = client.indices.calculate(
    latitude=-1.2921,
    longitude=36.8219,
    index="NDVI",
    start_date="2025-01-01",
    end_date="2025-06-30"
)

Async Support

from hisia import AsyncHisia
import asyncio

async def main():
    async with AsyncHisia(api_key="hs_...") as client:
        datasets = await client.datasets.list()
        print(datasets)

asyncio.run(main())

Configuration

Environment Variable Description
HISIA_API_KEY Your API key (get one at https://akili.hisia.space/developer/keys)
HISIA_BASE_URL API base URL (default: https://api.hisia.space/v1)

Available Resources

  • datasets - Browse and query climate datasets
  • satellite - Search satellite imagery (Sentinel-2, Landsat, etc.)
  • indices - Calculate vegetation indices (NDVI, EVI, SAVI, etc.)
  • pipelines - Run data processing pipelines
  • models - Access ML models for predictions

Documentation

Full documentation: https://docs.hisia.space/sdk/python

Support

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

hisia_sdk-1.0.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

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

hisia_sdk-1.0.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file hisia_sdk-1.0.1.tar.gz.

File metadata

  • Download URL: hisia_sdk-1.0.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for hisia_sdk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3bdb062762ddd1adfd741d33624ccdab1882a6986dbf2628e20c81ffbc28cbb7
MD5 3a732efc7881d64274272e72cf8ef20e
BLAKE2b-256 e4b4656d5a778c8214458377f9df412260b7fef2cdb88f1d69308cdb8b8f09d4

See more details on using hashes here.

File details

Details for the file hisia_sdk-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: hisia_sdk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for hisia_sdk-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0300e57aef9967d8a90ed23a2e683f932c5255e82d6be09fceb7924ca74ce20c
MD5 f167566f80635285e606ba9332de0087
BLAKE2b-256 c97988ffc9a58ff3cdbdd007cbf84551ea31465f6ea1d1e95b4bda5e6c9bb96d

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