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.1a4.tar.gz (3.5 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.1a4.tar.gz.

File metadata

File hashes

Hashes for pythonanywhere_briefcase_plugin-0.0.1a4.tar.gz
Algorithm Hash digest
SHA256 d0918332a8c7ff8b67b49312451110a202e089fb6f5cbb73993594af90b3d521
MD5 a8d51fc40c1d32814573e5df9ade38d2
BLAKE2b-256 5f16c63abf4cfb329802059ab24346648bdf38a004c5d3a7667f8a936760b7b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pythonanywhere_briefcase_plugin-0.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 27d0686ce028a413871f782e2de59c22502864ecfe5be6926fdeabf054a3a45b
MD5 bd803a2e839e41b6107b9d67fcf1cc1f
BLAKE2b-256 fbde33857cb543c0cc1e20c3b47814a3b830468e01627e76ad2f2fdc7d0dc76c

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