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.

貢獻者指南