A library that facilitates mapping and aggregating objects from one model to another
Project description
PyTransmuter
PyTransmuter is a Python library designed for efficient data mapping and aggregation from source models to target models, leveraging the power of Pydantic for data validation and transformation. It simplifies the process of transforming data structures, making it an essential tool for applications requiring data normalization, transformation, and aggregation.
Features
- Generic Mapping: Utilizes generic typing to map data between different model structures.
- Flexible Aggregation: Supports complex data aggregation strategies, including grouping, sorting, and custom aggregation functions.
- Self-Inspection: Incorporates self-inspection capabilities for resolving callables related to class instances.
- Pydantic Integration: Leverages Pydantic models for input and output validation, ensuring data integrity.
- Customizable Transformations: Allows defining custom field transformations using callable functions or lambdas.
Installation
To install YourLibraryName, run the following command in your terminal:
pip install py-transmuter
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
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 py_transmuter-0.1.0.tar.gz.
File metadata
- Download URL: py_transmuter-0.1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
777424e97705e21096eb9a4fb72ddcb18eebeb6994656143bfffb5806a764b08
|
|
| MD5 |
49b9f716572d0857d38ec6fcc1eb2c92
|
|
| BLAKE2b-256 |
aaddafab13070fe5d6ac05d9b755521f0f494349efce09b7cea0c3c6f7027641
|
File details
Details for the file py_transmuter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_transmuter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
810a16931d0b93959eba3ad864002d66ecaac34f3b833d56287b043ec94e6c99
|
|
| MD5 |
df8ed836a0fedba038ad7760153bacbe
|
|
| BLAKE2b-256 |
217974f249fd380f172946a34c382cda0fdd28d18b3f74ea090ad169353fe886
|