Skip to main content

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

py_transmuter-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

py_transmuter-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for py_transmuter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 777424e97705e21096eb9a4fb72ddcb18eebeb6994656143bfffb5806a764b08
MD5 49b9f716572d0857d38ec6fcc1eb2c92
BLAKE2b-256 aaddafab13070fe5d6ac05d9b755521f0f494349efce09b7cea0c3c6f7027641

See more details on using hashes here.

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

Hashes for py_transmuter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 810a16931d0b93959eba3ad864002d66ecaac34f3b833d56287b043ec94e6c99
MD5 df8ed836a0fedba038ad7760153bacbe
BLAKE2b-256 217974f249fd380f172946a34c382cda0fdd28d18b3f74ea090ad169353fe886

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