欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
IMDbPY
来自开放百科 - 灰狐
(版本间的差异)
(未显示1个用户的4个中间版本) | |||
第1行: | 第1行: | ||
− | IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about both movies and people. | + | IMDbPY is a Python package useful to retrieve and manage the data of the [[IMDb]] movie database about both movies and people. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
==Install== | ==Install== | ||
apt-get install python-imdbpy | apt-get install python-imdbpy | ||
第10行: | 第7行: | ||
python imdbpyweb | python imdbpyweb | ||
http://localhost:8000 | http://localhost:8000 | ||
+ | |||
+ | The Plain Text Data Files | ||
+ | * ftp.fu-berlin.de (Germany) - ftp://ftp.fu-berlin.de/pub/misc/movies/database/ | ||
+ | * ftp.funet.fi (Finland) - ftp://ftp.funet.fi/pub/mirrors/ftp.imdb.com/pub/ | ||
+ | * ftp.sunet.se (Sweden) - ftp://ftp.sunet.se/pub/tv+movies/imdb/ | ||
How to put the whole IMDb's database in a SQL database. as of 12 Nov 2006, with about 890.000 titles and over 2.000.000 names | How to put the whole IMDb's database in a SQL database. as of 12 Nov 2006, with about 890.000 titles and over 2.000.000 names | ||
第30行: | 第32行: | ||
sqlite:/:memory: | sqlite:/:memory: | ||
− | http://imdbpy.sourceforge.net/docs/README.sqldb.txt | + | *http://imdbpy.sourceforge.net/docs/README.sqldb.txt |
+ | *http://imdbpy.sourceforge.net | ||
+ | *http://www.imdb.com/help/show_article?conditions | ||
+ | *[[OpenData]] | ||
+ | |||
+ | <gallery perrow=6> | ||
+ | Image:uml-class_overview_webapp.png | ||
+ | Image:uml-class_overview_webpages.png | ||
+ | </gallery> | ||
+ | |||
+ | [[Category:Movie]] | ||
+ | [[Category:Python]] |
2010年8月22日 (日) 04:02的最后版本
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about both movies and people.
[编辑] Install
apt-get install python-imdbpy get imdbpyweb python setup.py install python imdbpyweb http://localhost:8000
The Plain Text Data Files
- ftp.fu-berlin.de (Germany) - ftp://ftp.fu-berlin.de/pub/misc/movies/database/
- ftp.funet.fi (Finland) - ftp://ftp.funet.fi/pub/mirrors/ftp.imdb.com/pub/
- ftp.sunet.se (Sweden) - ftp://ftp.sunet.se/pub/tv+movies/imdb/
How to put the whole IMDb's database in a SQL database. as of 12 Nov 2006, with about 890.000 titles and over 2.000.000 names
the database will require between 1.5GB and 3GB of disc space.
# mysqladmin -p create imdb // mysql # createdb -W imdb // postgresql # imdbpy2sql.py -d /dir/with/plainTextDataFiles/ -u 'URI'
URI
scheme://[user[:password]@]host[:port]/database[?parameters]
Where 'scheme' is one in "sqlite", "mysql", "postgres", "firebird","interbase", "maxdb", "sapdb", "mssql", "sybase".
mysql://user:password@host/database postgres://user:password@host/database mysql://host/database?debug=1 postgres:///full/path/to/socket/database postgres://host:5432/database sqlite:///full/path/to/database sqlite:/C|/full/path/to/database sqlite:/:memory:
- http://imdbpy.sourceforge.net/docs/README.sqldb.txt
- http://imdbpy.sourceforge.net
- http://www.imdb.com/help/show_article?conditions
- OpenData
分享您的观点