Skip to main content

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

License

AGPL-3.0-only

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

epopy-0.1.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epopy-0.1.0-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

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

Hashes for epopy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 11c7861e6b48db9c3f9e460d58f8cc7017f7d913e518deffde2ff39584266d5a
MD5 f4120b96006e57db1b8e7aae73c6c6cc
BLAKE2b-256 2861b91b7bfb47903c0dcdaaa7195c409c9ca3b12c6d2012a76c599cfcaa7320

See more details on using hashes here.

Provenance

The following attestation bundles were made for epopy-0.1.0.tar.gz:

Publisher: publish.yml on tu-po/epopy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for epopy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ad9058ceca18546e4dc23b98d95208cac007746701141a2067e0882e5b3b57
MD5 3ed74443f938e5969511b1723598693f
BLAKE2b-256 5b96bf1c14853f9024e171dfaccbf6f43c1570e5d198200e0241dce7356e96fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for epopy-0.1.0-py3-none-any.whl:

Publisher: publish.yml on tu-po/epopy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page