DEV Community

loading...

Google Cloud Firestore Client Library

axeemhaider profile image Azeem Haider ・1 min read

FireO

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.

Installation

pip install fireo

Usage Example

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)

Appreciate our work by giving stars

Read More about FireO

Discussion (0)

pic
Editor guide