Skip to main content

Python bibtex parser and serializer.

Project description


A simple library with full support for bibtex.


We support the following grammar for bibtex:


In summary we support:

  • enclosing blocks with curlies or brackets.
  • quoted and curlied strings, inner curlies are left to be processed by LaTeX.
  • concatenation between numbers, macros, and strings.
  • quote scaping inside quoted strings.
  • comment, string and preamble blocks.

We don't support savage things like:

  • Implicit comments.
  • Operations with undefined macros.
  • Circular references on macros.

As a couple of notes:

  • comment and preamble blocks are ignored from the get go.
  • preamble blocks may only contain a valid string concatenation.

Project details

Download files

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

Files for bibtexpy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size bibtexpy-0.0.1.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View
Filename, size bibtexpy-0.0.1-py3-none-any.whl (4.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page