diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/fast_query_parsers')
-rw-r--r-- | venv/lib/python3.11/site-packages/fast_query_parsers/__init__.py | 5 | ||||
-rw-r--r-- | venv/lib/python3.11/site-packages/fast_query_parsers/__init__.pyi | 27 | ||||
-rw-r--r-- | venv/lib/python3.11/site-packages/fast_query_parsers/__pycache__/__init__.cpython-311.pyc | bin | 0 -> 378 bytes | |||
-rwxr-xr-x | venv/lib/python3.11/site-packages/fast_query_parsers/fast_query_parsers.abi3.so | bin | 0 -> 2185632 bytes | |||
-rw-r--r-- | venv/lib/python3.11/site-packages/fast_query_parsers/py.typed | 0 |
5 files changed, 32 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/fast_query_parsers/__init__.py b/venv/lib/python3.11/site-packages/fast_query_parsers/__init__.py new file mode 100644 index 0000000..bed81ce --- /dev/null +++ b/venv/lib/python3.11/site-packages/fast_query_parsers/__init__.py @@ -0,0 +1,5 @@ +from .fast_query_parsers import * + +__doc__ = fast_query_parsers.__doc__ +if hasattr(fast_query_parsers, "__all__"): + __all__ = fast_query_parsers.__all__
\ No newline at end of file diff --git a/venv/lib/python3.11/site-packages/fast_query_parsers/__init__.pyi b/venv/lib/python3.11/site-packages/fast_query_parsers/__init__.pyi new file mode 100644 index 0000000..57ab360 --- /dev/null +++ b/venv/lib/python3.11/site-packages/fast_query_parsers/__init__.pyi @@ -0,0 +1,27 @@ +from typing import Any + +def parse_query_string(qs: bytes, separator: str) -> list[tuple[str, str]]: ... + +"""Parse a query string into a list of tuples. + +Args: + qs: a query byte-string. + separator: A separator symbol. + +Returns: + A list of string/string tuples. +""" + +def parse_url_encoded_dict(qs: bytes, parse_numbers: bool = False) -> dict[str, Any]: ... + +"""Parse a query string into a dictionary of values. + +Args: + qs: a query byte-string. + parse_numbers: If true, parse numbers into ints and floats otherwise keep them as strings. + +Returns: + A string keyed dictionary of parsed values. +""" + +__all__ = ("parse_query_string", "parse_url_encoded_dict") diff --git a/venv/lib/python3.11/site-packages/fast_query_parsers/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/fast_query_parsers/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..9b93d5c --- /dev/null +++ b/venv/lib/python3.11/site-packages/fast_query_parsers/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/fast_query_parsers/fast_query_parsers.abi3.so b/venv/lib/python3.11/site-packages/fast_query_parsers/fast_query_parsers.abi3.so Binary files differnew file mode 100755 index 0000000..b2fee32 --- /dev/null +++ b/venv/lib/python3.11/site-packages/fast_query_parsers/fast_query_parsers.abi3.so diff --git a/venv/lib/python3.11/site-packages/fast_query_parsers/py.typed b/venv/lib/python3.11/site-packages/fast_query_parsers/py.typed new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/venv/lib/python3.11/site-packages/fast_query_parsers/py.typed |