FireO is ORM package in Python for the Google’s Firestore

A modern and simplest convenient ORM package in Python. FireO is specifically designed for the Google’s Firestore. It implements validation, type checking, relational model logic and much more facilities. FireO is more than just ORM

Quickstart View it on GitHub


Available in other language

  1. FireO is available also in nodeJS FireO nodeJS

Getting started

Installation

pip install fireo

Example Usage

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)

License

This is official FireO Repository. Powered by OctaByte Licensed under Apache License 2.0


Copyright © 2019 FireO All rights reserved. Powered by OctaByte