/gino

GINO Is Not ORM - a Python ORM on asyncpg and SQLAlchemy core.

Primary LanguagePythonOtherNOASSERTION

PyPI Release Version PyPI Monthly Downloads GitHub Workflow Status for CI Codacy Code Quality Codacy coverage

GINO - GINO Is Not ORM - is a lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio. GINO 1.0 supports only PostgreSQL with asyncpg.

  • Free software: BSD license
  • Requires: Python 3.6
  • GINO is developed proudly with PyCharm .

Home

python-gino.org

Documentation

Installation

$ pip install gino

Features

  • Robust SQLAlchemy-asyncpg bi-translator with no hard hack
  • Asynchronous SQLAlchemy-alike engine and connection
  • Asynchronous dialect API
  • Asynchronous-friendly CRUD objective models
  • Well-considered contextual connection and transaction management
  • Reusing native SQLAlchemy core to build queries with grammar sugars
  • Support SQLAlchemy ecosystem, e.g. Alembic for migration
  • Community support for Starlette/FastAPI, aiohttp, Sanic, Tornado and Quart
  • Rich PostgreSQL JSONB support