GithubHelp home page GithubHelp logo

eanmclaughlin / stingray-reader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slott56/stingray-reader

0.0 0.0 0.0 32.48 MB

Read very complex spreadsheets or COBOL files with a single, uniform Python style that manages schema explicitly

Home Page: https://slott56.github.io/Stingray-Reader/html/index.html

Python 99.88% CSS 0.12%

stingray-reader's Introduction

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.5 requires Python >=3.5

It depends on this project to read .XLS files:

Changes

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.

The build.py runs PyLit3 to convert the RST docs to Python as well as HTML.

Here's the license for using Stingray

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

stingray-reader's People

Contributors

slott56 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.