summaryrefslogtreecommitdiff
path: root/python-patent-client.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 05:48:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 05:48:08 +0000
commit9914452fc2006d5fd244d09a443ab3d3d997b69c (patch)
treec528eb888fc56f51bd54951c652caedd63e6ae2d /python-patent-client.spec
parentd42424d61ab169f1149806c593297daecafe3df9 (diff)
automatic import of python-patent-clientopeneuler20.03
Diffstat (limited to 'python-patent-client.spec')
-rw-r--r--python-patent-client.spec449
1 files changed, 449 insertions, 0 deletions
diff --git a/python-patent-client.spec b/python-patent-client.spec
new file mode 100644
index 0000000..535a32f
--- /dev/null
+++ b/python-patent-client.spec
@@ -0,0 +1,449 @@
+%global _empty_manifest_terminate_build 0
+Name: python-patent-client
+Version: 3.2.4
+Release: 1
+Summary: A set of ORM-style clients for publicly available intellectual property data
+License: Apache Software License 2.0
+URL: https://github.com/parkerhancock/patent_client
+Source0: https://mirrors.aliyun.com/pypi/web/packages/5d/c4/20c2f0b3baf47ee60fcc51b92a18ce61b90373c94f220f49139056d745e2/patent_client-3.2.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-lxml
+Requires: python3-requests
+Requires: python3-dateutil
+Requires: python3-requests-cache
+Requires: python3-PyPDF2
+Requires: python3-inflection
+Requires: python3-openpyxl
+Requires: python3-colorlog
+Requires: python3-yankee
+Requires: python3-PyYAML
+Requires: python3-ujson
+Requires: python3-pyparsing
+Requires: python3-zipp
+Requires: python3-furo
+Requires: python3-linkify-it-py
+Requires: python3-myst-parser
+Requires: python3-sphinx
+Requires: python3-sphinx-autodoc-typehints
+Requires: python3-sphinx-automodapi
+Requires: python3-sphinx-copybutton
+Requires: python3-sphinx-design
+Requires: python3-sphinx-notfound-page
+Requires: python3-sphinxcontrib-apidoc
+Requires: python3-sphinxcontrib-mermaid
+Requires: python3-nbsphinx
+Requires: python3-IPython
+
+%description
+[![patent_client_logo](https://raw.githubusercontent.com/parkerhancock/patent_client/master/docs/_static/patent_client_logo.svg)](https://patent-client.readthedocs.io)
+
+[![Build](https://github.com/parkerhancock/patent_client/actions/workflows/build.yaml/badge.svg)](https://github.com/parkerhancock/patent_client/actions/workflows/build.yaml)
+[![codecov](https://codecov.io/gh/parkerhancock/patent_client/branch/master/graph/badge.svg?token=pWsiQLHi6r)](https://codecov.io/gh/parkerhancock/patent_client)
+[![Documentation](https://img.shields.io/readthedocs/patent-client/stable)](https://patent-client.readthedocs.io/en/stable/)
+
+
+[![PyPI](https://img.shields.io/pypi/v/patent-client?color=blue)](https://pypi.org/project/patent-client)
+[![PyPI - Python Versions](https://img.shields.io/pypi/pyversions/patent-client)](https://pypi.org/project/patent-client)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/patent-client?color=blue)](https://pypi.org/project/patent-client)
+
+# Summary
+
+A powerful library for accessing intellectual property, featuring:
+
+- 🍰 **Ease of use:** All sources use a simple unified API inspired by [Django-ORM][DORM].
+- 🐼 **Pandas Integration:** Results are easily castable to [Pandas Dataframes and Series][PANDAS].
+- 🚀 **Performance:** Fetched data is cached using the excellent [requests-cache][requests-cache] library for super-fast queries, and [yankee][yankee] for data extraction.
+
+Docs, including a fulsome Getting Started and User Guide are available on [Read the Docs](http://patent-client.readthedocs.io). The Examples folder includes examples of using `patent_client` for
+many common IP tasks
+
+## Coverage
+
+- [United States Patent & Trademark Office][USPTO]
+
+ - [Patent Examination Data][PEDS] - Full Support
+ - [Global Dossier][GD] - Full Support
+ - [Patent Assignment Data][Assignment] - Lookup Support
+ - [Patent Trial & Appeal Board API v2][PTAB] - Supports Proceedings, Decisions, and Documents
+ - ~~[Patent Public Search][PPS] - Full Support~~ (Broken due to USPTO WAF)
+
+
+- [European Patent Office - Open Patent Services][OPS]
+
+ - Inpadoc - Full Support
+ - EPO Register - No Support (in progress)
+ - Classification - No Support
+
+* Free software: Apache Software License 2.0
+
+[DORM]: https://docs.djangoproject.com/en/4.0/topics/db/queries/
+[PANDAS]: https://pandas.pydata.org/docs/
+[requests-cache]: https://github.com/requests-cache/requests-cache
+[yankee]: https://github.com/parkerhancock/yankee
+[Assignment]: https://developer.uspto.gov/api-catalog/patent-assignment-search-beta
+[OPS]: http://ops.epo.org
+[PPS]: https://ppubs.uspto.gov/pubwebapp/static/pages/landing.html
+[PEDS]: https://developer.uspto.gov/api-catalog/ped
+[PTAB]: https://developer.uspto.gov/api-catalog/ptab-api-v2
+[USPTO]: http://developer.uspto.gov
+[GD]: https://globaldossier.uspto.gov
+
+
+## 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](http://patent-client.readthedocs.io).
+
+
+## Quick Start
+
+To use the project:
+
+```python
+# Import the model classes you need
+>>> from patent_client import Inpadoc, 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) > 23000
+True
+>>> assignment = Assignment.objects.get('47086-788')
+>>> assignment.conveyance_text
+'ASSIGNMENT OF ASSIGNORS INTEREST'
+
+# Fetch from INPADOC
+>>> pub = Inpadoc.objects.get('EP3082535A1')
+>>> pub.biblio.title
+'AUTOMATIC FLUID DISPENSER'
+
+```
+<!-- RTD-IGNORE -->
+
+## Documentation
+
+Docs, including a fulsome Getting Started are available on [Read the Docs](http://patent-client.readthedocs.io).
+
+<!-- END-RTD-IGNORE -->
+
+# Development
+
+To run the all tests run:
+
+```
+pytest
+```
+
+A developer guide is provided in the [Documentation](http://patent-client.readthedocs.io).
+Pull requests welcome!
+
+# Related projects
+
+- [Python EPO OPS Client](https://github.com/55minutes/python-epo-ops-client)
+- [Google Public Patent Data](https://github.com/google/patents-public-data)
+- [PatentsView API Wrapper](https://github.com/mikeym88/PatentsView-API-Wrapper)
+- [USPTO Scrapy Scraper](https://github.com/blazers08/USPTO)
+
+
+
+%package -n python3-patent-client
+Summary: A set of ORM-style clients for publicly available intellectual property data
+Provides: python-patent-client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-patent-client
+[![patent_client_logo](https://raw.githubusercontent.com/parkerhancock/patent_client/master/docs/_static/patent_client_logo.svg)](https://patent-client.readthedocs.io)
+
+[![Build](https://github.com/parkerhancock/patent_client/actions/workflows/build.yaml/badge.svg)](https://github.com/parkerhancock/patent_client/actions/workflows/build.yaml)
+[![codecov](https://codecov.io/gh/parkerhancock/patent_client/branch/master/graph/badge.svg?token=pWsiQLHi6r)](https://codecov.io/gh/parkerhancock/patent_client)
+[![Documentation](https://img.shields.io/readthedocs/patent-client/stable)](https://patent-client.readthedocs.io/en/stable/)
+
+
+[![PyPI](https://img.shields.io/pypi/v/patent-client?color=blue)](https://pypi.org/project/patent-client)
+[![PyPI - Python Versions](https://img.shields.io/pypi/pyversions/patent-client)](https://pypi.org/project/patent-client)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/patent-client?color=blue)](https://pypi.org/project/patent-client)
+
+# Summary
+
+A powerful library for accessing intellectual property, featuring:
+
+- 🍰 **Ease of use:** All sources use a simple unified API inspired by [Django-ORM][DORM].
+- 🐼 **Pandas Integration:** Results are easily castable to [Pandas Dataframes and Series][PANDAS].
+- 🚀 **Performance:** Fetched data is cached using the excellent [requests-cache][requests-cache] library for super-fast queries, and [yankee][yankee] for data extraction.
+
+Docs, including a fulsome Getting Started and User Guide are available on [Read the Docs](http://patent-client.readthedocs.io). The Examples folder includes examples of using `patent_client` for
+many common IP tasks
+
+## Coverage
+
+- [United States Patent & Trademark Office][USPTO]
+
+ - [Patent Examination Data][PEDS] - Full Support
+ - [Global Dossier][GD] - Full Support
+ - [Patent Assignment Data][Assignment] - Lookup Support
+ - [Patent Trial & Appeal Board API v2][PTAB] - Supports Proceedings, Decisions, and Documents
+ - ~~[Patent Public Search][PPS] - Full Support~~ (Broken due to USPTO WAF)
+
+
+- [European Patent Office - Open Patent Services][OPS]
+
+ - Inpadoc - Full Support
+ - EPO Register - No Support (in progress)
+ - Classification - No Support
+
+* Free software: Apache Software License 2.0
+
+[DORM]: https://docs.djangoproject.com/en/4.0/topics/db/queries/
+[PANDAS]: https://pandas.pydata.org/docs/
+[requests-cache]: https://github.com/requests-cache/requests-cache
+[yankee]: https://github.com/parkerhancock/yankee
+[Assignment]: https://developer.uspto.gov/api-catalog/patent-assignment-search-beta
+[OPS]: http://ops.epo.org
+[PPS]: https://ppubs.uspto.gov/pubwebapp/static/pages/landing.html
+[PEDS]: https://developer.uspto.gov/api-catalog/ped
+[PTAB]: https://developer.uspto.gov/api-catalog/ptab-api-v2
+[USPTO]: http://developer.uspto.gov
+[GD]: https://globaldossier.uspto.gov
+
+
+## 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](http://patent-client.readthedocs.io).
+
+
+## Quick Start
+
+To use the project:
+
+```python
+# Import the model classes you need
+>>> from patent_client import Inpadoc, 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) > 23000
+True
+>>> assignment = Assignment.objects.get('47086-788')
+>>> assignment.conveyance_text
+'ASSIGNMENT OF ASSIGNORS INTEREST'
+
+# Fetch from INPADOC
+>>> pub = Inpadoc.objects.get('EP3082535A1')
+>>> pub.biblio.title
+'AUTOMATIC FLUID DISPENSER'
+
+```
+<!-- RTD-IGNORE -->
+
+## Documentation
+
+Docs, including a fulsome Getting Started are available on [Read the Docs](http://patent-client.readthedocs.io).
+
+<!-- END-RTD-IGNORE -->
+
+# Development
+
+To run the all tests run:
+
+```
+pytest
+```
+
+A developer guide is provided in the [Documentation](http://patent-client.readthedocs.io).
+Pull requests welcome!
+
+# Related projects
+
+- [Python EPO OPS Client](https://github.com/55minutes/python-epo-ops-client)
+- [Google Public Patent Data](https://github.com/google/patents-public-data)
+- [PatentsView API Wrapper](https://github.com/mikeym88/PatentsView-API-Wrapper)
+- [USPTO Scrapy Scraper](https://github.com/blazers08/USPTO)
+
+
+
+%package help
+Summary: Development documents and examples for patent-client
+Provides: python3-patent-client-doc
+%description help
+[![patent_client_logo](https://raw.githubusercontent.com/parkerhancock/patent_client/master/docs/_static/patent_client_logo.svg)](https://patent-client.readthedocs.io)
+
+[![Build](https://github.com/parkerhancock/patent_client/actions/workflows/build.yaml/badge.svg)](https://github.com/parkerhancock/patent_client/actions/workflows/build.yaml)
+[![codecov](https://codecov.io/gh/parkerhancock/patent_client/branch/master/graph/badge.svg?token=pWsiQLHi6r)](https://codecov.io/gh/parkerhancock/patent_client)
+[![Documentation](https://img.shields.io/readthedocs/patent-client/stable)](https://patent-client.readthedocs.io/en/stable/)
+
+
+[![PyPI](https://img.shields.io/pypi/v/patent-client?color=blue)](https://pypi.org/project/patent-client)
+[![PyPI - Python Versions](https://img.shields.io/pypi/pyversions/patent-client)](https://pypi.org/project/patent-client)
+[![PyPI - Downloads](https://img.shields.io/pypi/dm/patent-client?color=blue)](https://pypi.org/project/patent-client)
+
+# Summary
+
+A powerful library for accessing intellectual property, featuring:
+
+- 🍰 **Ease of use:** All sources use a simple unified API inspired by [Django-ORM][DORM].
+- 🐼 **Pandas Integration:** Results are easily castable to [Pandas Dataframes and Series][PANDAS].
+- 🚀 **Performance:** Fetched data is cached using the excellent [requests-cache][requests-cache] library for super-fast queries, and [yankee][yankee] for data extraction.
+
+Docs, including a fulsome Getting Started and User Guide are available on [Read the Docs](http://patent-client.readthedocs.io). The Examples folder includes examples of using `patent_client` for
+many common IP tasks
+
+## Coverage
+
+- [United States Patent & Trademark Office][USPTO]
+
+ - [Patent Examination Data][PEDS] - Full Support
+ - [Global Dossier][GD] - Full Support
+ - [Patent Assignment Data][Assignment] - Lookup Support
+ - [Patent Trial & Appeal Board API v2][PTAB] - Supports Proceedings, Decisions, and Documents
+ - ~~[Patent Public Search][PPS] - Full Support~~ (Broken due to USPTO WAF)
+
+
+- [European Patent Office - Open Patent Services][OPS]
+
+ - Inpadoc - Full Support
+ - EPO Register - No Support (in progress)
+ - Classification - No Support
+
+* Free software: Apache Software License 2.0
+
+[DORM]: https://docs.djangoproject.com/en/4.0/topics/db/queries/
+[PANDAS]: https://pandas.pydata.org/docs/
+[requests-cache]: https://github.com/requests-cache/requests-cache
+[yankee]: https://github.com/parkerhancock/yankee
+[Assignment]: https://developer.uspto.gov/api-catalog/patent-assignment-search-beta
+[OPS]: http://ops.epo.org
+[PPS]: https://ppubs.uspto.gov/pubwebapp/static/pages/landing.html
+[PEDS]: https://developer.uspto.gov/api-catalog/ped
+[PTAB]: https://developer.uspto.gov/api-catalog/ptab-api-v2
+[USPTO]: http://developer.uspto.gov
+[GD]: https://globaldossier.uspto.gov
+
+
+## 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](http://patent-client.readthedocs.io).
+
+
+## Quick Start
+
+To use the project:
+
+```python
+# Import the model classes you need
+>>> from patent_client import Inpadoc, 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) > 23000
+True
+>>> assignment = Assignment.objects.get('47086-788')
+>>> assignment.conveyance_text
+'ASSIGNMENT OF ASSIGNORS INTEREST'
+
+# Fetch from INPADOC
+>>> pub = Inpadoc.objects.get('EP3082535A1')
+>>> pub.biblio.title
+'AUTOMATIC FLUID DISPENSER'
+
+```
+<!-- RTD-IGNORE -->
+
+## Documentation
+
+Docs, including a fulsome Getting Started are available on [Read the Docs](http://patent-client.readthedocs.io).
+
+<!-- END-RTD-IGNORE -->
+
+# Development
+
+To run the all tests run:
+
+```
+pytest
+```
+
+A developer guide is provided in the [Documentation](http://patent-client.readthedocs.io).
+Pull requests welcome!
+
+# Related projects
+
+- [Python EPO OPS Client](https://github.com/55minutes/python-epo-ops-client)
+- [Google Public Patent Data](https://github.com/google/patents-public-data)
+- [PatentsView API Wrapper](https://github.com/mikeym88/PatentsView-API-Wrapper)
+- [USPTO Scrapy Scraper](https://github.com/blazers08/USPTO)
+
+
+
+%prep
+%autosetup -n patent_client-3.2.4
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-patent-client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.4-1
+- Package Spec generated