Skip to main content

A small module for mapping between object types.

Project description

A small module for mapping between object types.


objectmapper requires Python >= 3.6 because it relies on modern type annotations.

pip install objectmapper


>>> import objectmapper
>>> mapper = objectmapper.ObjectMapper()
>>> def int_to_str(i: int) -> str:
...     return str(i)
>>> mapper.create_map(int, str, int_to_str)
>>>, str)

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

objectmapper-0.0.6.tar.gz (4.0 kB view hashes)

Uploaded source

Built Distribution

objectmapper-0.0.6-py3-none-any.whl (5.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page