Add your description here
Project description
patentfield-client
Unofficial Python Client for Patentfield API.
Usage
pip install patentfield-client
touch .env
# edit .env
# PATENTFIELD_API_KEY=<your_api_key>
from dotenv import load_dotenv
from patentfield_client import PatentfieldClient
load_dotenv()
def main():
import json
with PatentfieldClient() as client:
# 1) Fulltext search (return score and app_id)
res = client.search_fulltext("ソーラーパネル", columns=["_score", "app_id"], limit=2)
print(json.dumps(res, ensure_ascii=False, indent=2))
# 2) Get document (return app_doc_id / title / grant_or_app_claims)
doc = client.get_document("JP20160057449", columns=["app_doc_id", "title", "grant_or_app_claims"])
print(json.dumps(doc, ensure_ascii=False, indent=2))
# 3) Get drawings URLs
drawings = client.get_drawings("JP20160057449")
print(drawings)
if __name__ == "__main__":
main()
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 patentfield_client-0.1.0.tar.gz.
File metadata
- Download URL: patentfield_client-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bde4ab2a0d95b24355622f86550ed15e2a25e3434a1149b73b7bd2ca7fc536cf
|
|
| MD5 |
526d11dad12c1483d15476c4a488f921
|
|
| BLAKE2b-256 |
2a81cf7f342c778ac47d8790e4e55a2d3ee3ca959c2d76656905954ec70b2b21
|
File details
Details for the file patentfield_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: patentfield_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62ac9c8a50163a2554be87268c9569a5dfa4c47e891d321bb1a0bbd57f60b45b
|
|
| MD5 |
609a7070bcc4edb5f04429257bc79005
|
|
| BLAKE2b-256 |
b4339258aa91698f094a4627b7fb916d47667f9348a3a75b793bbe0207c7c89f
|