A Python application for managing your movie collection. Keep track of your movies, their ratings, and more with both JSON and CSV storage support.
- Add movies with title, year, rating, and poster information
- Delete movies from your collection
- Update movie ratings
- List all movies in your collection
- Fetch movie information automatically from OMDB API
- Multiple storage options:
- JSON storage
- CSV storage
- Generate statistics about your movie collection
- Search for movies in your collection
- Sort movies by different criteria
- Clone the repository:
git clone https://github.com/leezter/Popcorn-Log.git
cd Popcorn-Log- Install the required dependencies:
pip install -r requirements.txtRun the application:
python main.pyThe application will start and present you with a menu of options to manage your movie collection.
The application supports two storage backends:
-
JSON Storage (
data/storage_json.py):- Stores movies in a JSON file
- Default storage option
- Easy to read and modify manually
-
CSV Storage (
data/storage_csv.py):- Stores movies in a CSV file
- Alternative storage option
- Compatible with spreadsheet applications
main.py- Application entry pointmovie_app.py- Main application logicdata/istorage.py- Storage interface definitionstorage_json.py- JSON storage implementationstorage_csv.py- CSV storage implementationmovies.json- Default JSON storage filemovies.csv- Default CSV storage file
Feel free to open issues or submit pull requests if you have suggestions for improvements or bug fixes.
This project is open source and available under the MIT License.