Skip to main content

district42 experimental types

Project description

district42 experimental types

Codecov PyPI PyPI - Downloads Python Version

district42 experimental types

Installation

pip3 install district42-exp-types

Usage

numeric

from district42 import schema, register_type
from district42_exp_types.numeric import NumericSchema

register_type("numeric", NumericSchema)

print(schema.numeric)

uuid

from district42 import schema, register_type
from district42_exp_types.uuid import UUIDSchema

register_type("uuid", UUIDSchema)

print(schema.uuid)

uuid_str

from district42 import schema, register_type
from district42_exp_types.uuid_str import UUIDStrSchema

register_type("uuid_str", UUIDStrSchema)

print(schema.uuid_str)

sdict

from district42 import schema, register_type
from district42_exp_types.sdict import SDictSchema

register_type("sdict", SDictSchema)

print(schema.sdict)

unordered

from district42 import schema, register_type
from district42_exp_types.unordered import UnorderedSchema

register_type("unordered", UnorderedSchema)

print(schema.unordered)

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

district42-exp-types-0.9.0.tar.gz (29.7 kB view hashes)

Uploaded Source

Built Distribution

district42_exp_types-0.9.0-py3-none-any.whl (69.8 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