Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
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)
from fireo.typedmodels import TypedModel
class User(TypedModel):
name: str
age: int
# Use the model as usual:
user = User(name='John', age="30")
user.save()
print(user.to_dict())
Full documentation is available in the FireO Doc.
Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor 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 OctaByte Licensed under Apache License 2.0
FAQs
FireO ORM is specifically designed for the Google's Firestore.
We found that fireo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.