Skip to main content

Tools for wrapping data and manipulating it in efficient ways

Project description

Python Wrappers on Data Structures and abstractions over persistent data stores.

Description

This module is a home for Python wrappers of data, databases and datastructures. It defines common use wrapping that can treat one style of data as another or reorder/subselect a collection.

The filedbwrap file defines many file based database objects such as dictionaries and sets which are treated as memory objects in Python but have a very large capacity with limited memory footprint.

The savable file defines object persistence objects which save state when they deconstruct and reload that state upon initialization.

The listwrap file defines a no-copy list subset selector that can retrieve subsets of data to be treated as complete, contiguous lists.

There are also some file loading/saving modules for various formats.

Dependencies

  • allset

  • xlrd (for excel files in tableloader.py)

  • redis (for RedisDB wrappers)

Setup

Installation

From source:

python settup.py install

From pip:

pip install pydatawrap

Features

  • File based dictionaries and sets

  • Persistent file based objects

  • 2D table loading/saving

  • Table wrappers to transpose and transform data

  • List wrapping for sublist selection (without copying)

Language Preferences

  • Google Style Guide

  • Object Oriented (with a few exceptions)

TODO

  • Add tests for fileloader and savable

Author

Author(s): Matthew Seal

Collaborator(s): Joe Maguire, Loren Abrams

© Copyright 2013, OpenGov

Project details


Download files

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

Source Distribution

PyDataWrap-1.2.5.zip (36.9 kB view details)

Uploaded Source

File details

Details for the file PyDataWrap-1.2.5.zip.

File metadata

  • Download URL: PyDataWrap-1.2.5.zip
  • Upload date:
  • Size: 36.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDataWrap-1.2.5.zip
Algorithm Hash digest
SHA256 90356de86b7bc924b48a045313540182adf90060e50993a2ab9589be7d2fe337
MD5 dd1541153166d26be6ca7a20ed87f685
BLAKE2b-256 ae197e4a205ab25a74b060b1a8a9effc7de199a3fb28cf5fe4e778916d40d52a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page