Install & Compatibility
Where this runs
tested against v0.31.21 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 11.278s · 52.3MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 5.1s · import 10.238s · 52MB
52MB installed
● package 52MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Apideck
✓ from apideck_unify import Apideck
✗ from apideck import Apideck
Package name uses hyphen, import uses underscore.
Accounting
✓ from apideck_unify.api import Accounting
✗ from apideck_unify.apis import Accounting
SDK reorganised services into 'api' package in v0.28+.
Collection
✓ from apideck_unify.models import Collection
Models are in the models subpackage.
Initialize SDK with API key from environment, then call an API (e.g., list invoices in accounting).
import os
from apideck_unify import Apideck
sdk = Apideck(
api_key=os.environ.get('APIDECK_API_KEY', ''),
consumer_id='test-consumer',
app_id='test-app'
)
accounting = sdk.accounting
# List invoices
invoices = accounting.invoices.list()
print(invoices)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'apideck'
Trying to import `apideck` as the package name, but the import path uses underscores.
fixInstall with `pip install apideck-unify` and import as `from apideck_unify import Apideck`.
AttributeError: module 'apideck_unify' has no attribute 'Accounting'
Attempting to import `Accounting` directly from the root package; it's nested under `apideck_unify.api`.
fixUse `from apideck_unify.api import Accounting`.
TypeError: __init__() missing 2 required positional arguments: 'consumer_id' and 'app_id'
The Apideck constructor requires `consumer_id` and `app_id` in addition to `api_key`.
fixPass all three parameters: `Apideck(api_key='...', consumer_id='...', app_id='...')`.
Upgrade
Version history
0.31.21latest on PyPI · released Jun 16, 2026
Audit
Dependencies
No dependency data recorded yet.