Skip to main content

Carpenter

A Python repository which repairs and analyzes tablular data

Description

This module provides the capability to extract and repair blocks of data from 2D tables. These blocks can then be individually processed, stitched together, or filtered as needed by a particular program.

Autoconversions of cells along with a multi-tier flagging system for each magnitude of change allows for a wide variety of error handling. Additionally missing titles can be repaired from surrounding cells in order to generate compelete blocks from implied headings.

Dependencies

  • allset

  • pydatawrap

Setup

Installation

From source:

python settup.py install

From pip:

pip install carpenter

Features

  • Block detection

  • Title repairing

  • Tunable cell conversions

  • Column re-orienting

Navigating the Repo

carpenter

The top level/front facing objects/functions

carpenter/blocks

The block processing implementation detail files for the repository

carpenter/regex

The regex suite used to perform cell type identification

tests

All unit tests for the repo.

Language Preferences

  • Google Style Guide

  • Object Oriented (with a few exceptions)

TODO

  • Add refactor top-level functionality

  • Add new usable functions

  • Separate flagging some from block iteration code

Author

Author(s): Matthew Seal

© Copyright 2013, OpenGov

Release files for Carpenter 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Carpenter 1.0.2
File Size Uploaded
Carpenter-1.0.2.zip 44.4 kB Details

Release files / Carpenter-1.0.2.zip

Download URL Carpenter-1.0.2.zip
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70df027500184547e1dc8364d47ec0b73f9dd2b2aec9592a94f9b39f7504b8ec
BLAKE2b-256 checksum
How to use checksums
0073f3711422621abf2ce7bfa04f73955d56414c0bb600f69423c1c006df12ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page