{"library":"serpy","title":"serpy","description":"serpy is a fast, simple object serialization library for Python, inspired by Django REST Framework (DRF) serializers but with a focus on speed. Current version is 0.3.1, released in 2018, with no recent updates. It supports Python 2.7 to 3.6 and has a low release cadence.","language":"python","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["pip install serpy"],"cli":null},"imports":["from serpy import Serializer","from serpy import IntField"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import serpy\n\nclass PersonSerializer(serpy.Serializer):\n    name = serpy.StrField()\n    age = serpy.IntField()\n\nperson = {'name': 'Alice', 'age': 30}\nserializer = PersonSerializer(instance=person)\nresult = serializer.data\nprint(result)  # {'name': 'Alice', 'age': 30}","lang":"python","description":"Define a serializer class and serialize a dictionary or object instance.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}