Skip to main content

A flexible data container with query capabilities

Project description

DataManagement

DataManagement - A flexible data container with query capabilities.

This pure-python package provides DataPoint and DataSerials classes for managing collections of data with powerful filtering, aggregation, and serialization.

Features

  • Dynamic DataPoints: Create objects with arbitrary attributes
  • Powerful Filtering: Django-like query syntax (age__gte=18, name__contains='John')
  • Aggregation: Group by and aggregate data like SQL
  • Multiple Serialization: XML, JSON, Pickle, Pandas DataFrame
  • Method Chaining: Build complex queries elegantly
  • Rich Statistics: Built-in summary, describe, and info methods
  • HTML Reports: Generate beautiful interactive reports

Installation

pip install datamanagement

Quick Start

from datamanagement import DataPoint, DataSerials

# Create data points
ds = DataSerials()
ds.append(DataPoint(id='1', name='Alice', age=25, score=85.5))
ds.append(DataPoint(id='2', name='Bob', age=30, score=92.0))

# Filter data
adults = ds.filter(age__gte=18, score__gte=80)

# Group and aggregate
stats = ds.group_by('age_group', 
                    avg_score=('score', 'mean'),
                    count=('id', 'count'))

# Generate report
ds.to_html_report('report.html')

Documentation

Full documentation available at Document.md.

License

MIT License - see LICENSE file for details.

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

datamanagement-0.1.1.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datamanagement-0.1.1-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file datamanagement-0.1.1.tar.gz.

File metadata

  • Download URL: datamanagement-0.1.1.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for datamanagement-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0937a5be76c29fdb502238b10b18b252adf4d20e4602155de9c312a7cee063d7
MD5 2db73d4b964d3cf503c072da7b6ba2f7
BLAKE2b-256 6ef30936f2c24c87aae7407a4dc8a1087048f14402e1d4e233bd4718c79d3eaa

See more details on using hashes here.

File details

Details for the file datamanagement-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: datamanagement-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for datamanagement-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d24bdb064182ad49346bf267e069a0b162cf64f46c5b197facd5d2a87d7a2d3c
MD5 f2a989264c39721e8d91e98c9e15c3a9
BLAKE2b-256 fcf1bdd5defe629a7d7b470f3cf24982652d30caa7ff266e4a853e52033f6c8b

See more details on using hashes here.

Supported by

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