turicas/rows

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

开放

#171 创建于 2016年7月21日

 (0 条评论) (0 个反应) (0 位负责人)Python (136 个派生)github user discovery
clienhancementhelp wantedquestionutils

仓库指标

星标
 (886 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南