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.0.tar.gz (22.3 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.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hisia_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6ac8f8d99cbcc3b61ce32be1b5c03bc0c13cbc33ac7a9aef876dadaf53baed3c
MD5 da2b705c96422c42e0efdbb68836873b
BLAKE2b-256 85b198a9a30b7353b39e2c61873339b948694949682f6bd4be3884c6aecc3dc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hisia_sdk-1.0.0-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.14.0

File hashes

Hashes for hisia_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de39a2406dbb47a20e57e62dff729955a6175a67bef439cb5e797b71efe90ebf
MD5 71aa1ec08f0e5064a1f6f285ff56ec93
BLAKE2b-256 88b15ccaf13f17dfb63ccf6a5c0facb117606cd3e9893fff78b923dc8db860f9

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