Skip to main content

A library to handle BibTeX bibliographic data.

Project description

biblib is a (pure) python library that provides several useful classes, methods and functions to work with BibTeX bibliographic data within your python scripts.

Usage example

The following code will add a citation by their DOI:

import biblib

# create database from BibTeX file
dbObj = biblib.db_from_file('bibtex.bib')

# retrieve bibliographic meta data by DOI
entryObj = biblib.entry_from_doi('10.1088/0959-5309/43/5/301')

# add new entry to database
dbObj.add_entry(entryObj)

# write database to a new BibTeX file
biblib.db_to_file(dbObj,'new.bib')

Requirements

  • currently only Python 2.7 or later (Python 3 support is planned!)
  • isbnlib for retreving citation entries via ISBN number

Installation

You can install the latest version from the Python package index. From the command line, enter (in some cases you have to precede the command with sudo):

$ pip install biblib --pre

Note

Because currently only a development version is available, you need to use the --pre option.

To install it manual, download the archive, unpack it, and type:

$ python setup.py install

Documentation

Documentation including installation procedure, tutorial and API: http://pythonhosted.org/biblib/

Source

The complete source code will soon be available on sourceforge.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
biblib-0.1.dev2-py2.7.egg (93.3 kB) Copy SHA256 hash SHA256 Egg 2.7
biblib-0.1.dev2.tar.gz (31.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page