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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datamanagement-0.1.0.tar.gz.
File metadata
- Download URL: datamanagement-0.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cefff57da7e3fa8b6e38104e2330b192ad30e798e55d764a406298002f906ad
|
|
| MD5 |
dcb835dda91a3c6d17dc4a9003c66f1e
|
|
| BLAKE2b-256 |
68d246be9729a459d8770465b198864b2868df5716c90b742d5f974e1af53e16
|
File details
Details for the file datamanagement-0.1.0-py3-none-any.whl.
File metadata
- Download URL: datamanagement-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf7f4fc06fba07ff17bc29361a7e22aea63a517aa5e3364fbdb93aba45f23f5a
|
|
| MD5 |
cb1699cd44438ccfed85bcbe95c19aaf
|
|
| BLAKE2b-256 |
b16f0f06e5403f84841d7d74a0ce4037ec72acdea474d3b1e333dfc1f14b2f43
|