Skip to main content

Search online databases for movies, TV, music, papers, and books; emit BibTeX

Project description

antifind

Search online databases for movies, TV, music, papers, and books, and emit BibTeX.

Install

pip install antifind
# or
uv tool install antifind

Usage

antifind KIND QUERY [-n N] [-o refs.bib]

KIND is one of movie, tv, music, paper, or book:

antifind paper "attention is all you need"        # → stdout
antifind paper "attention is all you need" -o refs.bib   # append to a .bib
antifind movie "blade runner" --year 1982 -n 3
antifind tv "the wire"
antifind music "kind of blue"
antifind book "the name of the rose"

By default it prints the single best match to stdout. With -o FILE, results are appended to a .bib with de-duplication (matching entries fill missing fields; --no-merge to skip, --force to append with an auto-suffixed key).

Options

flag effect
-n N number of results (default: 1)
-o, --output FILE append results to this .bib (default: stdout)
--year YEAR constrain by year (movie/tv only)
--no-merge on duplicate, skip instead of filling missing fields
--force append even if a duplicate exists

Data sources & API keys

kind source key needed
movie, tv TMDb TMDB_API_KEY
music MusicBrainz
paper CrossRef + arXiv
book Open Library
export TMDB_API_KEY=...   # required for movie / tv search

Related

  • antilibrary — manage BibTeX libraries from the terminal (can call antifind via --add-from-search).
  • antifile — extract BibTeX from PDFs, EPUBs, URLs, and identifiers.

License

MIT

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

antifind-0.1.0.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

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

antifind-0.1.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antifind-0.1.0.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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

Hashes for antifind-0.1.0.tar.gz
Algorithm Hash digest
SHA256 107e9286e3f51607d967cc5b899620d1299effe3d973b03ad606c5aecd515109
MD5 bf57f386d29cbdbb039f78edc97f2e1e
BLAKE2b-256 74cbe91bc9edba94ade064350e3adf4dd0a56e06492b2cf63a2497ec964fe2a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: antifind-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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

Hashes for antifind-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b85d14691c897867caa55b11d4a614bc6b2971ba18ab3e09aacc2c6044a2ceb9
MD5 22137135a46fad52fe9f56ac645dec11
BLAKE2b-256 0f5843ba7983b9036a3043cc381758321388c335f02c3631497140c00b9e92c1

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