Skip to main content

BibLaTeX Processor is a Python package that processes BibLaTeX files, extracts information from each entry, creates individual Markdown files for each entry, and generates a combined corpus file.

Project description

BibLaTeX Processor

BibLaTeX Processor is a Python package that processes BibLaTeX files, extracts information from each entry, creates individual Markdown files for each entry, and generates a combined corpus file.

Features

  • Validates BibLaTeX files
  • Extracts key information from BibLaTeX entries
  • Generates individual Markdown files for each entry
  • Creates a combined corpus file
  • Handles custom notes and keywords

Installation

You can install BibLaTeX Processor using pip:

pip install biblatex-processor

Usage

Here's a basic example of how to use BibLaTeX Processor:

from biblatex_processor import process_entries

input_file = 'path/to/your/bibfile.bib'
output_directory = 'path/to/output/directory'
fields_to_extract = ['author_last_name', 'year', 'title', 'ID', 'abstract', 'keywords', 'note']

process_entries(input_file, output_directory, fields_to_extract)

This will process the BibLaTeX file, create individual Markdown files in the output_directory/abstract folder, and generate a corpus file in the output_directory/corpus folder.

Configuration

You can customize the fields to extract by modifying the fields_to_extract list. The available fields are:

  • 'author_last_name'
  • 'year'
  • 'title'
  • 'ID'
  • 'abstract'
  • 'keywords'
  • 'note'
  • Any other fields present in your BibLaTeX entries

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Thanks to the creators of the bibtexparser library, which this project heavily relies on.

Contact

If you have any questions or feedback, please open an issue on the GitHub repository.

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

biblatex2qmd-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

biblatex2qmd-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file biblatex2qmd-0.1.0.tar.gz.

File metadata

  • Download URL: biblatex2qmd-0.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for biblatex2qmd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a23d5f13bf878525538e60568da50f43a05ddf23102c7f42ad116e38670ba7d0
MD5 9d13c76f9124a0f5d127a4e2f717066f
BLAKE2b-256 88c9996bef33ae8714c8132e5489c9c925b06fd73fb2c8452e99da5a0e49465b

See more details on using hashes here.

File details

Details for the file biblatex2qmd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: biblatex2qmd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for biblatex2qmd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5e63e2caea1d7f3f9d1b0cc070e0f984fcc488496a089cda44118692c31b174
MD5 9805e8b1ac359c7f63704bb50d095c26
BLAKE2b-256 11a88e6aeb4f63cbaea0e103e1615dc69cafb0bef1c998b1cfaedc7868c5b25c

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