Filterbib

Latest version: v0.1.0

Safety actively analyzes 723717 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0alpha

filterbib: clean up your `bib`-files for neater bibliographies

I'm happy to introduce `filterbib` v1.0.0-alpha, the first alpha release of our package designed for automated filtering and processing of BibTeX files. This release lays the foundation for a streamlined workflow in cleaning and organizing bibliographic data. This package is mainly useful if you're using `natbib` with `LaTeX`, as `DeclareSourcemap` might not work.

Key Features

- Automated Field Removal: Easily remove unwanted fields (e.g., abstracts, notes, URLs) from .bib files.
- Flexible Input Handling: Accepts both command-line arguments and predefined field lists.
- Preserves BibTeX Integrity: Ensures that valid entries remain intact while unwanted metadata is stripped.
- Command-Line Utility: Run filtering directly from the terminal with:

bash
filter_bib input.bib output.bib abstract,note,url


- Optimized Performance: Fast and efficient parsing of BibTeX files using pybtex.
- Cross-Platform Compatibility: Supports Linux, macOS, and Windows.

Installation

Install via pip:

bash
pip install filterbib
`

Known Issues & Limitations

⚠️ This is an alpha release, meaning:

The CLI syntax may change in future versions.
More robust error handling and additional features (e.g., field selection via config files) are planned.
Contributions and bug reports are welcome!

Feedback & Contributions
- Report issues → [GitHub Issues](https://github.com/gjheij/filterbib/issues)
- Contribute → Fork & submit a PR!

🔹 Next Steps: Our upcoming v1.0.0-beta release will include enhanced error handling, expanded documentation, and additional customization options. Stay tuned!

Happy filtering!

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.