Skip to main content

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

Project description

briefcase-pythonanywhere

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 briefcase-pythonanywhere

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/briefcase-pythonanywhere.git
$ cd briefcase-pythonanywhere
$ 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

briefcase_pythonanywhere-0.0.1a2.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.

briefcase_pythonanywhere-0.0.1a2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file briefcase_pythonanywhere-0.0.1a2.tar.gz.

File metadata

File hashes

Hashes for briefcase_pythonanywhere-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 fc7dd2dc3c1d70679952c235ff3c07b72ad030a1af0062f9f802dcadccd29117
MD5 01becfccdf9d07c5e8b78af192368348
BLAKE2b-256 7042fd65e4e6dd662c2ee3dc72888733e51d66913d760aab45f27fce030e10e6

See more details on using hashes here.

File details

Details for the file briefcase_pythonanywhere-0.0.1a2-py3-none-any.whl.

File metadata

File hashes

Hashes for briefcase_pythonanywhere-0.0.1a2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b225c035e87faa91ed44e3d428fbf863fe8b211ca3b3ffc8ec1641bfcefe143
MD5 6b475a17836d5c8fe5eae9eafb438e0a
BLAKE2b-256 0105953cb046b48f56ff5da4ec881bdc0d6b213a764c0751bdd7bb9d422b70fe

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