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.0.0.tar.gz (8.2 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.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aura_contracts-1.0.0.tar.gz
  • Upload date:
  • Size: 8.2 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.0.0.tar.gz
Algorithm Hash digest
SHA256 417d4f44f28a6d4657c64cdbcef855606f21099605029b7b48000f804b3a52f9
MD5 23bfc7012a05e5c772ff107668d767f1
BLAKE2b-256 52611a2c003fb917c9a8c2f5e833f7a4f3c3b2df720524aebb08507eb9886d9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aura_contracts-1.0.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.0.0-py3-none-any.whl.

File metadata

  • Download URL: aura_contracts-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e6905adbf88f95b0f7d8fa734335d0f355d2a4a268f456fa46ccd514a8bad35
MD5 35e89cd8b523bdf3a39e8b267e136641
BLAKE2b-256 448fcaefc59b6ca7539f65b3b23e034664c271034157e2a1864c63e5816d5637

See more details on using hashes here.

Provenance

The following attestation bundles were made for aura_contracts-1.0.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

1.1.0

2 files

This release

1.0.0 This release

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