EAN-DB Python client
This is a Python client for EAN-DB API.
EAN-DB is an online API for product info lookups by EAN / UPC / ISBN. Product info includes titles in various languages, categories, manufacturer, images and additional metadata.
For more information, please see API docs and Database stats.
Installation
pip install eandb
Usage
Asynchronous client
>>> from eandb.clients.v2 import EandbV2AsyncClient
>>> eandb_client = EandbV2AsyncClient(jwt='YOUR_JWT_GOES_HERE')
>>> response = await eandb_client.get_product('0016065024615')
Synchronous client
>>> from eandb.clients.v2 import EandbV2SyncClient
>>> eandb_client = EandbV2SyncClient(jwt='YOUR_JWT_GOES_HERE')
>>> response = eandb_client.get_product('0016065024615')
>>> response
ProductResponse(
balance=100, error=None,
product=Product(
barcode='0016065024615',
titles={'en': 'Pretty Tied Up'},
categories=[
Category(id='855', titles={'en': 'Music & Sound Recordings', ...})
],
manufacturer=Manufacturer(id=None, titles={'de': 'Geffen'}, wikidataId=None),
relatedBrands=[],
images=[Image(url='...')],
metadata=Metadata(
generic=Generic(
contributors=[Contributor(names={'en': "Guns N' Roses"}, type='artist')]
)
)
)
)
Metadata
Release files for eandb 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eandb-0.9.0.tar.gz | 3.9 kB | Without provenance | Details for eandb-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eandb-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for eandb-0.9.0-py3-none-any.whl |
Total release size: 8.9 kB
Release files / eandb-0.9.0.tar.gz
| Download URL | eandb-0.9.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9eac32ba6eaa158f17c949de5d8f65792fbe484facac38eac76bb0c7f44db7a8
|
|
BLAKE2b-256 checksum How to use checksums |
4ae156dc6235bc98a6cc1aa28720abaf0b7c7feac10edae36d63d4efef1a8d20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.0 Darwin/25.2.0
|
Release files / eandb-0.9.0-py3-none-any.whl
| Download URL | eandb-0.9.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
431a86eefa31062683f9909fcc129f9dfd18c75ee603072b1b246efaa4e27a83
|
|
BLAKE2b-256 checksum How to use checksums |
c9d3daea7ba2a3fb5eb64dec6c81f549b7539a9f36166c51b96a1bfe1d397e80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.0 CPython/3.13.0 Darwin/25.2.0
|
Security for eandb 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.