This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Django-based way to write desktop applications

Project Description
======
Proton
======

Proton is a Django module for building desktop apps. It provides a management command
to run the project as a desktop application rather than a server, as well as some
basic starter templates for using various stylesheets.
Behind the scenes, this is done by running the server on an arbitrary high port
and opening a thin web browser pointing to localhost on that port.

Quick Start
-----------

1. Install dependencies:
Ubuntu: `apt-get install python-gi gir1.2-webkit-3.0 gir1.2-gtk-3.0

2. Add "proton" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'proton',
]

3. Add the following values to your settings.py file:

WINDOW_TITLE = 'Title of window'
WINDOW_SIZE = (WIDTH, HEIGHT)
WINDOW_MAXIMIZE = False

WINDOW_SIZE is a tuple containing the default width and height of the window.
WINDOW_MAXIMIZE represents whether the window should be maximized by default.

4. Run `python manage.py window` to run the app locally using the dev server.
Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_proton-1.0.0-py2.py3-none-any.whl (3.6 MB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting