muffin-oauth


Namemuffin-oauth JSON
Version 2.7.1 PyPI version JSON
download
home_pagehttps://github.com/klen/muffin-oauth
SummarySupport OAuth authentication for Muffin Framework.
upload_time2024-11-14 14:37:27
maintainerNone
docs_urlNone
authorKirill Klenov
requires_python<4.0,>=3.9
licenseMIT
keywords asgi asyncio authorization muffin oauth trio
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Muffin-OAuth
############

.. _description:

**Muffin-OAuth** -- Support OAuth authentication for Muffin_ Framework.

.. _badges:

.. image:: https://github.com/klen/muffin-oauth/workflows/tests/badge.svg
    :target: https://github.com/klen/muffin-oauth/actions
    :alt: Tests Status

.. image:: https://img.shields.io/pypi/v/muffin-oauth
    :target: https://pypi.org/project/muffin-oauth/
    :alt: PYPI Version

.. image:: https://img.shields.io/pypi/pyversions/muffin-oauth
    :target: https://pypi.org/project/muffin-oauth/
    :alt: Python Versions

.. _contents:

.. contents::

.. _requirements:

Requirements
=============

- python >= 3.9

.. _installation:

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

**Muffin-OAuth** should be installed using pip: ::

    pip install muffin-oauth

.. _usage:

Usage
=====

Get OAuth Access/Refresh Tokens
-------------------------------

See an example application in `example.py`.
Run the example with command: ::

    $ make example

And open http://localhost:5000 in your browser.

Load resouces with access tokens
--------------------------------

.. code:: python

    # OAuth2
    client = oauth.client('github', access_token='...')
    resource = await client.request('GET', 'user')

.. _bugtracker:

Bug tracker
===========

If you have any suggestions, bug reports or
annoyances please report them to the issue tracker
at https://github.com/klen/muffin-oauth/issues

.. _contributing:

Contributing
============

Development of Muffin-OAuth happens at: https://github.com/klen/muffin-oauth


Contributors
=============

* klen_ (Kirill Klenov)

.. _license:

License
========

Licensed under a `MIT license`_.
.. _links:

.. _Muffin: https://github.com/klen/muffin
.. _klen: https://github.com/klen
.. _MIT license: http://opensource.org/licenses/MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/klen/muffin-oauth",
    "name": "muffin-oauth",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "asgi, asyncio, authorization, muffin, oauth, trio",
    "author": "Kirill Klenov",
    "author_email": "horneds@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d6/1d/21d96a8c315817fbb334adeb23d8ede5b730b0b5768ef542d9facad1e63c/muffin_oauth-2.7.1.tar.gz",
    "platform": null,
    "description": "Muffin-OAuth\n############\n\n.. _description:\n\n**Muffin-OAuth** -- Support OAuth authentication for Muffin_ Framework.\n\n.. _badges:\n\n.. image:: https://github.com/klen/muffin-oauth/workflows/tests/badge.svg\n    :target: https://github.com/klen/muffin-oauth/actions\n    :alt: Tests Status\n\n.. image:: https://img.shields.io/pypi/v/muffin-oauth\n    :target: https://pypi.org/project/muffin-oauth/\n    :alt: PYPI Version\n\n.. image:: https://img.shields.io/pypi/pyversions/muffin-oauth\n    :target: https://pypi.org/project/muffin-oauth/\n    :alt: Python Versions\n\n.. _contents:\n\n.. contents::\n\n.. _requirements:\n\nRequirements\n=============\n\n- python >= 3.9\n\n.. _installation:\n\nInstallation\n=============\n\n**Muffin-OAuth** should be installed using pip: ::\n\n    pip install muffin-oauth\n\n.. _usage:\n\nUsage\n=====\n\nGet OAuth Access/Refresh Tokens\n-------------------------------\n\nSee an example application in `example.py`.\nRun the example with command: ::\n\n    $ make example\n\nAnd open http://localhost:5000 in your browser.\n\nLoad resouces with access tokens\n--------------------------------\n\n.. code:: python\n\n    # OAuth2\n    client = oauth.client('github', access_token='...')\n    resource = await client.request('GET', 'user')\n\n.. _bugtracker:\n\nBug tracker\n===========\n\nIf you have any suggestions, bug reports or\nannoyances please report them to the issue tracker\nat https://github.com/klen/muffin-oauth/issues\n\n.. _contributing:\n\nContributing\n============\n\nDevelopment of Muffin-OAuth happens at: https://github.com/klen/muffin-oauth\n\n\nContributors\n=============\n\n* klen_ (Kirill Klenov)\n\n.. _license:\n\nLicense\n========\n\nLicensed under a `MIT license`_.\n.. _links:\n\n.. _Muffin: https://github.com/klen/muffin\n.. _klen: https://github.com/klen\n.. _MIT license: http://opensource.org/licenses/MIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Support OAuth authentication for Muffin Framework.",
    "version": "2.7.1",
    "project_urls": {
        "Homepage": "https://github.com/klen/muffin-oauth",
        "Repository": "https://github.com/klen/muffin-oauth"
    },
    "split_keywords": [
        "asgi",
        " asyncio",
        " authorization",
        " muffin",
        " oauth",
        " trio"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c1b74209eef223777b59bc3849c22e0fe909edb7c3992f1e0bd93292a4bb9c2",
                "md5": "7eafc8843498a60ff2cf56935582943d",
                "sha256": "edb19d32e32ed8c733fb3d205145576c122969cbbad67c9c85d869b8a03541d8"
            },
            "downloads": -1,
            "filename": "muffin_oauth-2.7.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7eafc8843498a60ff2cf56935582943d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 4483,
            "upload_time": "2024-11-14T14:37:25",
            "upload_time_iso_8601": "2024-11-14T14:37:25.575042Z",
            "url": "https://files.pythonhosted.org/packages/0c/1b/74209eef223777b59bc3849c22e0fe909edb7c3992f1e0bd93292a4bb9c2/muffin_oauth-2.7.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d61d21d96a8c315817fbb334adeb23d8ede5b730b0b5768ef542d9facad1e63c",
                "md5": "f8ec37b7112eced23a6215c3e8567ff2",
                "sha256": "69fe9f3ccfdfe0ba7ba381855d3bc011e3370166ca6151f59c63899385efa702"
            },
            "downloads": -1,
            "filename": "muffin_oauth-2.7.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f8ec37b7112eced23a6215c3e8567ff2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 4136,
            "upload_time": "2024-11-14T14:37:27",
            "upload_time_iso_8601": "2024-11-14T14:37:27.908799Z",
            "url": "https://files.pythonhosted.org/packages/d6/1d/21d96a8c315817fbb334adeb23d8ede5b730b0b5768ef542d9facad1e63c/muffin_oauth-2.7.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-14 14:37:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "klen",
    "github_project": "muffin-oauth",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "muffin-oauth"
}
        
Elapsed time: 0.36748s