JSONClasses Pymongo

JSONClasses Pymong classes possess the standard JSONClasses ORM methods with MongoDB and pymongo underhood.
1@jsonclass2class User:3    id: str = types.readonly.str.primary.mongoid.required4    email: str = types.str.email.unique.authidentity.required5    password: str = types.writeonly.str.securepw.length(8, 16).salt.authbycheckpw.required6    name: str | None

Optional ORM
Simply decorated ORM with full ORM feature set

Standard ORM method

Vlidate user input data, data can save in database until pass all validations. In addition, you can pass a custom callback to the validate modifier.

Learn More

Data Security

Only after passing various verifications can the data be really stored in the database.

Learn More
Find Us
JSONClasses is under MIT License.
Made with ❤️ and passion, from Teochew.
Presented by Fillmula Inc. © 2021-2022.