turicas/rows

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

Aberta

#171 aberto em 21 de jul. de 2016

 (0 comentário) (0 reação) (0 responsável)Python (136 forks)github user discovery
clienhancementhelp wantedquestionutils

Métricas do repositório

Stars
 (886 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador