Manage BibTeX libraries from the terminal
Project description
antilibrary
Manage a BibTeX file from the terminal.
Install
pip install antilibrary
# or
uv tool install antilibrary
Usage
Antilibrary operates on a single .bib file resolved in this order:
-f / --file FILEargument$ANTILIBRARY_BIBenvironment variable
export ANTILIBRARY_BIB=~/refs/main.bib
antilibrary add # interactively add an entry
antilibrary get smith2024 # print citation for a key
antilibrary browse # list entries
antilibrary browse -q "attention" # fuzzy search
antilibrary browse -t "nlp,transformers" # filter by tags
antilibrary remove smith2024 # delete an entry
Citation styles
antilibrary get KEY --style {bibtex|bibtex-full|latex|org-cite|pandoc} prints
a citation in the requested format:
| style | output |
|---|---|
bibtex |
smith2024 |
bibtex-full |
the whole entry |
latex |
\cite{smith2024} |
org-cite |
[cite:@smith2024] |
pandoc |
[@smith2024] |
Adding entries
antilibrary add is interactive — it prompts for type, title, author, year,
key, and any extra fields. Adding an entry that matches an existing one
(by DOI, arXiv ID, ISBN, or normalized title+author) silently fills any
empty fields on the existing entry rather than creating a duplicate. Pass
--no-merge to skip on duplicate, or --force to append anyway with an
auto-suffixed key.
Companion tools (planned):
- bibzapper — batch extraction from PDFs, EPUBs, URLs, DOIs, arXiv IDs, or
ISBNs into a
.bibfile. - bibsearcher — online search (movies, TV, music, papers, books) → BibTeX.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antilibrary-0.1.0.tar.gz.
File metadata
- Download URL: antilibrary-0.1.0.tar.gz
- Upload date:
- Size: 21.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff7e72032b946cc3daab0d23e10c2969dda211bff16070ced38026e2bc97e575
|
|
| MD5 |
d1f3982bf07222d78f6181ee6ac06c98
|
|
| BLAKE2b-256 |
b3b8b80246bd833f9937f4ac338ea7b457e0af2ba09c29da51750178b55f3a3c
|
File details
Details for the file antilibrary-0.1.0-py3-none-any.whl.
File metadata
- Download URL: antilibrary-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cac1143d3ab6e13424335e557fce219ed176f6cae365775dc42d8b10afa67b61
|
|
| MD5 |
fd3a14b4a0a06cfdebc1e1e59030e0a2
|
|
| BLAKE2b-256 |
e61836021ed67d908b0b03c62a9fabdd1eccf5824afafa44535765d59edeb66d
|