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.5.tar.gz (265.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.5-py3-none-any.whl (291.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: microdriver-0.0.5.tar.gz
  • Upload date:
  • Size: 265.5 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.5.tar.gz
Algorithm Hash digest
SHA256 ff65c56286c390bee9f74bca1343232a1532134303a669eef6d6d3b7fba2be2b
MD5 ada13e20c5ba2dde4cd9162dc39867c8
BLAKE2b-256 20c7970a371de8c564f108783c2bf4299c316fb5a4d04074a022bbd2f6b1cf37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: microdriver-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 291.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4a54ffa1e5aef33f9717dde47be4b44ab179b2cbd7e952598707c66434a7c3ff
MD5 b9611a3ddba60c2132ab3de52aeb9bc9
BLAKE2b-256 a6c64c02bd46b3a733b12c857dd4384fa76ef89a6179487dc28540f4a867f5e7

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