Skip to main content

An object mapper for async python.

Project description

Build Status Coverage Package version


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.String()

rows = await store.raw('select * from users').to(User)

Project details


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.1b2.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

aerie-0.0.1b2-py3-none-any.whl (28.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page