Skip to main content

python-bibtexparser

Python 3 library to parse bibtex files.

Documentation

Our documentation includes the installation procedure, a tutorial, the API and advices to report a bug: Documentation on readthedocs.io

Upgrading

Please, read the changelog before upgrading regarding API modifications.

License

Dual license (at your choice):

  • LGPLv3.

  • BSD

See COPYING for details.

History and evolutions

The original source code was part of bibserver from OKFN. This project is released under the AGPLv3. OKFN and the original authors kindly provided the permission to use a subpart of their project (ie the bibtex parser) under LGPLv3. Many thanks to them!

The parser evolved to a new core based on pyparsing.

Since 2022, after a long stale period, this library has a new maintainer (@MiWeiss).

v2 Announcement

Version 1.x, is trusted and used by more than 1300 projects, with much of its code being ~10 years old. Our primary objective in maintaining v1.x is to provide stability and backwards compatibility to these projects - such that they can safely and easily migrate to new versions.

Still, there’s much room for large-scale improvements and changes to modernize bibtexparser. Hence, we are working on a new version 2.0.0 which is a complete rewrite of the library, providing amongst other the following advantages:

  • Order of magnitudes faster

  • Type-Hints and extensive documentation

  • Easily customizable parsing and writing

  • Access to raw, unparsed bibtex.

  • Fault-Tolerant: Able to parse files with syntax errors

  • Massively simplified, robuster handling of de- and encoding (special chars, …).

Check out the v2 dev branch and the v2 coordination issue to get a sneak preview. Also - if you’re keen - we’re always looking for contributors. Do not hesitate to get in contact with us.

Metadata

Release files for bibtexparser 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bibtexparser 1.4.2
File Size Uploaded Provenance Actions
bibtexparser-1.4.2.tar.gz 55.7 kB Without provenance Details for bibtexparser-1.4.2.tar.gz

Release files / bibtexparser-1.4.2.tar.gz

Download URL bibtexparser-1.4.2.tar.gz
Size 55.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dd5d54a1ec6d27b6485ce2f6b9aa514b183fb2b8d4bf5f19333a906eedaf8eaa
BLAKE2b-256 checksum
How to use checksums
7d619cbb09b876d09a3fb61818f88e89a182f81c79d064d599fa92f419c3a11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Security for bibtexparser 1.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.4.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page