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.25.4.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

hopeit.dataframes-0.25.4-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file hopeit_dataframes-0.25.4.tar.gz.

File metadata

  • Download URL: hopeit_dataframes-0.25.4.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for hopeit_dataframes-0.25.4.tar.gz
Algorithm Hash digest
SHA256 7927a0123ad4e0a6d321bae6e203604c3dc2a5c52bec3192d8c7636dab75bc18
MD5 b343fb8a1ab6eb23b6e3bbb28d1953d2
BLAKE2b-256 6f5c8a24f8ad16dc32394dda42012b9637b9a32740d717e8a1c5509cc9b1b6ae

See more details on using hashes here.

File details

Details for the file hopeit.dataframes-0.25.4-py3-none-any.whl.

File metadata

File hashes

Hashes for hopeit.dataframes-0.25.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68b2aa9042e9f7f732be7381daa4a89ef5e9205953b889c790659f2263e11624
MD5 a9364379caab3c9fbac39d8cc91debf8
BLAKE2b-256 13bb3cf31b6d8ac38bc41c211fce297dfda16d50a6532ba52346bebf5d33ba18

See more details on using hashes here.

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