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

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.

Source Distribution

biblib-0.1.dev2.tar.gz (31.6 kB view details)

Uploaded Source

Built Distribution

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

biblib-0.1.dev2-py2.7.egg (93.3 kB view details)

Uploaded Egg

File details

Details for the file biblib-0.1.dev2.tar.gz.

File metadata

  • Download URL: biblib-0.1.dev2.tar.gz
  • Upload date:
  • Size: 31.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for biblib-0.1.dev2.tar.gz
Algorithm Hash digest
SHA256 22840aa81ccbc6ae982c43e983ab46329588e24474125dfc10adb4d0e65ab472
MD5 ab9cef0a10c110ebc0ccca4c1299c8df
BLAKE2b-256 726963832fa8f6320d7542ef08bdfb61f12204d31928c1fb748bdf61f0182ea7

See more details on using hashes here.

File details

Details for the file biblib-0.1.dev2-py2.7.egg.

File metadata

  • Download URL: biblib-0.1.dev2-py2.7.egg
  • Upload date:
  • Size: 93.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for biblib-0.1.dev2-py2.7.egg
Algorithm Hash digest
SHA256 9575c47444b74512d75c161a77d5eecf2f3ee96535b3bd960691683b2d34ec3b
MD5 0fd627f3c03960ebb338b3cbfb7c03db
BLAKE2b-256 2afed2b0f10526ad8442555427e15e1e22ea08f324ce74b5c16531af913cdf2b

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