Skip to content

A tiny Python program to extract DOIs from BibTeX or RIS files.

Notifications You must be signed in to change notification settings

christiangoelz/doi_extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI Extractor

A tiny Python program to extract DOIs from BibTeX or RIS files.

Installation

Clone this repository:

git clone ...

Install:

cd  doi_extractor
pip install -e .

Usage

Using python:

from doi_extractor import DOIExtractor

# Define input and output fle
input_file = 'path/to/my_bibtex.bib'

# Run extraction
extractor = DOIExtractor(input_file)

# 1. extract dois
extractor.extract()

# 2. generate lens search string
extractor.to_lens_string()

# Save
extractor.save_dois()
extractor.save_lens_string()

Using command line:

doi_extractor 'path/to/my_bibtex.bib'

About

A tiny Python program to extract DOIs from BibTeX or RIS files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published