semvec/pypi-packages huggingface dataset:
trela-contracts 0.0.1
Package for trela contracts.
Requires Python: >=3.10

# trela-contracts

This library stores contracts between APIs. This includes the available routes for each API, as well as the events/messages (rabbitmq/kafka).

Note that the core of this library is still under development, and most features are still missing.

## How to make changes to this repository

Please run the pre-commit hooks before committing to this project.

1. Install the requirements with `pip install -r requirements.txt`

2. Install the git hook scripts with `pre-commit install`

You must run `isort . && black .`, which will be done automatically through the hooks.

Additionally, we recommend running `coverage run` to make sure all the tests pass.

## Installation

Installation works the same way for all trela libraries, so just check trela-pylib's [INSTALL.md](https://gitlab.com/zapt/libs/trela-pylib/-/blob/master/INSTALL.md).

# Events

This explains how to use trela-contracts for events / messages (rabbitmq).

See [EVENTOS.md](EVENTOS.md) (in Portuguese).

# Exceptions

See [EXCEPTIONS.md](EXCEPTIONS.md) (in Portuguese).