Spaces:
Running
Running
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .env +3 -0
- .envrc +2 -0
- .gitattributes +32 -0
- .gitignore +1 -0
- .venv/.gitignore +1 -0
- .venv/.lock +0 -0
- .venv/CACHEDIR.TAG +1 -0
- .venv/bin/activate +108 -0
- .venv/bin/activate.bat +59 -0
- .venv/bin/activate.csh +76 -0
- .venv/bin/activate.fish +124 -0
- .venv/bin/activate.nu +117 -0
- .venv/bin/activate.ps1 +82 -0
- .venv/bin/activate_this.py +57 -0
- .venv/bin/deactivate.bat +39 -0
- .venv/bin/distro +8 -0
- .venv/bin/dotenv +8 -0
- .venv/bin/email_validator +8 -0
- .venv/bin/f2py +8 -0
- .venv/bin/fastapi +8 -0
- .venv/bin/fonttools +8 -0
- .venv/bin/gradio +8 -0
- .venv/bin/httpx +8 -0
- .venv/bin/huggingface-cli +8 -0
- .venv/bin/ipython +8 -0
- .venv/bin/ipython3 +8 -0
- .venv/bin/jp.py +54 -0
- .venv/bin/jupyter +8 -0
- .venv/bin/jupyter-kernel +8 -0
- .venv/bin/jupyter-kernelspec +8 -0
- .venv/bin/jupyter-migrate +8 -0
- .venv/bin/jupyter-run +8 -0
- .venv/bin/jupyter-troubleshoot +8 -0
- .venv/bin/markdown-it +8 -0
- .venv/bin/markdown2 +8 -0
- .venv/bin/normalizer +8 -0
- .venv/bin/numpy-config +8 -0
- .venv/bin/pydoc.bat +22 -0
- .venv/bin/pyftmerge +8 -0
- .venv/bin/pyftsubset +8 -0
- .venv/bin/pygmentize +8 -0
- .venv/bin/python +0 -0
- .venv/bin/python3 +0 -0
- .venv/bin/python3.11 +0 -0
- .venv/bin/ruff +3 -0
- .venv/bin/tqdm +8 -0
- .venv/bin/ttx +8 -0
- .venv/bin/typer +8 -0
- .venv/bin/upload_theme +8 -0
- .venv/bin/uvicorn +8 -0
.env
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
MAILJET_API_KEY=989f3734978451e0cb7491541aba0426
|
2 |
+
MAILJET_API_SECRET=23a8414fb43f4106168d576f957d6d7e
|
3 |
.envrc
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
export VIRTUAL_ENV=.venv
|
2 |
+
layout python
|
.gitattributes
CHANGED
@@ -33,3 +33,35 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
.venv/bin/ruff filter=lfs diff=lfs merge=lfs -text
|
37 |
+
.venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
38 |
+
.venv/lib/python3.11/site-packages/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
39 |
+
.venv/lib/python3.11/site-packages/fontTools/cu2qu/cu2qu.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
40 |
+
.venv/lib/python3.11/site-packages/fontTools/feaLib/lexer.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
41 |
+
.venv/lib/python3.11/site-packages/fontTools/misc/bezierTools.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
42 |
+
.venv/lib/python3.11/site-packages/fontTools/pens/momentsPen.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
43 |
+
.venv/lib/python3.11/site-packages/fontTools/qu2cu/qu2cu.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
44 |
+
.venv/lib/python3.11/site-packages/fontTools/varLib/iup.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
45 |
+
.venv/lib/python3.11/site-packages/gradio/frpc_linux_amd64_v0.2 filter=lfs diff=lfs merge=lfs -text
|
46 |
+
.venv/lib/python3.11/site-packages/greenlet/_greenlet.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
47 |
+
.venv/lib/python3.11/site-packages/kiwisolver/_cext.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
48 |
+
.venv/lib/python3.11/site-packages/msgpack/_cmsgpack.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
49 |
+
.venv/lib/python3.11/site-packages/numpy/_core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
50 |
+
.venv/lib/python3.11/site-packages/numpy/_core/_simd.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
51 |
+
.venv/lib/python3.11/site-packages/numpy/random/_generator.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
52 |
+
.venv/lib/python3.11/site-packages/numpy.libs/libgfortran-040039e1-0352e75f.so.5.0.0 filter=lfs diff=lfs merge=lfs -text
|
53 |
+
.venv/lib/python3.11/site-packages/numpy.libs/libscipy_openblas64_-99b71e71.so filter=lfs diff=lfs merge=lfs -text
|
54 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/algos.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
55 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/groupby.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
56 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/hashtable.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
57 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/interval.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
58 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/join.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
59 |
+
.venv/lib/python3.11/site-packages/pandas/_libs/tslibs/offsets.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
60 |
+
.venv/lib/python3.11/site-packages/pillow.libs/libfreetype-be14bf51.so.6.20.1 filter=lfs diff=lfs merge=lfs -text
|
61 |
+
.venv/lib/python3.11/site-packages/pillow.libs/libharfbuzz-89381d8f.so.0.60850.0 filter=lfs diff=lfs merge=lfs -text
|
62 |
+
.venv/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
63 |
+
.venv/lib/python3.11/site-packages/pyzmq.libs/libsodium-b135f62c.so.26.1.0 filter=lfs diff=lfs merge=lfs -text
|
64 |
+
.venv/lib/python3.11/site-packages/tokenizers/tokenizers.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
65 |
+
.venv/lib/python3.11/site-packages/uvloop/loop.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
66 |
+
.venv/lib/python3.11/site-packages/watchfiles/_rust_notify.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
67 |
+
.venv/lib/python3.11/site-packages/yaml/_yaml.cpython-311-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
outputs
|
.venv/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*
|
.venv/.lock
ADDED
File without changes
|
.venv/CACHEDIR.TAG
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Signature: 8a477f597d28d172789f06886806bc55
|
.venv/bin/activate
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|
26 |
+
if [ "${BASH_SOURCE-}" = "$0" ]; then
|
27 |
+
echo "You must source this script: \$ source $0" >&2
|
28 |
+
exit 33
|
29 |
+
fi
|
30 |
+
|
31 |
+
deactivate () {
|
32 |
+
unset -f pydoc >/dev/null 2>&1 || true
|
33 |
+
|
34 |
+
# reset old environment variables
|
35 |
+
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
|
36 |
+
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
|
37 |
+
PATH="$_OLD_VIRTUAL_PATH"
|
38 |
+
export PATH
|
39 |
+
unset _OLD_VIRTUAL_PATH
|
40 |
+
fi
|
41 |
+
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
|
42 |
+
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
|
43 |
+
export PYTHONHOME
|
44 |
+
unset _OLD_VIRTUAL_PYTHONHOME
|
45 |
+
fi
|
46 |
+
|
47 |
+
# The hash command must be called to get it to forget past
|
48 |
+
# commands. Without forgetting past commands the $PATH changes
|
49 |
+
# we made may not be respected
|
50 |
+
hash -r 2>/dev/null
|
51 |
+
|
52 |
+
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
|
53 |
+
PS1="$_OLD_VIRTUAL_PS1"
|
54 |
+
export PS1
|
55 |
+
unset _OLD_VIRTUAL_PS1
|
56 |
+
fi
|
57 |
+
|
58 |
+
unset VIRTUAL_ENV
|
59 |
+
unset VIRTUAL_ENV_PROMPT
|
60 |
+
if [ ! "${1-}" = "nondestructive" ] ; then
|
61 |
+
# Self destruct!
|
62 |
+
unset -f deactivate
|
63 |
+
fi
|
64 |
+
}
|
65 |
+
|
66 |
+
# unset irrelevant variables
|
67 |
+
deactivate nondestructive
|
68 |
+
|
69 |
+
VIRTUAL_ENV='/home/josh/Sandbox/report-webui/.venv'
|
70 |
+
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
|
71 |
+
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
|
72 |
+
fi
|
73 |
+
export VIRTUAL_ENV
|
74 |
+
|
75 |
+
_OLD_VIRTUAL_PATH="$PATH"
|
76 |
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
77 |
+
export PATH
|
78 |
+
|
79 |
+
if [ "xreport-webui" != x ] ; then
|
80 |
+
VIRTUAL_ENV_PROMPT="report-webui"
|
81 |
+
else
|
82 |
+
VIRTUAL_ENV_PROMPT=$(basename "$VIRTUAL_ENV")
|
83 |
+
fi
|
84 |
+
export VIRTUAL_ENV_PROMPT
|
85 |
+
|
86 |
+
# unset PYTHONHOME if set
|
87 |
+
if ! [ -z "${PYTHONHOME+_}" ] ; then
|
88 |
+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
|
89 |
+
unset PYTHONHOME
|
90 |
+
fi
|
91 |
+
|
92 |
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
|
93 |
+
_OLD_VIRTUAL_PS1="${PS1-}"
|
94 |
+
PS1="(${VIRTUAL_ENV_PROMPT}) ${PS1-}"
|
95 |
+
export PS1
|
96 |
+
fi
|
97 |
+
|
98 |
+
# Make sure to unalias pydoc if it's already there
|
99 |
+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
|
100 |
+
|
101 |
+
pydoc () {
|
102 |
+
python -m pydoc "$@"
|
103 |
+
}
|
104 |
+
|
105 |
+
# The hash command must be called to get it to forget past
|
106 |
+
# commands. Without forgetting past commands the $PATH changes
|
107 |
+
# we made may not be respected
|
108 |
+
hash -r 2>/dev/null
|
.venv/bin/activate.bat
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
@set "VIRTUAL_ENV=/home/josh/Sandbox/report-webui/.venv"
|
23 |
+
|
24 |
+
@set "VIRTUAL_ENV_PROMPT=report-webui"
|
25 |
+
@if NOT DEFINED VIRTUAL_ENV_PROMPT (
|
26 |
+
@for %%d in ("%VIRTUAL_ENV%") do @set "VIRTUAL_ENV_PROMPT=%%~nxd"
|
27 |
+
)
|
28 |
+
|
29 |
+
@if defined _OLD_VIRTUAL_PROMPT (
|
30 |
+
@set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
31 |
+
) else (
|
32 |
+
@if not defined PROMPT (
|
33 |
+
@set "PROMPT=$P$G"
|
34 |
+
)
|
35 |
+
@if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
36 |
+
@set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
|
37 |
+
)
|
38 |
+
)
|
39 |
+
@if not defined VIRTUAL_ENV_DISABLE_PROMPT (
|
40 |
+
@set "PROMPT=(%VIRTUAL_ENV_PROMPT%) %PROMPT%"
|
41 |
+
)
|
42 |
+
|
43 |
+
@REM Don't use () to avoid problems with them in %PATH%
|
44 |
+
@if defined _OLD_VIRTUAL_PYTHONHOME @goto ENDIFVHOME
|
45 |
+
@set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
|
46 |
+
:ENDIFVHOME
|
47 |
+
|
48 |
+
@set PYTHONHOME=
|
49 |
+
|
50 |
+
@REM if defined _OLD_VIRTUAL_PATH (
|
51 |
+
@if not defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH1
|
52 |
+
@set "PATH=%_OLD_VIRTUAL_PATH%"
|
53 |
+
:ENDIFVPATH1
|
54 |
+
@REM ) else (
|
55 |
+
@if defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH2
|
56 |
+
@set "_OLD_VIRTUAL_PATH=%PATH%"
|
57 |
+
:ENDIFVPATH2
|
58 |
+
|
59 |
+
@set "PATH=%VIRTUAL_ENV%\bin;%PATH%"
|
.venv/bin/activate.csh
ADDED
@@ -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 <[email protected]>.
|
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 '/home/josh/Sandbox/report-webui/.venv'
|
35 |
+
|
36 |
+
set _OLD_VIRTUAL_PATH="$PATH:q"
|
37 |
+
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
if ('report-webui' != "") then
|
42 |
+
setenv VIRTUAL_ENV_PROMPT 'report-webui'
|
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
|
.venv/bin/activate.fish
ADDED
@@ -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 (echo $FISH_VERSION | head -c 1) -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 '/home/josh/Sandbox/report-webui/.venv'
|
83 |
+
|
84 |
+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
|
85 |
+
if test (echo $FISH_VERSION | head -c 1) -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 'report-webui'
|
95 |
+
set -gx VIRTUAL_ENV_PROMPT 'report-webui'
|
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
|
.venv/bin/activate.nu
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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`,
|
27 |
+
# but then simply `deactivate` won't work because it is just an alias to hide
|
28 |
+
# the "activate" overlay. You'd need to call `overlay hide foo` manually.
|
29 |
+
|
30 |
+
export-env {
|
31 |
+
def is-string [x] {
|
32 |
+
($x | describe) == 'string'
|
33 |
+
}
|
34 |
+
|
35 |
+
def has-env [...names] {
|
36 |
+
$names | each {|n|
|
37 |
+
$n in $env
|
38 |
+
} | all {|i| $i == true}
|
39 |
+
}
|
40 |
+
|
41 |
+
# Emulates a `test -z`, but btter as it handles e.g 'false'
|
42 |
+
def is-env-true [name: string] {
|
43 |
+
if (has-env $name) {
|
44 |
+
# Try to parse 'true', '0', '1', and fail if not convertible
|
45 |
+
let parsed = (do -i { $env | get $name | into bool })
|
46 |
+
if ($parsed | describe) == 'bool' {
|
47 |
+
$parsed
|
48 |
+
} else {
|
49 |
+
not ($env | get -i $name | is-empty)
|
50 |
+
}
|
51 |
+
} else {
|
52 |
+
false
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
let virtual_env = '/home/josh/Sandbox/report-webui/.venv'
|
57 |
+
let bin = 'bin'
|
58 |
+
|
59 |
+
let is_windows = ($nu.os-info.family) == 'windows'
|
60 |
+
let path_name = (if (has-env 'Path') {
|
61 |
+
'Path'
|
62 |
+
} else {
|
63 |
+
'PATH'
|
64 |
+
}
|
65 |
+
)
|
66 |
+
|
67 |
+
let venv_path = ([$virtual_env $bin] | path join)
|
68 |
+
let new_path = ($env | get $path_name | prepend $venv_path)
|
69 |
+
|
70 |
+
# If there is no default prompt, then use the env name instead
|
71 |
+
let virtual_env_prompt = (if ('report-webui' | is-empty) {
|
72 |
+
($virtual_env | path basename)
|
73 |
+
} else {
|
74 |
+
'report-webui'
|
75 |
+
})
|
76 |
+
|
77 |
+
let new_env = {
|
78 |
+
$path_name : $new_path
|
79 |
+
VIRTUAL_ENV : $virtual_env
|
80 |
+
VIRTUAL_ENV_PROMPT : $virtual_env_prompt
|
81 |
+
}
|
82 |
+
|
83 |
+
let new_env = (if (is-env-true 'VIRTUAL_ENV_DISABLE_PROMPT') {
|
84 |
+
$new_env
|
85 |
+
} else {
|
86 |
+
# Creating the new prompt for the session
|
87 |
+
let virtual_prefix = $'(char lparen)($virtual_env_prompt)(char rparen) '
|
88 |
+
|
89 |
+
# Back up the old prompt builder
|
90 |
+
let old_prompt_command = (if (has-env 'PROMPT_COMMAND') {
|
91 |
+
$env.PROMPT_COMMAND
|
92 |
+
} else {
|
93 |
+
''
|
94 |
+
})
|
95 |
+
|
96 |
+
let new_prompt = (if (has-env 'PROMPT_COMMAND') {
|
97 |
+
if 'closure' in ($old_prompt_command | describe) {
|
98 |
+
{|| $'($virtual_prefix)(do $old_prompt_command)' }
|
99 |
+
} else {
|
100 |
+
{|| $'($virtual_prefix)($old_prompt_command)' }
|
101 |
+
}
|
102 |
+
} else {
|
103 |
+
{|| $'($virtual_prefix)' }
|
104 |
+
})
|
105 |
+
|
106 |
+
$new_env | merge {
|
107 |
+
PROMPT_COMMAND : $new_prompt
|
108 |
+
VIRTUAL_PREFIX : $virtual_prefix
|
109 |
+
}
|
110 |
+
})
|
111 |
+
|
112 |
+
# Environment variables that will be loaded as the virtual env
|
113 |
+
load-env $new_env
|
114 |
+
}
|
115 |
+
|
116 |
+
export alias pydoc = python -m pydoc
|
117 |
+
export alias deactivate = overlay hide activate
|
.venv/bin/activate.ps1
ADDED
@@ -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 ("report-webui" -ne "") {
|
62 |
+
$env:VIRTUAL_ENV_PROMPT = "report-webui"
|
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 |
+
}
|
.venv/bin/activate_this.py
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
Use exec(open(this_file).read(), {'__file__': this_file}).
|
26 |
+
|
27 |
+
This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
|
28 |
+
""" # noqa: D415
|
29 |
+
from __future__ import annotations
|
30 |
+
|
31 |
+
import os
|
32 |
+
import site
|
33 |
+
import sys
|
34 |
+
|
35 |
+
try:
|
36 |
+
abs_file = os.path.abspath(__file__)
|
37 |
+
except NameError as exc:
|
38 |
+
msg = "You must use exec(open(this_file).read(), {'__file__': this_file}))"
|
39 |
+
raise AssertionError(msg) from exc
|
40 |
+
|
41 |
+
bin_dir = os.path.dirname(abs_file)
|
42 |
+
base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
|
43 |
+
|
44 |
+
# prepend bin to PATH (this file is inside the bin directory)
|
45 |
+
os.environ["PATH"] = os.pathsep.join([bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
|
46 |
+
os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
|
47 |
+
os.environ["VIRTUAL_ENV_PROMPT"] = "" or os.path.basename(base) # noqa: SIM222
|
48 |
+
|
49 |
+
# add the virtual environments libraries to the host python import mechanism
|
50 |
+
prev_length = len(sys.path)
|
51 |
+
for lib in "../lib/python3.11/site-packages".split(os.pathsep):
|
52 |
+
path = os.path.realpath(os.path.join(bin_dir, lib))
|
53 |
+
site.addsitedir(path.decode("utf-8") if "" else path)
|
54 |
+
sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
|
55 |
+
|
56 |
+
sys.real_prefix = sys.prefix
|
57 |
+
sys.prefix = base
|
.venv/bin/deactivate.bat
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
@set VIRTUAL_ENV=
|
23 |
+
@set VIRTUAL_ENV_PROMPT=
|
24 |
+
|
25 |
+
@REM Don't use () to avoid problems with them in %PATH%
|
26 |
+
@if not defined _OLD_VIRTUAL_PROMPT @goto ENDIFVPROMPT
|
27 |
+
@set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
|
28 |
+
@set _OLD_VIRTUAL_PROMPT=
|
29 |
+
:ENDIFVPROMPT
|
30 |
+
|
31 |
+
@if not defined _OLD_VIRTUAL_PYTHONHOME @goto ENDIFVHOME
|
32 |
+
@set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
|
33 |
+
@set _OLD_VIRTUAL_PYTHONHOME=
|
34 |
+
:ENDIFVHOME
|
35 |
+
|
36 |
+
@if not defined _OLD_VIRTUAL_PATH @goto ENDIFVPATH
|
37 |
+
@set "PATH=%_OLD_VIRTUAL_PATH%"
|
38 |
+
@set _OLD_VIRTUAL_PATH=
|
39 |
+
:ENDIFVPATH
|
.venv/bin/distro
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from distro.distro import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/dotenv
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from dotenv.__main__ import cli
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(cli())
|
.venv/bin/email_validator
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from email_validator.__main__ import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/f2py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from numpy.f2py.f2py2e import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/fastapi
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from fastapi_cli.cli import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/fonttools
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from fontTools.__main__ import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/gradio
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from gradio.cli import cli
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(cli())
|
.venv/bin/httpx
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from httpx import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/huggingface-cli
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from huggingface_hub.commands.huggingface_cli import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/ipython
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from IPython import start_ipython
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(start_ipython())
|
.venv/bin/ipython3
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from IPython import start_ipython
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(start_ipython())
|
.venv/bin/jp.py
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
|
3 |
+
import sys
|
4 |
+
import json
|
5 |
+
import argparse
|
6 |
+
from pprint import pformat
|
7 |
+
|
8 |
+
import jmespath
|
9 |
+
from jmespath import exceptions
|
10 |
+
|
11 |
+
|
12 |
+
def main():
|
13 |
+
parser = argparse.ArgumentParser()
|
14 |
+
parser.add_argument('expression')
|
15 |
+
parser.add_argument('-f', '--filename',
|
16 |
+
help=('The filename containing the input data. '
|
17 |
+
'If a filename is not given then data is '
|
18 |
+
'read from stdin.'))
|
19 |
+
parser.add_argument('--ast', action='store_true',
|
20 |
+
help=('Pretty print the AST, do not search the data.'))
|
21 |
+
args = parser.parse_args()
|
22 |
+
expression = args.expression
|
23 |
+
if args.ast:
|
24 |
+
# Only print the AST
|
25 |
+
expression = jmespath.compile(args.expression)
|
26 |
+
sys.stdout.write(pformat(expression.parsed))
|
27 |
+
sys.stdout.write('\n')
|
28 |
+
return 0
|
29 |
+
if args.filename:
|
30 |
+
with open(args.filename, 'r') as f:
|
31 |
+
data = json.load(f)
|
32 |
+
else:
|
33 |
+
data = sys.stdin.read()
|
34 |
+
data = json.loads(data)
|
35 |
+
try:
|
36 |
+
sys.stdout.write(json.dumps(
|
37 |
+
jmespath.search(expression, data), indent=4, ensure_ascii=False))
|
38 |
+
sys.stdout.write('\n')
|
39 |
+
except exceptions.ArityError as e:
|
40 |
+
sys.stderr.write("invalid-arity: %s\n" % e)
|
41 |
+
return 1
|
42 |
+
except exceptions.JMESPathTypeError as e:
|
43 |
+
sys.stderr.write("invalid-type: %s\n" % e)
|
44 |
+
return 1
|
45 |
+
except exceptions.UnknownFunctionError as e:
|
46 |
+
sys.stderr.write("unknown-function: %s\n" % e)
|
47 |
+
return 1
|
48 |
+
except exceptions.ParseError as e:
|
49 |
+
sys.stderr.write("syntax-error: %s\n" % e)
|
50 |
+
return 1
|
51 |
+
|
52 |
+
|
53 |
+
if __name__ == '__main__':
|
54 |
+
sys.exit(main())
|
.venv/bin/jupyter
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from jupyter_core.command import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/jupyter-kernel
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from jupyter_client.kernelapp import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/jupyter-kernelspec
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from jupyter_client.kernelspecapp import KernelSpecApp
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(KernelSpecApp.launch_instance())
|
.venv/bin/jupyter-migrate
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from jupyter_core.migrate import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/jupyter-run
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from jupyter_client.runapp import RunApp
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(RunApp.launch_instance())
|
.venv/bin/jupyter-troubleshoot
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from jupyter_core.troubleshoot import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/markdown-it
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from markdown_it.cli.parse import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/markdown2
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from markdown2 import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/normalizer
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from charset_normalizer.cli 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())
|
.venv/bin/numpy-config
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from numpy._configtool import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/pydoc.bat
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
python.exe -m pydoc %*
|
.venv/bin/pyftmerge
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from fontTools.merge import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/pyftsubset
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from fontTools.subset import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/pygmentize
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pygments.cmdline import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/python
ADDED
Binary file (17.6 kB). View file
|
|
.venv/bin/python3
ADDED
Binary file (17.6 kB). View file
|
|
.venv/bin/python3.11
ADDED
Binary file (17.6 kB). View file
|
|
.venv/bin/ruff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3bd4fcd27c29033150a10df5b889368fd9f8c42bf820ced4d40827e94e5219b8
|
3 |
+
size 28378000
|
.venv/bin/tqdm
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
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())
|
.venv/bin/ttx
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from fontTools.ttx import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/typer
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from typer.cli import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/upload_theme
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from gradio.themes.upload_theme import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|
.venv/bin/uvicorn
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/home/josh/Sandbox/report-webui/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from uvicorn.main import main
|
6 |
+
if __name__ == "__main__":
|
7 |
+
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
|
8 |
+
sys.exit(main())
|