Skip to main content

Minimal OpenAPI asynchronous server application

Project description

Home-page: https://github.com/lendingblock/aio-openapi Maintainer-email: admin@lendingblock.com License: BSD Project-URL: CI: circleci, https://circleci.com/gh/lendingblock/aio-openapi Project-URL: Coverage: codecov, https://codecov.io/gh/lendingblock/aio-openapi Project-URL: GitHub: issues, https://github.com/lendingblock/aio-openapi/issues Project-URL: GitHub: repo, https://github.com/lendingblock/aio-openapi Description: # aio-openapi

[![PyPI version](https://badge.fury.io/py/aio-openapi.svg)](https://badge.fury.io/py/aio-openapi)

[![CircleCI](https://circleci.com/gh/lendingblock/aio-openapi.svg?style=svg)](https://circleci.com/gh/lendingblock/aio-openapi)

[![codecov](https://codecov.io/gh/lendingblock/aio-openapi/branch/master/graph/badge.svg)](https://codecov.io/gh/lendingblock/aio-openapi)

Asynchronous web middleware for Rest APIs with PostgreSql Database.

## Installation ` pip install aio-openapi `

## Development

Clone the repository and create a virtual environment venv.

Install dependencies by running the install script ` ./dev/install.sh ` To run tests ` pytest --cov `

## Features

  • Asynchronous web routes with [aiohttp][]

  • Data validation, serialization and unserialization with python [dataclasses][]

  • [OpenApi](https://www.openapis.org/) v 3 auto documentation

  • [SqlAlchemy](https://www.sqlalchemy.org/) expression language

  • Asynchronous DB interaction with [asyncpg][]

  • Migrations with [alembic][]

  • SqlAlchemy tables as python [dataclasses][]

[aiohttp]: https://aiohttp.readthedocs.io/en/stable/ [asyncpg]: https://github.com/MagicStack/asyncpg [dataclasses]: https://docs.python.org/3/library/dataclasses.html [alembic]: http://alembic.zzzcomputing.com/en/latest/

Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Utilities Requires-Python: >=3.6.0 Description-Content-Type: text/markdown

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

aio-openapi-0.8.1.tar.gz (36.3 kB view details)

Uploaded Source

Built Distribution

aio_openapi-0.8.1-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file aio-openapi-0.8.1.tar.gz.

File metadata

  • Download URL: aio-openapi-0.8.1.tar.gz
  • Upload date:
  • Size: 36.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for aio-openapi-0.8.1.tar.gz
Algorithm Hash digest
SHA256 34b1e2a81a06f7bb8560769acd612aa4362e0c69c421f8c891316b8f3fa33294
MD5 17b3bc2b6a1fc55f8619c35d94d5e4e9
BLAKE2b-256 3a539808a317e66887e5a7678835461ecb68a5d1860b5abc6126429d6f79a4a6

See more details on using hashes here.

File details

Details for the file aio_openapi-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: aio_openapi-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for aio_openapi-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d91de2d644da4e6b1c7fceb2dc00299a23afed04175abc46b0ae1df2c628efb
MD5 11a661784b73b24a806d42d978b9fd7a
BLAKE2b-256 e5d830557fa73fdf7bda5453b78aadee0d1647cb8257bf5378321d7e2d99ad10

See more details on using hashes here.

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