This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Overview

Provide functions to read, parse and convert MS Excel spreadsheets into various data structures.

Usage

To read a MS Excel file into memory call xls_to_excelerator_dict(filename). This will return a dict in the excelerator_dict format. Functions are provided to convert between this format and the following formats.

excelerator_dict

A list of tuples (sheet_name, dict). dict keys are (row_num, col_num) pairs:

[
    (
        sheet_name,
        {
            (row_num, col_num): value,
        }
    ),
]

rows_and_columns

Nested dicts which keys sheet name, row number and column number:

{
    sheet_name: {
        row_num: {
            col_num: value,
        }
    },
}

matrix

A dict mapping from sheet names to matrices, i.e, a lists of lists:

{
    sheet_name: [
        [v01, v02, v03, ...],
        [v11, v12, v13, ...],
    ]
}

structure

Perhaps the more user-friendly format: A dict mapping from sheet names to lists. These lists contains the rows. Each row is represented by a dict, mapping from column names to values. Column names are the values in the first row of the sheet:

{
    sheet_name: [
        {
            col_name: value,
        },
    ]
}

This format is only useful if the first row of each sheet is actually a header row

Release History

Release History

0.0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rbco.msexcel-0.0.4.zip (6.9 kB) Copy SHA256 Checksum SHA256 Source Feb 12, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting