Skip to main content

ecoimpacthub-sdk

Official Python SDK for Ecoimpacthub — an environmental-impact and sustainability operations platform on the Burdenoff platform.

Pre-launch notice: Ecoimpacthub is launching in 2026. This package is published ahead of general availability so integrators can build early. There is no live production service yet — join the waitlist at ecoimpacthub.com to get early access.

This SDK is a thin shell over burdenoff-sdk-libs. It mounts the shared platform modules plus the Ecoimpacthub domain module and a standalone sandbox module, and exposes them as one ergonomic, fully typed client.

Features

  • Async/await throughout, built on httpx
  • Dual-endpoint GraphQL client (workspace + global gateways)
  • 23 mounted modules: the shared generic set + ecoimpacthub + sandbox
  • Multiple auth flows: email/password, device code, PKCE, client credentials
  • Automatic token refresh
  • Typed error hierarchy
  • Full type hints with py.typed marker

Installation

pip install ecoimpacthub-sdk

# Development install
pip install -e ".[dev]"

Quick Start

import asyncio
from ecoimpacthub_sdk import EcoimpacthubSDK


async def main():
    # Defaults to the shared prod gateways and the burdenoff_cli_ecoimpacthub
    # OIDC client. Override the endpoints for local dev.
    sdk = EcoimpacthubSDK()

    # Sign in with email/password
    await sdk.auth.sign_in(email="user@example.com", password="secret")

    # Ecoimpacthub-domain operations are nested under sdk.ecoimpacthub
    sites = await sdk.ecoimpacthub.sites.list()
    species = await sdk.ecoimpacthub.species.list()

    # Shared cross-product modules are mounted at the top level
    tags = await sdk.tags.list()

    await sdk.close()


asyncio.run(main())

Nested namespace

Per the platform mandate (no compatibility shim), every module surface is nested under its owning module. The Ecoimpacthub domain bundle keeps its sub-entities nested:

await sdk.ecoimpacthub.sites.list()
await sdk.ecoimpacthub.sensors.list()
await sdk.ecoimpacthub.measurements.list()
await sdk.ecoimpacthub.species.list()
await sdk.ecoimpacthub.observations.list()
await sdk.ecoimpacthub.habitat_projects.list()
await sdk.ecoimpacthub.carbon.list()
await sdk.ecoimpacthub.reports.list()
await sdk.ecoimpacthub.system.health()

Modules

All methods are async. The following modules are mounted on the EcoimpacthubSDK instance: auth, billing, channels, conversations, devportal, export, files, groups, health, integrations, ecoimpacthub, notifications, organizations, products, rbac, sandbox, scheduler, security, store, support, tags, tours, workspaces.

Configuration

from ecoimpacthub_sdk import EcoimpacthubSDK

sdk = EcoimpacthubSDK(
    workspace_endpoint="https://graphqlworkspaces.burdenoff.com/workspaces/graphql",
    global_endpoint="https://graphql.burdenoff.com/global/graphql",
    client_id="burdenoff_cli_ecoimpacthub",   # default
    oidc_issuer=None,                       # derived from global_endpoint
    api_key=None,
    access_token=None,
    refresh_token=None,
    workspace_token=None,
    timeout=30.0,
    auto_refresh=True,
)

Error Handling

from ecoimpacthub_sdk import (
    EcoimpacthubError,
    AuthenticationError,
    AuthorizationError,
    NetworkError,
    ValidationError,
    RateLimitError,
    DeviceCodeExpiredError,
    DeviceCodeDeniedError,
)

try:
    await sdk.auth.sign_in(email="user@example.com", password="wrong")
except AuthenticationError:
    print("Invalid credentials")
except NetworkError:
    print("Could not reach the API")
except EcoimpacthubError as e:
    print(f"SDK error: {e}")

Development

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

make format        # black + isort
make lint          # flake8
make type-check    # mypy (strict)
make test          # pytest
make sanity        # format-check + lint + type-check + test (cov>=80) + build

License

Proprietary — Copyright Burdenoff Consultancy Services Pvt. Ltd.

Support

Metadata

Release files for ecoimpacthub-sdk 2026.1123.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ecoimpacthub-sdk 2026.1123.1
File Size Uploaded Provenance Actions
ecoimpacthub_sdk-2026.1123.1.tar.gz 18.3 kB Without provenance Details for ecoimpacthub_sdk-2026.1123.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ecoimpacthub-sdk 2026.1123.1
File Interpreter ABI Platform Actions
ecoimpacthub_sdk-2026.1123.1-py3-none-any.whl Python 3 none any Details for ecoimpacthub_sdk-2026.1123.1-py3-none-any.whl

Total release size: 26.5 kB

Release files / ecoimpacthub_sdk-2026.1123.1.tar.gz

Download URL ecoimpacthub_sdk-2026.1123.1.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f80ae78c18310e89388bac2c0e7ca2fc393a862589247adad1c8a494da42d44b
BLAKE2b-256 checksum
How to use checksums
af51cdc6453dfd8c5ae38d82637316547ad84d3df6de0e979e715c03b7bb2863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / ecoimpacthub_sdk-2026.1123.1-py3-none-any.whl

Download URL ecoimpacthub_sdk-2026.1123.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b505d21afbf316e00254c2b89f82a7b16b7f3e014e0596af771975c6781a7c4
BLAKE2b-256 checksum
How to use checksums
568e1f712ef6f986202b290639819713725f3bef79bf7f5e7bfe5e03bbbe8d79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for ecoimpacthub-sdk 2026.1123.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.1123.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page