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.1.tar.gz (27.8 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.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: antifind-0.1.1.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for antifind-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a9b2691671f9359c2c5f7fe5441074d7bada83a64779aacf0d0b19c9124d95ae
MD5 fb945ddb751838a0b88f80acfc3a2adc
BLAKE2b-256 a866776d997f28b571d40b1e5e91c2351bbe385f81c3758a96f2c8edcc0588a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: antifind-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for antifind-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a7a68f185872735676122a5757d7f5d6efbf4cd3b10d288ee12d4694d01ec52
MD5 dfa88a5a9d88fcb3d56eb2254b70bb11
BLAKE2b-256 4234e373ae846afbcba998c679641ff85a2358dbe60ef47790f2ec4f3be87097

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