Skip to main content

Tools to support converting a Python project into a standalone native application.

Project description

Tools to support converting a Python project into a standalone native application.

Quickstart

In your virtualenv, install Briefcase:

$ pip install briefcase

Then, add extra options to your setup.py file to provide the app-specific properties of your app. Settings that are applicable to any app can be set under the app key; platform specific settings can be specified using a platform key:

setup(
    ...
    options={
        'app': {
            'formal_name': 'My First App',
            'bundle': 'org.example',
        },
        'osx': {
            'app_requires': [
                'toga[osx]'
            ]
        },
        'ios': {
            'app_requires': [
                'toga[ios]'
            ]
        },
        'android': {
            'app_requires': [
                'toga[android]'
            ]
        },
    }
)

At a minimum, you must set a formal_name key (the full, formal name for the app) and a bundle key (the bundle identifier for the author organization - usually a reverse domain name).

Then, you can invoke briefcase, using:

$ python setup.py osx

to create an OS/X app, or:

$ python setup.py ios

to create an iOS app, or:

$ python setup.py android

to create an Android app.

Community

Briefcase is part of the BeeWare suite. You can talk to the community through:

Contributing

If you experience problems with Briefcase, log them on GitHub. If you want to contribute code, please fork the code and submit a pull request.

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-0.1.0.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

briefcase-0.1.0-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file briefcase-0.1.0.tar.gz.

File metadata

  • Download URL: briefcase-0.1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for briefcase-0.1.0.tar.gz
Algorithm Hash digest
SHA256 41b6b183d11d80bf566ff00ea7ad766fd27b4b81f9daeb996e70f07fb32c09c3
MD5 91a56d76cc27d14674e7ea4e7388d690
BLAKE2b-256 ab4694ab5ad229a69892236d2170eb3c934a2d62beed867cceb7c3e572b29ca5

See more details on using hashes here.

File details

Details for the file briefcase-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for briefcase-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d5b2c2e74bea2a28dfc31d08aee0a78964e4ad0083e1ae7263f43fc57fd3dc79
MD5 467d76f23c75b1c6ffabcf634cddda4c
BLAKE2b-256 09cd33b40dcf344c8f85bca65b62ea7c6408acdedc3e55a9edfbafb141b90aed

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