├── README.md ├── assets ├── DeepL.png ├── OpenAI.png └── Translation.png ├── icon.png ├── info.plist ├── libs ├── CHANGELOG.md ├── LICENSE ├── SECURITY.md ├── aiohttp-3.8.4.dist-info │ ├── INSTALLER │ ├── LICENSE.txt │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── aiohttp │ ├── .hash │ │ ├── _cparser.pxd.hash │ │ ├── _find_header.pxd.hash │ │ ├── _helpers.pyi.hash │ │ ├── _helpers.pyx.hash │ │ ├── _http_parser.pyx.hash │ │ ├── _http_writer.pyx.hash │ │ ├── _websocket.pyx.hash │ │ └── hdrs.py.hash │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── abc.cpython-311.pyc │ │ ├── base_protocol.cpython-311.pyc │ │ ├── client.cpython-311.pyc │ │ ├── client_exceptions.cpython-311.pyc │ │ ├── client_proto.cpython-311.pyc │ │ ├── client_reqrep.cpython-311.pyc │ │ ├── client_ws.cpython-311.pyc │ │ ├── connector.cpython-311.pyc │ │ ├── cookiejar.cpython-311.pyc │ │ ├── formdata.cpython-311.pyc │ │ ├── hdrs.cpython-311.pyc │ │ ├── helpers.cpython-311.pyc │ │ ├── http.cpython-311.pyc │ │ ├── http_exceptions.cpython-311.pyc │ │ ├── http_parser.cpython-311.pyc │ │ ├── http_websocket.cpython-311.pyc │ │ ├── http_writer.cpython-311.pyc │ │ ├── locks.cpython-311.pyc │ │ ├── log.cpython-311.pyc │ │ ├── multipart.cpython-311.pyc │ │ ├── payload.cpython-311.pyc │ │ ├── payload_streamer.cpython-311.pyc │ │ ├── resolver.cpython-311.pyc │ │ ├── streams.cpython-311.pyc │ │ ├── tcp_helpers.cpython-311.pyc │ │ ├── tracing.cpython-311.pyc │ │ ├── typedefs.cpython-311.pyc │ │ └── worker.cpython-311.pyc │ ├── _cparser.pxd │ ├── _find_header.pxd │ ├── _headers.pxi │ ├── _helpers.cpython-39-darwin.so │ ├── _helpers.pyi │ ├── _helpers.pyx │ ├── _http_parser.cpython-39-darwin.so │ ├── _http_parser.pyx │ ├── _http_writer.cpython-39-darwin.so │ ├── _http_writer.pyx │ ├── _websocket.cpython-39-darwin.so │ ├── _websocket.pyx │ ├── abc.py │ ├── base_protocol.py │ ├── client.py │ ├── client_exceptions.py │ ├── client_proto.py │ ├── client_reqrep.py │ ├── client_ws.py │ ├── connector.py │ ├── cookiejar.py │ ├── formdata.py │ ├── hdrs.py │ ├── helpers.py │ ├── http.py │ ├── http_exceptions.py │ ├── http_parser.py │ ├── http_websocket.py │ ├── http_writer.py │ ├── locks.py │ ├── log.py │ ├── multipart.py │ ├── payload.py │ ├── payload_streamer.py │ ├── py.typed │ ├── pytest_plugin.py │ ├── resolver.py │ ├── streams.py │ ├── tcp_helpers.py │ ├── test_utils.py │ ├── tracing.py │ ├── typedefs.py │ ├── web.py │ ├── web_app.py │ ├── web_exceptions.py │ ├── web_fileresponse.py │ ├── web_log.py │ ├── web_middlewares.py │ ├── web_protocol.py │ ├── web_request.py │ ├── web_response.py │ ├── web_routedef.py │ ├── web_runner.py │ ├── web_server.py │ ├── web_urldispatcher.py │ ├── web_ws.py │ └── worker.py ├── aiosignal-1.3.1.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── aiosignal │ ├── __init__.py │ ├── __init__.pyi │ ├── __pycache__ │ │ └── __init__.cpython-311.pyc │ └── py.typed ├── async_timeout-4.0.2.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ ├── top_level.txt │ └── zip-safe ├── async_timeout │ ├── __init__.py │ ├── __pycache__ │ │ └── __init__.cpython-311.pyc │ └── py.typed ├── attr │ ├── __init__.py │ ├── __init__.pyi │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _cmp.cpython-311.pyc │ │ ├── _compat.cpython-311.pyc │ │ ├── _config.cpython-311.pyc │ │ ├── _funcs.cpython-311.pyc │ │ ├── _make.cpython-311.pyc │ │ ├── _next_gen.cpython-311.pyc │ │ ├── _version_info.cpython-311.pyc │ │ ├── converters.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── filters.cpython-311.pyc │ │ ├── setters.cpython-311.pyc │ │ └── validators.cpython-311.pyc │ ├── _cmp.py │ ├── _cmp.pyi │ ├── _compat.py │ ├── _config.py │ ├── _funcs.py │ ├── _make.py │ ├── _next_gen.py │ ├── _typing_compat.pyi │ ├── _version_info.py │ ├── _version_info.pyi │ ├── converters.py │ ├── converters.pyi │ ├── exceptions.py │ ├── exceptions.pyi │ ├── filters.py │ ├── filters.pyi │ ├── py.typed │ ├── setters.py │ ├── setters.pyi │ ├── validators.py │ └── validators.pyi ├── attrs-23.1.0.dist-info │ ├── INSTALLER │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── licenses │ │ └── LICENSE ├── attrs │ ├── __init__.py │ ├── __init__.pyi │ ├── converters.py │ ├── exceptions.py │ ├── filters.py │ ├── py.typed │ ├── setters.py │ └── validators.py ├── bin │ ├── deepl │ ├── normalizer │ ├── openai │ └── tqdm ├── certifi-2023.5.7.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── certifi │ ├── __init__.py │ ├── __main__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ └── core.cpython-311.pyc │ ├── cacert.pem │ ├── core.py │ └── py.typed ├── chardet-3.0.4.dist-info │ ├── DESCRIPTION.rst │ ├── INSTALLER │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ ├── entry_points.txt │ ├── metadata.json │ └── top_level.txt ├── chardet │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── big5freq.cpython-311.pyc │ │ ├── big5prober.cpython-311.pyc │ │ ├── chardistribution.cpython-311.pyc │ │ ├── charsetgroupprober.cpython-311.pyc │ │ ├── charsetprober.cpython-311.pyc │ │ ├── codingstatemachine.cpython-311.pyc │ │ ├── compat.cpython-311.pyc │ │ ├── cp949prober.cpython-311.pyc │ │ ├── enums.cpython-311.pyc │ │ ├── escprober.cpython-311.pyc │ │ ├── escsm.cpython-311.pyc │ │ ├── eucjpprober.cpython-311.pyc │ │ ├── euckrfreq.cpython-311.pyc │ │ ├── euckrprober.cpython-311.pyc │ │ ├── euctwfreq.cpython-311.pyc │ │ ├── euctwprober.cpython-311.pyc │ │ ├── gb2312freq.cpython-311.pyc │ │ ├── gb2312prober.cpython-311.pyc │ │ ├── hebrewprober.cpython-311.pyc │ │ ├── jisfreq.cpython-311.pyc │ │ ├── jpcntx.cpython-311.pyc │ │ ├── langbulgarianmodel.cpython-311.pyc │ │ ├── langcyrillicmodel.cpython-311.pyc │ │ ├── langgreekmodel.cpython-311.pyc │ │ ├── langhebrewmodel.cpython-311.pyc │ │ ├── langthaimodel.cpython-311.pyc │ │ ├── langturkishmodel.cpython-311.pyc │ │ ├── latin1prober.cpython-311.pyc │ │ ├── mbcharsetprober.cpython-311.pyc │ │ ├── mbcsgroupprober.cpython-311.pyc │ │ ├── mbcssm.cpython-311.pyc │ │ ├── sbcharsetprober.cpython-311.pyc │ │ ├── sbcsgroupprober.cpython-311.pyc │ │ ├── sjisprober.cpython-311.pyc │ │ ├── universaldetector.cpython-311.pyc │ │ ├── utf8prober.cpython-311.pyc │ │ └── version.cpython-311.pyc │ ├── big5freq.py │ ├── big5prober.py │ ├── chardistribution.py │ ├── charsetgroupprober.py │ ├── charsetprober.py │ ├── cli │ │ ├── __init__.py │ │ └── chardetect.py │ ├── codingstatemachine.py │ ├── compat.py │ ├── cp949prober.py │ ├── enums.py │ ├── escprober.py │ ├── escsm.py │ ├── eucjpprober.py │ ├── euckrfreq.py │ ├── euckrprober.py │ ├── euctwfreq.py │ ├── euctwprober.py │ ├── gb2312freq.py │ ├── gb2312prober.py │ ├── hebrewprober.py │ ├── jisfreq.py │ ├── jpcntx.py │ ├── langbulgarianmodel.py │ ├── langcyrillicmodel.py │ ├── langgreekmodel.py │ ├── langhebrewmodel.py │ ├── langhungarianmodel.py │ ├── langthaimodel.py │ ├── langturkishmodel.py │ ├── latin1prober.py │ ├── mbcharsetprober.py │ ├── mbcsgroupprober.py │ ├── mbcssm.py │ ├── sbcharsetprober.py │ ├── sbcsgroupprober.py │ ├── sjisprober.py │ ├── universaldetector.py │ ├── utf8prober.py │ └── version.py ├── charset_normalizer-3.1.0.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ ├── entry_points.txt │ └── top_level.txt ├── charset_normalizer │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── api.cpython-311.pyc │ │ ├── cd.cpython-311.pyc │ │ ├── constant.cpython-311.pyc │ │ ├── legacy.cpython-311.pyc │ │ ├── md.cpython-311.pyc │ │ ├── models.cpython-311.pyc │ │ ├── utils.cpython-311.pyc │ │ └── version.cpython-311.pyc │ ├── api.py │ ├── assets │ │ ├── __init__.py │ │ └── __pycache__ │ │ │ └── __init__.cpython-311.pyc │ ├── cd.py │ ├── cli │ │ ├── __init__.py │ │ └── normalizer.py │ ├── constant.py │ ├── legacy.py │ ├── md.cpython-39-darwin.so │ ├── md.py │ ├── md__mypyc.cpython-39-darwin.so │ ├── models.py │ ├── py.typed │ ├── utils.py │ └── version.py ├── deepl-1.14.0.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── REQUESTED │ ├── WHEEL │ └── entry_points.txt ├── deepl │ ├── __init__.py │ ├── __main__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── http_client.cpython-311.pyc │ │ ├── translator.cpython-311.pyc │ │ ├── util.cpython-311.pyc │ │ └── version.cpython-311.pyc │ ├── exceptions.py │ ├── http_client.py │ ├── translator.py │ ├── util.py │ └── version.py ├── frozenlist-1.3.3.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── frozenlist │ ├── __init__.py │ ├── __init__.pyi │ ├── __pycache__ │ │ └── __init__.cpython-311.pyc │ ├── _frozenlist.cpython-39-darwin.so │ ├── _frozenlist.pyx │ └── py.typed ├── googletrans-3.1.0a0.dist-info │ ├── INSTALLER │ ├── METADATA │ ├── RECORD │ ├── REQUESTED │ ├── WHEEL │ └── top_level.txt ├── googletrans │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── client.cpython-311.pyc │ │ ├── constants.cpython-311.pyc │ │ ├── gtoken.cpython-311.pyc │ │ ├── models.cpython-311.pyc │ │ ├── urls.cpython-311.pyc │ │ └── utils.cpython-311.pyc │ ├── client.py │ ├── constants.py │ ├── gtoken.py │ ├── models.py │ ├── urls.py │ └── utils.py ├── h11-0.9.0.dist-info │ ├── INSTALLER │ ├── LICENSE.txt │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── h11 │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _abnf.cpython-311.pyc │ │ ├── _connection.cpython-311.pyc │ │ ├── _events.cpython-311.pyc │ │ ├── _headers.cpython-311.pyc │ │ ├── _readers.cpython-311.pyc │ │ ├── _receivebuffer.cpython-311.pyc │ │ ├── _state.cpython-311.pyc │ │ ├── _util.cpython-311.pyc │ │ ├── _version.cpython-311.pyc │ │ └── _writers.cpython-311.pyc │ ├── _abnf.py │ ├── _connection.py │ ├── _events.py │ ├── _headers.py │ ├── _readers.py │ ├── _receivebuffer.py │ ├── _state.py │ ├── _util.py │ ├── _version.py │ ├── _writers.py │ └── tests │ │ ├── __init__.py │ │ ├── data │ │ └── test-file │ │ ├── helpers.py │ │ ├── test_against_stdlib_http.py │ │ ├── test_connection.py │ │ ├── test_events.py │ │ ├── test_headers.py │ │ ├── test_helpers.py │ │ ├── test_io.py │ │ ├── test_receivebuffer.py │ │ ├── test_state.py │ │ └── test_util.py ├── h2-3.2.0.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── h2 │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── config.cpython-311.pyc │ │ ├── connection.cpython-311.pyc │ │ ├── errors.cpython-311.pyc │ │ ├── events.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── frame_buffer.cpython-311.pyc │ │ ├── settings.cpython-311.pyc │ │ ├── stream.cpython-311.pyc │ │ ├── utilities.cpython-311.pyc │ │ └── windows.cpython-311.pyc │ ├── config.py │ ├── connection.py │ ├── errors.py │ ├── events.py │ ├── exceptions.py │ ├── frame_buffer.py │ ├── settings.py │ ├── stream.py │ ├── utilities.py │ └── windows.py ├── hpack-3.0.0.dist-info │ ├── DESCRIPTION.rst │ ├── INSTALLER │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ ├── metadata.json │ └── top_level.txt ├── hpack │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── compat.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── hpack.cpython-311.pyc │ │ ├── huffman.cpython-311.pyc │ │ ├── huffman_constants.cpython-311.pyc │ │ ├── huffman_table.cpython-311.pyc │ │ ├── struct.cpython-311.pyc │ │ └── table.cpython-311.pyc │ ├── compat.py │ ├── exceptions.py │ ├── hpack.py │ ├── hpack_compat.py │ ├── huffman.py │ ├── huffman_constants.py │ ├── huffman_table.py │ ├── struct.py │ └── table.py ├── hstspreload-2023.1.1.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── hstspreload │ ├── __init__.py │ ├── __pycache__ │ │ └── __init__.cpython-311.pyc │ └── hstspreload.bin ├── httpcore-0.9.1.dist-info │ ├── INSTALLER │ ├── LICENSE.md │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── httpcore │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _exceptions.cpython-311.pyc │ │ ├── _threadlock.cpython-311.pyc │ │ ├── _types.cpython-311.pyc │ │ └── _utils.cpython-311.pyc │ ├── _async │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── base.cpython-311.pyc │ │ │ ├── connection.cpython-311.pyc │ │ │ ├── connection_pool.cpython-311.pyc │ │ │ ├── http11.cpython-311.pyc │ │ │ ├── http2.cpython-311.pyc │ │ │ └── http_proxy.cpython-311.pyc │ │ ├── base.py │ │ ├── connection.py │ │ ├── connection_pool.py │ │ ├── http11.py │ │ ├── http2.py │ │ └── http_proxy.py │ ├── _backends │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── auto.cpython-311.pyc │ │ │ ├── base.cpython-311.pyc │ │ │ └── sync.cpython-311.pyc │ │ ├── asyncio.py │ │ ├── auto.py │ │ ├── base.py │ │ ├── sync.py │ │ └── trio.py │ ├── _exceptions.py │ ├── _sync │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── base.cpython-311.pyc │ │ │ ├── connection.cpython-311.pyc │ │ │ ├── connection_pool.cpython-311.pyc │ │ │ ├── http11.cpython-311.pyc │ │ │ ├── http2.cpython-311.pyc │ │ │ └── http_proxy.cpython-311.pyc │ │ ├── base.py │ │ ├── connection.py │ │ ├── connection_pool.py │ │ ├── http11.py │ │ ├── http2.py │ │ └── http_proxy.py │ ├── _threadlock.py │ ├── _types.py │ ├── _utils.py │ └── py.typed ├── httpx-0.13.3.dist-info │ ├── INSTALLER │ ├── LICENSE.md │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── httpx │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── __version__.cpython-311.pyc │ │ ├── _api.cpython-311.pyc │ │ ├── _auth.cpython-311.pyc │ │ ├── _client.cpython-311.pyc │ │ ├── _config.cpython-311.pyc │ │ ├── _content_streams.cpython-311.pyc │ │ ├── _decoders.cpython-311.pyc │ │ ├── _exceptions.cpython-311.pyc │ │ ├── _models.cpython-311.pyc │ │ ├── _status_codes.cpython-311.pyc │ │ ├── _types.cpython-311.pyc │ │ └── _utils.cpython-311.pyc │ ├── __version__.py │ ├── _api.py │ ├── _auth.py │ ├── _client.py │ ├── _config.py │ ├── _content_streams.py │ ├── _decoders.py │ ├── _exceptions.py │ ├── _models.py │ ├── _status_codes.py │ ├── _transports │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── asgi.cpython-311.pyc │ │ │ ├── urllib3.cpython-311.pyc │ │ │ └── wsgi.cpython-311.pyc │ │ ├── asgi.py │ │ ├── urllib3.py │ │ └── wsgi.py │ ├── _types.py │ ├── _utils.py │ └── py.typed ├── hyperframe-5.2.0.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── hyperframe │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── flags.cpython-311.pyc │ │ └── frame.cpython-311.pyc │ ├── exceptions.py │ ├── flags.py │ └── frame.py ├── idna-2.10.dist-info │ ├── INSTALLER │ ├── LICENSE.rst │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── idna-3.4.dist-info │ ├── INSTALLER │ ├── LICENSE.md │ ├── METADATA │ ├── RECORD │ └── WHEEL ├── idna │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── core.cpython-311.pyc │ │ ├── idnadata.cpython-311.pyc │ │ ├── intranges.cpython-311.pyc │ │ └── package_data.cpython-311.pyc │ ├── codec.py │ ├── compat.py │ ├── core.py │ ├── idnadata.py │ ├── intranges.py │ ├── package_data.py │ ├── py.typed │ └── uts46data.py ├── multidict-6.0.4.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── multidict │ ├── __init__.py │ ├── __init__.pyi │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _abc.cpython-311.pyc │ │ ├── _compat.cpython-311.pyc │ │ └── _multidict_py.cpython-311.pyc │ ├── _abc.py │ ├── _compat.py │ ├── _multidict.cpython-39-darwin.so │ ├── _multidict_base.py │ ├── _multidict_py.py │ └── py.typed ├── openai-0.27.7.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── REQUESTED │ ├── WHEEL │ ├── entry_points.txt │ ├── top_level.txt │ └── zip-safe ├── openai │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── api_requestor.cpython-311.pyc │ │ ├── error.cpython-311.pyc │ │ ├── object_classes.cpython-311.pyc │ │ ├── openai_object.cpython-311.pyc │ │ ├── openai_response.cpython-311.pyc │ │ ├── util.cpython-311.pyc │ │ └── version.cpython-311.pyc │ ├── _openai_scripts.py │ ├── api_requestor.py │ ├── api_resources │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── audio.cpython-311.pyc │ │ │ ├── chat_completion.cpython-311.pyc │ │ │ ├── completion.cpython-311.pyc │ │ │ ├── customer.cpython-311.pyc │ │ │ ├── deployment.cpython-311.pyc │ │ │ ├── edit.cpython-311.pyc │ │ │ ├── embedding.cpython-311.pyc │ │ │ ├── engine.cpython-311.pyc │ │ │ ├── error_object.cpython-311.pyc │ │ │ ├── file.cpython-311.pyc │ │ │ ├── fine_tune.cpython-311.pyc │ │ │ ├── image.cpython-311.pyc │ │ │ ├── model.cpython-311.pyc │ │ │ └── moderation.cpython-311.pyc │ │ ├── abstract │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-311.pyc │ │ │ │ ├── api_resource.cpython-311.pyc │ │ │ │ ├── createable_api_resource.cpython-311.pyc │ │ │ │ ├── deletable_api_resource.cpython-311.pyc │ │ │ │ ├── engine_api_resource.cpython-311.pyc │ │ │ │ ├── listable_api_resource.cpython-311.pyc │ │ │ │ ├── nested_resource_class_methods.cpython-311.pyc │ │ │ │ └── updateable_api_resource.cpython-311.pyc │ │ │ ├── api_resource.py │ │ │ ├── createable_api_resource.py │ │ │ ├── deletable_api_resource.py │ │ │ ├── engine_api_resource.py │ │ │ ├── listable_api_resource.py │ │ │ ├── nested_resource_class_methods.py │ │ │ └── updateable_api_resource.py │ │ ├── audio.py │ │ ├── chat_completion.py │ │ ├── completion.py │ │ ├── customer.py │ │ ├── deployment.py │ │ ├── edit.py │ │ ├── embedding.py │ │ ├── engine.py │ │ ├── error_object.py │ │ ├── experimental │ │ │ ├── __init__.py │ │ │ ├── __pycache__ │ │ │ │ ├── __init__.cpython-311.pyc │ │ │ │ └── completion_config.cpython-311.pyc │ │ │ └── completion_config.py │ │ ├── file.py │ │ ├── fine_tune.py │ │ ├── image.py │ │ ├── model.py │ │ └── moderation.py │ ├── cli.py │ ├── datalib │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── common.cpython-311.pyc │ │ │ └── numpy_helper.cpython-311.pyc │ │ ├── common.py │ │ ├── numpy_helper.py │ │ └── pandas_helper.py │ ├── embeddings_utils.py │ ├── error.py │ ├── object_classes.py │ ├── openai_object.py │ ├── openai_response.py │ ├── py.typed │ ├── tests │ │ ├── __init__.py │ │ ├── asyncio │ │ │ ├── __init__.py │ │ │ └── test_endpoints.py │ │ ├── test_api_requestor.py │ │ ├── test_endpoints.py │ │ ├── test_exceptions.py │ │ ├── test_file_cli.py │ │ ├── test_long_examples_validator.py │ │ ├── test_url_composition.py │ │ └── test_util.py │ ├── upload_progress.py │ ├── util.py │ ├── validators.py │ ├── version.py │ └── wandb_logger.py ├── requests-2.31.0.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── requests │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── __version__.cpython-311.pyc │ │ ├── _internal_utils.cpython-311.pyc │ │ ├── adapters.cpython-311.pyc │ │ ├── api.cpython-311.pyc │ │ ├── auth.cpython-311.pyc │ │ ├── certs.cpython-311.pyc │ │ ├── compat.cpython-311.pyc │ │ ├── cookies.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── hooks.cpython-311.pyc │ │ ├── models.cpython-311.pyc │ │ ├── packages.cpython-311.pyc │ │ ├── sessions.cpython-311.pyc │ │ ├── status_codes.cpython-311.pyc │ │ ├── structures.cpython-311.pyc │ │ └── utils.cpython-311.pyc │ ├── __version__.py │ ├── _internal_utils.py │ ├── adapters.py │ ├── api.py │ ├── auth.py │ ├── certs.py │ ├── compat.py │ ├── cookies.py │ ├── exceptions.py │ ├── help.py │ ├── hooks.py │ ├── models.py │ ├── packages.py │ ├── sessions.py │ ├── status_codes.py │ ├── structures.py │ └── utils.py ├── rfc3986-1.5.0.dist-info │ ├── AUTHORS.rst │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── rfc3986 │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _mixin.cpython-311.pyc │ │ ├── abnf_regexp.cpython-311.pyc │ │ ├── api.cpython-311.pyc │ │ ├── compat.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── iri.cpython-311.pyc │ │ ├── misc.cpython-311.pyc │ │ ├── normalizers.cpython-311.pyc │ │ ├── parseresult.cpython-311.pyc │ │ ├── uri.cpython-311.pyc │ │ └── validators.cpython-311.pyc │ ├── _mixin.py │ ├── abnf_regexp.py │ ├── api.py │ ├── builder.py │ ├── compat.py │ ├── exceptions.py │ ├── iri.py │ ├── misc.py │ ├── normalizers.py │ ├── parseresult.py │ ├── uri.py │ └── validators.py ├── sniffio-1.3.0.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── LICENSE.APACHE2 │ ├── LICENSE.MIT │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt ├── sniffio │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _impl.cpython-311.pyc │ │ └── _version.cpython-311.pyc │ ├── _impl.py │ ├── _tests │ │ ├── __init__.py │ │ └── test_sniffio.py │ ├── _version.py │ └── py.typed ├── tqdm-4.65.0.dist-info │ ├── INSTALLER │ ├── LICENCE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ ├── entry_points.txt │ └── top_level.txt ├── tqdm │ ├── __init__.py │ ├── __main__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _dist_ver.cpython-311.pyc │ │ ├── _monitor.cpython-311.pyc │ │ ├── _tqdm_pandas.cpython-311.pyc │ │ ├── cli.cpython-311.pyc │ │ ├── gui.cpython-311.pyc │ │ ├── std.cpython-311.pyc │ │ ├── utils.cpython-311.pyc │ │ └── version.cpython-311.pyc │ ├── _dist_ver.py │ ├── _main.py │ ├── _monitor.py │ ├── _tqdm.py │ ├── _tqdm_gui.py │ ├── _tqdm_notebook.py │ ├── _tqdm_pandas.py │ ├── _utils.py │ ├── asyncio.py │ ├── auto.py │ ├── autonotebook.py │ ├── cli.py │ ├── completion.sh │ ├── contrib │ │ ├── __init__.py │ │ ├── bells.py │ │ ├── concurrent.py │ │ ├── discord.py │ │ ├── itertools.py │ │ ├── logging.py │ │ ├── slack.py │ │ ├── telegram.py │ │ └── utils_worker.py │ ├── dask.py │ ├── gui.py │ ├── keras.py │ ├── notebook.py │ ├── rich.py │ ├── std.py │ ├── tk.py │ ├── tqdm.1 │ ├── utils.py │ └── version.py ├── urllib3-1.26.16.dist-info │ ├── INSTALLER │ ├── LICENSE.txt │ ├── METADATA │ ├── RECORD │ ├── REQUESTED │ ├── WHEEL │ └── top_level.txt ├── urllib3 │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── _collections.cpython-311.pyc │ │ ├── _version.cpython-311.pyc │ │ ├── connection.cpython-311.pyc │ │ ├── connectionpool.cpython-311.pyc │ │ ├── exceptions.cpython-311.pyc │ │ ├── fields.cpython-311.pyc │ │ ├── filepost.cpython-311.pyc │ │ ├── poolmanager.cpython-311.pyc │ │ ├── request.cpython-311.pyc │ │ └── response.cpython-311.pyc │ ├── _collections.py │ ├── _version.py │ ├── connection.py │ ├── connectionpool.py │ ├── contrib │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ ├── _appengine_environ.cpython-311.pyc │ │ │ └── socks.cpython-311.pyc │ │ ├── _appengine_environ.py │ │ ├── _securetransport │ │ │ ├── __init__.py │ │ │ ├── bindings.py │ │ │ └── low_level.py │ │ ├── appengine.py │ │ ├── ntlmpool.py │ │ ├── pyopenssl.py │ │ ├── securetransport.py │ │ └── socks.py │ ├── exceptions.py │ ├── fields.py │ ├── filepost.py │ ├── packages │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-311.pyc │ │ │ └── six.cpython-311.pyc │ │ ├── backports │ │ │ ├── __init__.py │ │ │ ├── makefile.py │ │ │ └── weakref_finalize.py │ │ └── six.py │ ├── poolmanager.py │ ├── request.py │ ├── response.py │ └── util │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-311.pyc │ │ ├── connection.cpython-311.pyc │ │ ├── proxy.cpython-311.pyc │ │ ├── queue.cpython-311.pyc │ │ ├── request.cpython-311.pyc │ │ ├── response.cpython-311.pyc │ │ ├── retry.cpython-311.pyc │ │ ├── ssl_.cpython-311.pyc │ │ ├── ssl_match_hostname.cpython-311.pyc │ │ ├── ssltransport.cpython-311.pyc │ │ ├── timeout.cpython-311.pyc │ │ ├── url.cpython-311.pyc │ │ └── wait.cpython-311.pyc │ │ ├── connection.py │ │ ├── proxy.py │ │ ├── queue.py │ │ ├── request.py │ │ ├── response.py │ │ ├── retry.py │ │ ├── ssl_.py │ │ ├── ssl_match_hostname.py │ │ ├── ssltransport.py │ │ ├── timeout.py │ │ ├── url.py │ │ └── wait.py ├── yarl-1.9.2.dist-info │ ├── INSTALLER │ ├── LICENSE │ ├── METADATA │ ├── RECORD │ ├── WHEEL │ └── top_level.txt └── yarl │ ├── __init__.py │ ├── __init__.pyi │ ├── __pycache__ │ ├── __init__.cpython-311.pyc │ ├── _quoting.cpython-311.pyc │ ├── _quoting_py.cpython-311.pyc │ └── _url.cpython-311.pyc │ ├── _quoting.py │ ├── _quoting_c.cpython-39-darwin.so │ ├── _quoting_c.pyi │ ├── _quoting_c.pyx │ ├── _quoting_py.py │ ├── _url.py │ └── py.typed └── translate.py /assets/DeepL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/assets/DeepL.png -------------------------------------------------------------------------------- /assets/OpenAI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/assets/OpenAI.png -------------------------------------------------------------------------------- /assets/Translation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/assets/Translation.png -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/icon.png -------------------------------------------------------------------------------- /libs/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright 2022 DeepL SE (https://www.deepl.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /libs/aiohttp-3.8.4.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/aiohttp-3.8.4.dist-info/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright aio-libs contributors. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /libs/aiohttp-3.8.4.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.4) 3 | Root-Is-Purelib: false 4 | Tag: cp39-cp39-macosx_11_0_arm64 5 | 6 | -------------------------------------------------------------------------------- /libs/aiohttp-3.8.4.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | aiohttp 2 | -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_cparser.pxd.hash: -------------------------------------------------------------------------------- 1 | e6d134d56d5f516ab2b5c3b295d0d440a3bef911f4384d506204018895a1f833 -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_find_header.pxd.hash: -------------------------------------------------------------------------------- 1 | d067f01423cddb3c442933b5fcc039b18ab651fcec1bc91c577693aafc25cf78 -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_helpers.pyi.hash: -------------------------------------------------------------------------------- 1 | 6682a22524b9d4fc442e123672622be7bdfb6238d9709b7b15b2113b7ca6d52b -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_helpers.pyx.hash: -------------------------------------------------------------------------------- 1 | 5de2db35fb795ffe227e2f1007c8ba4f2ad1b9aca28cc48edc80c779203cf6e3 -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_http_parser.pyx.hash: -------------------------------------------------------------------------------- 1 | d6edfcfc44b0e55812a9a8f1d669c674ee87aa4d28bfd3f1785ade1eae24b683 -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_http_writer.pyx.hash: -------------------------------------------------------------------------------- 1 | 6881c0a7c838655e646c645d99971efaf5e310bc3633a7c62b226e39d81842ac -------------------------------------------------------------------------------- /libs/aiohttp/.hash/_websocket.pyx.hash: -------------------------------------------------------------------------------- 1 | d57b8e48d0c26f20ebcc5e6e300da2b2a6aeb12b3c9768d64cb0e53432ccf48a -------------------------------------------------------------------------------- /libs/aiohttp/.hash/hdrs.py.hash: -------------------------------------------------------------------------------- 1 | a30351c34760a1d7835b2a1b0552e463cf1d2db90da0cdb473313dc66e34a031 -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/abc.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/abc.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/base_protocol.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/base_protocol.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/client.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/client.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/client_exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/client_exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/client_proto.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/client_proto.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/client_reqrep.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/client_reqrep.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/client_ws.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/client_ws.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/connector.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/connector.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/cookiejar.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/cookiejar.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/formdata.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/formdata.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/hdrs.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/hdrs.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/helpers.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/helpers.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/http.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/http.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/http_exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/http_exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/http_parser.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/http_parser.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/http_websocket.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/http_websocket.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/http_writer.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/http_writer.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/locks.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/locks.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/log.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/log.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/multipart.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/multipart.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/payload.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/payload.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/payload_streamer.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/payload_streamer.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/resolver.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/resolver.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/streams.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/streams.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/tcp_helpers.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/tcp_helpers.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/tracing.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/tracing.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/typedefs.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/typedefs.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/__pycache__/worker.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/__pycache__/worker.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiohttp/_find_header.pxd: -------------------------------------------------------------------------------- 1 | cdef extern from "_find_header.h": 2 | int find_header(char *, int) 3 | -------------------------------------------------------------------------------- /libs/aiohttp/_helpers.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/_helpers.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/aiohttp/_helpers.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class reify: 4 | def __init__(self, wrapped: Any) -> None: ... 5 | def __get__(self, inst: Any, owner: Any) -> Any: ... 6 | def __set__(self, inst: Any, value: Any) -> None: ... 7 | -------------------------------------------------------------------------------- /libs/aiohttp/_helpers.pyx: -------------------------------------------------------------------------------- 1 | cdef class reify: 2 | """Use as a class method decorator. It operates almost exactly like 3 | the Python `@property` decorator, but it puts the result of the 4 | method it decorates into the instance dict after the first call, 5 | effectively replacing the function it decorates with an instance 6 | variable. It is, in Python parlance, a data descriptor. 7 | 8 | """ 9 | 10 | cdef object wrapped 11 | cdef object name 12 | 13 | def __init__(self, wrapped): 14 | self.wrapped = wrapped 15 | self.name = wrapped.__name__ 16 | 17 | @property 18 | def __doc__(self): 19 | return self.wrapped.__doc__ 20 | 21 | def __get__(self, inst, owner): 22 | try: 23 | try: 24 | return inst._cache[self.name] 25 | except KeyError: 26 | val = self.wrapped(inst) 27 | inst._cache[self.name] = val 28 | return val 29 | except AttributeError: 30 | if inst is None: 31 | return self 32 | raise 33 | 34 | def __set__(self, inst, value): 35 | raise AttributeError("reified property is read-only") 36 | -------------------------------------------------------------------------------- /libs/aiohttp/_http_parser.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/_http_parser.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/aiohttp/_http_writer.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/_http_writer.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/aiohttp/_websocket.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiohttp/_websocket.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/aiohttp/log.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | access_logger = logging.getLogger("aiohttp.access") 4 | client_logger = logging.getLogger("aiohttp.client") 5 | internal_logger = logging.getLogger("aiohttp.internal") 6 | server_logger = logging.getLogger("aiohttp.server") 7 | web_logger = logging.getLogger("aiohttp.web") 8 | ws_logger = logging.getLogger("aiohttp.websocket") 9 | -------------------------------------------------------------------------------- /libs/aiohttp/py.typed: -------------------------------------------------------------------------------- 1 | Marker 2 | -------------------------------------------------------------------------------- /libs/aiohttp/tcp_helpers.py: -------------------------------------------------------------------------------- 1 | """Helper methods to tune a TCP connection""" 2 | 3 | import asyncio 4 | import socket 5 | from contextlib import suppress 6 | from typing import Optional # noqa 7 | 8 | __all__ = ("tcp_keepalive", "tcp_nodelay") 9 | 10 | 11 | if hasattr(socket, "SO_KEEPALIVE"): 12 | 13 | def tcp_keepalive(transport: asyncio.Transport) -> None: 14 | sock = transport.get_extra_info("socket") 15 | if sock is not None: 16 | sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) 17 | 18 | else: 19 | 20 | def tcp_keepalive(transport: asyncio.Transport) -> None: # pragma: no cover 21 | pass 22 | 23 | 24 | def tcp_nodelay(transport: asyncio.Transport, value: bool) -> None: 25 | sock = transport.get_extra_info("socket") 26 | 27 | if sock is None: 28 | return 29 | 30 | if sock.family not in (socket.AF_INET, socket.AF_INET6): 31 | return 32 | 33 | value = bool(value) 34 | 35 | # socket may be closed already, on windows OSError get raised 36 | with suppress(OSError): 37 | sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, value) 38 | -------------------------------------------------------------------------------- /libs/aiosignal-1.3.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/aiosignal-1.3.1.dist-info/RECORD: -------------------------------------------------------------------------------- 1 | ../../../../../../../../../Users/yinanchen/Library/Caches/com.apple.python/private/var/folders/mj/9ptdvvyj6vd_d80g6y817crw0000gn/T/pip-target-9e_l4dux/lib/python/aiosignal/__init__.cpython-39.pyc,, 2 | aiosignal-1.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 3 | aiosignal-1.3.1.dist-info/LICENSE,sha256=b9UkPpLdf5jsacesN3co50kFcJ_1J6W_mNbQJjwE9bY,11332 4 | aiosignal-1.3.1.dist-info/METADATA,sha256=c0HRnlYzfXKztZPTFDlPfygizTherhG5WdwXlvco0Ug,4008 5 | aiosignal-1.3.1.dist-info/RECORD,, 6 | aiosignal-1.3.1.dist-info/WHEEL,sha256=ZL1lC_LiPDNRgDnOl2taCMc83aPEUZgHHv2h-LDgdiM,92 7 | aiosignal-1.3.1.dist-info/top_level.txt,sha256=z45aNOKGDdrI1roqZY3BGXQ22kJFPHBmVdwtLYLtXC0,10 8 | aiosignal/__init__.py,sha256=zQNfFYRSd84bswvpFv8ZWjEr5DeYwV3LXbMSyo2222s,867 9 | aiosignal/__init__.pyi,sha256=xeCddYSS8fZAkz8S4HuKSR2IDe3N7RW_LKcXDPPA1Xk,311 10 | aiosignal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 11 | -------------------------------------------------------------------------------- /libs/aiosignal-1.3.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.2) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/aiosignal-1.3.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | aiosignal 2 | -------------------------------------------------------------------------------- /libs/aiosignal/__init__.py: -------------------------------------------------------------------------------- 1 | from frozenlist import FrozenList 2 | 3 | __version__ = "1.3.1" 4 | 5 | __all__ = ("Signal",) 6 | 7 | 8 | class Signal(FrozenList): 9 | """Coroutine-based signal implementation. 10 | 11 | To connect a callback to a signal, use any list method. 12 | 13 | Signals are fired using the send() coroutine, which takes named 14 | arguments. 15 | """ 16 | 17 | __slots__ = ("_owner",) 18 | 19 | def __init__(self, owner): 20 | super().__init__() 21 | self._owner = owner 22 | 23 | def __repr__(self): 24 | return "".format( 25 | self._owner, self.frozen, list(self) 26 | ) 27 | 28 | async def send(self, *args, **kwargs): 29 | """ 30 | Sends data to all registered receivers. 31 | """ 32 | if not self.frozen: 33 | raise RuntimeError("Cannot send non-frozen signal.") 34 | 35 | for receiver in self: 36 | await receiver(*args, **kwargs) # type: ignore 37 | -------------------------------------------------------------------------------- /libs/aiosignal/__init__.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Generic, TypeVar 2 | 3 | from frozenlist import FrozenList 4 | 5 | __all__ = ("Signal",) 6 | 7 | _T = TypeVar("_T") 8 | 9 | class Signal(FrozenList[_T], Generic[_T]): 10 | def __init__(self, owner: Any) -> None: ... 11 | def __repr__(self) -> str: ... 12 | async def send(self, *args: Any, **kwargs: Any) -> None: ... 13 | -------------------------------------------------------------------------------- /libs/aiosignal/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiosignal/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/aiosignal/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/aiosignal/py.typed -------------------------------------------------------------------------------- /libs/async_timeout-4.0.2.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/async_timeout-4.0.2.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2016-2020 aio-libs collaboration. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /libs/async_timeout-4.0.2.dist-info/RECORD: -------------------------------------------------------------------------------- 1 | ../../../../../../../../../Users/yinanchen/Library/Caches/com.apple.python/private/var/folders/mj/9ptdvvyj6vd_d80g6y817crw0000gn/T/pip-target-9e_l4dux/lib/python/async_timeout/__init__.cpython-39.pyc,, 2 | async_timeout-4.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 3 | async_timeout-4.0.2.dist-info/LICENSE,sha256=4Y17uPUT4sRrtYXJS1hb0wcg3TzLId2weG9y0WZY-Sw,568 4 | async_timeout-4.0.2.dist-info/METADATA,sha256=2pfMxxBst5vQ7SfMy5TDaDU0cRgCSQa7wcD5eI-Ew-8,4193 5 | async_timeout-4.0.2.dist-info/RECORD,, 6 | async_timeout-4.0.2.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92 7 | async_timeout-4.0.2.dist-info/top_level.txt,sha256=9oM4e7Twq8iD_7_Q3Mz0E6GPIB6vJvRFo-UBwUQtBDU,14 8 | async_timeout-4.0.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1 9 | async_timeout/__init__.py,sha256=N-JUI_VExhHnO0emkF_-h08dl4HBgOje16N4Ci-W-go,7487 10 | async_timeout/py.typed,sha256=tyozzRT1fziXETDxokmuyt6jhOmtjUbnVNJdZcG7ik0,12 11 | -------------------------------------------------------------------------------- /libs/async_timeout-4.0.2.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.37.0) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/async_timeout-4.0.2.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | async_timeout 2 | -------------------------------------------------------------------------------- /libs/async_timeout-4.0.2.dist-info/zip-safe: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /libs/async_timeout/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/async_timeout/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/async_timeout/py.typed: -------------------------------------------------------------------------------- 1 | Placeholder 2 | -------------------------------------------------------------------------------- /libs/attr/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_cmp.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_cmp.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_compat.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_compat.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_config.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_config.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_funcs.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_funcs.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_make.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_make.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_next_gen.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_next_gen.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/_version_info.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/_version_info.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/converters.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/converters.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/filters.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/filters.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/setters.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/setters.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/__pycache__/validators.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/__pycache__/validators.cpython-311.pyc -------------------------------------------------------------------------------- /libs/attr/_cmp.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Callable, Optional, Type 2 | 3 | _CompareWithType = Callable[[Any, Any], bool] 4 | 5 | def cmp_using( 6 | eq: Optional[_CompareWithType] = ..., 7 | lt: Optional[_CompareWithType] = ..., 8 | le: Optional[_CompareWithType] = ..., 9 | gt: Optional[_CompareWithType] = ..., 10 | ge: Optional[_CompareWithType] = ..., 11 | require_same_type: bool = ..., 12 | class_name: str = ..., 13 | ) -> Type: ... 14 | -------------------------------------------------------------------------------- /libs/attr/_config.py: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | 3 | 4 | __all__ = ["set_run_validators", "get_run_validators"] 5 | 6 | _run_validators = True 7 | 8 | 9 | def set_run_validators(run): 10 | """ 11 | Set whether or not validators are run. By default, they are run. 12 | 13 | .. deprecated:: 21.3.0 It will not be removed, but it also will not be 14 | moved to new ``attrs`` namespace. Use `attrs.validators.set_disabled()` 15 | instead. 16 | """ 17 | if not isinstance(run, bool): 18 | raise TypeError("'run' must be bool.") 19 | global _run_validators 20 | _run_validators = run 21 | 22 | 23 | def get_run_validators(): 24 | """ 25 | Return whether or not validators are run. 26 | 27 | .. deprecated:: 21.3.0 It will not be removed, but it also will not be 28 | moved to new ``attrs`` namespace. Use `attrs.validators.get_disabled()` 29 | instead. 30 | """ 31 | return _run_validators 32 | -------------------------------------------------------------------------------- /libs/attr/_typing_compat.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, ClassVar, Protocol 2 | 3 | # MYPY is a special constant in mypy which works the same way as `TYPE_CHECKING`. 4 | MYPY = False 5 | 6 | if MYPY: 7 | # A protocol to be able to statically accept an attrs class. 8 | class AttrsInstance_(Protocol): 9 | __attrs_attrs__: ClassVar[Any] 10 | 11 | else: 12 | # For type checkers without plug-in support use an empty protocol that 13 | # will (hopefully) be combined into a union. 14 | class AttrsInstance_(Protocol): 15 | pass 16 | -------------------------------------------------------------------------------- /libs/attr/_version_info.pyi: -------------------------------------------------------------------------------- 1 | class VersionInfo: 2 | @property 3 | def year(self) -> int: ... 4 | @property 5 | def minor(self) -> int: ... 6 | @property 7 | def micro(self) -> int: ... 8 | @property 9 | def releaselevel(self) -> str: ... 10 | -------------------------------------------------------------------------------- /libs/attr/converters.pyi: -------------------------------------------------------------------------------- 1 | from typing import Callable, TypeVar, overload 2 | 3 | from . import _ConverterType 4 | 5 | _T = TypeVar("_T") 6 | 7 | def pipe(*validators: _ConverterType) -> _ConverterType: ... 8 | def optional(converter: _ConverterType) -> _ConverterType: ... 9 | @overload 10 | def default_if_none(default: _T) -> _ConverterType: ... 11 | @overload 12 | def default_if_none(*, factory: Callable[[], _T]) -> _ConverterType: ... 13 | def to_bool(val: str) -> bool: ... 14 | -------------------------------------------------------------------------------- /libs/attr/exceptions.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any 2 | 3 | class FrozenError(AttributeError): 4 | msg: str = ... 5 | 6 | class FrozenInstanceError(FrozenError): ... 7 | class FrozenAttributeError(FrozenError): ... 8 | class AttrsAttributeNotFoundError(ValueError): ... 9 | class NotAnAttrsClassError(ValueError): ... 10 | class DefaultAlreadySetError(RuntimeError): ... 11 | class UnannotatedAttributeError(RuntimeError): ... 12 | class PythonTooOldError(RuntimeError): ... 13 | 14 | class NotCallableError(TypeError): 15 | msg: str = ... 16 | value: Any = ... 17 | def __init__(self, msg: str, value: Any) -> None: ... 18 | -------------------------------------------------------------------------------- /libs/attr/filters.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, Union 2 | 3 | from . import Attribute, _FilterType 4 | 5 | def include(*what: Union[type, str, Attribute[Any]]) -> _FilterType[Any]: ... 6 | def exclude(*what: Union[type, str, Attribute[Any]]) -> _FilterType[Any]: ... 7 | -------------------------------------------------------------------------------- /libs/attr/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attr/py.typed -------------------------------------------------------------------------------- /libs/attr/setters.pyi: -------------------------------------------------------------------------------- 1 | from typing import Any, NewType, NoReturn, TypeVar 2 | 3 | from . import Attribute, _OnSetAttrType 4 | 5 | _T = TypeVar("_T") 6 | 7 | def frozen( 8 | instance: Any, attribute: Attribute[Any], new_value: Any 9 | ) -> NoReturn: ... 10 | def pipe(*setters: _OnSetAttrType) -> _OnSetAttrType: ... 11 | def validate(instance: Any, attribute: Attribute[_T], new_value: _T) -> _T: ... 12 | 13 | # convert is allowed to return Any, because they can be chained using pipe. 14 | def convert( 15 | instance: Any, attribute: Attribute[Any], new_value: Any 16 | ) -> Any: ... 17 | 18 | _NoOpType = NewType("_NoOpType", object) 19 | NO_OP: _NoOpType 20 | -------------------------------------------------------------------------------- /libs/attrs-23.1.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/attrs-23.1.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: hatchling 1.14.0 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | -------------------------------------------------------------------------------- /libs/attrs-23.1.0.dist-info/licenses/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Hynek Schlawack and the attrs contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /libs/attrs/converters.py: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | 3 | from attr.converters import * # noqa 4 | -------------------------------------------------------------------------------- /libs/attrs/exceptions.py: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | 3 | from attr.exceptions import * # noqa 4 | -------------------------------------------------------------------------------- /libs/attrs/filters.py: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | 3 | from attr.filters import * # noqa 4 | -------------------------------------------------------------------------------- /libs/attrs/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/attrs/py.typed -------------------------------------------------------------------------------- /libs/attrs/setters.py: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | 3 | from attr.setters import * # noqa 4 | -------------------------------------------------------------------------------- /libs/attrs/validators.py: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: MIT 2 | 3 | from attr.validators import * # noqa 4 | -------------------------------------------------------------------------------- /libs/bin/deepl: -------------------------------------------------------------------------------- 1 | #!/Library/Developer/CommandLineTools/usr/bin/python3 2 | # -*- coding: utf-8 -*- 3 | import re 4 | import sys 5 | from deepl.__main__ import main 6 | if __name__ == '__main__': 7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) 8 | sys.exit(main()) 9 | -------------------------------------------------------------------------------- /libs/bin/normalizer: -------------------------------------------------------------------------------- 1 | #!/Library/Developer/CommandLineTools/usr/bin/python3 2 | # -*- coding: utf-8 -*- 3 | import re 4 | import sys 5 | from charset_normalizer.cli.normalizer import cli_detect 6 | if __name__ == '__main__': 7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) 8 | sys.exit(cli_detect()) 9 | -------------------------------------------------------------------------------- /libs/bin/openai: -------------------------------------------------------------------------------- 1 | #!/Library/Developer/CommandLineTools/usr/bin/python3 2 | # -*- coding: utf-8 -*- 3 | import re 4 | import sys 5 | from openai._openai_scripts import main 6 | if __name__ == '__main__': 7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) 8 | sys.exit(main()) 9 | -------------------------------------------------------------------------------- /libs/bin/tqdm: -------------------------------------------------------------------------------- 1 | #!/Library/Developer/CommandLineTools/usr/bin/python3 2 | # -*- coding: utf-8 -*- 3 | import re 4 | import sys 5 | from tqdm.cli import main 6 | if __name__ == '__main__': 7 | sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) 8 | sys.exit(main()) 9 | -------------------------------------------------------------------------------- /libs/certifi-2023.5.7.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/certifi-2023.5.7.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | This package contains a modified version of ca-bundle.crt: 2 | 3 | ca-bundle.crt -- Bundle of CA Root Certificates 4 | 5 | Certificate data from Mozilla as of: Thu Nov 3 19:04:19 2011# 6 | This is a bundle of X.509 certificates of public Certificate Authorities 7 | (CA). These were automatically extracted from Mozilla's root certificates 8 | file (certdata.txt). This file can be found in the mozilla source tree: 9 | https://hg.mozilla.org/mozilla-central/file/tip/security/nss/lib/ckfw/builtins/certdata.txt 10 | It contains the certificates in PEM format and therefore 11 | can be directly used with curl / libcurl / php_curl, or with 12 | an Apache+mod_ssl webserver for SSL client authentication. 13 | Just configure this file as the SSLCACertificateFile.# 14 | 15 | ***** BEGIN LICENSE BLOCK ***** 16 | This Source Code Form is subject to the terms of the Mozilla Public License, 17 | v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain 18 | one at http://mozilla.org/MPL/2.0/. 19 | 20 | ***** END LICENSE BLOCK ***** 21 | @(#) $RCSfile: certdata.txt,v $ $Revision: 1.80 $ $Date: 2011/11/03 15:11:58 $ 22 | -------------------------------------------------------------------------------- /libs/certifi-2023.5.7.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.37.0) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/certifi-2023.5.7.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | certifi 2 | -------------------------------------------------------------------------------- /libs/certifi/__init__.py: -------------------------------------------------------------------------------- 1 | from .core import contents, where 2 | 3 | __all__ = ["contents", "where"] 4 | __version__ = "2023.05.07" 5 | -------------------------------------------------------------------------------- /libs/certifi/__main__.py: -------------------------------------------------------------------------------- 1 | import argparse 2 | 3 | from certifi import contents, where 4 | 5 | parser = argparse.ArgumentParser() 6 | parser.add_argument("-c", "--contents", action="store_true") 7 | args = parser.parse_args() 8 | 9 | if args.contents: 10 | print(contents()) 11 | else: 12 | print(where()) 13 | -------------------------------------------------------------------------------- /libs/certifi/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/certifi/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/certifi/__pycache__/core.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/certifi/__pycache__/core.cpython-311.pyc -------------------------------------------------------------------------------- /libs/certifi/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/certifi/py.typed -------------------------------------------------------------------------------- /libs/chardet-3.0.4.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/chardet-3.0.4.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.29.0) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/chardet-3.0.4.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | chardetect = chardet.cli.chardetect:main 3 | 4 | -------------------------------------------------------------------------------- /libs/chardet-3.0.4.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | chardet 2 | -------------------------------------------------------------------------------- /libs/chardet/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/big5freq.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/big5freq.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/big5prober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/big5prober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/chardistribution.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/chardistribution.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/charsetgroupprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/charsetgroupprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/charsetprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/charsetprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/codingstatemachine.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/codingstatemachine.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/compat.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/compat.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/cp949prober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/cp949prober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/enums.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/enums.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/escprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/escprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/escsm.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/escsm.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/eucjpprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/eucjpprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/euckrfreq.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/euckrfreq.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/euckrprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/euckrprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/euctwfreq.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/euctwfreq.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/euctwprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/euctwprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/gb2312freq.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/gb2312freq.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/gb2312prober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/gb2312prober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/hebrewprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/hebrewprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/jisfreq.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/jisfreq.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/jpcntx.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/jpcntx.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/langbulgarianmodel.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/langbulgarianmodel.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/langcyrillicmodel.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/langcyrillicmodel.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/langgreekmodel.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/langgreekmodel.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/langhebrewmodel.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/langhebrewmodel.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/langthaimodel.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/langthaimodel.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/langturkishmodel.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/langturkishmodel.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/latin1prober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/latin1prober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/mbcharsetprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/mbcharsetprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/mbcsgroupprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/mbcsgroupprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/mbcssm.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/mbcssm.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/sbcharsetprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/sbcharsetprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/sbcsgroupprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/sbcsgroupprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/sjisprober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/sjisprober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/universaldetector.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/universaldetector.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/utf8prober.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/utf8prober.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/__pycache__/version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/chardet/__pycache__/version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/chardet/cli/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /libs/chardet/version.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module exists only to simplify retrieving the version number of chardet 3 | from within setup.py and from chardet subpackages. 4 | 5 | :author: Dan Blanchard (dan.blanchard@gmail.com) 6 | """ 7 | 8 | __version__ = "3.0.4" 9 | VERSION = __version__.split('.') 10 | -------------------------------------------------------------------------------- /libs/charset_normalizer-3.1.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/charset_normalizer-3.1.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 TAHRI Ahmed R. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /libs/charset_normalizer-3.1.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.4) 3 | Root-Is-Purelib: false 4 | Tag: cp39-cp39-macosx_11_0_arm64 5 | 6 | -------------------------------------------------------------------------------- /libs/charset_normalizer-3.1.0.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | normalizer = charset_normalizer.cli.normalizer:cli_detect 3 | -------------------------------------------------------------------------------- /libs/charset_normalizer-3.1.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | charset_normalizer 2 | -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/api.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/api.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/cd.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/cd.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/constant.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/constant.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/legacy.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/legacy.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/md.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/md.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/models.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/models.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/__pycache__/version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/__pycache__/version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/assets/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/assets/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/charset_normalizer/cli/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/cli/__init__.py -------------------------------------------------------------------------------- /libs/charset_normalizer/md.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/md.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/charset_normalizer/md__mypyc.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/md__mypyc.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/charset_normalizer/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/charset_normalizer/py.typed -------------------------------------------------------------------------------- /libs/charset_normalizer/version.py: -------------------------------------------------------------------------------- 1 | """ 2 | Expose version 3 | """ 4 | 5 | __version__ = "3.1.0" 6 | VERSION = __version__.split(".") 7 | -------------------------------------------------------------------------------- /libs/deepl-1.14.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/deepl-1.14.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright 2022 DeepL SE (https://www.deepl.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /libs/deepl-1.14.0.dist-info/REQUESTED: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl-1.14.0.dist-info/REQUESTED -------------------------------------------------------------------------------- /libs/deepl-1.14.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: poetry 1.0.8 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | -------------------------------------------------------------------------------- /libs/deepl-1.14.0.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | deepl=deepl.__main__:main 3 | 4 | -------------------------------------------------------------------------------- /libs/deepl/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2022 DeepL SE (https://www.deepl.com) 2 | # Use of this source code is governed by an MIT 3 | # license that can be found in the LICENSE file. 4 | 5 | from .version import VERSION as __version__ # noqa 6 | 7 | __author__ = "DeepL SE " 8 | 9 | from .exceptions import ( # noqa 10 | AuthorizationException, 11 | ConnectionException, 12 | DeepLException, 13 | DocumentNotReadyException, 14 | DocumentTranslationException, 15 | GlossaryNotFoundException, 16 | TooManyRequestsException, 17 | QuotaExceededException, 18 | ) 19 | 20 | from . import http_client # noqa 21 | 22 | from .translator import ( # noqa 23 | DocumentHandle, 24 | DocumentStatus, 25 | Formality, 26 | GlossaryInfo, 27 | Language, 28 | SplitSentences, 29 | TextResult, 30 | Translator, 31 | Usage, 32 | ) 33 | 34 | from .util import ( # noqa 35 | auth_key_is_free_account, 36 | convert_tsv_to_dict, 37 | convert_dict_to_tsv, 38 | validate_glossary_term, 39 | ) 40 | -------------------------------------------------------------------------------- /libs/deepl/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/deepl/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/deepl/__pycache__/http_client.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl/__pycache__/http_client.cpython-311.pyc -------------------------------------------------------------------------------- /libs/deepl/__pycache__/translator.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl/__pycache__/translator.cpython-311.pyc -------------------------------------------------------------------------------- /libs/deepl/__pycache__/util.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl/__pycache__/util.cpython-311.pyc -------------------------------------------------------------------------------- /libs/deepl/__pycache__/version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/deepl/__pycache__/version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/deepl/version.py: -------------------------------------------------------------------------------- 1 | # Copyright 2022 DeepL SE (https://www.deepl.com) 2 | # Use of this source code is governed by an MIT 3 | # license that can be found in the LICENSE file. 4 | 5 | VERSION = "1.14.0" 6 | -------------------------------------------------------------------------------- /libs/frozenlist-1.3.3.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/frozenlist-1.3.3.dist-info/RECORD: -------------------------------------------------------------------------------- 1 | ../../../../../../../../../Users/yinanchen/Library/Caches/com.apple.python/private/var/folders/mj/9ptdvvyj6vd_d80g6y817crw0000gn/T/pip-target-9e_l4dux/lib/python/frozenlist/__init__.cpython-39.pyc,, 2 | frozenlist-1.3.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 3 | frozenlist-1.3.3.dist-info/LICENSE,sha256=b9UkPpLdf5jsacesN3co50kFcJ_1J6W_mNbQJjwE9bY,11332 4 | frozenlist-1.3.3.dist-info/METADATA,sha256=f8FI9mzqEFVV4IHXvWrRk8BuLIAwRWGJuYewaEidVQg,4693 5 | frozenlist-1.3.3.dist-info/RECORD,, 6 | frozenlist-1.3.3.dist-info/WHEEL,sha256=yZtwt3vDhSTuKf99v-wQJW-iQ4wemYttCOgUK9kXvcM,108 7 | frozenlist-1.3.3.dist-info/top_level.txt,sha256=jivtxsPXA3nK3WBWW2LW5Mtu_GHt8UZA13NeCs2cKuA,11 8 | frozenlist/__init__.py,sha256=yf1hVJQUEyUwzTJau3i3SQeFDYYROwgNpJLMzHN58tM,2323 9 | frozenlist/__init__.pyi,sha256=vMEoES1xGegPtVXoCi9XydEeHsyuIq-KdeXwP5PdsaA,1470 10 | frozenlist/_frozenlist.cpython-39-darwin.so,sha256=sCBPj9a1YbgE_r5XFTFAlNrAaIGBPtK2jQSWhgaoeEg,105101 11 | frozenlist/_frozenlist.pyx,sha256=9V4Z1En6TZwgFD26d-sjxyhUzUm338H1Qiz4-i5ukv0,2983 12 | frozenlist/py.typed,sha256=sow9soTwP9T_gEAQSVh7Gb8855h04Nwmhs2We-JRgZM,7 13 | -------------------------------------------------------------------------------- /libs/frozenlist-1.3.3.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.2) 3 | Root-Is-Purelib: false 4 | Tag: cp39-cp39-macosx_11_0_arm64 5 | 6 | -------------------------------------------------------------------------------- /libs/frozenlist-1.3.3.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | frozenlist 2 | -------------------------------------------------------------------------------- /libs/frozenlist/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/frozenlist/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/frozenlist/_frozenlist.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/frozenlist/_frozenlist.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/frozenlist/py.typed: -------------------------------------------------------------------------------- 1 | Marker 2 | -------------------------------------------------------------------------------- /libs/googletrans-3.1.0a0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/googletrans-3.1.0a0.dist-info/REQUESTED: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans-3.1.0a0.dist-info/REQUESTED -------------------------------------------------------------------------------- /libs/googletrans-3.1.0a0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.40.0) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/googletrans-3.1.0a0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | googletrans 2 | -------------------------------------------------------------------------------- /libs/googletrans/__init__.py: -------------------------------------------------------------------------------- 1 | """Free Google Translate API for Python. Translates totally free of charge.""" 2 | __all__ = 'Translator', 3 | __version__ = '3.1.0-alpha' 4 | 5 | 6 | from googletrans.client import Translator 7 | from googletrans.constants import LANGCODES, LANGUAGES # noqa 8 | -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/client.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/client.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/constants.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/constants.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/gtoken.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/gtoken.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/models.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/models.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/urls.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/urls.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/__pycache__/utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/googletrans/__pycache__/utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/googletrans/urls.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | Predefined URLs used to make google translate requests. 4 | """ 5 | BASE = 'https://translate.google.com' 6 | TRANSLATE = 'https://{host}/translate_a/single' 7 | -------------------------------------------------------------------------------- /libs/h11-0.9.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/h11-0.9.0.dist-info/LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Nathaniel J. Smith and other contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /libs/h11-0.9.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.33.4) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/h11-0.9.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | h11 2 | -------------------------------------------------------------------------------- /libs/h11/__init__.py: -------------------------------------------------------------------------------- 1 | # A highish-level implementation of the HTTP/1.1 wire protocol (RFC 7230), 2 | # containing no networking code at all, loosely modelled on hyper-h2's generic 3 | # implementation of HTTP/2 (and in particular the h2.connection.H2Connection 4 | # class). There's still a bunch of subtle details you need to get right if you 5 | # want to make this actually useful, because it doesn't implement all the 6 | # semantics to check that what you're asking to write to the wire is sensible, 7 | # but at least it gets you out of dealing with the wire itself. 8 | 9 | from ._connection import * 10 | from ._events import * 11 | from ._state import * 12 | from ._util import LocalProtocolError, ProtocolError, RemoteProtocolError 13 | from ._version import __version__ 14 | 15 | PRODUCT_ID = "python-h11/" + __version__ 16 | 17 | 18 | __all__ = ["ProtocolError", "LocalProtocolError", "RemoteProtocolError"] 19 | __all__ += _events.__all__ 20 | __all__ += _connection.__all__ 21 | __all__ += _state.__all__ 22 | -------------------------------------------------------------------------------- /libs/h11/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_abnf.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_abnf.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_connection.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_connection.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_events.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_events.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_headers.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_headers.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_readers.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_readers.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_receivebuffer.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_receivebuffer.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_state.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_state.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_util.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_util.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/__pycache__/_writers.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/__pycache__/_writers.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h11/_version.py: -------------------------------------------------------------------------------- 1 | # This file must be kept very simple, because it is consumed from several 2 | # places -- it is imported by h11/__init__.py, execfile'd by setup.py, etc. 3 | 4 | # We use a simple scheme: 5 | # 1.0.0 -> 1.0.0+dev -> 1.1.0 -> 1.1.0+dev 6 | # where the +dev versions are never released into the wild, they're just what 7 | # we stick into the VCS in between releases. 8 | # 9 | # This is compatible with PEP 440: 10 | # http://legacy.python.org/dev/peps/pep-0440/ 11 | # via the use of the "local suffix" "+dev", which is disallowed on index 12 | # servers and causes 1.0.0+dev to sort after plain 1.0.0, which is what we 13 | # want. (Contrast with the special suffix 1.0.0.dev, which sorts *before* 14 | # 1.0.0.) 15 | 16 | __version__ = "0.9.0" 17 | -------------------------------------------------------------------------------- /libs/h11/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h11/tests/__init__.py -------------------------------------------------------------------------------- /libs/h11/tests/data/test-file: -------------------------------------------------------------------------------- 1 | 92b12bc045050b55b848d37167a1a63947c364579889ce1d39788e45e9fac9e5 2 | -------------------------------------------------------------------------------- /libs/h11/tests/test_helpers.py: -------------------------------------------------------------------------------- 1 | from .helpers import * 2 | 3 | 4 | def test_normalize_data_events(): 5 | assert normalize_data_events( 6 | [ 7 | Data(data=bytearray(b"1")), 8 | Data(data=b"2"), 9 | Response(status_code=200, headers=[]), 10 | Data(data=b"3"), 11 | Data(data=b"4"), 12 | EndOfMessage(), 13 | Data(data=b"5"), 14 | Data(data=b"6"), 15 | Data(data=b"7"), 16 | ] 17 | ) == [ 18 | Data(data=b"12"), 19 | Response(status_code=200, headers=[]), 20 | Data(data=b"34"), 21 | EndOfMessage(), 22 | Data(data=b"567"), 23 | ] 24 | -------------------------------------------------------------------------------- /libs/h2-3.2.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/h2-3.2.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015-2016 Cory Benfield and contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /libs/h2-3.2.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.34.2) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/h2-3.2.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | h2 2 | -------------------------------------------------------------------------------- /libs/h2/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | h2 4 | ~~ 5 | 6 | A HTTP/2 implementation. 7 | """ 8 | __version__ = '3.2.0' 9 | -------------------------------------------------------------------------------- /libs/h2/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/config.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/config.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/connection.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/connection.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/errors.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/errors.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/events.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/events.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/frame_buffer.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/frame_buffer.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/settings.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/settings.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/stream.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/stream.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/utilities.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/utilities.cpython-311.pyc -------------------------------------------------------------------------------- /libs/h2/__pycache__/windows.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/h2/__pycache__/windows.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack-3.0.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/hpack-3.0.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.29.0) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/hpack-3.0.0.dist-info/metadata.json: -------------------------------------------------------------------------------- 1 | {"classifiers": ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython"], "extensions": {"python.details": {"contacts": [{"email": "cory@lukasa.co.uk", "name": "Cory Benfield", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "http://hyper.rtfd.org"}}}, "generator": "bdist_wheel (0.29.0)", "license": "MIT License", "metadata_version": "2.0", "name": "hpack", "summary": "Pure-Python HPACK header compression", "version": "3.0.0"} -------------------------------------------------------------------------------- /libs/hpack-3.0.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | hpack 2 | -------------------------------------------------------------------------------- /libs/hpack/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | hpack 4 | ~~~~~ 5 | 6 | HTTP/2 header encoding for Python. 7 | """ 8 | from .hpack import Encoder, Decoder 9 | from .struct import HeaderTuple, NeverIndexedHeaderTuple 10 | from .exceptions import ( 11 | HPACKError, HPACKDecodingError, InvalidTableIndex, OversizedHeaderListError 12 | ) 13 | 14 | __all__ = [ 15 | 'Encoder', 'Decoder', 'HPACKError', 'HPACKDecodingError', 16 | 'InvalidTableIndex', 'HeaderTuple', 'NeverIndexedHeaderTuple', 17 | 'OversizedHeaderListError' 18 | ] 19 | 20 | __version__ = '3.0.0' 21 | -------------------------------------------------------------------------------- /libs/hpack/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/compat.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/compat.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/hpack.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/hpack.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/huffman.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/huffman.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/huffman_constants.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/huffman_constants.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/huffman_table.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/huffman_table.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/struct.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/struct.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/__pycache__/table.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hpack/__pycache__/table.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hpack/compat.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | hpack/compat 4 | ~~~~~~~~~~~~ 5 | 6 | Normalizes the Python 2/3 API for internal use. 7 | """ 8 | import sys 9 | 10 | 11 | _ver = sys.version_info 12 | is_py2 = _ver[0] == 2 13 | is_py3 = _ver[0] == 3 14 | 15 | if is_py2: 16 | def to_byte(char): 17 | return ord(char) 18 | 19 | def decode_hex(b): 20 | return b.decode('hex') 21 | 22 | def to_bytes(b): 23 | if isinstance(b, memoryview): 24 | return b.tobytes() 25 | else: 26 | return bytes(b) 27 | 28 | unicode = unicode # noqa 29 | bytes = str 30 | 31 | elif is_py3: 32 | def to_byte(char): 33 | return char 34 | 35 | def decode_hex(b): 36 | return bytes.fromhex(b) 37 | 38 | def to_bytes(b): 39 | return bytes(b) 40 | 41 | unicode = str 42 | bytes = bytes 43 | -------------------------------------------------------------------------------- /libs/hpack/exceptions.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | hyper/http20/exceptions 4 | ~~~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | This defines exceptions used in the HTTP/2 portion of hyper. 7 | """ 8 | 9 | 10 | class HPACKError(Exception): 11 | """ 12 | The base class for all ``hpack`` exceptions. 13 | """ 14 | pass 15 | 16 | 17 | class HPACKDecodingError(HPACKError): 18 | """ 19 | An error has been encountered while performing HPACK decoding. 20 | """ 21 | pass 22 | 23 | 24 | class InvalidTableIndex(HPACKDecodingError): 25 | """ 26 | An invalid table index was received. 27 | """ 28 | pass 29 | 30 | 31 | class OversizedHeaderListError(HPACKDecodingError): 32 | """ 33 | A header list that was larger than we allow has been received. This may be 34 | a DoS attack. 35 | 36 | .. versionadded:: 2.3.0 37 | """ 38 | pass 39 | 40 | 41 | class InvalidTableSizeError(HPACKDecodingError): 42 | """ 43 | An attempt was made to change the decoder table size to a value larger than 44 | allowed, or the list was shrunk and the remote peer didn't shrink their 45 | table size. 46 | 47 | .. versionadded:: 3.0.0 48 | """ 49 | pass 50 | -------------------------------------------------------------------------------- /libs/hpack/struct.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | hpack/struct 4 | ~~~~~~~~~~~~ 5 | 6 | Contains structures for representing header fields with associated metadata. 7 | """ 8 | 9 | 10 | class HeaderTuple(tuple): 11 | """ 12 | A data structure that stores a single header field. 13 | 14 | HTTP headers can be thought of as tuples of ``(field name, field value)``. 15 | A single header block is a sequence of such tuples. 16 | 17 | In HTTP/2, however, certain bits of additional information are required for 18 | compressing these headers: in particular, whether the header field can be 19 | safely added to the HPACK compression context. 20 | 21 | This class stores a header that can be added to the compression context. In 22 | all other ways it behaves exactly like a tuple. 23 | """ 24 | __slots__ = () 25 | 26 | indexable = True 27 | 28 | def __new__(_cls, *args): 29 | return tuple.__new__(_cls, args) 30 | 31 | 32 | class NeverIndexedHeaderTuple(HeaderTuple): 33 | """ 34 | A data structure that stores a single header field that cannot be added to 35 | a HTTP/2 header compression context. 36 | """ 37 | __slots__ = () 38 | 39 | indexable = False 40 | -------------------------------------------------------------------------------- /libs/hstspreload-2023.1.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/hstspreload-2023.1.1.dist-info/RECORD: -------------------------------------------------------------------------------- 1 | ../../../../../../../../../Users/yinanchen/Library/Caches/com.apple.python/private/var/folders/mj/9ptdvvyj6vd_d80g6y817crw0000gn/T/pip-target-melo72zh/lib/python/hstspreload/__init__.cpython-39.pyc,, 2 | hstspreload-2023.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 3 | hstspreload-2023.1.1.dist-info/LICENSE,sha256=JHjV7oZIMovGUBHWRHLAYafVskAU52s7xVuJY-RHmt0,1544 4 | hstspreload-2023.1.1.dist-info/METADATA,sha256=P8Jel1F4xnVjw6RdwZXfTgOcUuDiYulxXtSIJYqS23Y,2105 5 | hstspreload-2023.1.1.dist-info/RECORD,, 6 | hstspreload-2023.1.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92 7 | hstspreload-2023.1.1.dist-info/top_level.txt,sha256=xAf_taq9tM8wDW-q0ttkF-W4FRP0i_Qw82_9cMclmxo,12 8 | hstspreload/__init__.py,sha256=OK9fotU9CaxB2YGiwjZqkCSW341JoW_UhGCpwMFf6GE,19076 9 | hstspreload/hstspreload.bin,sha256=Tt67caF5t97Oemv-5F2RxQsl9CCRFt3HbRkJxqZCy3c,3118380 10 | -------------------------------------------------------------------------------- /libs/hstspreload-2023.1.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.4) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/hstspreload-2023.1.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | hstspreload 2 | -------------------------------------------------------------------------------- /libs/hstspreload/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hstspreload/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hstspreload/hstspreload.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hstspreload/hstspreload.bin -------------------------------------------------------------------------------- /libs/httpcore-0.9.1.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/httpcore-0.9.1.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.34.2) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/httpcore-0.9.1.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | httpcore 2 | httpcore/_async 3 | httpcore/_backends 4 | httpcore/_sync 5 | -------------------------------------------------------------------------------- /libs/httpcore/__init__.py: -------------------------------------------------------------------------------- 1 | from ._async.base import AsyncByteStream, AsyncHTTPTransport 2 | from ._async.connection_pool import AsyncConnectionPool 3 | from ._async.http_proxy import AsyncHTTPProxy 4 | from ._exceptions import ( 5 | CloseError, 6 | ConnectError, 7 | ConnectTimeout, 8 | NetworkError, 9 | PoolTimeout, 10 | ProtocolError, 11 | ProxyError, 12 | ReadError, 13 | ReadTimeout, 14 | TimeoutException, 15 | WriteError, 16 | WriteTimeout, 17 | ) 18 | from ._sync.base import SyncByteStream, SyncHTTPTransport 19 | from ._sync.connection_pool import SyncConnectionPool 20 | from ._sync.http_proxy import SyncHTTPProxy 21 | 22 | __all__ = [ 23 | "AsyncHTTPTransport", 24 | "AsyncByteStream", 25 | "AsyncConnectionPool", 26 | "AsyncHTTPProxy", 27 | "SyncHTTPTransport", 28 | "SyncByteStream", 29 | "SyncConnectionPool", 30 | "SyncHTTPProxy", 31 | "TimeoutException", 32 | "PoolTimeout", 33 | "ConnectTimeout", 34 | "ReadTimeout", 35 | "WriteTimeout", 36 | "NetworkError", 37 | "ConnectError", 38 | "ReadError", 39 | "WriteError", 40 | "CloseError", 41 | ] 42 | __version__ = "0.9.1" 43 | -------------------------------------------------------------------------------- /libs/httpcore/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/__pycache__/_exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/__pycache__/_exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/__pycache__/_threadlock.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/__pycache__/_threadlock.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/__pycache__/_types.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/__pycache__/_types.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/__pycache__/_utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/__pycache__/_utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__init__.py -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/base.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/base.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/connection.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/connection.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/connection_pool.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/connection_pool.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/http11.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/http11.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/http2.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/http2.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_async/__pycache__/http_proxy.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_async/__pycache__/http_proxy.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_backends/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_backends/__init__.py -------------------------------------------------------------------------------- /libs/httpcore/_backends/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_backends/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_backends/__pycache__/auto.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_backends/__pycache__/auto.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_backends/__pycache__/base.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_backends/__pycache__/base.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_backends/__pycache__/sync.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_backends/__pycache__/sync.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_exceptions.py: -------------------------------------------------------------------------------- 1 | import contextlib 2 | from typing import Dict, Iterator, Type 3 | 4 | 5 | @contextlib.contextmanager 6 | def map_exceptions(map: Dict[Type[Exception], Type[Exception]]) -> Iterator[None]: 7 | try: 8 | yield 9 | except Exception as exc: 10 | for from_exc, to_exc in map.items(): 11 | if isinstance(exc, from_exc): 12 | raise to_exc(exc) from None 13 | raise 14 | 15 | 16 | class ProtocolError(Exception): 17 | pass 18 | 19 | 20 | class ProxyError(Exception): 21 | pass 22 | 23 | 24 | # Timeout errors 25 | 26 | 27 | class TimeoutException(Exception): 28 | pass 29 | 30 | 31 | class PoolTimeout(TimeoutException): 32 | pass 33 | 34 | 35 | class ConnectTimeout(TimeoutException): 36 | pass 37 | 38 | 39 | class ReadTimeout(TimeoutException): 40 | pass 41 | 42 | 43 | class WriteTimeout(TimeoutException): 44 | pass 45 | 46 | 47 | # Network errors 48 | 49 | 50 | class NetworkError(Exception): 51 | pass 52 | 53 | 54 | class ConnectError(NetworkError): 55 | pass 56 | 57 | 58 | class ReadError(NetworkError): 59 | pass 60 | 61 | 62 | class WriteError(NetworkError): 63 | pass 64 | 65 | 66 | class CloseError(NetworkError): 67 | pass 68 | -------------------------------------------------------------------------------- /libs/httpcore/_sync/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__init__.py -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/base.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/base.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/connection.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/connection.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/connection_pool.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/connection_pool.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/http11.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/http11.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/http2.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/http2.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_sync/__pycache__/http_proxy.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/_sync/__pycache__/http_proxy.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpcore/_threadlock.py: -------------------------------------------------------------------------------- 1 | import threading 2 | from types import TracebackType 3 | from typing import Type 4 | 5 | 6 | class ThreadLock: 7 | """ 8 | Provides thread safety when used as a sync context manager, or a 9 | no-op when used as an async context manager. 10 | """ 11 | 12 | def __init__(self) -> None: 13 | self.lock = threading.Lock() 14 | 15 | def __enter__(self) -> None: 16 | self.lock.acquire() 17 | 18 | def __exit__( 19 | self, 20 | exc_type: Type[BaseException] = None, 21 | exc_value: BaseException = None, 22 | traceback: TracebackType = None, 23 | ) -> None: 24 | self.lock.release() 25 | 26 | async def __aenter__(self) -> None: 27 | pass 28 | 29 | async def __aexit__( 30 | self, 31 | exc_type: Type[BaseException] = None, 32 | exc_value: BaseException = None, 33 | traceback: TracebackType = None, 34 | ) -> None: 35 | pass 36 | -------------------------------------------------------------------------------- /libs/httpcore/_types.py: -------------------------------------------------------------------------------- 1 | """ 2 | Type definitions for type checking purposes. 3 | """ 4 | 5 | from typing import Dict, List, Optional, Tuple, Union 6 | 7 | StrOrBytes = Union[str, bytes] 8 | Origin = Tuple[bytes, bytes, int] 9 | URL = Tuple[bytes, bytes, Optional[int], bytes] 10 | Headers = List[Tuple[bytes, bytes]] 11 | TimeoutDict = Dict[str, Optional[float]] 12 | -------------------------------------------------------------------------------- /libs/httpcore/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpcore/py.typed -------------------------------------------------------------------------------- /libs/httpx-0.13.3.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/httpx-0.13.3.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.34.2) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/httpx-0.13.3.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | httpx 2 | httpx/_transports 3 | -------------------------------------------------------------------------------- /libs/httpx/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/__version__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/__version__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_api.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_api.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_auth.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_auth.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_client.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_client.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_config.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_config.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_content_streams.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_content_streams.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_decoders.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_decoders.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_models.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_models.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_status_codes.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_status_codes.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_types.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_types.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__pycache__/_utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/__pycache__/_utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/__version__.py: -------------------------------------------------------------------------------- 1 | __title__ = "httpx" 2 | __description__ = "A next generation HTTP client, for Python 3." 3 | __version__ = "0.13.3" 4 | -------------------------------------------------------------------------------- /libs/httpx/_transports/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/_transports/__init__.py -------------------------------------------------------------------------------- /libs/httpx/_transports/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/_transports/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/_transports/__pycache__/asgi.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/_transports/__pycache__/asgi.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/_transports/__pycache__/urllib3.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/_transports/__pycache__/urllib3.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/_transports/__pycache__/wsgi.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/_transports/__pycache__/wsgi.cpython-311.pyc -------------------------------------------------------------------------------- /libs/httpx/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/httpx/py.typed -------------------------------------------------------------------------------- /libs/hyperframe-5.2.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/hyperframe-5.2.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Cory Benfield 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /libs/hyperframe-5.2.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.32.3) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/hyperframe-5.2.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | hyperframe 2 | -------------------------------------------------------------------------------- /libs/hyperframe/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | hyperframe 4 | ~~~~~~~~~~ 5 | 6 | A module for providing a pure-Python HTTP/2 framing layer. 7 | """ 8 | __version__ = '5.2.0' 9 | -------------------------------------------------------------------------------- /libs/hyperframe/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hyperframe/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hyperframe/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hyperframe/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hyperframe/__pycache__/flags.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hyperframe/__pycache__/flags.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hyperframe/__pycache__/frame.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/hyperframe/__pycache__/frame.cpython-311.pyc -------------------------------------------------------------------------------- /libs/hyperframe/exceptions.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | hyperframe/exceptions 4 | ~~~~~~~~~~~~~~~~~~~~~ 5 | 6 | Defines the exceptions that can be thrown by hyperframe. 7 | """ 8 | 9 | 10 | class UnknownFrameError(ValueError): 11 | """ 12 | An frame of unknown type was received. 13 | """ 14 | def __init__(self, frame_type, length): 15 | #: The type byte of the unknown frame that was received. 16 | self.frame_type = frame_type 17 | 18 | #: The length of the data portion of the unknown frame. 19 | self.length = length 20 | 21 | def __str__(self): 22 | return ( 23 | "UnknownFrameError: Unknown frame type 0x%X received, " 24 | "length %d bytes" % (self.frame_type, self.length) 25 | ) 26 | 27 | 28 | class InvalidPaddingError(ValueError): 29 | """ 30 | A frame with invalid padding was received. 31 | """ 32 | pass 33 | 34 | 35 | class InvalidFrameError(ValueError): 36 | """ 37 | Parsing a frame failed because the data was not laid out appropriately. 38 | 39 | .. versionadded:: 3.0.2 40 | """ 41 | pass 42 | -------------------------------------------------------------------------------- /libs/idna-2.10.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/idna-2.10.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.33.6) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/idna-2.10.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | idna 2 | -------------------------------------------------------------------------------- /libs/idna-3.4.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/idna-3.4.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: flit 3.7.1 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | -------------------------------------------------------------------------------- /libs/idna/__init__.py: -------------------------------------------------------------------------------- 1 | from .package_data import __version__ 2 | from .core import ( 3 | IDNABidiError, 4 | IDNAError, 5 | InvalidCodepoint, 6 | InvalidCodepointContext, 7 | alabel, 8 | check_bidi, 9 | check_hyphen_ok, 10 | check_initial_combiner, 11 | check_label, 12 | check_nfc, 13 | decode, 14 | encode, 15 | ulabel, 16 | uts46_remap, 17 | valid_contextj, 18 | valid_contexto, 19 | valid_label_length, 20 | valid_string_length, 21 | ) 22 | from .intranges import intranges_contain 23 | 24 | __all__ = [ 25 | "IDNABidiError", 26 | "IDNAError", 27 | "InvalidCodepoint", 28 | "InvalidCodepointContext", 29 | "alabel", 30 | "check_bidi", 31 | "check_hyphen_ok", 32 | "check_initial_combiner", 33 | "check_label", 34 | "check_nfc", 35 | "decode", 36 | "encode", 37 | "intranges_contain", 38 | "ulabel", 39 | "uts46_remap", 40 | "valid_contextj", 41 | "valid_contexto", 42 | "valid_label_length", 43 | "valid_string_length", 44 | ] 45 | -------------------------------------------------------------------------------- /libs/idna/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/idna/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/idna/__pycache__/core.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/idna/__pycache__/core.cpython-311.pyc -------------------------------------------------------------------------------- /libs/idna/__pycache__/idnadata.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/idna/__pycache__/idnadata.cpython-311.pyc -------------------------------------------------------------------------------- /libs/idna/__pycache__/intranges.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/idna/__pycache__/intranges.cpython-311.pyc -------------------------------------------------------------------------------- /libs/idna/__pycache__/package_data.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/idna/__pycache__/package_data.cpython-311.pyc -------------------------------------------------------------------------------- /libs/idna/compat.py: -------------------------------------------------------------------------------- 1 | from .core import * 2 | from .codec import * 3 | from typing import Any, Union 4 | 5 | def ToASCII(label: str) -> bytes: 6 | return encode(label) 7 | 8 | def ToUnicode(label: Union[bytes, bytearray]) -> str: 9 | return decode(label) 10 | 11 | def nameprep(s: Any) -> None: 12 | raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol') 13 | 14 | -------------------------------------------------------------------------------- /libs/idna/package_data.py: -------------------------------------------------------------------------------- 1 | __version__ = '3.4' 2 | 3 | -------------------------------------------------------------------------------- /libs/idna/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/idna/py.typed -------------------------------------------------------------------------------- /libs/multidict-6.0.4.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/multidict-6.0.4.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2016-2021 Andrew Svetlov and aio-libs team 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /libs/multidict-6.0.4.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.4) 3 | Root-Is-Purelib: false 4 | Tag: cp39-cp39-macosx_11_0_arm64 5 | 6 | -------------------------------------------------------------------------------- /libs/multidict-6.0.4.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | multidict 2 | -------------------------------------------------------------------------------- /libs/multidict/__init__.py: -------------------------------------------------------------------------------- 1 | """Multidict implementation. 2 | 3 | HTTP Headers and URL query string require specific data structure: 4 | multidict. It behaves mostly like a dict but it can have 5 | several values for the same key. 6 | """ 7 | 8 | from ._abc import MultiMapping, MutableMultiMapping 9 | from ._compat import USE_EXTENSIONS 10 | 11 | __all__ = ( 12 | "MultiMapping", 13 | "MutableMultiMapping", 14 | "MultiDictProxy", 15 | "CIMultiDictProxy", 16 | "MultiDict", 17 | "CIMultiDict", 18 | "upstr", 19 | "istr", 20 | "getversion", 21 | ) 22 | 23 | __version__ = "6.0.4" 24 | 25 | 26 | try: 27 | if not USE_EXTENSIONS: 28 | raise ImportError 29 | from ._multidict import ( 30 | CIMultiDict, 31 | CIMultiDictProxy, 32 | MultiDict, 33 | MultiDictProxy, 34 | getversion, 35 | istr, 36 | ) 37 | except ImportError: # pragma: no cover 38 | from ._multidict_py import ( 39 | CIMultiDict, 40 | CIMultiDictProxy, 41 | MultiDict, 42 | MultiDictProxy, 43 | getversion, 44 | istr, 45 | ) 46 | 47 | 48 | upstr = istr 49 | -------------------------------------------------------------------------------- /libs/multidict/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/multidict/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/multidict/__pycache__/_abc.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/multidict/__pycache__/_abc.cpython-311.pyc -------------------------------------------------------------------------------- /libs/multidict/__pycache__/_compat.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/multidict/__pycache__/_compat.cpython-311.pyc -------------------------------------------------------------------------------- /libs/multidict/__pycache__/_multidict_py.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/multidict/__pycache__/_multidict_py.cpython-311.pyc -------------------------------------------------------------------------------- /libs/multidict/_compat.py: -------------------------------------------------------------------------------- 1 | import os 2 | import platform 3 | 4 | NO_EXTENSIONS = bool(os.environ.get("MULTIDICT_NO_EXTENSIONS")) 5 | 6 | PYPY = platform.python_implementation() == "PyPy" 7 | 8 | USE_EXTENSIONS = not NO_EXTENSIONS and not PYPY 9 | 10 | if USE_EXTENSIONS: 11 | try: 12 | from . import _multidict # noqa 13 | except ImportError: 14 | USE_EXTENSIONS = False 15 | -------------------------------------------------------------------------------- /libs/multidict/_multidict.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/multidict/_multidict.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/multidict/py.typed: -------------------------------------------------------------------------------- 1 | PEP-561 marker. -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) OpenAI (https://openai.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/REQUESTED: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai-0.27.7.dist-info/REQUESTED -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.40.0) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | openai = openai._openai_scripts:main 3 | -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | openai 2 | -------------------------------------------------------------------------------- /libs/openai-0.27.7.dist-info/zip-safe: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /libs/openai/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/api_requestor.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/api_requestor.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/error.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/error.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/object_classes.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/object_classes.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/openai_object.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/openai_object.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/openai_response.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/openai_response.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/util.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/util.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/__pycache__/version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/__pycache__/version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__init__.py: -------------------------------------------------------------------------------- 1 | from openai.api_resources.audio import Audio # noqa: F401 2 | from openai.api_resources.chat_completion import ChatCompletion # noqa: F401 3 | from openai.api_resources.completion import Completion # noqa: F401 4 | from openai.api_resources.customer import Customer # noqa: F401 5 | from openai.api_resources.deployment import Deployment # noqa: F401 6 | from openai.api_resources.edit import Edit # noqa: F401 7 | from openai.api_resources.embedding import Embedding # noqa: F401 8 | from openai.api_resources.engine import Engine # noqa: F401 9 | from openai.api_resources.error_object import ErrorObject # noqa: F401 10 | from openai.api_resources.file import File # noqa: F401 11 | from openai.api_resources.fine_tune import FineTune # noqa: F401 12 | from openai.api_resources.image import Image # noqa: F401 13 | from openai.api_resources.model import Model # noqa: F401 14 | from openai.api_resources.moderation import Moderation # noqa: F401 15 | -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/audio.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/audio.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/chat_completion.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/chat_completion.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/completion.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/completion.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/customer.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/customer.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/deployment.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/deployment.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/edit.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/edit.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/embedding.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/embedding.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/engine.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/engine.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/error_object.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/error_object.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/file.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/file.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/fine_tune.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/fine_tune.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/image.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/image.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/model.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/model.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/__pycache__/moderation.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/__pycache__/moderation.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__init__.py: -------------------------------------------------------------------------------- 1 | # flake8: noqa 2 | 3 | from openai.api_resources.abstract.api_resource import APIResource 4 | from openai.api_resources.abstract.createable_api_resource import CreateableAPIResource 5 | from openai.api_resources.abstract.deletable_api_resource import DeletableAPIResource 6 | from openai.api_resources.abstract.listable_api_resource import ListableAPIResource 7 | from openai.api_resources.abstract.nested_resource_class_methods import ( 8 | nested_resource_class_methods, 9 | ) 10 | from openai.api_resources.abstract.updateable_api_resource import UpdateableAPIResource 11 | -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/api_resource.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/api_resource.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/createable_api_resource.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/createable_api_resource.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/deletable_api_resource.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/deletable_api_resource.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/engine_api_resource.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/engine_api_resource.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/listable_api_resource.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/listable_api_resource.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/nested_resource_class_methods.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/nested_resource_class_methods.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/__pycache__/updateable_api_resource.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/abstract/__pycache__/updateable_api_resource.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/abstract/updateable_api_resource.py: -------------------------------------------------------------------------------- 1 | from urllib.parse import quote_plus 2 | from typing import Awaitable 3 | 4 | from openai.api_resources.abstract.api_resource import APIResource 5 | 6 | 7 | class UpdateableAPIResource(APIResource): 8 | @classmethod 9 | def modify(cls, sid, **params): 10 | url = "%s/%s" % (cls.class_url(), quote_plus(sid)) 11 | return cls._static_request("post", url, **params) 12 | 13 | @classmethod 14 | def amodify(cls, sid, **params) -> Awaitable: 15 | url = "%s/%s" % (cls.class_url(), quote_plus(sid)) 16 | return cls._astatic_request("patch", url, **params) 17 | -------------------------------------------------------------------------------- /libs/openai/api_resources/customer.py: -------------------------------------------------------------------------------- 1 | from openai.openai_object import OpenAIObject 2 | 3 | 4 | class Customer(OpenAIObject): 5 | @classmethod 6 | def get_url(cls, customer, endpoint): 7 | return f"/customer/{customer}/{endpoint}" 8 | 9 | @classmethod 10 | def create(cls, customer, endpoint, **params): 11 | instance = cls() 12 | return instance.request("post", cls.get_url(customer, endpoint), params) 13 | 14 | @classmethod 15 | def acreate(cls, customer, endpoint, **params): 16 | instance = cls() 17 | return instance.arequest("post", cls.get_url(customer, endpoint), params) 18 | -------------------------------------------------------------------------------- /libs/openai/api_resources/error_object.py: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | 3 | from openai.openai_object import OpenAIObject 4 | from openai.util import merge_dicts 5 | 6 | 7 | class ErrorObject(OpenAIObject): 8 | def refresh_from( 9 | self, 10 | values, 11 | api_key=None, 12 | api_version=None, 13 | api_type=None, 14 | organization=None, 15 | response_ms: Optional[int] = None, 16 | ): 17 | # Unlike most other API resources, the API will omit attributes in 18 | # error objects when they have a null value. We manually set default 19 | # values here to facilitate generic error handling. 20 | values = merge_dicts({"message": None, "type": None}, values) 21 | return super(ErrorObject, self).refresh_from( 22 | values=values, 23 | api_key=api_key, 24 | api_version=api_version, 25 | api_type=api_type, 26 | organization=organization, 27 | response_ms=response_ms, 28 | ) 29 | -------------------------------------------------------------------------------- /libs/openai/api_resources/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | from openai.api_resources.experimental.completion_config import ( # noqa: F401 2 | CompletionConfig, 3 | ) 4 | -------------------------------------------------------------------------------- /libs/openai/api_resources/experimental/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/experimental/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/experimental/__pycache__/completion_config.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/api_resources/experimental/__pycache__/completion_config.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/api_resources/experimental/completion_config.py: -------------------------------------------------------------------------------- 1 | from openai.api_resources.abstract import ( 2 | CreateableAPIResource, 3 | DeletableAPIResource, 4 | ListableAPIResource, 5 | ) 6 | 7 | 8 | class CompletionConfig( 9 | CreateableAPIResource, ListableAPIResource, DeletableAPIResource 10 | ): 11 | OBJECT_NAME = "experimental.completion_configs" 12 | -------------------------------------------------------------------------------- /libs/openai/api_resources/model.py: -------------------------------------------------------------------------------- 1 | from openai.api_resources.abstract import DeletableAPIResource, ListableAPIResource 2 | 3 | 4 | class Model(ListableAPIResource, DeletableAPIResource): 5 | OBJECT_NAME = "models" 6 | -------------------------------------------------------------------------------- /libs/openai/datalib/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module helps make data libraries like `numpy` and `pandas` optional dependencies. 3 | 4 | The libraries add up to 130MB+, which makes it challenging to deploy applications 5 | using this library in environments with code size constraints, like AWS Lambda. 6 | 7 | This module serves as an import proxy and provides a few utilities for dealing with the optionality. 8 | 9 | Since the primary use case of this library (talking to the OpenAI API) doesn't generally require data libraries, 10 | it's safe to make them optional. The rare case when data libraries are needed in the client is handled through 11 | assertions with instructive error messages. 12 | 13 | See also `setup.py`. 14 | """ 15 | -------------------------------------------------------------------------------- /libs/openai/datalib/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/datalib/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/datalib/__pycache__/common.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/datalib/__pycache__/common.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/datalib/__pycache__/numpy_helper.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/datalib/__pycache__/numpy_helper.cpython-311.pyc -------------------------------------------------------------------------------- /libs/openai/datalib/common.py: -------------------------------------------------------------------------------- 1 | INSTRUCTIONS = """ 2 | 3 | OpenAI error: 4 | 5 | missing `{library}` 6 | 7 | This feature requires additional dependencies: 8 | 9 | $ pip install openai[datalib] 10 | 11 | """ 12 | 13 | NUMPY_INSTRUCTIONS = INSTRUCTIONS.format(library="numpy") 14 | 15 | 16 | class MissingDependencyError(Exception): 17 | pass 18 | -------------------------------------------------------------------------------- /libs/openai/datalib/numpy_helper.py: -------------------------------------------------------------------------------- 1 | from openai.datalib.common import INSTRUCTIONS, MissingDependencyError 2 | 3 | try: 4 | import numpy 5 | except ImportError: 6 | numpy = None 7 | 8 | HAS_NUMPY = bool(numpy) 9 | 10 | NUMPY_INSTRUCTIONS = INSTRUCTIONS.format(library="numpy") 11 | 12 | 13 | def assert_has_numpy(): 14 | if not HAS_NUMPY: 15 | raise MissingDependencyError(NUMPY_INSTRUCTIONS) 16 | -------------------------------------------------------------------------------- /libs/openai/datalib/pandas_helper.py: -------------------------------------------------------------------------------- 1 | from openai.datalib.common import INSTRUCTIONS, MissingDependencyError 2 | 3 | try: 4 | import pandas 5 | except ImportError: 6 | pandas = None 7 | 8 | HAS_PANDAS = bool(pandas) 9 | 10 | PANDAS_INSTRUCTIONS = INSTRUCTIONS.format(library="pandas") 11 | 12 | 13 | def assert_has_pandas(): 14 | if not HAS_PANDAS: 15 | raise MissingDependencyError(PANDAS_INSTRUCTIONS) 16 | -------------------------------------------------------------------------------- /libs/openai/object_classes.py: -------------------------------------------------------------------------------- 1 | from openai import api_resources 2 | from openai.api_resources.experimental.completion_config import CompletionConfig 3 | 4 | OBJECT_CLASSES = { 5 | "engine": api_resources.Engine, 6 | "experimental.completion_config": CompletionConfig, 7 | "file": api_resources.File, 8 | "fine-tune": api_resources.FineTune, 9 | "model": api_resources.Model, 10 | "deployment": api_resources.Deployment, 11 | } 12 | -------------------------------------------------------------------------------- /libs/openai/openai_response.py: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | 3 | 4 | class OpenAIResponse: 5 | def __init__(self, data, headers): 6 | self._headers = headers 7 | self.data = data 8 | 9 | @property 10 | def request_id(self) -> Optional[str]: 11 | return self._headers.get("request-id") 12 | 13 | @property 14 | def organization(self) -> Optional[str]: 15 | return self._headers.get("OpenAI-Organization") 16 | 17 | @property 18 | def response_ms(self) -> Optional[int]: 19 | h = self._headers.get("Openai-Processing-Ms") 20 | return None if h is None else round(float(h)) 21 | -------------------------------------------------------------------------------- /libs/openai/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/py.typed -------------------------------------------------------------------------------- /libs/openai/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/tests/__init__.py -------------------------------------------------------------------------------- /libs/openai/tests/asyncio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/openai/tests/asyncio/__init__.py -------------------------------------------------------------------------------- /libs/openai/tests/test_util.py: -------------------------------------------------------------------------------- 1 | from tempfile import NamedTemporaryFile 2 | 3 | import pytest 4 | 5 | import openai 6 | from openai import util 7 | 8 | 9 | @pytest.fixture(scope="function") 10 | def api_key_file(): 11 | saved_path = openai.api_key_path 12 | try: 13 | with NamedTemporaryFile(prefix="openai-api-key", mode="wt") as tmp: 14 | openai.api_key_path = tmp.name 15 | yield tmp 16 | finally: 17 | openai.api_key_path = saved_path 18 | 19 | 20 | def test_openai_api_key_path(api_key_file) -> None: 21 | print("sk-foo", file=api_key_file) 22 | api_key_file.flush() 23 | assert util.default_api_key() == "sk-foo" 24 | 25 | 26 | def test_openai_api_key_path_with_malformed_key(api_key_file) -> None: 27 | print("malformed-api-key", file=api_key_file) 28 | api_key_file.flush() 29 | with pytest.raises(ValueError, match="Malformed API key"): 30 | util.default_api_key() 31 | -------------------------------------------------------------------------------- /libs/openai/version.py: -------------------------------------------------------------------------------- 1 | VERSION = "0.27.7" 2 | -------------------------------------------------------------------------------- /libs/requests-2.31.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/requests-2.31.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.40.0) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/requests-2.31.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | requests 2 | -------------------------------------------------------------------------------- /libs/requests/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/__version__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/__version__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/_internal_utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/_internal_utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/adapters.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/adapters.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/api.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/api.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/auth.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/auth.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/certs.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/certs.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/compat.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/compat.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/cookies.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/cookies.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/hooks.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/hooks.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/models.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/models.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/packages.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/packages.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/sessions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/sessions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/status_codes.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/status_codes.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/structures.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/structures.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__pycache__/utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/requests/__pycache__/utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/requests/__version__.py: -------------------------------------------------------------------------------- 1 | # .-. .-. .-. . . .-. .-. .-. .-. 2 | # |( |- |.| | | |- `-. | `-. 3 | # ' ' `-' `-`.`-' `-' `-' ' `-' 4 | 5 | __title__ = "requests" 6 | __description__ = "Python HTTP for Humans." 7 | __url__ = "https://requests.readthedocs.io" 8 | __version__ = "2.31.0" 9 | __build__ = 0x023100 10 | __author__ = "Kenneth Reitz" 11 | __author_email__ = "me@kennethreitz.org" 12 | __license__ = "Apache 2.0" 13 | __copyright__ = "Copyright Kenneth Reitz" 14 | __cake__ = "\u2728 \U0001f370 \u2728" 15 | -------------------------------------------------------------------------------- /libs/requests/certs.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | """ 4 | requests.certs 5 | ~~~~~~~~~~~~~~ 6 | 7 | This module returns the preferred default CA certificate bundle. There is 8 | only one — the one from the certifi package. 9 | 10 | If you are packaging Requests, e.g., for a Linux distribution or a managed 11 | environment, you can change the definition of where() to return a separately 12 | packaged CA bundle. 13 | """ 14 | from certifi import where 15 | 16 | if __name__ == "__main__": 17 | print(where()) 18 | -------------------------------------------------------------------------------- /libs/requests/hooks.py: -------------------------------------------------------------------------------- 1 | """ 2 | requests.hooks 3 | ~~~~~~~~~~~~~~ 4 | 5 | This module provides the capabilities for the Requests hooks system. 6 | 7 | Available hooks: 8 | 9 | ``response``: 10 | The response generated from a Request. 11 | """ 12 | HOOKS = ["response"] 13 | 14 | 15 | def default_hooks(): 16 | return {event: [] for event in HOOKS} 17 | 18 | 19 | # TODO: response is the only one 20 | 21 | 22 | def dispatch_hook(key, hooks, hook_data, **kwargs): 23 | """Dispatches a hook dictionary on a given piece of data.""" 24 | hooks = hooks or {} 25 | hooks = hooks.get(key) 26 | if hooks: 27 | if hasattr(hooks, "__call__"): 28 | hooks = [hooks] 29 | for hook in hooks: 30 | _hook_data = hook(hook_data, **kwargs) 31 | if _hook_data is not None: 32 | hook_data = _hook_data 33 | return hook_data 34 | -------------------------------------------------------------------------------- /libs/requests/packages.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | try: 4 | import chardet 5 | except ImportError: 6 | import warnings 7 | 8 | import charset_normalizer as chardet 9 | 10 | warnings.filterwarnings("ignore", "Trying to detect", module="charset_normalizer") 11 | 12 | # This code exists for backwards compatibility reasons. 13 | # I don't like it either. Just look the other way. :) 14 | 15 | for package in ("urllib3", "idna"): 16 | locals()[package] = __import__(package) 17 | # This traversal is apparently necessary such that the identities are 18 | # preserved (requests.packages.urllib3.* is urllib3.*) 19 | for mod in list(sys.modules): 20 | if mod == package or mod.startswith(f"{package}."): 21 | sys.modules[f"requests.packages.{mod}"] = sys.modules[mod] 22 | 23 | target = chardet.__name__ 24 | for mod in list(sys.modules): 25 | if mod == target or mod.startswith(f"{target}."): 26 | target = target.replace(target, "chardet") 27 | sys.modules[f"requests.packages.{target}"] = sys.modules[mod] 28 | # Kinda cool, though, right? 29 | -------------------------------------------------------------------------------- /libs/rfc3986-1.5.0.dist-info/AUTHORS.rst: -------------------------------------------------------------------------------- 1 | Development Lead 2 | ---------------- 3 | 4 | - Ian Stapleton Cordasco 5 | 6 | Contributors 7 | ------------ 8 | 9 | - Thomas Weißschuh 10 | - Kostya Esmukov 11 | - Derek Higgins 12 | - Victor Stinner 13 | - Viktor Haag 14 | - Seth Michael Larson 15 | -------------------------------------------------------------------------------- /libs/rfc3986-1.5.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/rfc3986-1.5.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014 Ian Cordasco, Rackspace 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /libs/rfc3986-1.5.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.36.2) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/rfc3986-1.5.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | rfc3986 2 | -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/_mixin.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/_mixin.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/abnf_regexp.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/abnf_regexp.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/api.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/api.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/compat.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/compat.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/iri.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/iri.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/misc.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/misc.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/normalizers.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/normalizers.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/parseresult.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/parseresult.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/uri.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/uri.cpython-311.pyc -------------------------------------------------------------------------------- /libs/rfc3986/__pycache__/validators.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/rfc3986/__pycache__/validators.cpython-311.pyc -------------------------------------------------------------------------------- /libs/sniffio-1.3.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/sniffio-1.3.0.dist-info/LICENSE: -------------------------------------------------------------------------------- 1 | This software is made available under the terms of *either* of the 2 | licenses found in LICENSE.APACHE2 or LICENSE.MIT. Contributions to are 3 | made under the terms of *both* these licenses. 4 | -------------------------------------------------------------------------------- /libs/sniffio-1.3.0.dist-info/LICENSE.MIT: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /libs/sniffio-1.3.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.37.1) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/sniffio-1.3.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | sniffio 2 | -------------------------------------------------------------------------------- /libs/sniffio/__init__.py: -------------------------------------------------------------------------------- 1 | """Top-level package for sniffio.""" 2 | 3 | __all__ = [ 4 | "current_async_library", "AsyncLibraryNotFoundError", 5 | "current_async_library_cvar" 6 | ] 7 | 8 | from ._version import __version__ 9 | 10 | from ._impl import ( 11 | current_async_library, 12 | AsyncLibraryNotFoundError, 13 | current_async_library_cvar, 14 | thread_local, 15 | ) 16 | -------------------------------------------------------------------------------- /libs/sniffio/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/sniffio/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/sniffio/__pycache__/_impl.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/sniffio/__pycache__/_impl.cpython-311.pyc -------------------------------------------------------------------------------- /libs/sniffio/__pycache__/_version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/sniffio/__pycache__/_version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/sniffio/_tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/sniffio/_tests/__init__.py -------------------------------------------------------------------------------- /libs/sniffio/_version.py: -------------------------------------------------------------------------------- 1 | # This file is imported from __init__.py and exec'd from setup.py 2 | 3 | __version__ = "1.3.0" 4 | -------------------------------------------------------------------------------- /libs/sniffio/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/sniffio/py.typed -------------------------------------------------------------------------------- /libs/tqdm-4.65.0.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/tqdm-4.65.0.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.38.4) 3 | Root-Is-Purelib: true 4 | Tag: py3-none-any 5 | 6 | -------------------------------------------------------------------------------- /libs/tqdm-4.65.0.dist-info/entry_points.txt: -------------------------------------------------------------------------------- 1 | [console_scripts] 2 | tqdm = tqdm.cli:main 3 | -------------------------------------------------------------------------------- /libs/tqdm-4.65.0.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | tqdm 2 | -------------------------------------------------------------------------------- /libs/tqdm/__main__.py: -------------------------------------------------------------------------------- 1 | from .cli import main 2 | 3 | main() 4 | -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/_dist_ver.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/_dist_ver.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/_monitor.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/_monitor.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/_tqdm_pandas.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/_tqdm_pandas.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/cli.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/cli.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/gui.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/gui.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/std.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/std.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/utils.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/utils.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/__pycache__/version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/tqdm/__pycache__/version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/tqdm/_dist_ver.py: -------------------------------------------------------------------------------- 1 | __version__ = '4.65.0' 2 | -------------------------------------------------------------------------------- /libs/tqdm/_main.py: -------------------------------------------------------------------------------- 1 | from warnings import warn 2 | 3 | from .cli import * # NOQA 4 | from .cli import __all__ # NOQA 5 | from .std import TqdmDeprecationWarning 6 | 7 | warn("This function will be removed in tqdm==5.0.0\n" 8 | "Please use `tqdm.cli.*` instead of `tqdm._main.*`", 9 | TqdmDeprecationWarning, stacklevel=2) 10 | -------------------------------------------------------------------------------- /libs/tqdm/_tqdm.py: -------------------------------------------------------------------------------- 1 | from warnings import warn 2 | 3 | from .std import * # NOQA 4 | from .std import __all__ # NOQA 5 | from .std import TqdmDeprecationWarning 6 | 7 | warn("This function will be removed in tqdm==5.0.0\n" 8 | "Please use `tqdm.std.*` instead of `tqdm._tqdm.*`", 9 | TqdmDeprecationWarning, stacklevel=2) 10 | -------------------------------------------------------------------------------- /libs/tqdm/_tqdm_gui.py: -------------------------------------------------------------------------------- 1 | from warnings import warn 2 | 3 | from .gui import * # NOQA 4 | from .gui import __all__ # NOQA 5 | from .std import TqdmDeprecationWarning 6 | 7 | warn("This function will be removed in tqdm==5.0.0\n" 8 | "Please use `tqdm.gui.*` instead of `tqdm._tqdm_gui.*`", 9 | TqdmDeprecationWarning, stacklevel=2) 10 | -------------------------------------------------------------------------------- /libs/tqdm/_tqdm_notebook.py: -------------------------------------------------------------------------------- 1 | from warnings import warn 2 | 3 | from .notebook import * # NOQA 4 | from .notebook import __all__ # NOQA 5 | from .std import TqdmDeprecationWarning 6 | 7 | warn("This function will be removed in tqdm==5.0.0\n" 8 | "Please use `tqdm.notebook.*` instead of `tqdm._tqdm_notebook.*`", 9 | TqdmDeprecationWarning, stacklevel=2) 10 | -------------------------------------------------------------------------------- /libs/tqdm/_tqdm_pandas.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | __author__ = "github.com/casperdcl" 4 | __all__ = ['tqdm_pandas'] 5 | 6 | 7 | def tqdm_pandas(tclass, **tqdm_kwargs): 8 | """ 9 | Registers the given `tqdm` instance with 10 | `pandas.core.groupby.DataFrameGroupBy.progress_apply`. 11 | """ 12 | from tqdm import TqdmDeprecationWarning 13 | 14 | if isinstance(tclass, type) or (getattr(tclass, '__name__', '').startswith( 15 | 'tqdm_')): # delayed adapter case 16 | TqdmDeprecationWarning( 17 | "Please use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm, ...)`.", 18 | fp_write=getattr(tqdm_kwargs.get('file', None), 'write', sys.stderr.write)) 19 | tclass.pandas(**tqdm_kwargs) 20 | else: 21 | TqdmDeprecationWarning( 22 | "Please use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm(...))`.", 23 | fp_write=getattr(tclass.fp, 'write', sys.stderr.write)) 24 | type(tclass).pandas(deprecated_t=tclass) 25 | -------------------------------------------------------------------------------- /libs/tqdm/_utils.py: -------------------------------------------------------------------------------- 1 | from warnings import warn 2 | 3 | from .std import TqdmDeprecationWarning 4 | from .utils import ( # NOQA, pylint: disable=unused-import 5 | CUR_OS, IS_NIX, IS_WIN, RE_ANSI, Comparable, FormatReplace, SimpleTextIOWrapper, 6 | _environ_cols_wrapper, _is_ascii, _is_utf, _screen_shape_linux, _screen_shape_tput, 7 | _screen_shape_windows, _screen_shape_wrapper, _supports_unicode, _term_move_up, colorama) 8 | 9 | warn("This function will be removed in tqdm==5.0.0\n" 10 | "Please use `tqdm.utils.*` instead of `tqdm._utils.*`", 11 | TqdmDeprecationWarning, stacklevel=2) 12 | -------------------------------------------------------------------------------- /libs/tqdm/auto.py: -------------------------------------------------------------------------------- 1 | """ 2 | Enables multiple commonly used features. 3 | 4 | Method resolution order: 5 | 6 | - `tqdm.autonotebook` without import warnings 7 | - `tqdm.asyncio` 8 | - `tqdm.std` base class 9 | 10 | Usage: 11 | >>> from tqdm.auto import trange, tqdm 12 | >>> for i in trange(10): 13 | ... ... 14 | """ 15 | import warnings 16 | 17 | from .std import TqdmExperimentalWarning 18 | 19 | with warnings.catch_warnings(): 20 | warnings.simplefilter("ignore", category=TqdmExperimentalWarning) 21 | from .autonotebook import tqdm as notebook_tqdm 22 | 23 | from .asyncio import tqdm as asyncio_tqdm 24 | from .std import tqdm as std_tqdm 25 | 26 | if notebook_tqdm != std_tqdm: 27 | class tqdm(notebook_tqdm, asyncio_tqdm): # pylint: disable=inconsistent-mro 28 | pass 29 | else: 30 | tqdm = asyncio_tqdm 31 | 32 | 33 | def trange(*args, **kwargs): 34 | """ 35 | A shortcut for `tqdm.auto.tqdm(range(*args), **kwargs)`. 36 | """ 37 | return tqdm(range(*args), **kwargs) 38 | 39 | 40 | __all__ = ["tqdm", "trange"] 41 | -------------------------------------------------------------------------------- /libs/tqdm/autonotebook.py: -------------------------------------------------------------------------------- 1 | """ 2 | Automatically choose between `tqdm.notebook` and `tqdm.std`. 3 | 4 | Usage: 5 | >>> from tqdm.autonotebook import trange, tqdm 6 | >>> for i in trange(10): 7 | ... ... 8 | """ 9 | import sys 10 | from warnings import warn 11 | 12 | try: 13 | get_ipython = sys.modules['IPython'].get_ipython 14 | if 'IPKernelApp' not in get_ipython().config: # pragma: no cover 15 | raise ImportError("console") 16 | from .notebook import WARN_NOIPYW, IProgress 17 | if IProgress is None: 18 | from .std import TqdmWarning 19 | warn(WARN_NOIPYW, TqdmWarning, stacklevel=2) 20 | raise ImportError('ipywidgets') 21 | except Exception: 22 | from .std import tqdm, trange 23 | else: # pragma: no cover 24 | from .notebook import tqdm, trange 25 | from .std import TqdmExperimentalWarning 26 | warn("Using `tqdm.autonotebook.tqdm` in notebook mode." 27 | " Use `tqdm.tqdm` instead to force console mode" 28 | " (e.g. in jupyter console)", TqdmExperimentalWarning, stacklevel=2) 29 | __all__ = ["tqdm", "trange"] 30 | -------------------------------------------------------------------------------- /libs/tqdm/completion.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | _tqdm(){ 3 | local cur prv 4 | cur="${COMP_WORDS[COMP_CWORD]}" 5 | prv="${COMP_WORDS[COMP_CWORD - 1]}" 6 | 7 | case ${prv} in 8 | --bar_format|--buf_size|--colour|--comppath|--delay|--delim|--desc|--initial|--lock_args|--manpath|--maxinterval|--mininterval|--miniters|--ncols|--nrows|--position|--postfix|--smoothing|--total|--unit|--unit_divisor) 9 | # await user input 10 | ;; 11 | "--log") 12 | COMPREPLY=($(compgen -W 'CRITICAL FATAL ERROR WARN WARNING INFO DEBUG NOTSET' -- ${cur})) 13 | ;; 14 | *) 15 | COMPREPLY=($(compgen -W '--ascii --bar_format --buf_size --bytes --colour --comppath --delay --delim --desc --disable --dynamic_ncols --help --initial --leave --lock_args --log --manpath --maxinterval --mininterval --miniters --ncols --nrows --null --position --postfix --smoothing --tee --total --unit --unit_divisor --unit_scale --update --update_to --version --write_bytes -h -v' -- ${cur})) 16 | ;; 17 | esac 18 | } 19 | complete -F _tqdm tqdm 20 | -------------------------------------------------------------------------------- /libs/tqdm/contrib/bells.py: -------------------------------------------------------------------------------- 1 | """ 2 | Even more features than `tqdm.auto` (all the bells & whistles): 3 | 4 | - `tqdm.auto` 5 | - `tqdm.tqdm.pandas` 6 | - `tqdm.contrib.telegram` 7 | + uses `${TQDM_TELEGRAM_TOKEN}` and `${TQDM_TELEGRAM_CHAT_ID}` 8 | - `tqdm.contrib.discord` 9 | + uses `${TQDM_DISCORD_TOKEN}` and `${TQDM_DISCORD_CHANNEL_ID}` 10 | """ 11 | __all__ = ['tqdm', 'trange'] 12 | import warnings 13 | from os import getenv 14 | 15 | if getenv("TQDM_SLACK_TOKEN") and getenv("TQDM_SLACK_CHANNEL"): 16 | from .slack import tqdm, trange 17 | elif getenv("TQDM_TELEGRAM_TOKEN") and getenv("TQDM_TELEGRAM_CHAT_ID"): 18 | from .telegram import tqdm, trange 19 | elif getenv("TQDM_DISCORD_TOKEN") and getenv("TQDM_DISCORD_CHANNEL_ID"): 20 | from .discord import tqdm, trange 21 | else: 22 | from ..auto import tqdm, trange 23 | 24 | with warnings.catch_warnings(): 25 | warnings.simplefilter("ignore", category=FutureWarning) 26 | tqdm.pandas() 27 | -------------------------------------------------------------------------------- /libs/tqdm/contrib/itertools.py: -------------------------------------------------------------------------------- 1 | """ 2 | Thin wrappers around `itertools`. 3 | """ 4 | import itertools 5 | 6 | from ..auto import tqdm as tqdm_auto 7 | 8 | __author__ = {"github.com/": ["casperdcl"]} 9 | __all__ = ['product'] 10 | 11 | 12 | def product(*iterables, **tqdm_kwargs): 13 | """ 14 | Equivalent of `itertools.product`. 15 | 16 | Parameters 17 | ---------- 18 | tqdm_class : [default: tqdm.auto.tqdm]. 19 | """ 20 | kwargs = tqdm_kwargs.copy() 21 | tqdm_class = kwargs.pop("tqdm_class", tqdm_auto) 22 | try: 23 | lens = list(map(len, iterables)) 24 | except TypeError: 25 | total = None 26 | else: 27 | total = 1 28 | for i in lens: 29 | total *= i 30 | kwargs.setdefault("total", total) 31 | with tqdm_class(**kwargs) as t: 32 | it = itertools.product(*iterables) 33 | for i in it: 34 | yield i 35 | t.update() 36 | -------------------------------------------------------------------------------- /libs/tqdm/version.py: -------------------------------------------------------------------------------- 1 | """`tqdm` version detector. Precedence: installed dist, git, 'UNKNOWN'.""" 2 | try: 3 | from ._dist_ver import __version__ 4 | except ImportError: 5 | try: 6 | from setuptools_scm import get_version 7 | __version__ = get_version(root='..', relative_to=__file__) 8 | except (ImportError, LookupError): 9 | __version__ = "UNKNOWN" 10 | -------------------------------------------------------------------------------- /libs/urllib3-1.26.16.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/urllib3-1.26.16.dist-info/LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2008-2020 Andrey Petrov and contributors (see CONTRIBUTORS.txt) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /libs/urllib3-1.26.16.dist-info/REQUESTED: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3-1.26.16.dist-info/REQUESTED -------------------------------------------------------------------------------- /libs/urllib3-1.26.16.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.40.0) 3 | Root-Is-Purelib: true 4 | Tag: py2-none-any 5 | Tag: py3-none-any 6 | 7 | -------------------------------------------------------------------------------- /libs/urllib3-1.26.16.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | urllib3 2 | -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/_collections.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/_collections.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/_version.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/_version.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/connection.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/connection.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/connectionpool.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/connectionpool.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/exceptions.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/exceptions.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/fields.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/fields.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/filepost.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/filepost.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/poolmanager.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/poolmanager.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/request.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/request.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/__pycache__/response.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/__pycache__/response.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/_version.py: -------------------------------------------------------------------------------- 1 | # This file is protected via CODEOWNERS 2 | __version__ = "1.26.16" 3 | -------------------------------------------------------------------------------- /libs/urllib3/contrib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/contrib/__init__.py -------------------------------------------------------------------------------- /libs/urllib3/contrib/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/contrib/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/contrib/__pycache__/_appengine_environ.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/contrib/__pycache__/socks.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/contrib/__pycache__/socks.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/contrib/_appengine_environ.py: -------------------------------------------------------------------------------- 1 | """ 2 | This module provides means to detect the App Engine environment. 3 | """ 4 | 5 | import os 6 | 7 | 8 | def is_appengine(): 9 | return is_local_appengine() or is_prod_appengine() 10 | 11 | 12 | def is_appengine_sandbox(): 13 | """Reports if the app is running in the first generation sandbox. 14 | 15 | The second generation runtimes are technically still in a sandbox, but it 16 | is much less restrictive, so generally you shouldn't need to check for it. 17 | see https://cloud.google.com/appengine/docs/standard/runtimes 18 | """ 19 | return is_appengine() and os.environ["APPENGINE_RUNTIME"] == "python27" 20 | 21 | 22 | def is_local_appengine(): 23 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get( 24 | "SERVER_SOFTWARE", "" 25 | ).startswith("Development/") 26 | 27 | 28 | def is_prod_appengine(): 29 | return "APPENGINE_RUNTIME" in os.environ and os.environ.get( 30 | "SERVER_SOFTWARE", "" 31 | ).startswith("Google App Engine/") 32 | 33 | 34 | def is_prod_appengine_mvms(): 35 | """Deprecated.""" 36 | return False 37 | -------------------------------------------------------------------------------- /libs/urllib3/contrib/_securetransport/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/contrib/_securetransport/__init__.py -------------------------------------------------------------------------------- /libs/urllib3/packages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/packages/__init__.py -------------------------------------------------------------------------------- /libs/urllib3/packages/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/packages/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/packages/__pycache__/six.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/packages/__pycache__/six.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/packages/backports/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/packages/backports/__init__.py -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/connection.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/connection.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/proxy.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/proxy.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/queue.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/queue.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/request.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/request.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/response.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/response.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/retry.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/retry.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/ssl_.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/ssl_.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/ssl_match_hostname.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/ssltransport.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/ssltransport.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/timeout.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/timeout.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/url.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/url.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/__pycache__/wait.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/urllib3/util/__pycache__/wait.cpython-311.pyc -------------------------------------------------------------------------------- /libs/urllib3/util/queue.py: -------------------------------------------------------------------------------- 1 | import collections 2 | 3 | from ..packages import six 4 | from ..packages.six.moves import queue 5 | 6 | if six.PY2: 7 | # Queue is imported for side effects on MS Windows. See issue #229. 8 | import Queue as _unused_module_Queue # noqa: F401 9 | 10 | 11 | class LifoQueue(queue.Queue): 12 | def _init(self, _): 13 | self.queue = collections.deque() 14 | 15 | def _qsize(self, len=len): 16 | return len(self.queue) 17 | 18 | def _put(self, item): 19 | self.queue.append(item) 20 | 21 | def _get(self): 22 | return self.queue.pop() 23 | -------------------------------------------------------------------------------- /libs/yarl-1.9.2.dist-info/INSTALLER: -------------------------------------------------------------------------------- 1 | pip 2 | -------------------------------------------------------------------------------- /libs/yarl-1.9.2.dist-info/WHEEL: -------------------------------------------------------------------------------- 1 | Wheel-Version: 1.0 2 | Generator: bdist_wheel (0.40.0) 3 | Root-Is-Purelib: false 4 | Tag: cp39-cp39-macosx_11_0_arm64 5 | 6 | -------------------------------------------------------------------------------- /libs/yarl-1.9.2.dist-info/top_level.txt: -------------------------------------------------------------------------------- 1 | yarl 2 | -------------------------------------------------------------------------------- /libs/yarl/__init__.py: -------------------------------------------------------------------------------- 1 | from ._url import URL, cache_clear, cache_configure, cache_info 2 | 3 | __version__ = "1.9.2" 4 | 5 | __all__ = ("URL", "cache_clear", "cache_configure", "cache_info") 6 | -------------------------------------------------------------------------------- /libs/yarl/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/yarl/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /libs/yarl/__pycache__/_quoting.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/yarl/__pycache__/_quoting.cpython-311.pyc -------------------------------------------------------------------------------- /libs/yarl/__pycache__/_quoting_py.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/yarl/__pycache__/_quoting_py.cpython-311.pyc -------------------------------------------------------------------------------- /libs/yarl/__pycache__/_url.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/yarl/__pycache__/_url.cpython-311.pyc -------------------------------------------------------------------------------- /libs/yarl/_quoting.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | 4 | __all__ = ("_Quoter", "_Unquoter") 5 | 6 | 7 | NO_EXTENSIONS = bool(os.environ.get("YARL_NO_EXTENSIONS")) # type: bool 8 | if sys.implementation.name != "cpython": 9 | NO_EXTENSIONS = True 10 | 11 | 12 | if not NO_EXTENSIONS: # pragma: no branch 13 | try: 14 | from ._quoting_c import _Quoter, _Unquoter # type: ignore[assignment] 15 | except ImportError: # pragma: no cover 16 | from ._quoting_py import _Quoter, _Unquoter # type: ignore[assignment] 17 | else: 18 | from ._quoting_py import _Quoter, _Unquoter # type: ignore[assignment] 19 | -------------------------------------------------------------------------------- /libs/yarl/_quoting_c.cpython-39-darwin.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yinan-c/alfred-translate-it/0d2dcfb844c4b8adba2b882e590ad463b5b98380/libs/yarl/_quoting_c.cpython-39-darwin.so -------------------------------------------------------------------------------- /libs/yarl/_quoting_c.pyi: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | 3 | class _Quoter: 4 | def __init__( 5 | self, 6 | *, 7 | safe: str = ..., 8 | protected: str = ..., 9 | qs: bool = ..., 10 | requote: bool = ... 11 | ) -> None: ... 12 | def __call__(self, val: Optional[str] = ...) -> Optional[str]: ... 13 | 14 | class _Unquoter: 15 | def __init__(self, *, unsafe: str = ..., qs: bool = ...) -> None: ... 16 | def __call__(self, val: Optional[str] = ...) -> Optional[str]: ... 17 | -------------------------------------------------------------------------------- /libs/yarl/py.typed: -------------------------------------------------------------------------------- 1 | # Placeholder 2 | --------------------------------------------------------------------------------