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.

The idea is to enabling you to prepare your own tools, which are specifically tailored to your own literature investigation scheme, comfortably.

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

  • isbnlib for retreving citation entries via ISBN number

  • python-magic for detecting character encoding

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 (in some cases you have to precede the command with sudo):

$ 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.

Thanks

Thanks to Jackalope for his support while planing and designing the biblib, and for his future contributions.

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.dev4.tar.gz (2.6 MB view details)

Uploaded Source

Built Distributions

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

biblib-0.1.dev4-py2.7.egg (101.5 kB view details)

Uploaded Egg

biblib-0.1.dev4-py2-none-any.whl (39.6 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: biblib-0.1.dev4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for biblib-0.1.dev4.tar.gz
Algorithm Hash digest
SHA256 3daa6627dbd1c3a91668362deb9bf1bedc557a82c5fe60d4fd01605dabd5c89b
MD5 bb45f0f3c6439fc5a425fc2d29b73d0e
BLAKE2b-256 1668757880e0203caa6e0b30ed506a54daa7596ab170aaaae67da46f8d3d0a38

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for biblib-0.1.dev4-py2.7.egg
Algorithm Hash digest
SHA256 abea5518ffa91f90870164670ceb2fe653e65a80a13eb47d8059f8f8128cb3ac
MD5 f11d3f7f472d157f0aaf4b525b6e2086
BLAKE2b-256 fdaa743e8db3e6a7e0006f3bb9fc8cb9e74948902218144ffa714fa8dfaeb8be

See more details on using hashes here.

File details

Details for the file biblib-0.1.dev4-py2-none-any.whl.

File metadata

File hashes

Hashes for biblib-0.1.dev4-py2-none-any.whl
Algorithm Hash digest
SHA256 f4eb654a2e1981ad2271fa046c642821ace21bb8a7e3322528b5de7d83560273
MD5 cfdc3ffe4c68c72e5c235eba25187361
BLAKE2b-256 d0706d4aec66d959161c46ecba7b5cf3c626a1f83cd6e0fcee752cde88830220

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