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 LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted