Jaime Gil de Sagredo

Software development, DevOps, Python, JavaScript, BDD, ...

Booby: data modeling and validation

Today I’m glad to announce the first public release of Booby, a standalone data modeling and validation library written in Python and licensed under the Apache2 license. This is an initial version of the data modeling layer that will be used for defining API models in Finch.

See the following example to get an idea of what Booby is intended to do.

Models should be data source independent

Although resources definition is one of the main Finch features, I’ve decided to release it as a separated project to keep these two parts as isolated as possible and that they can evolve independently. In the end, data modeling is a very important point in software design and development, and it should not be dependent of the data sources. Furthermore, the idea is that Finch will be completely independent of the resources definition layer sometime.

Using Booby

During development I tried to keep Booby very simple for easy integration with other libraries and systems. Currently Booby is under active development and it is not a complete data modeling library yet, and documentation isn’t too complete, but I’m going to add new field types, validators and serialization formats.

By the time, although there is so much work to do, you are encouraged to install and try it, report issues and contribute your code through Github.