Metadata-Version: 2.5
Name: hedron-explorer
Version: 0.30.0
Summary: Development Component Explorer preview for Hedron
Project-URL: Homepage, https://github.com/eddiethedean/hedron
Project-URL: Repository, https://github.com/eddiethedean/hedron
Project-URL: Issues, https://github.com/eddiethedean/hedron/issues
Project-URL: Changelog, https://github.com/eddiethedean/hedron/blob/main/packages/hedron-explorer/CHANGELOG.md
Project-URL: Documentation, https://hedron.readthedocs.io/en/latest/
Author-email: Odos Matthews <odosmatthews@gmail.com>
Maintainer-email: Odos Matthews <odosmatthews@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: components,development,explorer,hedron
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: <3.15,>=3.11
Requires-Dist: fastapi<0.150,>=0.141.1
Requires-Dist: hedron-core<0.31,>=0.30.0
Provides-Extra: fastapi
Requires-Dist: fastapi<0.142,>=0.141.1; extra == 'fastapi'
Description-Content-Type: text/markdown

# hedron-explorer

[![PyPI](https://img.shields.io/pypi/v/hedron-explorer.svg)](https://pypi.org/project/hedron-explorer/)
[![Python](https://img.shields.io/pypi/pyversions/hedron-explorer.svg)](https://pypi.org/project/hedron-explorer/)
[![CI](https://img.shields.io/github/actions/workflow/status/eddiethedean/hedron/ci.yml?branch=main&label=CI)](https://github.com/eddiethedean/hedron/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/eddiethedean/hedron/blob/main/LICENSE)

Development Component Explorer for Hedron.

HTMX panels for components, routes, graph, security, accessibility, packages,
settings, charts, and interaction simulation — plus sanitized JSON APIs with
rate limiting and audit hooks. Installed through `hedron[dev]`; **not required**
in production.

**Package maturity:** Beta · **Train:** `0.30.x` (last published `0.30.0`) · pin `>=0.30.0,<0.31`

## Install

```bash
pip install "hedron[dev]>=0.30.0,<0.31"
# or install the package directly:
pip install "hedron-explorer>=0.30.0,<0.31"
# or
uv add "hedron[dev]>=0.30.0,<0.31"
```

Requires Python 3.11–3.14 and [`hedron`](https://pypi.org/project/hedron/).

Optional: `hedron-explorer[fastapi]` when you need an explicit FastAPI extra
marker for tooling (the flagship `hedron` package already depends on FastAPI).

## Usage

Enable the Explorer when constructing the app (development only by default):

```python
from hedron import Hedron, Page, Text

app = Hedron(
    title="Demo",
    security="standard",
    session_secret="replace-me",
    explorer="development",
)


@app.page("/")
def home() -> Page:
    return Page(Text("Hello, Hedron"), title="Demo")
```

Open **`/hedron-explorer/`** on the running app (`explorer="development"` or
`"secured"`). Leave Explorer **`off`** in production.

## What this package includes

- Interactive component / route / dependency graph panels
- Security and accessibility inspection surfaces
- Interaction simulation helpers
- Sanitized JSON APIs with rate limiting and audit hooks

## Links

- [Package docs](https://hedron.readthedocs.io/en/latest/packages/hedron-explorer/)
- [Explorer API](https://hedron.readthedocs.io/en/latest/api/EXPLORER/)
- [Changelog](https://github.com/eddiethedean/hedron/blob/main/packages/hedron-explorer/CHANGELOG.md)
- [Source](https://github.com/eddiethedean/hedron/tree/main/packages/hedron-explorer)
- [Issues](https://github.com/eddiethedean/hedron/issues)
- [`hedron`](https://pypi.org/project/hedron/)

## License

MIT. See the [repository license](https://github.com/eddiethedean/hedron/blob/main/LICENSE).
