CLI organize PDFs by attaching bibtex metadata
Maper (may-per, like paper with an 'm', as in meta-paper) is a minimal, easy to use, command line tool to download/manage scientific papers in pdf-format by attaching a bibtex-file and updating its metadata using pikepdf.
Install from PyPI:
$ pip install maper
pandoc needs to be installed and available.
python -m maper <command> or if
PATH is set correctly,
Currently available commands are:
Create a PDF file with an attached bibtex file and metadata title and authors set:
$ maper create <bibtex> <pdf> [-o <output>]
<pdf> may be either local files or URLs, and output is a filename, or a directory.
<output> is not a directory, the resulting pdf will be stored in that file.
<output> is an existing directory, the file will be stored in
<output> is omitted, the current directory is assumed.
Show a summary of the attached bibtex of one or multiple pdfs:
maper show [<pdf> ...]
Show the bibtex of one or combined of multiple pdfs (e.g. to create a full bibtex file)
$ maper bibtex [<pdf> ...]
The following creates the pdf
Weizenbaum1966ELIZA.pdf, shows a summary, and the full attached bibtex filed:
$ maper create 'https://dblp.uni-trier.de/rec/journals/cacm/Weizenbaum66.bib?param=1' 'https://cse.buffalo.edu/~rapaport/572/S02/weizenbaum.eliza.1966.pdf' $ maper show Weizenbaum1966ELIZA.pdf $ maper bibtex Weizenbaum1966ELIZA.pdf
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.