Bootstraps MicroPython in a PyScript-compatible way from a worker (localhost, Briefcase, Positron, Toga).
Project description
microdriver
WIP — bootstraps MicroPython in a PyScript-compatible fashion from a worker, for localhost deployment and Briefcase / Positron / Toga.
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/):
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 first if you prefer (twine upload --repository testpypi dist/*).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file microdriver-0.0.3.tar.gz.
File metadata
- Download URL: microdriver-0.0.3.tar.gz
- Upload date:
- Size: 265.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
606e524097341e0a6bced1e7c0c318672e465ef0de075d0ea54cee202d0dd9af
|
|
| MD5 |
a27f8d5d52545fcb7a616923688c247c
|
|
| BLAKE2b-256 |
29d76b2947bd2b1a341d4365d1d112f9b7e0641ace96bb0c1309e3146f3bd6ba
|
File details
Details for the file microdriver-0.0.3-py3-none-any.whl.
File metadata
- Download URL: microdriver-0.0.3-py3-none-any.whl
- Upload date:
- Size: 291.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
317f004f870df3ccdd80544af1416cba23979aafe5174e28d8d0146df8ea1244
|
|
| MD5 |
815cc017d3f8b3659824003e4e6c485d
|
|
| BLAKE2b-256 |
bfb9c36447fd35b638858cffe928721daa123204c315c84e62fa36ceb044b529
|