Skip to main content

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 출력)
patent lookup US20250350789

# 텍스트 형식
patent lookup US12514139B2 --format text

# TSV 형식
patent lookup US20250350789 --format tsv

# 단일 필드만 출력
patent lookup US20250350789 --field title

# 여러 필드 선택
patent lookup US20250350789 --fields title,assignee,filing_date

# 파일로 저장
patent lookup US12514139B2 --output-dir ./output
patent lookup US12514139B2 --format text --output-dir ./output

사용 가능한 필드 목록

patent 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 설정

사내 네트워크나 프록시 환경에서는 설정 파일을 사용합니다.

patent 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"

옵션

patent 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


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.0.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_patent_cli-0.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file google_patent_cli-0.1.0.tar.gz.

File metadata

  • Download URL: google_patent_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for google_patent_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2a2bc0dfecc330c66cb97c97eae50afa7fa345532713dde52bd12149365a94ff
MD5 bd35b0b0ad748c0d93ad6715f2a203eb
BLAKE2b-256 b3d7ab2956daef59932937a41487f4dc3c88b67157858a70448b354d29995810

See more details on using hashes here.

File details

Details for the file google_patent_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for google_patent_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4868c7bfc0d21e6b7fae0c83b7e20d514a277b8d5ff4bac0b99c15b8f1d92ae1
MD5 20e1098833aa6eaf1a1adc0739e07353
BLAKE2b-256 6db613b50a393d18db5f270ff428539406aabd6e561cefb76535fd4758c7f6e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page