Async Python client for EPO OPS API
Project description
epopy
Async Python client for the EPO Open Patent Services (OPS) API.
Installation
pip install epopy
For development:
pip install epopy[dev]
Usage
import asyncio
from epopy import AsyncClient
async def main():
async with AsyncClient(consumer_key="YOUR_KEY", consumer_secret="YOUR_SECRET") as client:
# Search patents
results = await client.search_patents("ti=solar AND pa=siemens")
# Get a specific patent
patent = client.get_patent("EP1234567")
biblio = await patent.biblio()
# Download documents
pdf_bytes = await patent.download_document("FullDocument")
asyncio.run(main())
Features
- Async/await API using
httpx - Patent search via CQL queries
- Bibliographic data retrieval
- Document and image downloads
- EPO Boards of Appeal decisions parsing
Requirements
- Python 3.12+
- EPO OPS API credentials (register here)
License
AGPL-3.0-only
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file epopy-0.1.0.tar.gz.
File metadata
- Download URL: epopy-0.1.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11c7861e6b48db9c3f9e460d58f8cc7017f7d913e518deffde2ff39584266d5a
|
|
| MD5 |
f4120b96006e57db1b8e7aae73c6c6cc
|
|
| BLAKE2b-256 |
2861b91b7bfb47903c0dcdaaa7195c409c9ca3b12c6d2012a76c599cfcaa7320
|
Provenance
The following attestation bundles were made for epopy-0.1.0.tar.gz:
Publisher:
publish.yml on tu-po/epopy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
epopy-0.1.0.tar.gz -
Subject digest:
11c7861e6b48db9c3f9e460d58f8cc7017f7d913e518deffde2ff39584266d5a - Sigstore transparency entry: 929019596
- Sigstore integration time:
-
Permalink:
tu-po/epopy@d5df2d123e2c5c37d4f4792943450df87316a03f -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/tu-po
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d5df2d123e2c5c37d4f4792943450df87316a03f -
Trigger Event:
release
-
Statement type:
File details
Details for the file epopy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: epopy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0ad9058ceca18546e4dc23b98d95208cac007746701141a2067e0882e5b3b57
|
|
| MD5 |
3ed74443f938e5969511b1723598693f
|
|
| BLAKE2b-256 |
5b96bf1c14853f9024e171dfaccbf6f43c1570e5d198200e0241dce7356e96fa
|
Provenance
The following attestation bundles were made for epopy-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on tu-po/epopy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
epopy-0.1.0-py3-none-any.whl -
Subject digest:
b0ad9058ceca18546e4dc23b98d95208cac007746701141a2067e0882e5b3b57 - Sigstore transparency entry: 929019604
- Sigstore integration time:
-
Permalink:
tu-po/epopy@d5df2d123e2c5c37d4f4792943450df87316a03f -
Branch / Tag:
refs/tags/0.1 - Owner: https://github.com/tu-po
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d5df2d123e2c5c37d4f4792943450df87316a03f -
Trigger Event:
release
-
Statement type: