OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
jsonschema
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/17/2025 09:32:20 AM
rwxr-xr-x
📄
__init__.py
679 bytes
01/26/2017 06:18:56 PM
rw-r--r--
📄
__main__.py
39 bytes
01/26/2017 06:18:56 PM
rw-r--r--
📁
__pycache__
-
10/21/2019 03:49:46 PM
rwxr-xr-x
📄
_format.py
6.88 KB
01/26/2017 06:18:56 PM
rw-r--r--
📄
_reflect.py
4.91 KB
01/26/2017 06:18:56 PM
rw-r--r--
📄
_utils.py
4.92 KB
01/26/2017 06:18:56 PM
rw-r--r--
📄
_validators.py
11.98 KB
01/26/2017 06:18:56 PM
rw-r--r--
📄
_version.py
112 bytes
11/15/2017 07:43:29 PM
rw-r--r--
📄
cli.py
2.1 KB
01/26/2017 06:18:56 PM
rw-r--r--
📄
compat.py
1.41 KB
01/26/2017 06:18:56 PM
rw-r--r--
📄
exceptions.py
6.86 KB
01/26/2017 06:18:56 PM
rw-r--r--
📁
schemas
-
10/21/2019 03:49:31 PM
rwxr-xr-x
📁
tests
-
10/21/2019 03:49:46 PM
rwxr-xr-x
📄
validators.py
15.83 KB
01/26/2017 06:18:56 PM
rw-r--r--
Editing: compat.py
Close
import operator import sys try: from collections import MutableMapping, Sequence # noqa except ImportError: from collections.abc import MutableMapping, Sequence # noqa PY3 = sys.version_info[0] >= 3 if PY3: zip = zip from functools import lru_cache from io import StringIO from urllib.parse import ( unquote, urljoin, urlunsplit, SplitResult, urlsplit as _urlsplit ) from urllib.request import urlopen str_types = str, int_types = int, iteritems = operator.methodcaller("items") else: from itertools import izip as zip # noqa from StringIO import StringIO from urlparse import ( urljoin, urlunsplit, SplitResult, urlsplit as _urlsplit # noqa ) from urllib import unquote # noqa from urllib2 import urlopen # noqa str_types = basestring int_types = int, long iteritems = operator.methodcaller("iteritems") from functools32 import lru_cache # On python < 3.3 fragments are not handled properly with unknown schemes def urlsplit(url): scheme, netloc, path, query, fragment = _urlsplit(url) if "#" in path: path, fragment = path.split("#", 1) return SplitResult(scheme, netloc, path, query, fragment) def urldefrag(url): if "#" in url: s, n, p, q, frag = urlsplit(url) defrag = urlunsplit((s, n, p, q, '')) else: defrag = url frag = '' return defrag, frag # flake8: noqa