Skip to main content

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.

Metadata

Release files for filmfarm 1.0.1

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

Source distribution (sdist)

Source distribution for filmfarm 1.0.1
File Size Uploaded Provenance Actions
filmfarm-1.0.1.tar.gz 6.0 kB Without provenance Details for filmfarm-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for filmfarm 1.0.1
File Interpreter ABI Platform Actions
filmfarm-1.0.1-py3-none-any.whl Python 3 none any Details for filmfarm-1.0.1-py3-none-any.whl

Total release size: 13.8 kB

Release files / filmfarm-1.0.1.tar.gz

Download URL filmfarm-1.0.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
941d0d0aae955b0438716670304c38e327306859104c02ee2cd10cc5b9ab7b15
BLAKE2b-256 checksum
How to use checksums
cf456dd5b8357e9623d222bc0b3812b43bc9f82281377e24d63e39d053ba9bf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Darwin/23.6.0

Release files / filmfarm-1.0.1-py3-none-any.whl

Download URL filmfarm-1.0.1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f084f2c9fe1cb28812ff4f0a78050b56101131abd2a9589cb9a82d9d9a3549de
BLAKE2b-256 checksum
How to use checksums
e39f274fd40c4253f75fd00c7d648a871e5eb35a83efdddf0315893cec33b1a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.10.14 Darwin/23.6.0

Security for filmfarm 1.0.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 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