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.7.3
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.7.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / anji_orm-0.7.3-py2.py3-none-any.whl
| Download URL | anji_orm-0.7.3-py2.py3-none-any.whl |
|---|---|
| Size | 92.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0e258ec8182bde02152c80dae99d54d7657a865b73c38face80d8eff224ade36
|
|
BLAKE2b-256 checksum How to use checksums |
abeb1116d88dc3cc4bd57677519d7fcb56307e9e0079a7955b8a5ed738e76991
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|