Skip to main content

extract_bib

Test

A small utility that uses BibTool to extract only the works cited in a Pandoc Markdown file from a BibTeX file.

If your workflow involves writing in Markdown and converting that Markdown to TeX with Pandoc, and you keep a large bibliography in a single BibTeX file, this utility will allow you to extract only the works cited in the Markdown file into a separate BibTeX file for distribution/portability.

It is intended as part of a transparent, plain text academic workflow.

It is based on this ruby Gist.

Installation

pip install extract_bib

Usage

To extract the references in great_paper.md that you keep in your ~/Documents/references.bib and place them in great_paper.bib, run:

extract_bib --bibtex-file ~/Documents/references.bib great_paper.md great_paper.bib

Metadata

Release files for extract-bib 1.0.0

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

Source distribution (sdist)

Source distribution for extract-bib 1.0.0
File Size Uploaded Provenance
extract_bib-1.0.0.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for extract-bib 1.0.0
File Interpreter ABI Platform
extract_bib-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / extract_bib-1.0.0.tar.gz

Download URL extract_bib-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
303db2f2d75627fa11b8602439c88116459df020293b333cb9163eb8d68c1a1d
BLAKE2b-256 checksum
How to use checksums
3ed43cfd48c4efa7b155bf3c00d011abaf9deb4f790f5e89651219ac11a71b0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release files / extract_bib-1.0.0-py3-none-any.whl

Download URL extract_bib-1.0.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a0ffeda9bcc84d030b8bb972446682637102040d6c3ec460a22f788bb4b1163
BLAKE2b-256 checksum
How to use checksums
d71c3709edd68b0dc07cf9881ce7f810ead2feeb45bb179c847c14d63bef5a9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Security for extract-bib 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files 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