Skip to main content

An asyncio Greenplum driver

Project description

# asyncgp -- A database interface library based on asyncpg for GreenPlum and Python/asyncio

**asyncgp** is a database interface library based on asyncpg for
GreenPlum and Python/asyncio.

asyncgp requires Python 3.5 or later and add supported for GreenPlum versions 5.x.

## Documentation

You can refer to asyncpg document [here](>`).

## Installation

asyncgp is available on PyPI.
Use pip to install:

$ pip install asyncgp

$ git clone
$ cd asyncgp
$ python install

## Basic Usage


import asyncio
import asyncgp as asyncpg

async def run():
conn = await asyncpg.connect(user='user', password='password', database='database', host='')
values = await conn.fetch('''SELECT * FROM mytable''')
await conn.close()

loop = asyncio.get_event_loop()

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

asyncgp-0.2.tar.gz (1.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page