Generate publication per year plots for academic authors
Project description
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
The command will:
- Search for authors matching the provided name
- Display a list of found authors with their affiliations
- Prompt you to select the correct author
- Generate a beautiful PDF plot showing the number of publications per year
- Save the plot as
Author_Name.pdfin the specified directory - 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
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
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 paper_per_year-0.2.0.tar.gz.
File metadata
- Download URL: paper_per_year-0.2.0.tar.gz
- Upload date:
- Size: 49.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0665ef74fb843ddc50b5ef3acc33d9c60337f5877eabe2114f535254ee0efcc7
|
|
| MD5 |
d6f63ff2871b16def5bbdaac69496a06
|
|
| BLAKE2b-256 |
62dde1bade6ce905b4607cbada11d6cc5f667524f8c1e45fc04ce17e84ab0fc2
|
Provenance
The following attestation bundles were made for paper_per_year-0.2.0.tar.gz:
Publisher:
publish.yml on dwahdany/paper-per-year
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paper_per_year-0.2.0.tar.gz -
Subject digest:
0665ef74fb843ddc50b5ef3acc33d9c60337f5877eabe2114f535254ee0efcc7 - Sigstore transparency entry: 172258029
- Sigstore integration time:
-
Permalink:
dwahdany/paper-per-year@c47bb74dc699ac68da953bfac99ec1371e683ece -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dwahdany
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c47bb74dc699ac68da953bfac99ec1371e683ece -
Trigger Event:
push
-
Statement type:
File details
Details for the file paper_per_year-0.2.0-py3-none-any.whl.
File metadata
- Download URL: paper_per_year-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bd3ac9a71fdbec83f18ba63f89e4f8378d7ed1ad3c746a07bd71b7e839d4e92
|
|
| MD5 |
4914383359d07b7d146d7ee2784aa550
|
|
| BLAKE2b-256 |
cbfd0c20eefb9f8b01bd884f222e9e6510b90906c611fbfd5a7760a3f117eea5
|
Provenance
The following attestation bundles were made for paper_per_year-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on dwahdany/paper-per-year
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
paper_per_year-0.2.0-py3-none-any.whl -
Subject digest:
3bd3ac9a71fdbec83f18ba63f89e4f8378d7ed1ad3c746a07bd71b7e839d4e92 - Sigstore transparency entry: 172258033
- Sigstore integration time:
-
Permalink:
dwahdany/paper-per-year@c47bb74dc699ac68da953bfac99ec1371e683ece -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dwahdany
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c47bb74dc699ac68da953bfac99ec1371e683ece -
Trigger Event:
push
-
Statement type: