turicas/rows

[CLI] Generalize filenames into URIs to be able to specify table index

Offen

#171 geöffnet am 21.07.2016

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (136 Forks)github user discovery
clienhancementhelp wantedquestionutils

Repository-Metriken

Stars
 (886 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Some formats support more than one table, like HTML, SQLite, XLS, XLSX and ODS. We should support a general URI format to specify it for any of these plugins. Some plugins do not have a table name (SQLite has, HTML does not have always -- depends on id or name properties, which aren't present always).

Some thoughts:

  • sqlite:///path/to/db.sqlite/table_name
  • /path/to/file.xls/table_name ?
  • /path/to/file.xls[table_name] ?
  • /path/to/file.xls[table_index] ?

How to deal with HTTP URLs?

Related to #47.

Contributor Guide