Skip to main content

Code generators for immutable structured data, including algebraic data types, and functions to destructure them.

Project description

Code generators for immutable structured data, including algebraic data types, and functions to destructure them.

  • Free software: MIT license

Installation

pip install structured-data

Documentation

https://python-structured-data.readthedocs.io/

Development

To run the all tests run:

tox

Changelog

Unreleased

Added

  • Explicit __bool__ implementation, to consider all constructor instances as truthy, unless defined otherwise.

  • Python 3.7 support.

Changed

  • Marked the enum constructor base class as private. (EnumConstructor -> _EnumConstructor)

  • Switched scope of test coverage to supported versions. (Python 3.7)

Removed

  • Support for Python 3.6 and earlier.

  • Incidental functionality required by supported Python 3.6 versions. (Hooks to enable restricted subclassing.)

0.1.0 (2018-06-10)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

structured-data-0.2.1.tar.gz (20.1 kB view hashes)

Uploaded Source

Built Distribution

structured_data-0.2.1-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page