whisper-guard 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- whisper_guard-0.3.0/.gitignore +7 -0
- whisper_guard-0.3.0/.venv-test/.gitignore +1 -0
- whisper_guard-0.3.0/.venv-test/.lock +0 -0
- whisper_guard-0.3.0/.venv-test/CACHEDIR.TAG +1 -0
- whisper_guard-0.3.0/.venv-test/bin/activate +130 -0
- whisper_guard-0.3.0/.venv-test/bin/activate.bat +71 -0
- whisper_guard-0.3.0/.venv-test/bin/activate.csh +76 -0
- whisper_guard-0.3.0/.venv-test/bin/activate.fish +124 -0
- whisper_guard-0.3.0/.venv-test/bin/activate.nu +102 -0
- whisper_guard-0.3.0/.venv-test/bin/activate.ps1 +82 -0
- whisper_guard-0.3.0/.venv-test/bin/activate_this.py +59 -0
- whisper_guard-0.3.0/.venv-test/bin/deactivate.bat +39 -0
- whisper_guard-0.3.0/.venv-test/bin/py.test +10 -0
- whisper_guard-0.3.0/.venv-test/bin/pydoc.bat +22 -0
- whisper_guard-0.3.0/.venv-test/bin/pygmentize +10 -0
- whisper_guard-0.3.0/.venv-test/bin/pytest +10 -0
- whisper_guard-0.3.0/.venv-test/bin/python +1 -0
- whisper_guard-0.3.0/.venv-test/bin/python3 +1 -0
- whisper_guard-0.3.0/.venv-test/bin/python3.12 +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/__init__.py +13 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_argcomplete.py +117 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_code/__init__.py +26 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_code/code.py +1571 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_code/source.py +225 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_io/__init__.py +10 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_io/pprint.py +673 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_io/saferepr.py +130 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_io/terminalwriter.py +258 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_io/wcwidth.py +57 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_py/__init__.py +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_py/error.py +119 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_py/path.py +1475 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/_version.py +24 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/assertion/__init__.py +208 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/assertion/rewrite.py +1202 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/assertion/truncate.py +137 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/assertion/util.py +615 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/cacheprovider.py +646 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/capture.py +1144 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/compat.py +314 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/config/__init__.py +2203 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/config/argparsing.py +578 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/config/compat.py +85 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/config/exceptions.py +15 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/config/findpaths.py +350 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/debugging.py +407 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/deprecated.py +99 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/doctest.py +736 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/faulthandler.py +119 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/fixtures.py +2047 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/freeze_support.py +45 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/helpconfig.py +293 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/hookspec.py +1342 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/junitxml.py +695 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/legacypath.py +468 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/logging.py +960 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/main.py +1203 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/mark/__init__.py +301 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/mark/expression.py +353 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/mark/structures.py +664 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/monkeypatch.py +435 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/nodes.py +772 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/outcomes.py +308 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/pastebin.py +117 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/pathlib.py +1063 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/py.typed +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/pytester.py +1791 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/pytester_assertions.py +74 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/python.py +1772 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/python_api.py +819 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/raises.py +1517 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/recwarn.py +367 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/reports.py +694 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/runner.py +580 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/scope.py +91 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/setuponly.py +98 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/setupplan.py +39 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/skipping.py +321 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/stash.py +116 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/stepwise.py +209 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/subtests.py +411 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/terminal.py +1763 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/terminalprogress.py +30 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/threadexception.py +152 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/timing.py +95 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/tmpdir.py +337 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/tracemalloc.py +24 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/unittest.py +632 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/unraisableexception.py +163 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/warning_types.py +172 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_pytest/warnings.py +151 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_virtualenv.pth +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/_virtualenv.py +101 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig/__init__.py +249 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig/_parse.py +163 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig/_version.py +34 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig/exceptions.py +16 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig/py.typed +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/INSTALLER +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/METADATA +79 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/RECORD +12 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/REQUESTED +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/WHEEL +5 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/licenses/LICENSE +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/iniconfig-2.3.0.dist-info/top_level.txt +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/__init__.py +15 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/_elffile.py +108 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/_manylinux.py +262 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/_musllinux.py +85 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/_parser.py +393 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/_structures.py +33 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/_tokenizer.py +193 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/dependency_groups.py +302 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/direct_url.py +325 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/errors.py +94 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/licenses/__init__.py +186 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/licenses/_spdx.py +799 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/markers.py +492 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/metadata.py +964 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/py.typed +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/pylock.py +905 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/requirements.py +129 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/specifiers.py +1943 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/tags.py +932 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/utils.py +296 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging/version.py +1231 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/INSTALLER +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/METADATA +112 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/RECORD +29 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/REQUESTED +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/WHEEL +4 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/licenses/LICENSE +3 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/licenses/LICENSE.APACHE +177 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/packaging-26.2.dist-info/licenses/LICENSE.BSD +23 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/__init__.py +30 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_callers.py +169 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_hooks.py +714 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_manager.py +523 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_result.py +107 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_tracing.py +72 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_version.py +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/_warnings.py +27 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy/py.typed +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/INSTALLER +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/METADATA +152 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/RECORD +16 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/REQUESTED +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/WHEEL +5 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/licenses/LICENSE +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pluggy-1.6.0.dist-info/top_level.txt +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/py.py +15 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/__init__.py +82 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/__main__.py +17 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/cmdline.py +668 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/console.py +70 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/filter.py +70 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/filters/__init__.py +942 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatter.py +129 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/__init__.py +157 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/_mapping.py +23 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/bbcode.py +108 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/groff.py +170 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/html.py +997 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/img.py +686 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/irc.py +153 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/latex.py +518 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/other.py +160 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/pangomarkup.py +83 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/rtf.py +349 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/svg.py +185 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/terminal.py +127 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/formatters/terminal256.py +338 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexer.py +963 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/__init__.py +362 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_ada_builtins.py +103 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_asy_builtins.py +1644 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_cl_builtins.py +231 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_cocoa_builtins.py +75 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_csound_builtins.py +1780 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_css_builtins.py +558 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_googlesql_builtins.py +918 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_julia_builtins.py +411 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_lasso_builtins.py +5326 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_lilypond_builtins.py +5184 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_lua_builtins.py +285 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_luau_builtins.py +62 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_mapping.py +603 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_mql_builtins.py +1171 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_mysql_builtins.py +1384 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_openedge_builtins.py +2600 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_php_builtins.py +3328 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_postgres_builtins.py +739 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_qlik_builtins.py +666 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_scheme_builtins.py +1609 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_scilab_builtins.py +3093 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_sourcemod_builtins.py +1151 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_sql_builtins.py +106 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_stan_builtins.py +761 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_stata_builtins.py +457 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_tsql_builtins.py +1003 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_usd_builtins.py +112 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_vbscript_builtins.py +279 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/_vim_builtins.py +1938 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/actionscript.py +243 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ada.py +144 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/agile.py +25 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/algebra.py +300 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ambient.py +75 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/amdgpu.py +54 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ampl.py +87 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/apdlexer.py +593 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/apl.py +103 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/archetype.py +315 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/arrow.py +116 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/arturo.py +249 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/asc.py +55 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/asm.py +1058 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/asn1.py +178 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/automation.py +379 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/bare.py +101 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/basic.py +656 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/bdd.py +57 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/berry.py +99 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/bibtex.py +159 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/blueprint.py +173 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/boa.py +97 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/bqn.py +112 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/business.py +625 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/c_cpp.py +415 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/c_like.py +738 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/capnproto.py +74 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/carbon.py +95 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/cddl.py +172 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/chapel.py +139 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/clean.py +180 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/codeql.py +80 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/comal.py +81 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/compiled.py +35 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/configs.py +1433 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/console.py +114 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/cplint.py +43 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/crystal.py +364 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/csound.py +466 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/css.py +632 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/d.py +259 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/dalvik.py +126 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/data.py +763 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/dax.py +135 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/devicetree.py +120 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/diff.py +169 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/dns.py +109 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/dotnet.py +873 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/dsls.py +970 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/dylan.py +279 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ecl.py +144 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/eiffel.py +68 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/elm.py +123 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/elpi.py +201 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/email.py +132 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/erlang.py +526 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/esoteric.py +300 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ezhil.py +76 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/factor.py +363 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/fantom.py +251 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/felix.py +275 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/fift.py +68 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/floscript.py +81 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/forth.py +178 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/fortran.py +212 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/foxpro.py +427 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/freefem.py +893 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/func.py +110 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/functional.py +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/futhark.py +105 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/gcodelexer.py +35 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/gdscript.py +189 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/gleam.py +74 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/go.py +97 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/grammar_notation.py +262 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/graph.py +108 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/graphics.py +794 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/graphql.py +176 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/graphviz.py +58 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/gsql.py +103 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/hare.py +73 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/haskell.py +867 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/haxe.py +941 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/hdl.py +466 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/hexdump.py +102 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/html.py +670 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/idl.py +284 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/igor.py +435 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/inferno.py +95 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/installers.py +352 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/int_fiction.py +1370 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/iolang.py +61 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/j.py +151 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/javascript.py +1591 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/jmespath.py +69 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/jslt.py +94 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/json5.py +83 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/jsonnet.py +169 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/jsx.py +100 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/julia.py +294 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/jvm.py +1807 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/kuin.py +332 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/kusto.py +93 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ldap.py +155 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/lean.py +241 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/lilypond.py +225 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/lisp.py +3152 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/macaulay2.py +1847 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/make.py +212 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/maple.py +291 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/markup.py +1659 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/math.py +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/matlab.py +3307 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/maxima.py +84 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/meson.py +139 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/mime.py +210 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/minecraft.py +392 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/mips.py +130 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ml.py +958 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/modeling.py +368 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/modula2.py +1579 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/mojo.py +707 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/monte.py +203 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/mosel.py +447 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ncl.py +894 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/nimrod.py +199 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/nit.py +63 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/nix.py +144 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/numbair.py +63 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/oberon.py +120 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/objective.py +513 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ooc.py +84 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/openscad.py +96 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/other.py +41 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/parasail.py +78 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/parsers.py +798 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/pascal.py +644 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/pawn.py +202 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/pddl.py +82 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/perl.py +733 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/phix.py +363 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/php.py +335 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/pointless.py +70 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/pony.py +93 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/praat.py +303 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/procfile.py +41 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/prolog.py +318 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/promql.py +176 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/prql.py +251 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ptx.py +119 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/python.py +1204 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/q.py +187 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/qlik.py +117 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/qvt.py +153 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/r.py +196 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rdf.py +468 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rebol.py +419 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rego.py +57 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rell.py +68 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/resource.py +83 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ride.py +138 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rita.py +42 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rnc.py +66 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/roboconf.py +81 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/robotframework.py +551 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ruby.py +518 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/rust.py +222 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/sas.py +227 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/savi.py +171 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/scdoc.py +85 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/scripting.py +1638 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/sgf.py +59 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/shell.py +902 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/sieve.py +78 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/slash.py +183 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/smalltalk.py +194 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/smithy.py +77 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/smv.py +78 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/snobol.py +82 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/solidity.py +87 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/soong.py +78 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/sophia.py +102 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/special.py +122 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/spice.py +70 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/sql.py +1111 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/srcinfo.py +62 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/stata.py +170 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/supercollider.py +94 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tablegen.py +177 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tact.py +303 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tal.py +77 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tcl.py +148 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/teal.py +88 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/templates.py +2355 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/teraterm.py +335 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/testing.py +209 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/text.py +27 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/textedit.py +205 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/textfmts.py +436 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/theorem.py +410 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/thingsdb.py +143 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tlb.py +59 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tls.py +54 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/tnt.py +270 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/trafficscript.py +51 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/typoscript.py +216 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/typst.py +160 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/ul4.py +309 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/unicon.py +413 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/urbi.py +145 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/usd.py +85 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/varnish.py +189 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/verification.py +113 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/verifpal.py +65 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/vip.py +150 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/vyper.py +140 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/web.py +24 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/webassembly.py +119 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/webidl.py +298 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/webmisc.py +1006 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/wgsl.py +406 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/whiley.py +115 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/wowtoc.py +120 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/wren.py +98 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/x10.py +66 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/xorg.py +38 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/yang.py +103 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/yara.py +69 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/lexers/zig.py +125 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/modeline.py +43 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/plugin.py +74 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/regexopt.py +102 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/scanner.py +104 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/sphinxext.py +247 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/style.py +203 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/__init__.py +61 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/_mapping.py +54 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/abap.py +32 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/algol.py +65 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/algol_nu.py +65 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/arduino.py +100 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/autumn.py +67 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/borland.py +53 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/bw.py +52 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/coffee.py +80 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/colorful.py +83 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/default.py +76 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/dracula.py +90 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/emacs.py +75 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/friendly.py +76 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/friendly_grayscale.py +80 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/fruity.py +47 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/gh_dark.py +113 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/gruvbox.py +118 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/igor.py +32 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/inkpot.py +72 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/lightbulb.py +110 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/lilypond.py +62 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/lovelace.py +100 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/manni.py +79 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/material.py +124 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/monokai.py +112 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/murphy.py +82 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/native.py +70 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/nord.py +156 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/onedark.py +73 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/paraiso_dark.py +124 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/paraiso_light.py +124 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/pastie.py +78 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/perldoc.py +73 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/rainbow_dash.py +95 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/rrt.py +54 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/sas.py +46 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/solarized.py +144 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/staroffice.py +31 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/stata_dark.py +42 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/stata_light.py +42 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/tango.py +143 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/trac.py +66 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/vim.py +67 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/vs.py +41 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/xcode.py +53 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/styles/zenburn.py +83 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/token.py +214 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/unistring.py +153 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments/util.py +324 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/INSTALLER +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/METADATA +57 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/RECORD +348 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/REQUESTED +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/WHEEL +4 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/entry_points.txt +2 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/licenses/AUTHORS +292 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pygments-2.20.0.dist-info/licenses/LICENSE +25 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest/__init__.py +186 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest/__main__.py +9 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest/py.typed +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/INSTALLER +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/METADATA +212 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/RECORD +86 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/REQUESTED +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/WHEEL +5 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/entry_points.txt +3 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/licenses/LICENSE +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/pytest-9.0.3.dist-info/top_level.txt +3 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard/__init__.py +4 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard/guard.py +155 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard/vocab.py +15 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/INSTALLER +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/METADATA +122 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/RECORD +11 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/REQUESTED +0 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/WHEEL +4 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/direct_url.json +1 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/licenses/LICENSE +21 -0
- whisper_guard-0.3.0/.venv-test/lib/python3.12/site-packages/whisper_guard-0.3.0.dist-info/uv_cache.json +1 -0
- whisper_guard-0.3.0/.venv-test/pyvenv.cfg +5 -0
- whisper_guard-0.3.0/CHANGELOG.md +31 -0
- whisper_guard-0.3.0/LICENSE +21 -0
- whisper_guard-0.3.0/PKG-INFO +122 -0
- whisper_guard-0.3.0/README.md +103 -0
- whisper_guard-0.3.0/pyproject.toml +26 -0
- whisper_guard-0.3.0/tests/test_guard.py +174 -0
- whisper_guard-0.3.0/tests/test_vocab.py +36 -0
- whisper_guard-0.3.0/whisper_guard/__init__.py +4 -0
- whisper_guard-0.3.0/whisper_guard/guard.py +155 -0
- whisper_guard-0.3.0/whisper_guard/vocab.py +15 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Signature: 8a477f597d28d172789f06886806bc55
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Copyright (c) 2020-202x The virtualenv developers
|
|
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
|
+
|
|
22
|
+
# This file must be used with "source bin/activate" *from bash*
|
|
23
|
+
# you cannot run it directly
|
|
24
|
+
|
|
25
|
+
if ! [ -z "${SCRIPT_PATH+_}" ] ; then
|
|
26
|
+
_OLD_SCRIPT_PATH="$SCRIPT_PATH"
|
|
27
|
+
fi
|
|
28
|
+
|
|
29
|
+
# Get script path (only used if environment is relocatable).
|
|
30
|
+
if [ -n "${BASH_VERSION:+x}" ] ; then
|
|
31
|
+
SCRIPT_PATH="${BASH_SOURCE[0]}"
|
|
32
|
+
if [ "$SCRIPT_PATH" = "$0" ]; then
|
|
33
|
+
# Only bash has a reasonably robust check for source'dness.
|
|
34
|
+
echo "You must source this script: \$ source $0" >&2
|
|
35
|
+
exit 33
|
|
36
|
+
fi
|
|
37
|
+
elif [ -n "${ZSH_VERSION:+x}" ] ; then
|
|
38
|
+
SCRIPT_PATH="${(%):-%x}"
|
|
39
|
+
elif [ -n "${KSH_VERSION:+x}" ] ; then
|
|
40
|
+
SCRIPT_PATH="${.sh.file}"
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
deactivate () {
|
|
44
|
+
unset -f pydoc >/dev/null 2>&1 || true
|
|
45
|
+
|
|
46
|
+
# reset old environment variables
|
|
47
|
+
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
|
|
48
|
+
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
|
|
49
|
+
PATH="$_OLD_VIRTUAL_PATH"
|
|
50
|
+
export PATH
|
|
51
|
+
unset _OLD_VIRTUAL_PATH
|
|
52
|
+
fi
|
|
53
|
+
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
|
|
54
|
+
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
|
|
55
|
+
export PYTHONHOME
|
|
56
|
+
unset _OLD_VIRTUAL_PYTHONHOME
|
|
57
|
+
fi
|
|
58
|
+
|
|
59
|
+
# The hash command must be called to get it to forget past
|
|
60
|
+
# commands. Without forgetting past commands the $PATH changes
|
|
61
|
+
# we made may not be respected
|
|
62
|
+
hash -r 2>/dev/null
|
|
63
|
+
|
|
64
|
+
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
|
|
65
|
+
PS1="$_OLD_VIRTUAL_PS1"
|
|
66
|
+
export PS1
|
|
67
|
+
unset _OLD_VIRTUAL_PS1
|
|
68
|
+
fi
|
|
69
|
+
|
|
70
|
+
unset VIRTUAL_ENV
|
|
71
|
+
unset VIRTUAL_ENV_PROMPT
|
|
72
|
+
if [ ! "${1-}" = "nondestructive" ] ; then
|
|
73
|
+
# Self destruct!
|
|
74
|
+
unset -f deactivate
|
|
75
|
+
fi
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
# unset irrelevant variables
|
|
79
|
+
deactivate nondestructive
|
|
80
|
+
|
|
81
|
+
VIRTUAL_ENV='/Users/vulturemacmini/Projects/whisper-guard-pub/.venv-test'
|
|
82
|
+
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
|
|
83
|
+
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
|
|
84
|
+
fi
|
|
85
|
+
export VIRTUAL_ENV
|
|
86
|
+
|
|
87
|
+
# Unset the `SCRIPT_PATH` variable, now that the `VIRTUAL_ENV` variable
|
|
88
|
+
# has been set. This is important for relocatable environments.
|
|
89
|
+
if ! [ -z "${_OLD_SCRIPT_PATH+_}" ] ; then
|
|
90
|
+
SCRIPT_PATH="$_OLD_SCRIPT_PATH"
|
|
91
|
+
export SCRIPT_PATH
|
|
92
|
+
unset _OLD_SCRIPT_PATH
|
|
93
|
+
else
|
|
94
|
+
unset SCRIPT_PATH
|
|
95
|
+
fi
|
|
96
|
+
|
|
97
|
+
_OLD_VIRTUAL_PATH="$PATH"
|
|
98
|
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
99
|
+
export PATH
|
|
100
|
+
|
|
101
|
+
if [ "x" != x ] ; then
|
|
102
|
+
VIRTUAL_ENV_PROMPT=""
|
|
103
|
+
else
|
|
104
|
+
VIRTUAL_ENV_PROMPT=$(basename "$VIRTUAL_ENV")
|
|
105
|
+
fi
|
|
106
|
+
export VIRTUAL_ENV_PROMPT
|
|
107
|
+
|
|
108
|
+
# unset PYTHONHOME if set
|
|
109
|
+
if ! [ -z "${PYTHONHOME+_}" ] ; then
|
|
110
|
+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
|
|
111
|
+
unset PYTHONHOME
|
|
112
|
+
fi
|
|
113
|
+
|
|
114
|
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
|
|
115
|
+
_OLD_VIRTUAL_PS1="${PS1-}"
|
|
116
|
+
PS1="(${VIRTUAL_ENV_PROMPT}) ${PS1-}"
|
|
117
|
+
export PS1
|
|
118
|
+
fi
|
|
119
|
+
|
|
120
|
+
# Make sure to unalias pydoc if it's already there
|
|
121
|
+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
|
|
122
|
+
|
|
123
|
+
pydoc () {
|
|
124
|
+
python -m pydoc "$@"
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
# The hash command must be called to get it to forget past
|
|
128
|
+
# commands. Without forgetting past commands the $PATH changes
|
|
129
|
+
# we made may not be respected
|
|
130
|
+
hash -r 2>/dev/null || true
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@REM Copyright (c) 2020-202x The virtualenv developers
|
|
2
|
+
@REM
|
|
3
|
+
@REM Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
@REM a copy of this software and associated documentation files (the
|
|
5
|
+
@REM "Software"), to deal in the Software without restriction, including
|
|
6
|
+
@REM without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
@REM distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
@REM permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
@REM the following conditions:
|
|
10
|
+
@REM
|
|
11
|
+
@REM The above copyright notice and this permission notice shall be
|
|
12
|
+
@REM included in all copies or substantial portions of the Software.
|
|
13
|
+
@REM
|
|
14
|
+
@REM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
@REM EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
@REM MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
@REM NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
@REM LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
@REM OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
@REM WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
21
|
+
|
|
22
|
+
@REM This file is UTF-8 encoded, so we need to update the current code page while executing it
|
|
23
|
+
@for /f "tokens=2 delims=:." %%a in ('"%SystemRoot%\System32\chcp.com"') do @set _OLD_CODEPAGE=%%a
|
|
24
|
+
|
|
25
|
+
@if defined _OLD_CODEPAGE (
|
|
26
|
+
"%SystemRoot%\System32\chcp.com" 65001 > nul
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
@for %%i in ("/Users/vulturemacmini/Projects/whisper-guard-pub/.venv-test") do @set "VIRTUAL_ENV=%%~fi"
|
|
30
|
+
|
|
31
|
+
@set "VIRTUAL_ENV_PROMPT="
|
|
32
|
+
@if NOT DEFINED VIRTUAL_ENV_PROMPT (
|
|
33
|
+
@for %%d in ("%VIRTUAL_ENV%") do @set "VIRTUAL_ENV_PROMPT=%%~nxd"
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
@if defined _OLD_VIRTUAL_PROMPT (
|
|
37
|
+
@set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
|
38
|
+
) else (
|
|
39
|
+
@if not defined PROMPT (
|
|
40
|
+
@set "PROMPT=$P$G"
|
|
41
|
+
)
|
|
42
|
+
@if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
|
43
|
+
@set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
|
|
44
|
+
)
|
|
45
|
+
)
|
|
46
|
+
@if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
|
47
|
+
@set "PROMPT=(%VIRTUAL_ENV_PROMPT%) %PROMPT%"
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
@REM Don't use () to avoid problems with them in %PATH%
|
|
51
|
+
@if defined _OLD_VIRTUAL_PYTHONHOME @goto ENDIFVHOME
|
|
52
|
+
@set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
|
|
53
|
+
:ENDIFVHOME
|
|
54
|
+
|
|
55
|
+
@set PYTHONHOME=
|
|
56
|
+
|
|
57
|
+
@REM if defined _OLD_VIRTUAL_PATH (
|
|
58
|
+
@if not defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH1
|
|
59
|
+
@set "PATH=%_OLD_VIRTUAL_PATH%"
|
|
60
|
+
:ENDIFVPATH1
|
|
61
|
+
@REM ) else (
|
|
62
|
+
@if defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH2
|
|
63
|
+
@set "_OLD_VIRTUAL_PATH=%PATH%"
|
|
64
|
+
:ENDIFVPATH2
|
|
65
|
+
|
|
66
|
+
@set "PATH=%VIRTUAL_ENV%\bin;%PATH%"
|
|
67
|
+
|
|
68
|
+
@if defined _OLD_CODEPAGE (
|
|
69
|
+
"%SystemRoot%\System32\chcp.com" %_OLD_CODEPAGE% > nul
|
|
70
|
+
@set _OLD_CODEPAGE=
|
|
71
|
+
)
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Copyright (c) 2020-202x The virtualenv developers
|
|
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
|
+
|
|
22
|
+
# This file must be used with "source bin/activate.csh" *from csh*.
|
|
23
|
+
# You cannot run it directly.
|
|
24
|
+
# Created by Davide Di Blasi <davidedb@gmail.com>.
|
|
25
|
+
|
|
26
|
+
set newline='\
|
|
27
|
+
'
|
|
28
|
+
|
|
29
|
+
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH:q" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT:q" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'
|
|
30
|
+
|
|
31
|
+
# Unset irrelevant variables.
|
|
32
|
+
deactivate nondestructive
|
|
33
|
+
|
|
34
|
+
setenv VIRTUAL_ENV '/Users/vulturemacmini/Projects/whisper-guard-pub/.venv-test'
|
|
35
|
+
|
|
36
|
+
set _OLD_VIRTUAL_PATH="$PATH:q"
|
|
37
|
+
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
if ('' != "") then
|
|
42
|
+
setenv VIRTUAL_ENV_PROMPT ''
|
|
43
|
+
else
|
|
44
|
+
setenv VIRTUAL_ENV_PROMPT "$VIRTUAL_ENV:t:q"
|
|
45
|
+
endif
|
|
46
|
+
|
|
47
|
+
if ( $?VIRTUAL_ENV_DISABLE_PROMPT ) then
|
|
48
|
+
if ( $VIRTUAL_ENV_DISABLE_PROMPT == "" ) then
|
|
49
|
+
set do_prompt = "1"
|
|
50
|
+
else
|
|
51
|
+
set do_prompt = "0"
|
|
52
|
+
endif
|
|
53
|
+
else
|
|
54
|
+
set do_prompt = "1"
|
|
55
|
+
endif
|
|
56
|
+
|
|
57
|
+
if ( $do_prompt == "1" ) then
|
|
58
|
+
# Could be in a non-interactive environment,
|
|
59
|
+
# in which case, $prompt is undefined and we wouldn't
|
|
60
|
+
# care about the prompt anyway.
|
|
61
|
+
if ( $?prompt ) then
|
|
62
|
+
set _OLD_VIRTUAL_PROMPT="$prompt:q"
|
|
63
|
+
if ( "$prompt:q" =~ *"$newline:q"* ) then
|
|
64
|
+
:
|
|
65
|
+
else
|
|
66
|
+
set prompt = '('"$VIRTUAL_ENV_PROMPT:q"') '"$prompt:q"
|
|
67
|
+
endif
|
|
68
|
+
endif
|
|
69
|
+
endif
|
|
70
|
+
|
|
71
|
+
unset env_name
|
|
72
|
+
unset do_prompt
|
|
73
|
+
|
|
74
|
+
alias pydoc python -m pydoc
|
|
75
|
+
|
|
76
|
+
rehash
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# Copyright (c) 2020-202x The virtualenv developers
|
|
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
|
+
|
|
22
|
+
# This file must be used using `source bin/activate.fish` *within a running fish ( http://fishshell.com ) session*.
|
|
23
|
+
# Do not run it directly.
|
|
24
|
+
|
|
25
|
+
function _bashify_path -d "Converts a fish path to something bash can recognize"
|
|
26
|
+
set fishy_path $argv
|
|
27
|
+
set bashy_path $fishy_path[1]
|
|
28
|
+
for path_part in $fishy_path[2..-1]
|
|
29
|
+
set bashy_path "$bashy_path:$path_part"
|
|
30
|
+
end
|
|
31
|
+
echo $bashy_path
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
function _fishify_path -d "Converts a bash path to something fish can recognize"
|
|
35
|
+
echo $argv | tr ':' '\n'
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
function deactivate -d 'Exit virtualenv mode and return to the normal environment.'
|
|
39
|
+
# reset old environment variables
|
|
40
|
+
if test -n "$_OLD_VIRTUAL_PATH"
|
|
41
|
+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
|
|
42
|
+
if test (string sub -s 1 -l 1 $FISH_VERSION) -lt 3
|
|
43
|
+
set -gx PATH (_fishify_path "$_OLD_VIRTUAL_PATH")
|
|
44
|
+
else
|
|
45
|
+
set -gx PATH $_OLD_VIRTUAL_PATH
|
|
46
|
+
end
|
|
47
|
+
set -e _OLD_VIRTUAL_PATH
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
|
|
51
|
+
set -gx PYTHONHOME "$_OLD_VIRTUAL_PYTHONHOME"
|
|
52
|
+
set -e _OLD_VIRTUAL_PYTHONHOME
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
|
|
56
|
+
and functions -q _old_fish_prompt
|
|
57
|
+
# Set an empty local `$fish_function_path` to allow the removal of `fish_prompt` using `functions -e`.
|
|
58
|
+
set -l fish_function_path
|
|
59
|
+
|
|
60
|
+
# Erase virtualenv's `fish_prompt` and restore the original.
|
|
61
|
+
functions -e fish_prompt
|
|
62
|
+
functions -c _old_fish_prompt fish_prompt
|
|
63
|
+
functions -e _old_fish_prompt
|
|
64
|
+
set -e _OLD_FISH_PROMPT_OVERRIDE
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
set -e VIRTUAL_ENV
|
|
68
|
+
set -e VIRTUAL_ENV_PROMPT
|
|
69
|
+
|
|
70
|
+
if test "$argv[1]" != 'nondestructive'
|
|
71
|
+
# Self-destruct!
|
|
72
|
+
functions -e pydoc
|
|
73
|
+
functions -e deactivate
|
|
74
|
+
functions -e _bashify_path
|
|
75
|
+
functions -e _fishify_path
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Unset irrelevant variables.
|
|
80
|
+
deactivate nondestructive
|
|
81
|
+
|
|
82
|
+
set -gx VIRTUAL_ENV '/Users/vulturemacmini/Projects/whisper-guard-pub/.venv-test'
|
|
83
|
+
|
|
84
|
+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
|
|
85
|
+
if test (string sub -s 1 -l 1 $FISH_VERSION) -lt 3
|
|
86
|
+
set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
|
|
87
|
+
else
|
|
88
|
+
set -gx _OLD_VIRTUAL_PATH $PATH
|
|
89
|
+
end
|
|
90
|
+
set -gx PATH "$VIRTUAL_ENV"'/bin' $PATH
|
|
91
|
+
|
|
92
|
+
# Prompt override provided?
|
|
93
|
+
# If not, just use the environment name.
|
|
94
|
+
if test -n ''
|
|
95
|
+
set -gx VIRTUAL_ENV_PROMPT ''
|
|
96
|
+
else
|
|
97
|
+
set -gx VIRTUAL_ENV_PROMPT (basename "$VIRTUAL_ENV")
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Unset `$PYTHONHOME` if set.
|
|
101
|
+
if set -q PYTHONHOME
|
|
102
|
+
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
|
103
|
+
set -e PYTHONHOME
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
function pydoc
|
|
107
|
+
python -m pydoc $argv
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
|
111
|
+
# Copy the current `fish_prompt` function as `_old_fish_prompt`.
|
|
112
|
+
functions -c fish_prompt _old_fish_prompt
|
|
113
|
+
|
|
114
|
+
function fish_prompt
|
|
115
|
+
# Run the user's prompt first; it might depend on (pipe)status.
|
|
116
|
+
set -l prompt (_old_fish_prompt)
|
|
117
|
+
|
|
118
|
+
printf '(%s) ' $VIRTUAL_ENV_PROMPT
|
|
119
|
+
|
|
120
|
+
string join -- \n $prompt # handle multi-line prompts
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
|
124
|
+
end
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Copyright (c) 2020-202x The virtualenv developers
|
|
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
|
+
|
|
22
|
+
# virtualenv activation module:
|
|
23
|
+
# - Activate with `overlay use activate.nu`
|
|
24
|
+
# - Deactivate with `deactivate`, as usual
|
|
25
|
+
#
|
|
26
|
+
# To customize the overlay name, you can call `overlay use activate.nu as foo`, but then simply `deactivate` won't work
|
|
27
|
+
# because it is just an alias to hide the "activate" overlay. You'd need to call `overlay hide foo` manually.
|
|
28
|
+
|
|
29
|
+
module warning {
|
|
30
|
+
export-env {
|
|
31
|
+
const file = path self
|
|
32
|
+
error make -u {
|
|
33
|
+
msg: $"`($file | path basename)` is meant to be used with `overlay use`, not `source`"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
use warning
|
|
40
|
+
|
|
41
|
+
export-env {
|
|
42
|
+
|
|
43
|
+
let nu_ver = (version | get version | split row '.' | take 2 | each { into int })
|
|
44
|
+
if $nu_ver.0 == 0 and $nu_ver.1 < 106 {
|
|
45
|
+
error make {
|
|
46
|
+
msg: 'virtualenv Nushell activation requires Nushell 0.106 or greater.'
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
def is-string [x] {
|
|
51
|
+
($x | describe) == 'string'
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
def has-env [...names] {
|
|
55
|
+
$names | each {|n| $n in $env } | all {|i| $i }
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
def is-env-true [name: string] {
|
|
59
|
+
if (has-env $name) {
|
|
60
|
+
let val = ($env | get --optional $name)
|
|
61
|
+
if ($val | describe) == 'bool' {
|
|
62
|
+
$val
|
|
63
|
+
} else {
|
|
64
|
+
not ($val | is-empty)
|
|
65
|
+
}
|
|
66
|
+
} else {
|
|
67
|
+
false
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
let virtual_env = '/Users/vulturemacmini/Projects/whisper-guard-pub/.venv-test'
|
|
72
|
+
let bin = 'bin'
|
|
73
|
+
let path_name = if (has-env 'Path') { 'Path' } else { 'PATH' }
|
|
74
|
+
let venv_path = ([$virtual_env $bin] | path join)
|
|
75
|
+
let new_path = ($env | get $path_name | prepend $venv_path)
|
|
76
|
+
let virtual_env_prompt = if ('' | is-empty) {
|
|
77
|
+
($virtual_env | path basename)
|
|
78
|
+
} else {
|
|
79
|
+
''
|
|
80
|
+
}
|
|
81
|
+
let new_env = { $path_name: $new_path VIRTUAL_ENV: $virtual_env VIRTUAL_ENV_PROMPT: $virtual_env_prompt }
|
|
82
|
+
let old_prompt_command = if (has-env 'PROMPT_COMMAND') { $env.PROMPT_COMMAND } else { '' }
|
|
83
|
+
let new_env = if (is-env-true 'VIRTUAL_ENV_DISABLE_PROMPT') {
|
|
84
|
+
$new_env
|
|
85
|
+
} else {
|
|
86
|
+
let virtual_prefix = $'(char lparen)($virtual_env_prompt)(char rparen) '
|
|
87
|
+
let new_prompt = if (has-env 'PROMPT_COMMAND') {
|
|
88
|
+
if ('closure' in ($old_prompt_command | describe)) {
|
|
89
|
+
{|| $'($virtual_prefix)(do $old_prompt_command)' }
|
|
90
|
+
} else {
|
|
91
|
+
{|| $'($virtual_prefix)($old_prompt_command)' }
|
|
92
|
+
}
|
|
93
|
+
} else {
|
|
94
|
+
{|| $'($virtual_prefix)' }
|
|
95
|
+
}
|
|
96
|
+
$new_env | merge { PROMPT_COMMAND: $new_prompt VIRTUAL_PREFIX: $virtual_prefix }
|
|
97
|
+
}
|
|
98
|
+
load-env $new_env
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export alias pydoc = python -m pydoc
|
|
102
|
+
export alias deactivate = overlay hide activate
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Copyright (c) 2020-202x The virtualenv developers
|
|
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
|
+
|
|
22
|
+
$script:THIS_PATH = $myinvocation.mycommand.path
|
|
23
|
+
$script:BASE_DIR = Split-Path (Resolve-Path "$THIS_PATH/..") -Parent
|
|
24
|
+
|
|
25
|
+
function global:deactivate([switch] $NonDestructive) {
|
|
26
|
+
if (Test-Path variable:_OLD_VIRTUAL_PATH) {
|
|
27
|
+
$env:PATH = $variable:_OLD_VIRTUAL_PATH
|
|
28
|
+
Remove-Variable "_OLD_VIRTUAL_PATH" -Scope global
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (Test-Path function:_old_virtual_prompt) {
|
|
32
|
+
$function:prompt = $function:_old_virtual_prompt
|
|
33
|
+
Remove-Item function:\_old_virtual_prompt
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if ($env:VIRTUAL_ENV) {
|
|
37
|
+
Remove-Item env:VIRTUAL_ENV -ErrorAction SilentlyContinue
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if ($env:VIRTUAL_ENV_PROMPT) {
|
|
41
|
+
Remove-Item env:VIRTUAL_ENV_PROMPT -ErrorAction SilentlyContinue
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (!$NonDestructive) {
|
|
45
|
+
# Self destruct!
|
|
46
|
+
Remove-Item function:deactivate
|
|
47
|
+
Remove-Item function:pydoc
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function global:pydoc {
|
|
52
|
+
python -m pydoc $args
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
# unset irrelevant variables
|
|
56
|
+
deactivate -nondestructive
|
|
57
|
+
|
|
58
|
+
$VIRTUAL_ENV = $BASE_DIR
|
|
59
|
+
$env:VIRTUAL_ENV = $VIRTUAL_ENV
|
|
60
|
+
|
|
61
|
+
if ("" -ne "") {
|
|
62
|
+
$env:VIRTUAL_ENV_PROMPT = ""
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
$env:VIRTUAL_ENV_PROMPT = $( Split-Path $env:VIRTUAL_ENV -Leaf )
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
New-Variable -Scope global -Name _OLD_VIRTUAL_PATH -Value $env:PATH
|
|
69
|
+
|
|
70
|
+
$env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH
|
|
71
|
+
if (!$env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
|
72
|
+
function global:_old_virtual_prompt {
|
|
73
|
+
""
|
|
74
|
+
}
|
|
75
|
+
$function:_old_virtual_prompt = $function:prompt
|
|
76
|
+
|
|
77
|
+
function global:prompt {
|
|
78
|
+
# Add the custom prefix to the existing prompt
|
|
79
|
+
$previous_prompt_value = & $function:_old_virtual_prompt
|
|
80
|
+
("(" + $env:VIRTUAL_ENV_PROMPT + ") " + $previous_prompt_value)
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Copyright (c) 2020-202x The virtualenv developers
|
|
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
|
+
|
|
22
|
+
"""
|
|
23
|
+
Activate virtualenv for current interpreter:
|
|
24
|
+
|
|
25
|
+
import runpy
|
|
26
|
+
runpy.run_path(this_file)
|
|
27
|
+
|
|
28
|
+
This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
|
|
29
|
+
""" # noqa: D415
|
|
30
|
+
|
|
31
|
+
from __future__ import annotations
|
|
32
|
+
|
|
33
|
+
import os
|
|
34
|
+
import site
|
|
35
|
+
import sys
|
|
36
|
+
|
|
37
|
+
try:
|
|
38
|
+
abs_file = os.path.abspath(__file__)
|
|
39
|
+
except NameError as exc:
|
|
40
|
+
msg = "You must use import runpy; runpy.run_path(this_file)"
|
|
41
|
+
raise AssertionError(msg) from exc
|
|
42
|
+
|
|
43
|
+
bin_dir = os.path.dirname(abs_file)
|
|
44
|
+
base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
|
|
45
|
+
|
|
46
|
+
# prepend bin to PATH (this file is inside the bin directory)
|
|
47
|
+
os.environ["PATH"] = os.pathsep.join([bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
|
|
48
|
+
os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
|
|
49
|
+
os.environ["VIRTUAL_ENV_PROMPT"] = "" or os.path.basename(base) # noqa: SIM222
|
|
50
|
+
|
|
51
|
+
# add the virtual environments libraries to the host python import mechanism
|
|
52
|
+
prev_length = len(sys.path)
|
|
53
|
+
for lib in "../lib/python3.12/site-packages".split(os.pathsep):
|
|
54
|
+
path = os.path.realpath(os.path.join(bin_dir, lib))
|
|
55
|
+
site.addsitedir(path)
|
|
56
|
+
sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
|
|
57
|
+
|
|
58
|
+
sys.real_prefix = sys.prefix
|
|
59
|
+
sys.prefix = base
|