Release 0.9
pyserializer Documentation
Release 0.9.1 Joel James
January 30, 2018
1 pyserializer 2 Indices and tables
Contents
1 23
i
ii
CHAPTER 1
pyserializer
pyserializer is a simple Python serialization/deserialization library. It is an ORM agnostic library for converting Python objects to native Python datatypes, and vice versa.
Installation
pyserializer is available on PyPI, so to use it you can use pip: To install pyserializer, simply run: $ pip install pyserializer Alternatively, if you don't have setuptools installed, download it from PyPi and run: $ python setup.py install Also, you can get the source from GitHub and install it as above: $ git clone $ cd pyserializer $ python setup.py install Serialization A quick serialization example. Shows examples on how to define your serializer class and serialize a
python object to native datatype. Deserialization A quick deserialization example. Shows examples on how to define your deserializer class and
deserialize a native datatype to python object. Validation A quick validation example. Shows examples on how to define validators on your field and check errors
encountered diring validation process. Fields A list of currently supported fields. Custom Error Messages A quick example on how to set custom error messages on fields. Custom Fields A quick example on how you can create custom fields. Custom Validators A quick example on how you can create custom validators. API Reference The complete API documentation. Changelog A documentation for changelogs between versions.
1
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.