Skip to main content

A command-line tool to find paper citations, ArXiv links, and GitHub repository links easily.

Project description

ppfind - paper citations & links finder

A command-line tool to find paper citations, ArXiv links, and GitHub repository links easily.

PyPI version

Features

  1. Citation Fetching: Get paper citations through Google Scholar API (SerpAPI)
  2. ArXiv Links: Search and get related paper ArXiv links through ArXiv API
  3. GitHub Links: Search and get related code repository links through GitHub REST API
  4. Batch Processing: Supports CSV & XLSX file batch processing and customized column name
  5. Interactive Mode: Supports interactive continuous querying

Installation

From PyPI (Recommended)

pip install ppfind

From Source

git clone https://github.com/Disapole-Xiao/ppfind.git
cd ppfind
pip install -e .

API key

Get a free or paid API Key at SerpAPI for Google Scholar API use. The free plan offers 250 search per month.

Usage

Type ppfind --help or ppfind <cmd> --help to see all available options.

1. Interactive Mode

ppfind i

2. Direct Query

# Query single paper
ppfind q "Attention Is All You Need"

# Query multiple papers
ppfind q "Attention Is All You Need" "ResNet: Deep Residual Learning for Image Recognition"

Output example:

### Attention Is All You Need
  - Citations: 193680
  - ArXiv Link: http://arxiv.org/abs/1706.03762v7
  - GitHub Link: https://github.com/jadore801120/attention-is-all-you-need-pytorch

Note: You may need to wait for a few seconds to get results.

3. File Processing

Currenly, CSV and XLSX files are supported.

By default, ppfind gets paper titles at title column and outputs results to citations, arxiv_link and github_link. Modify this by adding options or in config.

# Basic usage (output file will be {original_name}_new.csv)
ppfind f papers.csv

# Specify column names
ppfind f papers.xlsx --title-col "Paper Title" --citation-col "Citation Count"

4. Configuration

Set default options so that you don't have to input options every time.

# Set options
ppfind config --api-key YOUR_SERP_API_KEY --title-col "Paper Title" --citation-col "Citations" --arxiv-col "Arxiv Link" --github-col "Github Link"

# Show current configuration
ppfind config --show

# Reset to defaults
ppfind config --reset

Notes

  • To avoid incorrect matches, please search using the full paper title.
  • This tool is intended for reference only. Please confirm the accuracy of the results on your own.

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

ppfind-1.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

ppfind-1.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file ppfind-1.1.0.tar.gz.

File metadata

  • Download URL: ppfind-1.1.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ppfind-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1480d7fe6d67f5d32e3b002385cd4c28ca4182438882d9fbad95def6601eda60
MD5 51ffbefb95f2a5b89154ef4ecd307b40
BLAKE2b-256 46a74b582f7cb5e3f031d7d912d9c685ad96fd0fc285239c1713e5fea0e1690e

See more details on using hashes here.

File details

Details for the file ppfind-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: ppfind-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ppfind-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a76bb39b917f9dbf47fee370dc32dd0e984847dc0bd7f9142291ef42da4f14
MD5 5806cb3006f87afda2fc519e01895ffd
BLAKE2b-256 ca27112fa3a4ed0dbad2223b3e89615bf6d6716cf3e4f8a8c3e533385f06b203

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