RethinkDB-based ORM
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()
Metadata
Release files for anji-orm 0.4.6
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.4.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / anji_orm-0.4.6-py2.py3-none-any.whl
| Download URL | anji_orm-0.4.6-py2.py3-none-any.whl |
|---|---|
| Size | 36.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
986ab908e2e0ca036477fd48b223f4ff88c25ccd39fe19f8ab7b51cee0361284
|
|
BLAKE2b-256 checksum How to use checksums |
e8a491132294e9a2be9fd6b5ce6f3c51253a93dc1fea235ac01e6b8ff2ddd4d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |