Metadata-Version: 2.1
Name: toga-flask
Version: 0.3.0.dev30
Summary: A Flask backend for the Toga widget toolkit.
Home-page: https://beeware.org/project/projects/libraries/toga/
Author: Russell Keith-Magee
Author-email: russell@keith-magee.com
Maintainer: BeeWare Team
Maintainer-email: team@beeware.org
License: New BSD
Project-URL: Funding, https://beeware.org/contributing/membership/
Project-URL: Documentation, http://toga.readthedocs.io/en/latest/
Project-URL: Tracker, https://github.com/beeware/toga/issues
Project-URL: Source, https://github.com/beeware/toga
Description: toga-flask
        ==========
        
        A `Flask <https://flask.palletsprojects.com>`__ backend for the `Toga widget
        toolkit <https://beeware.org/toga>`__.
        
        This package isn't much use by itself; it needs to be combined with `the core
        Toga library <https://pypi.python.org/pypi/toga-core>`__ and `the Toga Web
        library <https://pypi.python.org/pypi/toga-web>`__.
        
        For more details, see the `Toga project on Github
        <https://github.com/beeware/toga>`__.
        
        Prerequisites
        ~~~~~~~~~~~~~
        
        This backend requires Flask 1.1 as a minimum requirement.
        
        Usage
        ~~~~~
        
        Toga Flask defines a ``TogaApp`` class that can be used to mount a Toga Web
        instance in a Flask app. If you have Toga application named `myapp`, Flask
        deployment is acheived by putting the following into ``flaskapp.py``::
        
            from flask import Flask
            flask_app = Flask(__name__)
        
            from toga_flask import TogaApp
        
            from myapp import app
        
            TogaApp(app).route(flask_app, '/')
        
        This will mount the Toga app at `/`. You can mount the app at any URL you wish,
        and you can also add other routes for other views.
        
        The app can then be executed with::
        
            $ FLASK_APP=flaskapp.py FLASK_DEBUG=1 flask run
        
        This assumes a standard Toga app layout, where the application `myapp` has a
        submodule `app.py` that defines a `main()` method.
        
        Community
        ---------
        
        Toga is part of the `BeeWare suite <http://beeware.org>`__. You can talk to the
        community through:
        
        * `@pybeeware on Twitter <https://twitter.com/pybeeware>`__
        
        * `Discord <https://beeware.org/bee/chat/>`__
        
        * The Toga `Github Discussions forum <https://github.com/beeware/toga/discussions>`__
        
        Contributing
        ------------
        
        If you experience problems with this backend, `log them on GitHub
        <https://github.com/beeware/toga/issues>`_. If you want to contribute code,
        please `fork the code <https://github.com/beeware/toga>`__ and `submit a pull
        request <https://github.com/beeware/toga/pulls>`_.
        
Keywords: gui,widget,cross-platform,toga,web,flask
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Topic :: Software Development :: Widget Sets
Requires-Python: >=3.6
Description-Content-Type: text/x-rst; charset=UTF-8
