Skip to content

A collection of ORM-style clients to public patent data

License

Notifications You must be signed in to change notification settings

fros1y/patent_client

 
 

Repository files navigation

https://travis-ci.org/parkerhancock/patent_client.svg?branch=master PyPI Package latest release PyPI Wheel Supported versions

Overview

A set of Django-ORM-Style accessors to publicly available intellectual property data.

Currently supports:

  • Free software: Apache Software License 2.0

Installation

pip install patent_client

If you only want access to USPTO resources, you're done! However, additional setup is necessary to access EPO Inpadoc and EPO Register resources. See the Docs.

Documentation

The easiest way to get started is with Patent Client Examples. The examples repository has a list of Jupyter notebooks showing application examples of the patent_client library.

Docs, including a fulsome Getting Started are available on Read the Docs.

SUPER QUICK START

To use the project:

# Import the model classes you need
>>> from patent_client import Inpadoc, Epo, Assignment, USApplication

# Fetch US Applications
>>> app = USApplication.objects.get('15710770')
>>> app.patent_title
'Camera Assembly with Concave-Shaped Front Face'

# Fetch from USPTO Assignments
>>> assignments = Assignment.objects.filter(assignee='Google')
>>> len(assignments)
23860
>>> assignments[0].id
'47086-788'
>>> assignments[0].conveyance_text
'ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS).'

# Fetch from INPADOC
>>> pub = Inpadoc.objects.get('EP3082535A1')
>>> pub.title
'AUTOMATIC FLUID DISPENSER'
>>> pub.priority_claims
['201314137130', '2014071849']

# Fetch from EPO Register
>>> epo = Epo.objects.get('EP3082535A1')
>>> epo.title
'AUTOMATIC FLUID DISPENSER'
>>> epo.status
[{'description': 'Examination is in progress', 'code': '14', 'date': '20180615'}]

Development

To run the all tests run:

pytest

A developer guide is provided in the Documentation. This project is narrowly scoped to only public documented API's available without charge (at least for moderate usage). Scrapers of HTML websites are not permitted. But PR's to add support for new API's are more than welcome.

Pull requests welcome!

Related projects

About

A collection of ORM-style clients to public patent data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%