Registry / ecommerce / zernio-sdk

zernio-sdk

JSON →
library1.4.120pypypi✓ verified 83d ago

The official Python library for the Zernio API. Version 1.4.120 supports Python >=3.10. Provides async and sync clients for interacting with Zernio's commerce platform (products, orders, customers, webhooks). Released regularly with minor patches.

pip install zernio-sdk
INSTALL
IMPORT
SIG · ZERNIO-SDK
Z
zernio-sdk
ecommercepythonv1.4.120
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Zernio
from zernio import Zernio
from zernio_sdk import Zernio
The package name on PyPI is zernio-sdk, but the import package is 'zernio'.
AsyncZernio
from zernio import AsyncZernio
Async client for async/await usage.

Instantiate the client with an API key and list products.

import os from zernio import Zernio client = Zernio(api_key=os.environ.get('ZERNIO_API_KEY', '')) products = client.products.list() print(products)
Debug
Known issues
breakingThe package import path changed from 'zernio_sdk' to 'zernio' in v1.0.0.
fix
Use 'from zernio import Zernio' instead of 'from zernio_sdk import Zernio'.
affects: >=1.0.0
gotchaAPI key must be passed explicitly or via environment variable ZERNIO_API_KEY. It is not read automatically from .env.
fix
Set os.environ['ZERNIO_API_KEY'] = 'your_key' before client instantiation.
affects: all
deprecatedThe synchronous client method 'Zernio().orders.create()' now returns a dict instead of a model object. The model-based return was deprecated in v1.3.0.
fix
Access response fields using dict keys, e.g., order['id'] instead of order.id.
affects: >=1.3.0
Errors
Common errors & fixes
from zernio_sdk import Zernio ModuleNotFoundError: No module named 'zernio_sdk'
The package import path is 'zernio', not 'zernio_sdk'.
fix
Use 'from zernio import Zernio'.
zernio.errors.AuthenticationError: Missing API key
No API key provided to client or environment variable not set.
fix
Pass api_key='your_key' to Zernio() or set ZERNIO_API_KEY environment variable.
TypeError: 'list' object is not callable
Accidentally used client.products as a callable instead of attribute. For example, client.products() instead of client.products.list().
fix
Use client.products.list() to fetch products.
Upgrade
Version history
1.4.120latest on PyPI · released Jun 6, 2026
Audit
Dependencies
httpxrequiredHTTP client for sync and async requests
pydanticrequiredData validation and serialization
Agent activity
54 hits · last 30 days
node
46
OpenAI (training)
1
Resources
zernio-sdk — pip install zernio-sdk · libregistry