Installation¶
Requirements¶
- Python 3.8 or higher
- An active MicroDC API key (starts with
mDC_)
Install from GitLab¶
Install from Source¶
Install with Development Dependencies¶
This includes pytest, black, ruff, mypy, and other development tools.
Dependencies¶
The library has minimal dependencies:
| Package | Version | Purpose |
|---|---|---|
httpx |
>= 0.27.0 | HTTP client with HTTP/2 and async support |
typing-extensions |
>= 4.5.0 | Type hints for Python < 3.10 |
Verify Installation¶
Get an API Key¶
- Sign up at microdc.ai
- Navigate to your account settings
- Generate a new API key
- Your key will look like:
mDC_499FC19C-686A-47C5-AA93-E619C55EBE98
Keep your API key secure
Never commit your API key to version control. Use environment variables or a .microdc.json config file instead.