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
bibtexparserlibrary, which this project heavily relies on.
Contact
If you have any questions or feedback, please open an issue on the GitHub repository.
Release files for biblatex2qmd 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biblatex2qmd-0.1.7.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biblatex2qmd-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.0 kB
Release files / biblatex2qmd-0.1.7.tar.gz
| Download URL | biblatex2qmd-0.1.7.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1036d399213559095ce519c27053db005ac528e74d6c26342f3ceb3198c0c516
|
|
BLAKE2b-256 checksum How to use checksums |
8b50dbec64a8f00fd150c37a9c381a796e6d7c6fe12158177d1fcc8bf8805903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / biblatex2qmd-0.1.7-py3-none-any.whl
| Download URL | biblatex2qmd-0.1.7-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec1a3465ea9fdda9c83e1d61f57a79eec3dbcb6cd65dbf38ac13d042dee6ec39
|
|
BLAKE2b-256 checksum How to use checksums |
f1b86155ab5f40b3d0ac5e0f25598bb0d5d3fbae82dec3ec3ea654b4526ed1b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|