A Briefcase publication channel plugin for deploying static web apps to PythonAnywhere.
Note: This package depends on the publication channels feature in Briefcase, which has not been included in a release yet. Until it is released, install Briefcase from main:
pip install git+https://github.com/beeware/briefcase@main
- A PythonAnywhere account
- An API token (from your Account page)
$ pip install pythonanywhere-briefcase-pluginBuild and package your web app:
$ briefcase create web static
$ briefcase build web static
$ briefcase package web staticSet your PythonAnywhere API token:
$ export API_TOKEN=your-api-token-herePublish:
$ briefcase publish web staticYour app will be deployed to https://<username>.pythonanywhere.com/.
Full documentation is available at https://briefcase.pythonanywhere.com/.
Development requires uv.
$ git clone https://github.com/pythonanywhere/pythonanywhere-briefcase-plugin.git
$ cd pythonanywhere-briefcase-plugin
$ uv sync
$ uvx pre-commit install
$ uv run pytestMIT license.