Skip to main content

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

microdriver-0.0.6.tar.gz (268.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microdriver-0.0.6-py3-none-any.whl (294.9 kB view details)

Uploaded Python 3

File details

Details for the file microdriver-0.0.6.tar.gz.

File metadata

  • Download URL: microdriver-0.0.6.tar.gz
  • Upload date:
  • Size: 268.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for microdriver-0.0.6.tar.gz
Algorithm Hash digest
SHA256 2b798c0bf105adec3a9c3c4abb40519703f981cd85551119dd6f94e0bd1a10e4
MD5 a1af7044a917b64092d0876b06c7fbba
BLAKE2b-256 72363ab04002ac1cfd3281fd59ab1cc1038abc7212cdc414d1d23a16fbb535c7

See more details on using hashes here.

File details

Details for the file microdriver-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: microdriver-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 294.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for microdriver-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e0990dcd2311031eae2c6735eb8f128e0cbf7ebaccf924a31505a8bd0d802531
MD5 d2253417bd4898869aa02c05634ddbbe
BLAKE2b-256 c4641fedbfdad44e2f303c07484de11dad5226eb38907f9c345effdf0c04a6d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page