Skip to main content

A Python package designed to simplify the process of discovering and exploring films.

Project description

pyFilmFinder

CI / CD

Project Description

pyFilmFinder is a Python package designed to simplify the process of discovering and exploring films. Leveraging TMDB (The Movie Database), the package delivers personalized recommendations, enhancing the film-viewing experience by helping users discover films that align with their unique tastes and preferences.

Features

  • Fetch a list of films based on specified genres, cast, and release year.
  • Search for films based on a specified keyword.
  • Fetch a list of films similar to the specified film.
  • Fetch detailed information about the specified film.

Installation

You can install the package via pip:

pip3 install pyfilmfinder

Usage

Once installed, you can call pyfilmfinder from the command line with the desired command and flags.

Find Films

The find command has three optional arguments:

  1. genres: Specifies the genre(s) of the films. This can be a single genre or a comma-separated list of genres. Available options are action, adventure, animation, comedy, documentary, drama, family, fantasy, history, horror, music, mystery, romance, science-fiction, thriller, tv-movie, war, western.

  2. cast: Specifies the cast of the films. This can be the name of an actor/actress. For multiple cast members, separate their names with commas.

  3. year: Specifies the release year of the films.

Example usage:

python3 src/pyFilmFinder find

This command will fetch a list of films.

Search Keyword

The search command takes one argument:

  1. keyword: Specifies the keyword to search for films.

Example usage:

python3 src/pyFilmFinder search "LoTR"

This command will search for films related to "LOTR".

Find Similar Films

The similar command takes one argument:

  1. film_id: Specifies the ID of the film to find similar movies for.

Example usage:

python3 src/pyFilmFinder similar 12

This command will fetch a list of movies similar to the film with the ID 12.

Film Details

The details command takes one argument:

  1. film_id: Specifies the ID of the film to fetch detailed information for.

Example usage:

python3 src/pyFilmFinder details 693134

This command will fetch detailed information about the film with the ID 693134.

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

pyFilmFinder-0.0.1.tar.gz (42.8 kB view details)

Uploaded Source

Built Distribution

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

pyFilmFinder-0.0.1-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file pyFilmFinder-0.0.1.tar.gz.

File metadata

  • Download URL: pyFilmFinder-0.0.1.tar.gz
  • Upload date:
  • Size: 42.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pyFilmFinder-0.0.1.tar.gz
Algorithm Hash digest
SHA256 87b8802b29aba2c74a6e39be7a9067b8c0a32b0c9daf0053b07804eb91425cbb
MD5 58700002b06571d7d91c2cf8181d0058
BLAKE2b-256 f7284c2635e65afe15ae1ecae1ec1d3aba2c9317b29f2fd0550ff1a97a7b3cad

See more details on using hashes here.

File details

Details for the file pyFilmFinder-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyFilmFinder-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pyFilmFinder-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0cbd4cf78e689ffd65e45af029774491840fa6bdbd9d22651a041c35c1faf760
MD5 b739714de019746537f2a0f1756e5f67
BLAKE2b-256 82fb1a2edc6bc72acc3baa2544d6d737f85fe5b1a7f7041c6233ea684bf3825d

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