RethinkDB based ORM
Project description
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
anji_orm-0.11.7-py2.py3-none-any.whl
(115.7 kB
view details)
File details
Details for the file anji_orm-0.11.7-py2.py3-none-any.whl.
File metadata
- Download URL: anji_orm-0.11.7-py2.py3-none-any.whl
- Upload date:
- Size: 115.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe28357ac407153d4fa0dd546a396a0f765077267193dcc1cf39a167b4c8fe79
|
|
| MD5 |
8701fd269bb3ae9ae95184295a768677
|
|
| BLAKE2b-256 |
df41ac43cc24321ae7a9c48f6968c74ec6a9a5029f29e3983cdfa1f08934a148
|