Skip to main content

Build Status

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)

  • unicodecsv (for consistent unicode data loading)

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

Style Preferences

  • Google Style Guide

  • Object Oriented (with a few exceptions)

TODO

  • Add tests for fileloader and savable

  • Add examples to readme

Author

Author(s): Matthew Seal

Collaborator(s): Joe Maguire, Loren Abrams

© Copyright 2013, OpenGov

Metadata

Release files for PyDataWrap 1.2.9

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

Source distribution (sdist)

Source distribution for PyDataWrap 1.2.9
File Size Uploaded Provenance Actions
PyDataWrap-1.2.9.tar.gz 36.7 kB Without provenance Details for PyDataWrap-1.2.9.tar.gz

Release files / PyDataWrap-1.2.9.tar.gz

Download URL PyDataWrap-1.2.9.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c971e0f7bf5cdd926e49e9e281fe0557738de1a19b12472f660eed8947f8f41e
BLAKE2b-256 checksum
How to use checksums
4b68f5bccb91081fc1a81ac2b4cba926cc91d4e67994cb54227a703fbce398c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PyDataWrap 1.2.9

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