Im working on project, which can be shipped as server version or stand-alone distributive. It is DB-agnostic by architecture, and all data records have KV form. Value is serialized json data with one of the existing structures.
And i need some solution, providing very basic ORM level to manage set of this records without database dependency, which can manage dict and lists, track changes, perform simple validation and provide some hooks for syncing set of records with global or local storage, even the file-based ones.
backbone.js models is very close to what i want, but i cant find analogue on python.
Not sure if its exactly what you want, but I’m working on a project which implements a light-weight – ORM-like framework (designed to be similar to, but much lighter than, sqlalchemy. It’s still very much beta, but it does work: http://pypi.python.org/pypi/norman/0.5.0
Otherwise I’d suggest you have a look at sqlalchemy for a much more complex and structured ORM.