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.0.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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moviedatabase-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 d37bb361bf8c33631b3ab63a77c0e40e8ae956ad4148d4df6ad5301cca07ded5
MD5 e8a7f9848cdd511034fe620fa688c54f
BLAKE2b-256 fd93e3b6c82a7f9b041d7afc4d461ea2b9ed4b205109d363ddd3603672df77fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moviedatabase-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a36f7a8433cc533de30900eee636244b5746e3091e8c4316478bf1d24d08cb63
MD5 0f8bf4768fe43babc103488b401df519
BLAKE2b-256 a2e28ed2ea359c30a5bf6741c5d958a7010d6e65fd961a387b52def39f7a4739

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