当前位置: 首页 > 软件库 > 数据库相关 > >

FireO

授权协议 Apache-2.0 License
开发语言 JavaScript
所属分类 数据库相关
软件类型 开源软件
地区 不详
投 递 者 赵星华
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Build Status

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.

Get Started!




Available in other language

  1. FireO is available also in nodeJS FireO nodeJS

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)

Documentation

Full documentation is available in the FireO Doc.

Contributing

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.

  1. Fix bug or add new features
  2. Write tests for your functionality
  3. Mention in Documentation, what you have done and how others can use it

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.

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

License

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

相关阅读

相关文章

相关问答

相关文档