PHP 7.4.33
Preview: __init__.py Size: 686 B
/lib/python3/dist-packages/oauthlib/__init__.py
"""
    oauthlib
    ~~~~~~~~

    A generic, spec-compliant, thorough implementation of the OAuth
    request-signing logic.

    :copyright: (c) 2019 by The OAuthlib Community
    :license: BSD, see LICENSE for details.
"""
import logging
from logging import NullHandler

__author__ = 'The OAuthlib Community'
__version__ = '3.2.0'

logging.getLogger('oauthlib').addHandler(NullHandler())

_DEBUG = False

def set_debug(debug_val):
	"""Set value of debug flag
	
    :param debug_val: Value to set. Must be a bool value.
	"""
	global _DEBUG
	_DEBUG = debug_val

def get_debug():
	"""Get debug mode value. 
	
	:return: `True` if debug mode is on, `False` otherwise
	"""
	return _DEBUG	

Directory Contents

Dirs: 4 × Files: 4
Name Size Perms Modified Actions
oauth1 DIR
- drwxr-xr-x 2023-03-05 04:16:40
Edit Download
oauth2 DIR
- drwxr-xr-x 2023-03-05 04:16:40
Edit Download
openid DIR
- drwxr-xr-x 2023-03-05 04:16:40
Edit Download
- drwxr-xr-x 2023-03-05 04:16:40
Edit Download
13.11 KB lrw-r--r-- 2022-01-29 21:58:41
Edit Download
1.45 KB lrw-r--r-- 2022-01-29 21:58:41
Edit Download
5.97 KB lrw-r--r-- 2022-09-16 14:26:11
Edit Download
686 B lrw-r--r-- 2022-01-29 21:58:41
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).