Skip to main content

A toolkit to manage movie collections.

Project description

filmfarm

A toolkit to manage movie collections. It provides utilities to scrape metadata/posters and organize movies into directories based on their metadata.

It's useful if you have a film collection in a directory where each film is in its own subdirectory named after the IMDB ID of the film. This is easier to demonstrate than explain; in the demo the directories are empty, but in real life they could contain video files from your DVD backups etc.

filmfarm demo

Installation

filmfarm is best installed using pipx; pipx install filmfarm.

Usage

filmfarm provides a command-line interface (CLI) using Typer. See filmfarm --help for details.

Prerequisites

filmfarm requires API keys for OMDB and TMDB, as of this writing these keys are freely available. You must set OMDB_API_KEY and TMDB_API_KEY in your environment, or create a dotenv file in the project's directory if you're running from source.

Development

filmfarm is packaged with Poetry. Once Poetry is installed and you've cloned the filmfarm source repo, run poetry install to install all dependencies. You can then run poetry run filmfarm or use poetry shell (see Poetry docs for details).

To run the tests, use pytest. There's also integration.sh, a little shell script which sort of does integration tests (it actually uses API keys to download and link some data).

Attribution

This package uses the TMDB API but is not endorsed or certified by TMDB. It also uses the OMDB API. A tiny sample of API results is included as testdata.

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

filmfarm-1.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

filmfarm-1.0.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file filmfarm-1.0.1.tar.gz.

File metadata

  • Download URL: filmfarm-1.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/23.6.0

File hashes

Hashes for filmfarm-1.0.1.tar.gz
Algorithm Hash digest
SHA256 941d0d0aae955b0438716670304c38e327306859104c02ee2cd10cc5b9ab7b15
MD5 4a17fd9156e539cb5cf0e425bd2d011b
BLAKE2b-256 cf456dd5b8357e9623d222bc0b3812b43bc9f82281377e24d63e39d053ba9bf0

See more details on using hashes here.

File details

Details for the file filmfarm-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: filmfarm-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/23.6.0

File hashes

Hashes for filmfarm-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f084f2c9fe1cb28812ff4f0a78050b56101131abd2a9589cb9a82d9d9a3549de
MD5 68c8e4038f330563ebfe8fa3b14909a4
BLAKE2b-256 e39f274fd40c4253f75fd00c7d648a871e5eb35a83efdddf0315893cec33b1a1

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