Skip to main content

A lightweight model validator for modern projects.

Project description


A lightweight model validator for modern projects.


pip install bike

First Pedals

Lets define a simple model to represent a person.

import bike

class Person:
    name: str
    height: float
    weight: float

A Person instance can be created passing the attributes.

person = Person(name='Patrick Love', height=75, weight=180)

Also can be instatiated by a dict data.

data = {
    'name': 'Patrick Love',
    'height': 75,
    'weight': 180

person = Person(**data)

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

bike-0.2.0.tar.gz (4.5 kB view hashes)

Uploaded source

Built Distribution

bike-0.2.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page