首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 导入Discogs XML转储到一个SQL数据库的Python程序

导入Discogs XML转储到一个SQL数据库的Python程序

资 源 简 介

This is a python program for importing the discogs data dumps found at http://www.discogs.com/data/ into a PostgreSQL database. MySQL or other databases are not supported at the moment, but you are welcome to submit a patch. Steps to import the datadumps: Download and extract the data dumps Create the empty database: createdb -U {user-name} discogs Import the database schema: psql -U {user-name} -d discogs -f discogs.sql The XML data dumps often contain control characters and do not have root tags. To fix this run "fix-xml.py release", where release is the release date of the dump, for example 20100201 Finally import the data with "python discogsparser.py release", where release is the release date of the dump, for example 20100201

文 件 列 表

discogsartistparser.py
discogslabelparser.py
discogsparser.py
discogsreleaseparser.py
discogs.sql
fix-xml.py
model.py
postgresexporter.py
VIP VIP
  • IATWAY 1天前 成为了本站会员

  • 大智若愚 1天前 成为了本站会员

  • Mason 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • Half_Punch 2天前 成为了本站会员

  • liqing71718 2天前 成为了本站会员

  • 伟国 2天前 成为了本站会员

  • songy 2天前 成为了本站会员

  • 纯色幽默 2天前 成为了本站会员

  • odd? 2天前 成为了本站会员

0.175229s