Every single part of code block will be full example, so you can copy & paste it to play with it Insert / Save / Store I want to store 100 objects in database Status Autogenerated _id field Simple key-value
PyModels is a lightweight framework for mapping Python classes to schema-less databases. It is not an ORM as it doesn’t map existing schemata to Python objects. Instead, it lets you define schemata on a higher layer built upon a schema-less storage (key/value or document-oriented). You define models as a valuable subset of the whole database and work with only certain parts of existing entities – the parts you need. Topics: