An object mapper for async python.
Project description
An object mapper for async python.
Installation
pip install aerie
Usage
from aerie import Connection, Store, Schema, fields
connection = Connection('postgresql://user:pass@localhost/db_name')
store = Store(connection)
class User(Schema):
id = fields.IntegerField()
name = fields.StringField()
rows = await store.raw('select * from users').to(User)
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 Distribution
aerie-0.0.1b1.tar.gz
(13.4 kB
view hashes)
Built Distribution
aerie-0.0.1b1-py3-none-any.whl
(15.5 kB
view hashes)