Skip to main content

A Briefcase publication channel plugin for deploying static web apps to PythonAnywhere.

Project description

pythonanywhere-briefcase-plugin

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

Prerequisites

  • A PythonAnywhere account
  • An API token (from your Account page)

Installation

$ pip install pythonanywhere-briefcase-plugin

Quick start

Build and package your web app:

$ briefcase create web static
$ briefcase build web static
$ briefcase package web static

Set your PythonAnywhere API token:

$ export API_TOKEN=your-api-token-here

Publish:

$ briefcase publish web static

Your app will be deployed to https://<username>.pythonanywhere.com/.

Documentation

Full documentation is available at https://briefcase.pythonanywhere.com/.

Contributing

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 pytest

License

MIT license.

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

pythonanywhere_briefcase_plugin-0.0.1a3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file pythonanywhere_briefcase_plugin-0.0.1a3.tar.gz.

File metadata

File hashes

Hashes for pythonanywhere_briefcase_plugin-0.0.1a3.tar.gz
Algorithm Hash digest
SHA256 e1bf8ca77656a03cade11be4426eca5724f02253275b691f2ef0b38b1d4aefae
MD5 8bff1d2c1aa718a463728c960bde6e0b
BLAKE2b-256 cf978b30d11446a9e59f8e11b71df7e9cdbf6580fb1a6c6a403a900a722ec390

See more details on using hashes here.

File details

Details for the file pythonanywhere_briefcase_plugin-0.0.1a3-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonanywhere_briefcase_plugin-0.0.1a3-py3-none-any.whl
Algorithm Hash digest
SHA256 b86993fd66f21c18afd507b80afaaefc525d75de010d450dac7c0625ae446ed7
MD5 e1f52aa7f94d9d72a5052f4ab8d72379
BLAKE2b-256 3ec13413db5a4a16a9f7b73d923cbfa255e0428ae6c80ee1cb9001186537afe7

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