Metadata-Version: 2.5
Name: urban-dmn
Version: 0.1.1
Summary: DMN decision editor web component (<urban-dmn>), served from FastAPI / Starlette
Project-URL: Repository, https://github.com/gaelgael5/urban-dmn
Author: urban-dmn contributors
License-Expression: Apache-2.0
Keywords: decision,dmn,editor,fastapi,starlette,web-component
Requires-Python: >=3.10
Requires-Dist: starlette>=0.37
Description-Content-Type: text/markdown

# urban-dmn (Python package)

Serves the built assets of the `<urban-dmn>` web component — a DMN
decision editor built on [Apache KIE](https://github.com/apache/incubator-kie-tools)'s
React DMN editor — from a FastAPI / Starlette application.

```python
from fastapi import FastAPI
import urban_dmn

app = FastAPI()
urban_dmn.mount(app, "/api/dmn")
```

The page then loads `/api/dmn/urban-dmn.js` (ES module) and
`/api/dmn/urban-dmn.css`, and uses the `<urban-dmn>` element.
TypeScript types for the host are served under `/api/dmn/types/`.

See the [repository](https://github.com/gaelgael5/urban-dmn) for the
component itself.
