Skip to main content

aura-contracts

Modèles Pydantic v2 du contrat d'API AURA, générés depuis openapi.yaml.

Ce paquet est la seule définition des payloads échangés entre la plateforme AURA et l'agent auraagent. L'agent les importe ; il ne redéfinit aucun dictionnaire à la main.

Installation

pip install aura-contracts

Chaîne de génération

serializers de la plateforme
  → manage.py spectacular          → openapi.yaml
  → python contracts/generate.py   → aura_contracts/models.py

Chaque maillon est vérifié en CI : modifier un endpoint sans propager le contrat fait échouer le build.

Régénérer

Depuis la racine du dépôt aura :

python manage.py spectacular --file openapi.yaml --fail-on-warn
python contracts/generate.py

aura_contracts/models.py est versionné mais ne doit jamais être édité à la main. Toute évolution passe par les serializers de la plateforme.

Publication

aura-contracts doit être publié avant auraagent, qui en dépend.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aura_contracts-1.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aura_contracts-1.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file aura_contracts-1.1.0.tar.gz.

File metadata

  • Download URL: aura_contracts-1.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aura_contracts-1.1.0.tar.gz
Algorithm Hash digest
SHA256 20ba86fdda77d0e7a7d3251d33841e5daf3e1116dfe0c7f94f07efdeeaa964e6
MD5 611a8bb19dbe538c73b42a330d781145
BLAKE2b-256 2a402530083346ea3177a96af5adc9e3bace48cc0f078ecd506e16e660ab23bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for aura_contracts-1.1.0.tar.gz:

Publisher: publish-contracts.yml on ceviaai/aura

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aura_contracts-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: aura_contracts-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for aura_contracts-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f7c38e347cdf37028b5cd85b34c138860b939c7f894a284427552621154de3c
MD5 54476df7ced2db5ff0568ea71f6af3b6
BLAKE2b-256 3e8dfab9efb66120aad9e0672e66fec6e3903aeda3feee9d0368ae5aa9a828e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for aura_contracts-1.1.0-py3-none-any.whl:

Publisher: publish-contracts.yml on ceviaai/aura

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page