edgar-transport-contracts
Producer-owned wire contracts for the edgar_updater → ai-excel-addin
boundary (design edgar-to-build-model-e2e-type-and-transport-contract-design-2026-10-22.md,
ratified §4 Q1–Q8; S-XREPO-1). This package is the one owner of every
closed wire vocabulary and structural invariant on that boundary: both repos
pin it by version and neither re-declares a member of a contract set.
Shapes and validators only — no behaviour, no I/O, no imports from
edgar_api, edgar_parser or packages/edgar_shared. Its sole dependency is
pydantic>=2.10,<3.
Contents:
enums—NonGaapOutputMetricId,NonGaapAdjustmentRole,BridgeGranularity,OmittedTableStage/OmittedTableReason(ratified 5) withLEGACY_OMITTED_TABLE_REASONSfor the tolerant reader,KpiGapReason(6 +financials_unavailable),NonGaapMetricFamily,BridgeFailureReason.measure—MeasureUnit,Scale,ScaleProvenance,MeasureType,ScaledQuantity,EvidencedBlank.period— oneTypedPeriod(annual|quarterly|ytd|ttm+temporal_kind) withcanonical_label().dimensions—DimensionAxis,XbrlFactRef, and the oneserialize_dimensions/parse_dimensions(|-joined, escaped) form.kpi—KpiDriverRowsV2,TypedKpiObservation,OmittedTable,KpiLaneGap,ReaderRecord.tables—FilingTableEnvelopeandTableBinding/ColumnBinding/RowBinding/CellRef, published asextra="forbid"models.non_gaap_bridge—IssuerNonGaapBridgeV3(canonical_output_metric+output_metric_slug,effective_metric_key, producer-mintedbridge_id,granularity, typedclosure: BridgeClosureState, flattenedsubtotals— nochained_from) andIssuerNonGaapBridgeResponseV3. Itsrounding_consistentdiagnostic preserves the printed-equation residual within the half-ulp budget; like other ordinary diagnostics, it does not carry metric-context fields (effective_metric_key,period, orlabel).canonicalize—OUTPUT_METRIC_SURFACE_FORMSandclassify_adjustment_role, beside the enums they feed.version—CONTRACT_VERSIONSandversion_refusal(received, expected).golden— the 13-issuer golden pack skeleton and itsgolden.load(issuer, kind)loader (contents land inS-XREPO-5).
Install for development from the producer repo root:
pip install -e packages/edgar_transport_contracts. Run its tests with
.venv/bin/python -m pytest packages/edgar_transport_contracts/tests -q.
Metadata
Release files for edgar-transport-contracts 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| edgar_transport_contracts-0.1.0.tar.gz | 229.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edgar_transport_contracts-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 477.9 kB
Release files / edgar_transport_contracts-0.1.0.tar.gz
| Download URL | edgar_transport_contracts-0.1.0.tar.gz |
|---|---|
| Size | 229.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51b33db4852c33e9cb34e88c23c508f9b6ff3ef070a8571b31fa204a2a373370
|
|
BLAKE2b-256 checksum How to use checksums |
e10e4dadb2b328c751baa8669d36e10500740a1c4473944414e348043a2ccbee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / edgar_transport_contracts-0.1.0-py3-none-any.whl
| Download URL | edgar_transport_contracts-0.1.0-py3-none-any.whl |
|---|---|
| Size | 248.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bad563ea59728ed5dd321bde44d2bc4f836e842722830c8b37b060381c95b025
|
|
BLAKE2b-256 checksum How to use checksums |
309c015a955a3e345b946cb3202c31da319d3de2d3cb9161a096afc4831112f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for edgar-transport-contracts 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.