Home
Name Modified Size InfoDownloads / Week
stingray-4.4.8.zip 2015-11-07 3.8 MB
README.rst 2015-11-07 2.0 kB
stingray.pdf 2015-11-07 1.3 MB
stingray-4.4.7.zip 2015-06-09 4.1 MB
stingray-4.4.6.zip 2015-05-07 4.0 MB
stingray-4.4.5.zip 2015-02-19 4.0 MB
stingray-4.4.4.zip 2014-05-24 3.9 MB
stingray-4.4.3.zip 2014-05-18 3.9 MB
stingray-4.4.2.zip 2014-05-13 3.9 MB
stingray-4.4.1.zip 2014-05-10 3.9 MB
stingray-4.3.3.zip 2014-05-06 4.5 MB
stingray-4.3.2.zip 2014-05-05 4.5 MB
stingray-4.3.1.zip 2014-04-16 4.1 MB
stingray-4.3.zip 2014-04-15 1.9 MB
stingray-4.2.zip 2014-04-07 4.1 MB
stingray-3.1.zip 2014-03-30 1.8 MB
stingray-4.1.zip 2014-03-30 1.8 MB
Totals: 17 Items   55.5 MB 2

The Stingray Schema-Based File Reader

Spreadsheet format files are the lingua franca of data processing. CSV, Tab, XLS, XSLX and ODS files are used widely. Python's csv module and the XLRD project (http://www.lexicon.net/sjmachin/xlrd.htm) help us handle spreadsheet files.

By themselves, however, they aren't a very complete solution.

The Stingray Schema-Based File Reader offers several features to help process files in spreadsheet formats.

  1. It wraps csv, xlrd, plus several XML parsers into a single, unified "workbook" structure to make applications that work with any of the common physical formats.
  2. It extends the workbook to include fixed format files (with no delimiters) and even COBOL files in EBCDIC.
  3. It provides a uniform way to load and use schema information. This can be header rows in the individual sheets of a workbook, or it can be separate schema information.
  4. It provides a suite of data conversions that cover the most common cases.

Additionally, stringray provides some guidance on how to structure file-processing applications so that they are testable and composable.

Stingray 4.4.8 requires Python 3.3, preferably 3.4.

It depends on this project to read .XLS files:

If you want to build from scratch and create documentation, you'll need these other two projects:

Since Stingray is a Literate Programming project, the documentation is also the source. And vice-versa.

http://stingrayreader.sourceforge.net/index.html

http://sourceforge.net/projects/stingrayreader/files/stingray.pdf

https://sourceforge.net/p/stingrayreader/code/

Here's the license for using Stingray

http://creativecommons.org/licenses/by-nc-sa/4.0/

Source: README.rst, updated 2015-11-07