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.

Metadata

Release files for aura-contracts 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aura-contracts 1.1.0
File Size Uploaded
aura_contracts-1.1.0.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aura-contracts 1.1.0
File Interpreter ABI Platform
aura_contracts-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / aura_contracts-1.1.0.tar.gz

Download URL aura_contracts-1.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
20ba86fdda77d0e7a7d3251d33841e5daf3e1116dfe0c7f94f07efdeeaa964e6
BLAKE2b-256 checksum
How to use checksums
2a402530083346ea3177a96af5adc9e3bace48cc0f078ecd506e16e660ab23bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / aura_contracts-1.1.0-py3-none-any.whl

Download URL aura_contracts-1.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f7c38e347cdf37028b5cd85b34c138860b939c7f894a284427552621154de3c
BLAKE2b-256 checksum
How to use checksums
3e8dfab9efb66120aad9e0672e66fec6e3903aeda3feee9d0368ae5aa9a828e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page