πEuno SDK
The Euno SDK is a Python library and command-line tool that provides programmatic access to Euno functionality. It allows you to interact with your Euno instance from scripts, applications, and the command line.
Installation
Install the Euno SDK using pip:
pip install eunoQuick Start
1. Initialize the SDK
After installation, initialize the SDK with your Euno API credentials:
euno initThis command will prompt you for:
Your Euno API token
Your account ID
The credentials will be stored securely for future use.
To obtain an API token, head to Euno -> Click the user card in the bottom of the sidebar -> "Personal API Keys"
To use the SDK without going through the interactive initialization, use environmental variables. See below under "Configuration".
2. Explore Available Commands
Use the --help flag to discover all available capabilities:
This will show you all available commands and their descriptions.
Python Library Usage
The SDK can also be used as a Python library:
Large-scale export: The Data Model screen's CSV download is limited to 10,000 resources per export. For exporting or processing more than 10K resources (e.g. bulk export, scripts, or integrations), use the SDK's programmatic API as shown above.
Configuration
The SDK stores configuration in ~/.euno/config.json. You can override stored values using environment variables:
EUNO_TOKEN- Override stored API tokenEUNO_ACCOUNT- Override stored account ID
Getting Help
For detailed help on any command, use:
For example:
euno resources list --helpeuno metadata-tags list --helpeuno metadata-tags set-value --help
Last updated