Metadata-Version: 2.1
Name: minos-database-aiopg
Version: 0.8.0.dev1
Summary: The aiopg plugin of the Minos Framework
Home-page: https://www.minos.run/
License: MIT
Keywords: clariteia,minos,microservice,saga
Author: Minos Framework Devs
Author-email: hey@minos.run
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: aiopg (>=1.2.1,<2.0.0)
Requires-Dist: minos-microservice-aggregate
Requires-Dist: minos-microservice-common
Requires-Dist: minos-microservice-networks
Requires-Dist: minos-microservice-transactions
Requires-Dist: psycopg2-binary (>=2.9.3,<3.0.0)
Project-URL: Repository, https://github.com/minos-framework/minos-python
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://minos.run" target="_blank"><img src="https://raw.githubusercontent.com/minos-framework/.github/main/images/logo.png" alt="Minos logo"></a>
</p>

## minos-database-aiopg

[![PyPI Latest Release](https://img.shields.io/pypi/v/minos-database-aiopg.svg)](https://pypi.org/project/minos-database-aiopg/)
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/minos-framework/minos-python/pages%20build%20and%20deployment?label=docs)](https://minos-framework.github.io/minos-python)
[![License](https://img.shields.io/github/license/minos-framework/minos-python.svg)](https://github.com/minos-framework/minos-python/blob/main/LICENSE)
[![Coverage](https://codecov.io/github/minos-framework/minos-python/coverage.svg?branch=main)](https://codecov.io/gh/minos-framework/minos-python)
[![Stack Overflow](https://img.shields.io/badge/Stack%20Overflow-Ask%20a%20question-green)](https://stackoverflow.com/questions/tagged/minos)

## Summary

Minos is a framework which helps you create [reactive](https://www.reactivemanifesto.org/) microservices in Python. Internally, it leverages Event Sourcing, CQRS and a message driven architecture to fulfil the commitments of an asynchronous environment.

## Installation

Install the dependency:

```shell
pip install minos-database-aiopg
```

Set the database client on the `config.yml` file:

```yaml
...
databases:
  default:
    client: minos.plugins.aiopg.AiopgDatabaseClient
    database: order_db
    user: minos
    password: min0s
    host: localhost
    port: 5432
  query:
    client: minos.plugins.aiopg.AiopgDatabaseClient
    database: order_query_db
    user: minos
    password: min0s
    host: localhost
    port: 5432
  ...
...
```

## Documentation

The official API Reference is publicly available at the [GitHub Pages](https://minos-framework.github.io/minos-python).

## Source Code

The source code of this project is hosted at the [GitHub Repository](https://github.com/minos-framework/minos-python).

## Getting Help

For usage questions, the best place to go to is [StackOverflow](https://stackoverflow.com/questions/tagged/minos).

## Discussion and Development

Most development discussions take place over the [GitHub Issues](https://github.com/minos-framework/minos-python/issues). In addition, a [Gitter channel](https://gitter.im/minos-framework/community) is available for development-related questions.

## License

This project is distributed under the [MIT](https://raw.githubusercontent.com/minos-framework/minos-python/main/LICENSE) license.

