Skip to main content

CLI organize PDFs by attaching bibtex metadata

Project description

Maper

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

Install from PyPI:

$ pip install maper

Additionally, pandoc needs to be installed and available.

Run

Use either python -m maper <command> or if PATH is set correctly, maper <command>.

Currently available commands are:

  • create
  • show
  • bibtex

create

Create a PDF file with an attached bibtex file and metadata title and authors set:

$ maper create <bibtex> <pdf> [-o <output>]

where <bibtex> and <pdf> may be either local files or URLs, and output is a filename, or a directory. If <output> is not a directory, the resulting pdf will be stored in that file. If <output> is an existing directory, the file will be stored in <output>/<FirstAuthorFamilyName><Year><FirstTitleWord>.pdf. If <output> is omitted, the current directory is assumed.

show

Show a summary of the attached bibtex of one or multiple pdfs:

maper show [<pdf> ...]

bibttex

Show the bibtex of one or combined of multiple pdfs (e.g. to create a full bibtex file)

$ maper bibtex [<pdf> ...]

Example

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

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

maper-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

maper-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file maper-0.1.0.tar.gz.

File metadata

  • Download URL: maper-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for maper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e5e6e922ea802b9aa6c934ab98c247e30bdc556f61da711c9373412941ce73c0
MD5 48b50656283e92bd312501b823eacda9
BLAKE2b-256 996ff01ee1607a6ccdf6ca41c0807935d23e0dd00a4fbc9f770d2f3be3ab7867

See more details on using hashes here.

File details

Details for the file maper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: maper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for maper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 872730a38f27aa7ecef9370397e81adc187ba20588e19cb351a7755096a75967
MD5 03b2ccfb70cb0eabe85c0eed7b571ed6
BLAKE2b-256 87456b0d28dd07893e438ad2841e1c0442f0248b42dc467a3dab01ce2a4baa88

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