A modern and simplest convenient ORM package in Python. FireO is specifically designed for the Google's Firestore, it's more than just ORM. It implements validation, type checking, relational model logic and much more facilities.
nodeJS
FireO nodeJSpip install fireo
from fireo.models import Model
from fireo.fields import TextField
class User(Model):
name = TextField()
u = User()
u.name = "Azeem Haider"
u.save()
# Get user
user = User.collection.get(u.key)
print(user.name)
Full documentation is available in the FireO Doc.
Bug reports and pull requests are welcome. This project is intended to be a safe, welcomingspace for collaboration, and contributors are expected to adhere to theContributor Covenant code of conduct.
To run the tests while developing on this package, you'll have to setup a Google service account and setup credentials with the following command:
export GOOGLE_APPLICATION_CREDENTIALS="KEY_PATH"
See the Google Cloud documentation for more details.
This project exists thanks to all the people who contribute. [Contribute].
This is official FireO Repository. Powered by OctaByteLicensed under Apache License 2.0