Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Meta: A platform-agnostic library for schema modeling.

Project Description

Meta: A platform-agnostic library for schema modeling

Meta is a platform-agnostic library for defining, serializing, and validating data structures.

from flowdas import meta

class Author(meta.Entity):
   name = meta.String()

class Book(meta.Entity):
   title = meta.String()
   published = meta.Date()
   authors = Author[1:]()

author1 = Author({'name': 'O'})
author2 = Author()
author2.update(name = 'Flowdas')
book = Book()
book.title = 'Meta'
book.published = '2016-03-15'
book.authors = [author1, author2]
book.published
# datetime.date(2016, 3, 15)
book.validate()
book.dump()
# {'authors': [{'name': 'O'}, {'name': 'Flowdas'}], 'published': '2016-03-15', 'title': 'Meta'}

Install

pip install flowdas-meta

Meta requires Python 2.7, 3.3, 3.4, or 3.5. It also supports PyPy. There is no external dependencies.

Documentation

Documentation is available at http://flowdas.github.io/meta/.

Release History

Release History

This version
History Node

1.0.0

History Node

1.0.0a2

History Node

1.0.0a1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
flowdas-meta-1.0.0.tar.gz (34.3 kB) Copy SHA256 Checksum SHA256 Source Mar 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting