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 | |
|---|---|
| Pydantic | Data validation using Python type hints |
| pandera | Framework for precision data testing |
| jsonschema | Implementation of JSON Schema for Python |
| Cerberus | Lightweight and extensible data validation library |
| schema | Library for validating Python data structures |
| GX | Validating, documenting, and profiling data |
| marshmallow | ORM/ODM/framework-agnostic library |
| Voluptuous | Python data validation library |
| Schematics | Combine types into structures, validate , and transform the shapes of data |
| Colander | Serialization / deserialization / validation library |
| Valideer | Lightweight data validation and adaptation Python library |
| OpenRefine | Desktop program for data cleanup and transformation |
| Soda Core | Data quality and data contract verification engine |
| OpenMetadata | Unified metadata platform |
| Elementary OSS | dbt-native data observability command-line tool |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.