Skip to main content

A cross-language standard library for types

Project description

enotype

A cross-language standard library for types.

from enotype import color

color('#fff') # returns '#fff'
color('#xyz') # raises ValueError('A color is required, for instance '#B6D918', '#fff' or '#01b'.')

enotype is a collection of minimalist pure functions that validate and convert type-unsafe string representations into type-safe, native types.

It is the standard type library for the eno notation language but can be utilized in a multitude of other contexts as well.

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

enotype-0.1.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

enotype-0.1.0-py3-none-any.whl (6.9 kB view hashes)

Uploaded 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