any2any is a Python library for magically casting any type to any other type.

any2any helps you with (de)serialization operations, formatting operations, any kind of transformation between two Python objects.

any2any is highly and easily customizable, and provides facilities for debugging your transformations.

any2any contains a growing collection of casts, including casts for Django, ...


With pip

sudo pip install any2any

Running tests

First, you need to install nose and django-nose (they are both available on pypi).

Then, go to any2any/any2any/ and run