Skip to main content

Paper Per Year

A command-line tool to visualize an academic author's publications per year using data from Google Scholar.

Note

Numbers are not everything and number of published papers is certainly no metric for academic success.

Installation

You can run this using uvx without installation.

uvx paper-per-year [OPTIONS] AUTHOR_NAME

Alternatively, you can install it using pip.

[uv] pip install paper-per-year

Usage

paper-per-year [OPTIONS] AUTHOR_NAME

For example:

# Save plot in current directory with default style
paper-per-year "Adam Dziedzic"

# Save plot in a specific directory with custom style
paper-per-year "Adam Dziedzic" -o ~/Documents/plots --style whitegrid --context poster

Example plot for Adam Dziedzic

The command will:

  1. Search for authors matching the provided name
  2. Display a list of found authors with their affiliations
  3. Prompt you to select the correct author
  4. Generate a beautiful PDF plot showing the number of publications per year
  5. Save the plot as Author_Name.pdf in the specified directory
  6. Output year-count data to stdout for potential piping

Options

  • -o, --output-dir: Directory to save the output PDF (default: current directory)
  • --style: Plot style (choices: darkgrid, whitegrid, dark, white, ticks; default: darkgrid)
  • --context: Plot scaling context (choices: paper, notebook, talk, poster; default: talk)

Plot Features

  • Beautiful Seaborn-styled visualizations
  • Publication counts displayed on top of each bar
  • Automatically adjusted layout and spacing
  • High-resolution output (300 DPI)
  • Multiple style options for different use cases

Output Format

The command outputs the year-count data to stdout in a tab-separated format:

YEAR    COUNT
2020    5
2021    3
2022    7
...

This allows for easy piping to other commands, for example:

# Get total publication count
paper-per-year "Adam Dziedzic" | awk '{sum += $2} END {print sum}'

# Find the most productive year
paper-per-year "Adam Dziedzic" | sort -k2 -nr | head -n1

Requirements

  • Python 3.13 or higher
  • scholarly
  • numpy
  • matplotlib
  • seaborn
  • click

Metadata

Release files for paper-per-year 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for paper-per-year 0.2.0
File Size Uploaded
paper_per_year-0.2.0.tar.gz 49.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for paper-per-year 0.2.0
File Interpreter ABI Platform
paper_per_year-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 54.9 kB

Release files / paper_per_year-0.2.0.tar.gz

Download URL paper_per_year-0.2.0.tar.gz
Size 49.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0665ef74fb843ddc50b5ef3acc33d9c60337f5877eabe2114f535254ee0efcc7
BLAKE2b-256 checksum
How to use checksums
62dde1bade6ce905b4607cbada11d6cc5f667524f8c1e45fc04ce17e84ab0fc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2025.

Transparency log

Release files / paper_per_year-0.2.0-py3-none-any.whl

Download URL paper_per_year-0.2.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bd3ac9a71fdbec83f18ba63f89e4f8378d7ed1ad3c746a07bd71b7e839d4e92
BLAKE2b-256 checksum
How to use checksums
cbfd0c20eefb9f8b01bd884f222e9e6510b90906c611fbfd5a7760a3f117eea5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 18, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page