Metadata-Version: 2.1
Name: bemserver-ui
Version: 0.2.0
Summary: BEMServer web interface
Home-page: https://github.com/BEMServer/bemserver-ui
Author: NOBATEK/INEF4
Author-email: dfrederique@nobatek.inef4.com
License: AGPLv3+
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: flask (>=2.2.2)
Requires-Dist: python-dotenv (>=0.21.0)
Requires-Dist: bemserver-api-client (<0.10.0,>=0.9.0)
Provides-Extra: dev
Requires-Dist: flake8 (>=4.0.1) ; extra == 'dev'
Requires-Dist: flake8-bugbear (>=22.1.11) ; extra == 'dev'
Requires-Dist: pre-commit (>=2.17.0) ; extra == 'dev'
Provides-Extra: lint
Requires-Dist: flake8 (>=4.0.1) ; extra == 'lint'
Requires-Dist: flake8-bugbear (>=22.1.11) ; extra == 'lint'
Requires-Dist: pre-commit (>=2.17.0) ; extra == 'lint'

============
BEMServer UI
============

.. image:: https://img.shields.io/pypi/v/bemserver-ui.svg
    :target: https://pypi.org/project/bemserver-ui/
    :alt: Latest version

.. image:: https://img.shields.io/pypi/pyversions/bemserver-ui.svg
    :target: https://pypi.org/project/bemserver-ui/
    :alt: Python versions

.. image:: https://github.com/BEMServer/bemserver-ui/actions/workflows/build-release.yaml/badge.svg
    :target: https://github.com/bemserver/bemserver-ui/actions?query=workflow%3Abuild
    :alt: Build status


BEMServer is a free Building Energy Management software platform.

Its purpose is to store data collected in buildings and produce useful information such as performance indicators or alerts.


Installation
============

Settings
--------

Flask custom var config available:

    **BEMSERVER_API_HOST = "localhost"**
        API host name (and port)
    **BEMSERVER_API_USE_SSL = True**
        Is API published through SSL?
    **BEMSERVER_API_AUTH_METHOD = "http_basic"**
        API authentication method
    **BEMSERVER_TIMEZONE_NAME = "UTC"**
        Default application timezone name, when not overrided campaign timezone
    **BEMSERVER_NOTIFICATION_UPDATER_DELAY = 60000**
        Delay, in seconds, between each check of new notifications
    *(optional)* **BEMSERVER_PARTNERS_FILE = None**
        Absolute path of json file that describes the project's partners

        Example of ``BEMSERVER_PARTNERS_FILE`` file structure::

            [
                {
                    "Nobatek/INEF4": {
                        "use_as_project_logo": true,
                        "url": "https://nobatek.inef4.com",
                        "logo": {
                            "style": "height: 50px;",
                            "src": "https://www.nobatek.inef4.com/wp-content/uploads/2017/08/logo-transp-2.png"
                        }
                    }
                },
                {
                    "Flask": {
                        "url": "https://flask.palletsprojects.com/en/latest/",
                        "logo": {
                            "style": "height: 50px;",
                            "src": "https://flask.palletsprojects.com/en/latest/_images/flask-logo.png"
                        },
                        "text": "The Python micro framework for building web applications."
                    }
                }
            ]
