Google Patents metadata fetcher — command-line tool
Project description
google-patent-cli
Google Patents에서 특허 메타데이터를 조회하는 커맨드라인 도구입니다.
설치
# pipx (권장 — 격리된 환경)
pipx install google-patent-cli
# uv
uv tool install google-patent-cli
# pip
pip install google-patent-cli
사용법
특허 조회
# 기본 (JSON 출력)
gpc lookup US20250350789
# 텍스트 형식
gpc lookup US12514139B2 --format text
# TSV 형식
gpc lookup US20250350789 --format tsv
# 단일 필드만 출력
gpc lookup US20250350789 --field title
# 여러 필드 선택
gpc lookup US20250350789 --fields title,assignee,filing_date
# 파일로 저장
gpc lookup US12514139B2 --output-dir ./output
gpc lookup US12514139B2 --format text --output-dir ./output
사용 가능한 필드 목록
gpc fields
| 필드명 | 설명 |
|---|---|
publication_number |
공개번호 (예: US12514139B2) |
number_without_kind |
Kind code 제외 번호 |
application_number |
출원번호 |
kind_code |
Kind code (예: B2, A1) |
country |
국가 코드 |
title |
발명의 명칭 |
abstract |
요약 |
inventors |
발명자 목록 |
assignee |
출원인 / 양수인 |
filing_date |
출원일 |
publication_date |
공개일 |
cpc_codes |
CPC 분류 코드 목록 |
claims |
청구항 목록 |
description |
상세설명 전문 |
프록시 / SSL 설정
사내 네트워크나 프록시 환경에서는 설정 파일을 사용합니다.
gpc configure
설정은 ~/.patent-cli.toml 에 저장됩니다.
[proxy]
https = "http://proxy.example.com:8080"
http = "http://proxy.example.com:8080"
[ssl]
ca_bundle = "/path/to/ca-bundle.crt"
옵션
gpc lookup --help
Options:
-f, --format [json|text|tsv] 출력 형식 (기본: json)
--field FIELD 단일 필드 값만 출력
--fields F1,F2,... 쉼표 구분 필드 목록
-t, --timeout INTEGER HTTP 타임아웃 (초, 기본: 15)
-o, --output-dir DIR 결과 파일 저장 폴더
-v, --verbose 디버그 로그 출력
python -m 으로 실행
python -m google_patent_cli lookup US12514139B2
면책 조항
이 도구는 Google Patents 공개 웹 페이지를 스크래핑합니다. Google 이용 약관을 준수하여 사용하세요. 과도한 요청은 IP 차단으로 이어질 수 있습니다.
라이선스
MIT
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
google_patent_cli-0.1.1.tar.gz
(36.3 kB
view details)
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 google_patent_cli-0.1.1.tar.gz.
File metadata
- Download URL: google_patent_cli-0.1.1.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6734e08ab25f41fd931fd2d66505416120c3580e6c2a6c3cef4ba7fba719c460
|
|
| MD5 |
b384bd5f35ec6719fb4f33aed272e5ea
|
|
| BLAKE2b-256 |
c282a70e5862b2e37eeaf02f6f870e2349526de5917c66799ffdb8fb6802bdb5
|
File details
Details for the file google_patent_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: google_patent_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82d49eff7269b910666020f8ee536b1b89dc7971f99d4b472adc15f507a5710a
|
|
| MD5 |
8c4385617ebba560fbbe6819d10eea31
|
|
| BLAKE2b-256 |
657cb861a18c64d9ef92e2e591c3ad7bb2280f20f01400a221c7cf051b287a8f
|