Skip to main content

Python bibtex parser and serializer.

Project description

bibtexpy

A simple library with full support for bibtex.

Grammar

We support the following grammar for bibtex:

Railroad

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.

Source Distribution

bibtexpy-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

bibtexpy-0.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file bibtexpy-0.0.1.tar.gz.

File metadata

  • Download URL: bibtexpy-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for bibtexpy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ab5443e4053756d1585237acbed2b13f31e586627c38402fae405a4eca1f7325
MD5 947ec6d5715c0da0d67b9743c6a0f4d7
BLAKE2b-256 ff53b0565ea764a6033c9b8a627bf9db3d394a783ae6bb9d2ed0d9a79bf2e8e5

See more details on using hashes here.

File details

Details for the file bibtexpy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: bibtexpy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for bibtexpy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c17ae31639482b5b2675d12198b4bb68245e441b5796bc7cdda22f1f97f4d087
MD5 69e520ad36e6a5f496053a139cd089b9
BLAKE2b-256 7de5972e5f406807dc23d3b60710edc5db479c0e35f79d2696d06a08df776679

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page