Metadata-Version: 2.4
Name: orcestr-core
Version: 0.1.0
Summary: Shared API errors, request context and framework adapters for Orcestr.
Project-URL: Homepage, https://orcestr.com
Project-URL: Repository, https://github.com/Artasov/orcestr-core
Project-URL: Documentation, https://github.com/Artasov/orcestr-core#readme
Project-URL: Issues, https://github.com/Artasov/orcestr-core/issues
Author: Artasov
License-Expression: MPL-2.0
License-File: LICENSE
License-File: NOTICE
License-File: TRADEMARKS.md
Keywords: api,errors,fastapi,orcestr
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: FastAPI
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <4,>=3.12
Requires-Dist: pydantic<3,>=2.12
Provides-Extra: all
Requires-Dist: fastapi<1,>=0.128; extra == 'all'
Provides-Extra: fastapi
Requires-Dist: fastapi<1,>=0.128; extra == 'fastapi'
Description-Content-Type: text/markdown

# orcestr-core

Python contracts and FastAPI adapters for the Orcestr API error envelope.

```python
from orcestr_core import ApiError

raise ApiError(
    status_code=409,
    code="order_already_closed",
    message="The order is already closed.",
)
```

Install FastAPI support with `orcestr-core[fastapi]`.

