图专利引用 USPTO 数据库 graphscraper webscraper
项目描述
美国专利商标局专利引文图
从 USPTO 的PatentsView API 按需下载专利引用数据并将其存储在本地 SQL 数据库(和内存中)以供以后快速访问的图表。
该项目基于graphscraper项目,有关图形 API 的详细信息,请参阅该项目。
安装
使用 . 从 Python 包索引安装最新版本的项目pip install uspto-patent-citation-graph。
入门
创建将使用默认的磁盘 SQLite 数据库的图形实例:
from uspto_patent_citation_graph import USPTOPatentCitationGraph
graph = USPTOPatentCitationGraph(None)
加载尚未在本地数据库中的节点:
# `can_validate_and_load=True` tells the graph's node list that it is allowed to
# load data from the PatentsView API. Its default value is `False`, and the
# argument can be omitted if the given patent is already in the local database.
patent_number = "4733665" # Stent patent
stent_patent = graph.nodes.get_node_by_name(patent_number, can_validate_and_load=True)
访问节点的邻居(引用和引用的专利):
print(f"Neighbors of {stent_patent.name}:")
for neighbor in stent_patent.neighbors:
print(f" - {neighbor.name}: {neighbor.external_id}")
社区准则
欢迎任何形式的建设性贡献:
- 问题、反馈、错误报告:请在项目的问题跟踪器中打开一个问题或通过电子邮件联系存储库所有者,无论您认为合适。
- 对软件的贡献:请在项目的问题跟踪器中打开一个问题,描述您希望对软件进行的更改,并打开包含更改的拉取请求。拉取请求的描述必须引用相应的问题。
特别感谢以下类型的贡献:
许可证 - 麻省理工学院
该库是在MIT license的条件下开源的。
项目详情
关
uspto_patent_citation_graph -0.2109.0-py3-none-any.whl 的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | dcc4c3c89452afd4dfc5fea5e0930c6ef2ae7224c8e7857ce68bd029820d2327 |
|
| MD5 | ddb74af0a78b70256faccd6bb4a6a522 |
|
| 布莱克2-256 | 57f33e6581f2396fc0b77de574b8591da90474f4d1074edbb77ac15013335c45 |