Metadata-Version: 2.4
Name: microdriver
Version: 0.0.6
Summary: Bootstraps MicroPython in a PyScript-compatible way from a worker (localhost, Briefcase, Positron, Toga).
License-Expression: MIT
Project-URL: Tracker, https://github.com/WebReflection/positron/issues
Project-URL: Source, https://github.com/WebReflection/positron/
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: reflected-ffi==0.0.3
Requires-Dist: flatted-view==0.2.1
Requires-Dist: next-resolver==0.0.2
Requires-Dist: websockets
Requires-Dist: fastapi
Provides-Extra: server
Requires-Dist: uvicorn; extra == "server"
Dynamic: license-file

# microdriver

*WIP* — bootstraps MicroPython in a PyScript-compatible fashion from a worker, for localhost deployment and Briefcase / Positron / Toga.

```python
from microdriver import app
# app is a FastAPI application

import uvicorn

uvicorn.run(app(), host="localhost", port=8000)
```

`app` is defined in `microdriver.server` (see `microdriver/server.py`).

## Publishing to PyPI

From this directory (`package/`):

```bash
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/*
```

Install build tools once: `pip install build twine`. Use [TestPyPI](https://test.pypi.org/) first if you prefer (`twine upload --repository testpypi dist/*`).


