Metadata-Version: 2.4
Name: pyedc-core
Version: 0.1.0
Summary: Core JSON-LD utilities and FastAPI helpers for the EDC data plane.
License: Apache-2.0
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.110.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pyld>=2.0.0
Requires-Dist: hvac>=2.1.0

# pyedc-core

Reusable JSON-LD helpers, middleware, API clients, and FastAPI app factory utilities shared across the EDC data plane services.

## Components

- `pyedc_core.middleware.JsonLDMiddleware`: transparently expands inbound JSON-LD requests and compacts outbound responses for FastAPI/Starlette apps.
- `pyedc_core.services.JsonLdApiClient`: lightweight HTTP client built on `httpx` that compacts outgoing JSON-LD payloads (so APIs receive the compacted form they expect) and expands responses back into canonical JSON-LD structures.
- `pyedc_core.services.VaultClient`: helper around `hvac.Client` with convenience methods needed by the orchestrator module.
