cinemagoer

Cinemagoer 是一個 Python 套件,可用於擷取和管理 IMDb(我們與其無任何關聯)電影資料庫中關於電影、人物和角色的資料。

cinemagoer 是什麼?

Cinemagoer 是一個 Python 套件,可用於擷取和管理 IMDb(我們與其無任何關聯)電影資料庫中關於電影、人物和角色的資料。

cinemagoer 概覽

這是什麼

Cinemagoer(前身為 IMDbPY)是一個 Python 套件,用於從 IMDb 非商業可下載資料集中擷取與管理電影、人物及公司的資料。本專案及其作者與 Internet Movie Database Inc. 無任何關聯。

主要功能

  • 使用 Python 3 撰寫 - 跨平台 - 簡單且完整的 API - 以 GPL 2 授權條款釋出 - 基礎安裝即包含原生 SQLite 支援 - 可透過 SQLAlchemy 選擇性支援 PostgreSQL、MariaDB、MySQL - 從 IMDb 資料集填入的本機資料庫讀取資料

使用情境

  • 從 IMDb 資料集擷取電影、人物與公司資料,用於分析或應用程式開發 - 依 ID 搜尋電影或依姓名搜尋人物 - 管理與查詢本機 IMDb 資料庫

快速開始

從儲存庫安裝最新版本: pip install git+https://github.com/cinemagoer/cinemagoer 或從 PyPI 安裝最新發行版: pip install cinemagoer 如需搭配資料庫驅動程式的 SQLAlchemy 支援: pip install cinemagoer[sqlalchemy] 下載 IMDb 資料集檔案(例如從 https://datasets.imdbws.com/)後,將其匯入 SQLite 資料庫: s32cinemagoer.py /path/to/imdb-tsv-files/ sqlite:///cinemagoer.db 然後在 Python 中開啟資料庫: python from imdb import Cinemagoer ia = Cinemagoer('s3', uri='sqlite:///cinemagoer.db')

授權與價格

Cinemagoer 以 GPL 授權條款第 2 版或更新版本釋出。為開源且免費使用。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/cinemagoercinemagoer.svg)](https://yunodb.com/tools/cinemagoercinemagoer?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/cinemagoercinemagoer?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/cinemagoercinemagoer.svg" alt="Featured on YunoDB" height="20"></a>