Index integer sequences from the On-Line Encyclopedia of Integer Sequences as Items.
Wikidata P829 ("OEIS ID") has only 400-500 statements. A full import would have ~400k items, ~80 MB in SQLite / ~120 MB in PostgreSQL. We should run the Wikidata P829 bridge first to collect the A-numbers that Wikidata knows about; import only those plus any NAME_EQ matches against existing items.
Item mapping
identifier = "A000045", url = "https://oeis.org/A000045",
name = "A000045", description = <name-line from names.gz>.
Source tag: OEIS = "OEIS".
Tasks
License
CC-BY-SA-4.0. Credit "The On-Line Encyclopedia of Integer Sequences" with a link to https://oeis.org/ in the slurper module docstring.
Notes
Index integer sequences from the On-Line Encyclopedia of Integer Sequences as
Items.Wikidata P829 ("OEIS ID") has only 400-500 statements. A full import would have ~400k items, ~80 MB in SQLite / ~120 MB in PostgreSQL. We should run the Wikidata P829 bridge first to collect the A-numbers that Wikidata knows about; import only those plus any NAME_EQ matches against existing items.
Item mapping
identifier = "A000045",url = "https://oeis.org/A000045",name = "A000045",description = <name-line from names.gz>.Source tag:
OEIS = "OEIS".Tasks
web/slurper/source_oeis.pywith a slurper class + module-level instance.Item.Sourcemember (OEIS = "OEIS"); add it toItem.Source.key().management/commands/import_oeis.py(with--force) andclear_oeis.py.Makefiletargetimport-oeis.make create-migrationsfor the new Source choice.web/requirements.txt.make fix-filesclean; tests pass.License
CC-BY-SA-4.0. Credit "The On-Line Encyclopedia of Integer Sequences" with a link to
https://oeis.org/in the slurper module docstring.Notes
User-Agentheader with a contact email when fetching names.gz.