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
Release history Release notifications | RSS feed
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)