anji_orm simple ORM for RethinkDB
Installation
anji_orm is available as a python library on Pypi. Installation is very simple using pip :
$ pip install anji_orm
This will install anji_orm as well as external dependency.
Basic usage
ORM registry should be initiated before usage:
# For sync usage
register.init(dict(db='test'))
register.load()
# Or for async usage
register.init(dict(db='test'), async_mode=True)
await register.async_load()
That, create some model
class T1(Model):
_table = 't2'
a1 = StringField()
a2 = StringField()
t2 = T1(a1='b', a1='c')
t2.send()
# or for async usage
await t2.async_send()
Release files for anji-orm 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anji_orm-0.2.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / anji_orm-0.2.1-py2.py3-none-any.whl
| Download URL | anji_orm-0.2.1-py2.py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
152a13b155c94fbc47b1d3cf9675f9052859e8adfe52cab08bc41cdf55877648
|
|
BLAKE2b-256 checksum How to use checksums |
cf8b3b98b8e2ae5e4458bfa914edcb8b7aea0154eb4e2361537ce98101c366df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |