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.3.tar.gz (265.2 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.3-py3-none-any.whl (291.2 kB view details)

Uploaded Python 3

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

Hashes for microdriver-0.0.3.tar.gz
Algorithm Hash digest
SHA256 606e524097341e0a6bced1e7c0c318672e465ef0de075d0ea54cee202d0dd9af
MD5 a27f8d5d52545fcb7a616923688c247c
BLAKE2b-256 29d76b2947bd2b1a341d4365d1d112f9b7e0641ace96bb0c1309e3146f3bd6ba

See more details on using hashes here.

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

Hashes for microdriver-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 317f004f870df3ccdd80544af1416cba23979aafe5174e28d8d0146df8ea1244
MD5 815cc017d3f8b3659824003e4e6c485d
BLAKE2b-256 bfb9c36447fd35b638858cffe928721daa123204c315c84e62fa36ceb044b529

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