Data Science

Colander – serialization / deserialization / validation library

Colander is a serialization / deserialization / validation library for strings, mappings and lists. It is useful as a system for validating and deserializing data obtained via XML, JSON, an HTML form post or any other equally simple data serialization.

Colander is tested on Python 2.7, 3.5, 3.6, 3.7, and 3.8, and PyPy and PyPy3.

This is free and open source software.

Key Features

  • Define a data schema.
  • Deserialize a data structure composed of strings, mappings, and lists into an arbitrary Python structure after validating the data structure against a data schema.
  • Serialize an arbitrary Python structure to a data structure composed of strings, mappings, and lists.
  • Serialize and deserialize various types of objects, including:
    • A mapping object (e.g. dictionary).
    • A variable-length sequence of objects (each object is of the same type).
    • A fixed-length tuple of objects (each object is of a different type).
    • A string or Unicode object.
    • An integer.
    • A float.
    • A decimal float.
    • A boolean.
    • An importable Python object (to a dotted Python object path).
    • A Python datetime.datetime object.
    • A Python datetime.date object.
    • A Python enum.Enum object.

Website: docs.pylonsproject.org
Support: GitHub Code Repository
Developer: Pylons
License: Open source

Colander is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Data Validation
PydanticData validation using Python type hints
panderaFramework for precision data testing
jsonschema
Implementation of JSON Schema for Python
CerberusLightweight and extensible data validation library
schemaLibrary for validating Python data structures
GXValidating, documenting, and profiling data
marshmallowORM/ODM/framework-agnostic library
VoluptuousPython data validation library
SchematicsCombine types into structures, validate , and transform the shapes of data
ColanderSerialization / deserialization / validation library
ValideerLightweight data validation and adaptation Python library
OpenRefineDesktop program for data cleanup and transformation
Soda CoreData quality and data contract verification engine
OpenMetadataUnified metadata platform
Elementary OSS dbt-native data observability command-line tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted