Tools for wrapping data and manipulating it in efficient ways
Project description
# PyDataWrap 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 * xlrd (for excel files in tableloader.py) * redis (for RedisDB wrappers)
## Setup ### Installation From source:
python setup.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)
## Navigating the Repo ### datawrap The implementation files for the repository.
### tests All unit tests for the repo.
python setup.py test
## 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](http://opengov.com)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PyDataWrap-1.2.7.tar.gz
.
File metadata
- Download URL: PyDataWrap-1.2.7.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21e2fdec4db20fe197ae1dfd101ab921baf8fac21bb257b5aa32d12db418cb1c |
|
MD5 | 9b06fbe78032b6bf03ab413ba07825f5 |
|
BLAKE2b-256 | 70496e38bf642573db8f795155b420e59093b87a3b84e7c9dedd965a3a8bd181 |