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

Metadata

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 Provenance Actions
Carpenter-1.0.2.zip 44.4 kB Without provenance Details for Carpenter-1.0.2.zip

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

Security for Carpenter 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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