dash-enterprise-auth


Namedash-enterprise-auth JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://plotly.com/dash
SummaryAuthentication integrations for apps using Dash Enterprise
upload_time2023-10-13 19:33:34
maintainer
docs_urlNone
authorAntoine Roy-Gobeil
requires_python>=3.6
licenseMIT
keywords dash dash-enterprise dash-auth plotly
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Dash Enterprise Auth

Authentication for apps deployed to [Dash Enterprise](https://plotly.com/dash)

Learn more at https://dash.plotly.com/dash-enterprise/app-authentication

```py
import dash_enterprise_auth as auth

@callback(...)
def private_data(...):
    username = auth.get_username()
    if username:
        return get_view_for_user(username)
    else:
        return public_view()
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://plotly.com/dash",
    "name": "dash-enterprise-auth",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "dash dash-enterprise dash-auth plotly",
    "author": "Antoine Roy-Gobeil",
    "author_email": "antoine@plotly.com",
    "download_url": "https://files.pythonhosted.org/packages/5d/d8/28abed98217001c14555376be56cc1aa9af1d60c2b932cc68ed14f31e9f8/dash_enterprise_auth-0.2.1.tar.gz",
    "platform": null,
    "description": "# Dash Enterprise Auth\n\nAuthentication for apps deployed to [Dash Enterprise](https://plotly.com/dash)\n\nLearn more at https://dash.plotly.com/dash-enterprise/app-authentication\n\n```py\nimport dash_enterprise_auth as auth\n\n@callback(...)\ndef private_data(...):\n    username = auth.get_username()\n    if username:\n        return get_view_for_user(username)\n    else:\n        return public_view()\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Authentication integrations for apps using Dash Enterprise",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://plotly.com/dash"
    },
    "split_keywords": [
        "dash",
        "dash-enterprise",
        "dash-auth",
        "plotly"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "970acc31c7ac3a09ec413852e66ceee9faebcfdf1ac702acaa8fd9434b7f6092",
                "md5": "79de146c15f41652747d226ada771852",
                "sha256": "9431019d8aaa7fe727a85a59316da25b49bded03a2644c7071a264fa24bd8ad2"
            },
            "downloads": -1,
            "filename": "dash_enterprise_auth-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79de146c15f41652747d226ada771852",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 4503,
            "upload_time": "2023-10-13T19:33:32",
            "upload_time_iso_8601": "2023-10-13T19:33:32.479091Z",
            "url": "https://files.pythonhosted.org/packages/97/0a/cc31c7ac3a09ec413852e66ceee9faebcfdf1ac702acaa8fd9434b7f6092/dash_enterprise_auth-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5dd828abed98217001c14555376be56cc1aa9af1d60c2b932cc68ed14f31e9f8",
                "md5": "7569dd8c2f6e3115284899e8e903f796",
                "sha256": "b7855043121be1b7a0a391692ccf2b9b321d971015446a6ac46aae2aaa68145b"
            },
            "downloads": -1,
            "filename": "dash_enterprise_auth-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7569dd8c2f6e3115284899e8e903f796",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5064,
            "upload_time": "2023-10-13T19:33:34",
            "upload_time_iso_8601": "2023-10-13T19:33:34.013834Z",
            "url": "https://files.pythonhosted.org/packages/5d/d8/28abed98217001c14555376be56cc1aa9af1d60c2b932cc68ed14f31e9f8/dash_enterprise_auth-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-13 19:33:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "dash-enterprise-auth"
}
        
Elapsed time: 0.12799s