mroswell / imdb-to-sqlite

convert IMDB ratings CSV to SQLite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMDB ratings to sqlite

Tests

About

Convert the IMDB ratings CSV file into a sqlite database for easy usage with Datasette.

Why?

What does this converter different than csvs-to-sqlite?

  • genre and directors are array fields
  • additional fields for faceting: year_rated, weekday_rated

Download data

On the "Your Ratings" page in the "three horizontal dots menu" on top of the table you can download your personal CSV file.

Install

python setup.py install

Convert CSV file

imdb-to-sqlite convert imdb-ratings.db imdb-ratings.csv

Use with Datasette

install Datasette:

pip install datasette

run with Datasette:

datasette imdb-ratings.db

Thanks

Simon Willison for Datasette and sqlite-utils.

About

convert IMDB ratings CSV to SQLite

License:Apache License 2.0


Languages

Language:Python 100.0%