Skip to main content

Hopeit Engine Dataframes Toolkit

Project description

hopeit.engine dataframes plugin

This library is part of hopeit.engine:

check: https://github.com/hopeit-git/hopeit.engine

Install using extras when installing hopeit.engine:

pip install hopeit.engine[dataframes]

hopeit.dataframes

This plugin introduces dataclasses annotations to work with pandas dataframes as other dataobjects:

@dataframe annotation allows a dataclass to become the schema and container for a dataframe @dataframeobject annotation, acts as @dataobject with support to have dataframe annotated fields DataFrames class, provides an api to create, serialize, and access pandas dataframe

Features: -Type coercion for @dataframe fields -Transparent access to series in @dataframe objects using dot notation -Serialization for @dataframe and @dataframeobjects allowing them to be transferred through streams (using file system storage to store the actual data, and transferring only metadata for deserialization in the stream) -Support to handle @dataframeobject as payload for web requests

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

hopeit.dataframes-0.24.2.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

hopeit.dataframes-0.24.2-py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 3

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