Skip to main content

A Tkinter GUI application to fetch bibliographies from Crossref and generate perfectly formatted APA Word documents.

Project description

Reference Generator (APA)

Welcome to the Reference Generator, a lightweight, visually intuitive desktop application designed to eliminate the headache of formatting academic citations.

Developed with ❤️ by Alok Kumar Maurya (HydroClimate Lab IITKGP), this tool uses the powerful Crossref API to take your rough notes, partial citations, or simple article titles and instantly transform them into a perfectly formatted APA reference list.


🎯 What Does It Do?

Researchers often have messy lists of references—sometimes just a paper title, sometimes a badly formatted citation from a PDF.

With this tool, you can paste or upload just the title or any messy type of reference into the app, and it will fetch the exact metadata to generate a flawless 7th Edition APA citation, complete with the DOI link.

Example: The Transformation

Your Input (Messy or incomplete):

Leveraging the use of digital agriculture and machine learning for accurate prediction of Leaf Area Index (LAI) Maurya, Alok Kumar, and Amey Pathak. "Leveraging the use of digital agriculture and machine learning for accurate prediction of Leaf Area Index (LAI)."

The App's Output (Perfect APA Word Document):

Maurya, A. K., & Pathak, A. (2025). Leveraging the use of digital agriculture and machine learning for accurate prediction of Leaf Area Index (LAI). Computers and Electronics in Agriculture, 239, 110947. https://doi.org/10.1016/j.compag.2025.110947


✨ Key Features

  • Smart Fetching: Powered by Crossref, the tool searches the web for the exact paper using whatever text you provide.
  • Automatic APA Formatting: Generates citations with proper Author initials, publication year, article title, italicized journal names, volume/issue numbers, and correct page ranges.
  • Always Includes DOI: Automatically fetches and appends the https://doi.org/... link to every reference.
  • Alphabetical Sorting: Your final reference list is automatically sorted from A to Z.
  • Perfect Word Document Export: Creates a ready-to-print .docx file complete with standard APA hanging indents (0.5 inches).
  • Flexible Inputs: Paste text directly, or upload your existing .txt or .docx files.

🚀 Installation

You can install this package globally on your computer using Python's package manager, pip.

Open your terminal or command prompt and run:

pip install Rgenerator


## 🛠️ Step-by-Step Usage Guide
## Step 1: Launch the App
##Once installed, you don't need to write any Python code. Simply open your terminal/command prompt and type:

RefGenerator

## If path error then used:  

python -c "from reference_generator import app; app.main()"

## The Graphical User Interface (GUI) will immediately pop up on your screen.

## Step 2: Input Your ReferencesYou have two easy ways to provide your references:Type or Paste: Simply copy your list of article titles or rough citations and paste them directly into the large text box in the app. Put one reference/title per line.  Upload a File: Click the "📁 Upload File" button to load a .txt or .docx file from your computer. The app will automatically extract the text for you. 

## Step 3: Set Working Directory (Optional)
Click "⚙️ Set Working Directory" to choose the default folder where you want your final Word document saved.

## Step 4: Generate!
Click the green "🚀 Export to Word (.docx)" button.

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

rgenerator-1.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

rgenerator-1.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file rgenerator-1.2.0.tar.gz.

File metadata

  • Download URL: rgenerator-1.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for rgenerator-1.2.0.tar.gz
Algorithm Hash digest
SHA256 cabfa40eb8840671b0bb5ace65dd4129a686673aedd347b1cdbd9248d514e281
MD5 3b235e7aed6094484b36badbd33a7a90
BLAKE2b-256 7b80870d320dbaafe4f6bbf4d69000edd3e7d8accab57bf3473f78241be976ee

See more details on using hashes here.

File details

Details for the file rgenerator-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: rgenerator-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for rgenerator-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c17459c00d09f01e6152dde2a3b22a02b6ca65a1e177c5830ba6f39fa0bbf91f
MD5 8c185af3ff1cedea770f94aa9a49c359
BLAKE2b-256 8ab421cae26143e5bc959a2bf8730d8ba0b8ba829c112bc2a6f2442cf19fa450

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