Metadata-Version: 2.5
Name: urban-sequence
Version: 0.1.0
Summary: Sequence diagram editor web component (<urban-sequence>), served from FastAPI / Starlette
Project-URL: Repository, https://github.com/gaelgael5/urban-sequence
Author: urban-sequence contributors
License-Expression: MIT
Keywords: editor,fastapi,mermaid,sequence-diagram,starlette,web-component
Requires-Python: >=3.10
Requires-Dist: starlette>=0.37
Description-Content-Type: text/markdown

# urban-sequence (Python package)

Serves the built assets of the `<urban-sequence>` web component — a
sequence diagram editor stored as pure Mermaid plus a `.extend.yaml`
annex — from a FastAPI / Starlette application.

```python
from fastapi import FastAPI
import urban_sequence

app = FastAPI()
urban_sequence.mount(app, "/api/sequence")
```

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

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