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

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

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.dev3.tar.gz (31.7 kB 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.dev3-py2.7.egg (93.7 kB view details)

Uploaded Egg

biblib-0.1.dev3-py2-none-any.whl (36.4 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for biblib-0.1.dev3.tar.gz
Algorithm Hash digest
SHA256 b80038ad1e0429e7a9a7992a922e05759b6b00a2df92b89ed25104a1dec3faaf
MD5 e6928771a51f04cd7e9402232bf2fd62
BLAKE2b-256 31e7338c907ba1ee76ef736c2f5448b6dddb6b9c6694581e58a28a75fa394b6a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for biblib-0.1.dev3-py2.7.egg
Algorithm Hash digest
SHA256 65b11708eca4b5888565864e91dde5d1eb25fda3b550ab3b6b41ed731557c0f4
MD5 c5f7cf5d855e32cb263ed5a5c054dbd2
BLAKE2b-256 778c9beb9ced100be4db2038b74a11cfc0f664500d5ff1597bf5f9cf3ebfebf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for biblib-0.1.dev3-py2-none-any.whl
Algorithm Hash digest
SHA256 d8dfc8cef6155a0d5ae52f7cc9a034caf6fd580a7c7a3fa692ec4b55f53e359a
MD5 80cd185378c54d75e54a44b21dbfaa8e
BLAKE2b-256 b575a2bf944142a3c3ca3de9151e2444efd3dc3dd1f177c62eabab388ddf4a60

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