ESDD Client
raw JSON → 0.1.9.0 verified Mon Apr 27 auth: no python
API client for the online platform ESDD (evaluation, standardization, and derived data). Latest version 0.1.9.0, supports Python >=3.11. Active development.
pip install esdd-client Common errors
error ModuleNotFoundError: No module named 'esdd_client' ↓
cause Incorrect import path. The package name uses hyphen, but the module uses underscore.
fix
Use 'from esdd_client import ESDDClient' (underscore, not hyphen).
error TypeError: __init__() missing 1 required positional argument: 'api_key' ↓
cause API key not provided when initializing ESDDClient.
fix
Pass the API key: ESDDClient(api_key='your_key') or set ESFD_API_KEY environment variable.
Warnings
gotcha The client requires Python >=3.11. Using older Python versions causes installation failure. ↓
fix Ensure Python 3.11+ is installed before installing esdd-client.
gotcha All requests use the API key; if not provided, the client may raise an authentication error. The API key must be set as environment variable 'ESDD_API_KEY' or passed directly. ↓
fix Set the ESFD_API_KEY environment variable before using the client.
Imports
- ESDDClient
from esdd_client import ESDDClient
Quickstart
import os
from esdd_client import ESDDClient
api_key = os.environ.get('ESDD_API_KEY', '')
client = ESDDClient(api_key=api_key)
projects = client.get_projects()
print(projects)