https://github.com/inanyan/bib-arxiv-generator
A Python script that generates a BibTeX file with various articles from arXiv.
https://github.com/inanyan/bib-arxiv-generator
Last synced: 2 months ago
JSON representation
A Python script that generates a BibTeX file with various articles from arXiv.
- Host: GitHub
- URL: https://github.com/inanyan/bib-arxiv-generator
- Owner: InAnYan
- Created: 2024-06-20T08:47:51.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-11T17:04:22.000Z (5 months ago)
- Last Synced: 2025-02-11T17:45:00.030Z (5 months ago)
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `.bib` file generator with files
A Python script that generates a BibTeX file with various articles from arXiv.
The primary use for this generator is for making a large `.bib` file for testing the AI functionality in JabRef.
JabRef provides a script for generating large `.bib` files, but AI functionality operates on linked files.
## Features
- Searches arXiv for papers according to query.
- Fetches `title`, `author`, and `eprint` fields.
- Downloads PDF files.
- Forms a `.bib` file with ordinary count of entries.## How to Run this Project
Install dependencies:
```sh
pip install -r requirements.txt
```And then run the program:
*I'll just paste a help message here* 😄
```
usage: main.py [-h] [--count COUNT] [--query QUERY] [--file FILE]options:
-h, --help show this help message and exit
--count COUNT Count of entries to retrieve
--query QUERY Search query
--file FILE Path to generated file
```Tip: to set the search query properly you can wrap it in double quotes. That way the shell will pass the series of words as one string.
## How this Project is Implemented
It's actually very simple, it has 2 external dependencies: one for arXiv API (for fetching papers), the other is for generating `.bib` entries. They are just combined.