taesiri / arxiv_latex_extractor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arXiv LaTeX Extractor

Description

The arXiv LaTeX Extractor is a Python tool designed to download and flatten LaTeX source files for academic papers from the arXiv.org repository.

Installation

To install the arXiv LaTeX Extractor, clone this repository and run the installation using pip. Ensure you have Python 3.x installed on your machine.

git clone https://github.com/taesiri/arxiv_latex_extractor
cd arxiv_latex_extractor
pip install .

Usage

To use the Arxiv LaTeX Extractor, import the get_paper_content function from the package and pass the Arxiv ID of the paper you want to download and flatten:

from arxiv_latex_extractor import get_paper_content

content = get_paper_content('paper_id')
print(content)

Replace 'paper_id' with the actual ID of the arXiv paper.

Running Tests

To run tests, navigate to the root directory of the repository and execute:

python -m unittest discover -s tests

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

License:MIT License


Languages

Language:Python 100.0%