Skip to main content

A movie database management system

Project description

🎬 Movie Database

License: MIT Python Version Code style: black

A comprehensive and feature-rich command-line application for managing a personal movie database with OMDb API integration.

✨ Features

  • Interactive CLI with colorful, menu-driven interface
  • OMDb API Integration for automatic movie data fetching
  • Advanced Search with field-specific queries (e.g., a:Tom Hanks, y:2022)
  • Filtering by rating and release year
  • Statistics including average/median ratings
  • Random Movie picker
  • Data Persistence using JSON storage
  • Pagination for easy browsing
  • Sorting by rating or release year

🚀 Installation

From PyPI (Recommended)

pip install moviedatabase

From Source

  1. Clone the repository:

    git clone https://github.com/DatMayo/MovieDatabse.git
    cd MovieDatabse
    
  2. Install dependencies:

    pip install -r requirements.txt
    

🛠️ Usage

Basic Usage

# Run the application
python -m moviedatabase

# Or if installed via pip
moviedb

Command Line Options

python -m moviedatabase --help

🔧 Configuration

OMDb API Key

To use the online search functionality ("Add movie from OMDb"), you need a free API key from the OMDb API.

  1. Get your free key here: http://www.omdbapi.com/apikey.aspx
  2. Run the application.
  3. Navigate to 4. Settings -> 1. Set OMDb API Key.
  4. Enter your API key when prompted.

The key will be saved in config.json and used for all future online searches.

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

moviedatabase-0.1.4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

moviedatabase-0.1.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file moviedatabase-0.1.4.tar.gz.

File metadata

  • Download URL: moviedatabase-0.1.4.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for moviedatabase-0.1.4.tar.gz
Algorithm Hash digest
SHA256 60eef6513a8cebc92684fdcf5b6243991e6d6164c0ab66b4f336327851925f01
MD5 90ea91678f7abb84b578079bd50e3030
BLAKE2b-256 6fdaea5cd9364a954beb6e2644dc587affd65caaa01c36769e81c06fa09ae1de

See more details on using hashes here.

File details

Details for the file moviedatabase-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: moviedatabase-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for moviedatabase-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c7414ad3cc4a93b3f12ad2f90594010b50d6b0af3272ce6792ad901cddb4e0a
MD5 67b0603e67d56b3d70efe42bc5c8e6e6
BLAKE2b-256 68428a619ca4655aaa1b805c720179d5d3f42c77a58a4f4b7ac3c51bfc9ee93b

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