Skip to main content

Scientific Paper Rename (sci-paper-rename)

Tired of messy filenames for all your scientific papers? sci-paper-rename is here to help! This handy command-line tool automatically renames your PDFs using their actual paper titles — no more guesswork or manual renaming.

sci-paper-rename

Just run it on your folder of papers, and watch it tidy up your files with neat, meaningful names. Easy, fast, and stress-free!

Introduction

Scientific Paper Rename (or sci-paper-rename, for short) is a command-line tool that makes organizing your scientific papers a breeze. It scans each PDF to find the paper’s title and then renames the file to match — so your folders stay neat and easy to navigate.

Approach

sci-paper-rename looks for the title in two places:

  1. PDF Metadata: If the PDF was carefully created, the title might be stored in its metadata.
  2. Largest Font on First Page: If metadata is unavailable or unreliable, the tool scans the first page of the paper, looking for a sentence with the largest font size, assuming it's the title.

If both methods succeed, the user is prompted to choose which title to use.

Dependencies

The current version depends on Python 3.11.6 and PyMuPDF 1.26.0. Please make sure to have them installed before running the package!

If your version doesn't match, use pyenv to install Python version 3.11.6.

Installation

You can install sci-paper-rename easily with pip:

From PyPI

pip install sci-paper-rename

From GitHub repository (latest development version)

pip install git+https://github.com/heversonbr/sci-paper-rename.git

Or, if you prefer to install locally after cloning

git clone https://github.com/heversonbr/sci-paper-rename.git
cd sci-paper-rename
python3 -m venv .venv
source .venv/bin/activate
pip install .

Usage

After installation, use the tool from the command line.

Rename all files in a directory

python3 sci-paper-rename.py </path/to/target_directory>

Rename a single PDF file

sci-paper-rename /path/to/specific-paper.pdf

Show help message

sci-paper-rename --help

Metadata

Release files for sci-paper-rename 1.0.3

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

Source distribution (sdist)

Source distribution for sci-paper-rename 1.0.3
File Size Uploaded Provenance
sci_paper_rename-1.0.3.tar.gz 22.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sci-paper-rename 1.0.3
File Interpreter ABI Platform
sci_paper_rename-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 43.1 kB

Release files / sci_paper_rename-1.0.3.tar.gz

Download URL sci_paper_rename-1.0.3.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ecd936a245710f9c4df911c15321f2d816dbe8f2934e049cf02f6011b78a001e
BLAKE2b-256 checksum
How to use checksums
842df87d78b66e195e0d26450f201b385a1ad8d3acfbd9cabec62b4f9b9474e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Release files / sci_paper_rename-1.0.3-py3-none-any.whl

Download URL sci_paper_rename-1.0.3-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79ea2e341f0ada4417fe9775e04474bc18f240b6a47d942a9f6f351c2dcd5587
BLAKE2b-256 checksum
How to use checksums
d1bcae70ed246e8c1b9ebdf1d045e5cfdc20b78d171699130ae3c0ddf061da55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.6

Security for sci-paper-rename 1.0.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

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