Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +219 -0
- README.md +2 -8
- csv/error-data.csv +121 -0
- filter_csv.py +34 -0
- gradio_app.py +48 -0
- requirements.txt +1 -0
- venv/bin/Activate.ps1 +247 -0
- venv/bin/activate +63 -0
- venv/bin/activate.csh +26 -0
- venv/bin/activate.fish +69 -0
- venv/bin/f2py +8 -0
- venv/bin/fastapi +8 -0
- venv/bin/gradio +8 -0
- venv/bin/hf +8 -0
- venv/bin/httpx +8 -0
- venv/bin/huggingface-cli +8 -0
- venv/bin/markdown-it +8 -0
- venv/bin/normalizer +8 -0
- venv/bin/numpy-config +8 -0
- venv/bin/pip +8 -0
- venv/bin/pip3 +8 -0
- venv/bin/pip3.11 +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/tiny-agents +8 -0
- venv/bin/tqdm +8 -0
- venv/bin/typer +8 -0
- venv/bin/upload_theme +8 -0
- venv/bin/uvicorn +8 -0
- venv/bin/websockets +8 -0
- venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/INSTALLER +1 -0
- venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/LICENSE +19 -0
- venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/METADATA +131 -0
- venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/RECORD +9 -0
- venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/WHEEL +5 -0
- venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/top_level.txt +2 -0
- venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER +1 -0
- venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt +28 -0
- venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/METADATA +92 -0
- venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/RECORD +14 -0
- venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL +5 -0
- venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt +1 -0
- venv/lib/python3.11/site-packages/PIL/.dylibs/libXau.6.dylib +0 -0
- venv/lib/python3.11/site-packages/PIL/.dylibs/libavif.16.3.0.dylib +3 -0
- venv/lib/python3.11/site-packages/PIL/.dylibs/libbrotlicommon.1.1.0.dylib +3 -0
- venv/lib/python3.11/site-packages/PIL/.dylibs/libbrotlidec.1.1.0.dylib +0 -0
- venv/lib/python3.11/site-packages/PIL/.dylibs/libfreetype.6.dylib +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,222 @@ 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/.dylibs/libavif.16.3.0.dylib filter=lfs diff=lfs merge=lfs -text
|
38 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libbrotlicommon.1.1.0.dylib filter=lfs diff=lfs merge=lfs -text
|
39 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libfreetype.6.dylib filter=lfs diff=lfs merge=lfs -text
|
40 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libharfbuzz.0.dylib filter=lfs diff=lfs merge=lfs -text
|
41 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libjpeg.62.4.0.dylib filter=lfs diff=lfs merge=lfs -text
|
42 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/liblcms2.2.dylib filter=lfs diff=lfs merge=lfs -text
|
43 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/liblzma.5.dylib filter=lfs diff=lfs merge=lfs -text
|
44 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libopenjp2.2.5.3.dylib filter=lfs diff=lfs merge=lfs -text
|
45 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libpng16.16.dylib filter=lfs diff=lfs merge=lfs -text
|
46 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libtiff.6.dylib filter=lfs diff=lfs merge=lfs -text
|
47 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libwebp.7.dylib filter=lfs diff=lfs merge=lfs -text
|
48 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libxcb.1.1.0.dylib filter=lfs diff=lfs merge=lfs -text
|
49 |
+
venv/lib/python3.11/site-packages/PIL/.dylibs/libz.1.3.1.dylib filter=lfs diff=lfs merge=lfs -text
|
50 |
+
venv/lib/python3.11/site-packages/PIL/__pycache__/Image.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
51 |
+
venv/lib/python3.11/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
52 |
+
venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
53 |
+
venv/lib/python3.11/site-packages/PIL/_imagingft.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
54 |
+
venv/lib/python3.11/site-packages/__pycache__/typing_extensions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
55 |
+
venv/lib/python3.11/site-packages/_brotli.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
56 |
+
venv/lib/python3.11/site-packages/anyio/_backends/__pycache__/_asyncio.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
57 |
+
venv/lib/python3.11/site-packages/charset_normalizer/md.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
58 |
+
venv/lib/python3.11/site-packages/charset_normalizer/md__mypyc.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
59 |
+
venv/lib/python3.11/site-packages/click/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
60 |
+
venv/lib/python3.11/site-packages/fsspec/__pycache__/spec.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
61 |
+
venv/lib/python3.11/site-packages/gradio/__pycache__/blocks.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
62 |
+
venv/lib/python3.11/site-packages/gradio/__pycache__/routes.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
63 |
+
venv/lib/python3.11/site-packages/gradio/_frontend_code/imageslider/img_01.png filter=lfs diff=lfs merge=lfs -text
|
64 |
+
venv/lib/python3.11/site-packages/gradio/_frontend_code/imageslider/img_02.png filter=lfs diff=lfs merge=lfs -text
|
65 |
+
venv/lib/python3.11/site-packages/gradio/_frontend_code/imageslider/img_03.png filter=lfs diff=lfs merge=lfs -text
|
66 |
+
venv/lib/python3.11/site-packages/gradio/templates/frontend/assets/PlotlyPlot-Ce9myB-T.js.map filter=lfs diff=lfs merge=lfs -text
|
67 |
+
venv/lib/python3.11/site-packages/gradio/templates/frontend/static/fonts/Source[[:space:]]Sans[[:space:]]Pro/SourceSansPro-Bold.woff2 filter=lfs diff=lfs merge=lfs -text
|
68 |
+
venv/lib/python3.11/site-packages/gradio/templates/frontend/static/fonts/Source[[:space:]]Sans[[:space:]]Pro/SourceSansPro-Regular.woff2 filter=lfs diff=lfs merge=lfs -text
|
69 |
+
venv/lib/python3.11/site-packages/gradio/templates/frontend/static/img/Duck.glb filter=lfs diff=lfs merge=lfs -text
|
70 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/2.CXBv8kT_.js.br filter=lfs diff=lfs merge=lfs -text
|
71 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/Index.C0cosoZm.js.br filter=lfs diff=lfs merge=lfs -text
|
72 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/Index.MPC-g2At.js.br filter=lfs diff=lfs merge=lfs -text
|
73 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/PlotlyPlot.B6PSnKkC.js.br filter=lfs diff=lfs merge=lfs -text
|
74 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/PlotlyPlot.B6PSnKkC.js.map filter=lfs diff=lfs merge=lfs -text
|
75 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/cytoscape.esm.BlEmlE64.js.br filter=lfs diff=lfs merge=lfs -text
|
76 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/hls.C_AVPmGC.js.br filter=lfs diff=lfs merge=lfs -text
|
77 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/index.BoI39RQH.js.br filter=lfs diff=lfs merge=lfs -text
|
78 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/mermaid.core.DCmZFddM.js.br filter=lfs diff=lfs merge=lfs -text
|
79 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/vega-tooltip.module.DWgbLLbs.js.br filter=lfs diff=lfs merge=lfs -text
|
80 |
+
venv/lib/python3.11/site-packages/gradio/templates/node/build/server/chunks/PlotlyPlot-BDOm34Lv.js.map filter=lfs diff=lfs merge=lfs -text
|
81 |
+
venv/lib/python3.11/site-packages/gradio_client/__pycache__/media_data.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
82 |
+
venv/lib/python3.11/site-packages/hf_xet/hf_xet.abi3.so filter=lfs diff=lfs merge=lfs -text
|
83 |
+
venv/lib/python3.11/site-packages/huggingface_hub/__pycache__/hf_api.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
84 |
+
venv/lib/python3.11/site-packages/huggingface_hub/inference/__pycache__/_client.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
85 |
+
venv/lib/python3.11/site-packages/huggingface_hub/inference/_generated/__pycache__/_async_client.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
86 |
+
venv/lib/python3.11/site-packages/idna/__pycache__/idnadata.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
87 |
+
venv/lib/python3.11/site-packages/idna/__pycache__/uts46data.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
88 |
+
venv/lib/python3.11/site-packages/jinja2/__pycache__/compiler.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
89 |
+
venv/lib/python3.11/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
90 |
+
venv/lib/python3.11/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
91 |
+
venv/lib/python3.11/site-packages/numpy/_core/_multiarray_tests.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
92 |
+
venv/lib/python3.11/site-packages/numpy/_core/_multiarray_umath.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
93 |
+
venv/lib/python3.11/site-packages/numpy/_core/_simd.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
94 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_datetime.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
95 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_dtype.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
96 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_multiarray.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
97 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_nditer.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
98 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_numeric.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
99 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_regression.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
100 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_stringdtype.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
101 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_ufunc.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
102 |
+
venv/lib/python3.11/site-packages/numpy/_core/tests/__pycache__/test_umath.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
103 |
+
venv/lib/python3.11/site-packages/numpy/distutils/__pycache__/ccompiler_opt.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
104 |
+
venv/lib/python3.11/site-packages/numpy/distutils/__pycache__/misc_util.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
105 |
+
venv/lib/python3.11/site-packages/numpy/distutils/__pycache__/system_info.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
106 |
+
venv/lib/python3.11/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
107 |
+
venv/lib/python3.11/site-packages/numpy/fft/_pocketfft_umath.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
108 |
+
venv/lib/python3.11/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
109 |
+
venv/lib/python3.11/site-packages/numpy/lib/__pycache__/_npyio_impl.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
110 |
+
venv/lib/python3.11/site-packages/numpy/lib/tests/__pycache__/test_function_base.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
111 |
+
venv/lib/python3.11/site-packages/numpy/lib/tests/__pycache__/test_io.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
112 |
+
venv/lib/python3.11/site-packages/numpy/lib/tests/__pycache__/test_nanfunctions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
113 |
+
venv/lib/python3.11/site-packages/numpy/linalg/__pycache__/_linalg.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
114 |
+
venv/lib/python3.11/site-packages/numpy/linalg/_umath_linalg.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
115 |
+
venv/lib/python3.11/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
116 |
+
venv/lib/python3.11/site-packages/numpy/ma/__pycache__/core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
117 |
+
venv/lib/python3.11/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
118 |
+
venv/lib/python3.11/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
119 |
+
venv/lib/python3.11/site-packages/numpy/random/_bounded_integers.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
120 |
+
venv/lib/python3.11/site-packages/numpy/random/_common.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
121 |
+
venv/lib/python3.11/site-packages/numpy/random/_generator.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
122 |
+
venv/lib/python3.11/site-packages/numpy/random/_mt19937.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
123 |
+
venv/lib/python3.11/site-packages/numpy/random/_pcg64.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
124 |
+
venv/lib/python3.11/site-packages/numpy/random/_philox.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
125 |
+
venv/lib/python3.11/site-packages/numpy/random/bit_generator.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
126 |
+
venv/lib/python3.11/site-packages/numpy/random/mtrand.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
127 |
+
venv/lib/python3.11/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
128 |
+
venv/lib/python3.11/site-packages/numpy/random/tests/__pycache__/test_random.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
129 |
+
venv/lib/python3.11/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
130 |
+
venv/lib/python3.11/site-packages/numpy/testing/_private/__pycache__/utils.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
131 |
+
venv/lib/python3.11/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
132 |
+
venv/lib/python3.11/site-packages/numpy/typing/tests/data/pass/__pycache__/random.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
133 |
+
venv/lib/python3.11/site-packages/orjson/orjson.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
134 |
+
venv/lib/python3.11/site-packages/pandas/_libs/algos.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
135 |
+
venv/lib/python3.11/site-packages/pandas/_libs/arrays.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
136 |
+
venv/lib/python3.11/site-packages/pandas/_libs/groupby.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
137 |
+
venv/lib/python3.11/site-packages/pandas/_libs/hashing.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
138 |
+
venv/lib/python3.11/site-packages/pandas/_libs/hashtable.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
139 |
+
venv/lib/python3.11/site-packages/pandas/_libs/index.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
140 |
+
venv/lib/python3.11/site-packages/pandas/_libs/internals.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
141 |
+
venv/lib/python3.11/site-packages/pandas/_libs/interval.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
142 |
+
venv/lib/python3.11/site-packages/pandas/_libs/join.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
143 |
+
venv/lib/python3.11/site-packages/pandas/_libs/lib.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
144 |
+
venv/lib/python3.11/site-packages/pandas/_libs/missing.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
145 |
+
venv/lib/python3.11/site-packages/pandas/_libs/ops.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
146 |
+
venv/lib/python3.11/site-packages/pandas/_libs/parsers.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
147 |
+
venv/lib/python3.11/site-packages/pandas/_libs/reshape.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
148 |
+
venv/lib/python3.11/site-packages/pandas/_libs/sas.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
149 |
+
venv/lib/python3.11/site-packages/pandas/_libs/sparse.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
150 |
+
venv/lib/python3.11/site-packages/pandas/_libs/testing.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
151 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslib.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
152 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/conversion.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
153 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/dtypes.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
154 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/fields.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
155 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/nattype.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
156 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/np_datetime.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
157 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/offsets.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
158 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/parsing.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
159 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/period.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
160 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/strptime.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
161 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/timedeltas.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
162 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/timestamps.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
163 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/timezones.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
164 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/tzconversion.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
165 |
+
venv/lib/python3.11/site-packages/pandas/_libs/tslibs/vectorized.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
166 |
+
venv/lib/python3.11/site-packages/pandas/_libs/window/aggregations.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
167 |
+
venv/lib/python3.11/site-packages/pandas/_libs/window/indexers.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
168 |
+
venv/lib/python3.11/site-packages/pandas/_libs/writers.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
169 |
+
venv/lib/python3.11/site-packages/pandas/core/__pycache__/frame.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
170 |
+
venv/lib/python3.11/site-packages/pandas/core/__pycache__/generic.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
171 |
+
venv/lib/python3.11/site-packages/pandas/core/__pycache__/indexing.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
172 |
+
venv/lib/python3.11/site-packages/pandas/core/__pycache__/resample.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
173 |
+
venv/lib/python3.11/site-packages/pandas/core/__pycache__/series.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
174 |
+
venv/lib/python3.11/site-packages/pandas/core/arrays/__pycache__/categorical.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
175 |
+
venv/lib/python3.11/site-packages/pandas/core/arrays/__pycache__/datetimelike.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
176 |
+
venv/lib/python3.11/site-packages/pandas/core/arrays/arrow/__pycache__/array.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
177 |
+
venv/lib/python3.11/site-packages/pandas/core/groupby/__pycache__/generic.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
178 |
+
venv/lib/python3.11/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
179 |
+
venv/lib/python3.11/site-packages/pandas/core/indexes/__pycache__/base.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
180 |
+
venv/lib/python3.11/site-packages/pandas/core/indexes/__pycache__/multi.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
181 |
+
venv/lib/python3.11/site-packages/pandas/core/internals/__pycache__/blocks.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
182 |
+
venv/lib/python3.11/site-packages/pandas/core/internals/__pycache__/managers.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
183 |
+
venv/lib/python3.11/site-packages/pandas/core/reshape/__pycache__/merge.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
184 |
+
venv/lib/python3.11/site-packages/pandas/core/strings/__pycache__/accessor.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
185 |
+
venv/lib/python3.11/site-packages/pandas/core/window/__pycache__/rolling.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
186 |
+
venv/lib/python3.11/site-packages/pandas/io/__pycache__/pytables.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
187 |
+
venv/lib/python3.11/site-packages/pandas/io/__pycache__/sql.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
188 |
+
venv/lib/python3.11/site-packages/pandas/io/__pycache__/stata.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
189 |
+
venv/lib/python3.11/site-packages/pandas/io/formats/__pycache__/style.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
190 |
+
venv/lib/python3.11/site-packages/pandas/io/formats/__pycache__/style_render.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
191 |
+
venv/lib/python3.11/site-packages/pandas/tests/__pycache__/test_algos.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
192 |
+
venv/lib/python3.11/site-packages/pandas/tests/apply/__pycache__/test_frame_apply.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
193 |
+
venv/lib/python3.11/site-packages/pandas/tests/arithmetic/__pycache__/test_datetime64.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
194 |
+
venv/lib/python3.11/site-packages/pandas/tests/arithmetic/__pycache__/test_period.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
195 |
+
venv/lib/python3.11/site-packages/pandas/tests/arithmetic/__pycache__/test_timedelta64.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
196 |
+
venv/lib/python3.11/site-packages/pandas/tests/computation/__pycache__/test_eval.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
197 |
+
venv/lib/python3.11/site-packages/pandas/tests/copy_view/__pycache__/test_methods.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
198 |
+
venv/lib/python3.11/site-packages/pandas/tests/dtypes/__pycache__/test_inference.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
199 |
+
venv/lib/python3.11/site-packages/pandas/tests/extension/__pycache__/test_arrow.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
200 |
+
venv/lib/python3.11/site-packages/pandas/tests/frame/__pycache__/test_arithmetic.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
201 |
+
venv/lib/python3.11/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
202 |
+
venv/lib/python3.11/site-packages/pandas/tests/frame/__pycache__/test_query_eval.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
203 |
+
venv/lib/python3.11/site-packages/pandas/tests/frame/__pycache__/test_reductions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
204 |
+
venv/lib/python3.11/site-packages/pandas/tests/frame/__pycache__/test_stack_unstack.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
205 |
+
venv/lib/python3.11/site-packages/pandas/tests/frame/indexing/__pycache__/test_indexing.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
206 |
+
venv/lib/python3.11/site-packages/pandas/tests/groupby/__pycache__/test_apply.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
207 |
+
venv/lib/python3.11/site-packages/pandas/tests/groupby/__pycache__/test_categorical.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
208 |
+
venv/lib/python3.11/site-packages/pandas/tests/groupby/__pycache__/test_groupby.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
209 |
+
venv/lib/python3.11/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_aggregate.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
210 |
+
venv/lib/python3.11/site-packages/pandas/tests/groupby/transform/__pycache__/test_transform.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
211 |
+
venv/lib/python3.11/site-packages/pandas/tests/indexes/__pycache__/test_base.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
212 |
+
venv/lib/python3.11/site-packages/pandas/tests/indexing/__pycache__/test_loc.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
213 |
+
venv/lib/python3.11/site-packages/pandas/tests/io/__pycache__/test_sql.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
214 |
+
venv/lib/python3.11/site-packages/pandas/tests/io/__pycache__/test_stata.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
215 |
+
venv/lib/python3.11/site-packages/pandas/tests/io/formats/__pycache__/test_format.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
216 |
+
venv/lib/python3.11/site-packages/pandas/tests/io/formats/style/__pycache__/test_style.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
217 |
+
venv/lib/python3.11/site-packages/pandas/tests/io/json/__pycache__/test_pandas.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
218 |
+
venv/lib/python3.11/site-packages/pandas/tests/plotting/__pycache__/test_datetimelike.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
219 |
+
venv/lib/python3.11/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
220 |
+
venv/lib/python3.11/site-packages/pandas/tests/reductions/__pycache__/test_reductions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
221 |
+
venv/lib/python3.11/site-packages/pandas/tests/resample/__pycache__/test_datetime_index.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
222 |
+
venv/lib/python3.11/site-packages/pandas/tests/reshape/__pycache__/test_pivot.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
223 |
+
venv/lib/python3.11/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
224 |
+
venv/lib/python3.11/site-packages/pandas/tests/series/__pycache__/test_constructors.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
225 |
+
venv/lib/python3.11/site-packages/pandas/tests/series/indexing/__pycache__/test_setitem.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
226 |
+
venv/lib/python3.11/site-packages/pandas/tests/tools/__pycache__/test_to_datetime.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
227 |
+
venv/lib/python3.11/site-packages/pandas/tests/window/__pycache__/test_rolling.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
228 |
+
venv/lib/python3.11/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
229 |
+
venv/lib/python3.11/site-packages/pip/_vendor/distlib/t64-arm.exe filter=lfs diff=lfs merge=lfs -text
|
230 |
+
venv/lib/python3.11/site-packages/pip/_vendor/distlib/t64.exe filter=lfs diff=lfs merge=lfs -text
|
231 |
+
venv/lib/python3.11/site-packages/pip/_vendor/distlib/w64-arm.exe filter=lfs diff=lfs merge=lfs -text
|
232 |
+
venv/lib/python3.11/site-packages/pip/_vendor/distlib/w64.exe filter=lfs diff=lfs merge=lfs -text
|
233 |
+
venv/lib/python3.11/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
234 |
+
venv/lib/python3.11/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
235 |
+
venv/lib/python3.11/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
236 |
+
venv/lib/python3.11/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
237 |
+
venv/lib/python3.11/site-packages/pip/_vendor/rich/__pycache__/console.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
238 |
+
venv/lib/python3.11/site-packages/pkg_resources/__pycache__/__init__.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
239 |
+
venv/lib/python3.11/site-packages/pydantic/__pycache__/json_schema.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
240 |
+
venv/lib/python3.11/site-packages/pydantic/__pycache__/types.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
241 |
+
venv/lib/python3.11/site-packages/pydantic/_internal/__pycache__/_generate_schema.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
242 |
+
venv/lib/python3.11/site-packages/pydantic_core/__pycache__/core_schema.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
243 |
+
venv/lib/python3.11/site-packages/pydantic_core/_pydantic_core.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
244 |
+
venv/lib/python3.11/site-packages/pygments/lexers/__pycache__/lisp.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
245 |
+
venv/lib/python3.11/site-packages/rich/__pycache__/_emoji_codes.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
246 |
+
venv/lib/python3.11/site-packages/rich/__pycache__/console.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
247 |
+
venv/lib/python3.11/site-packages/setuptools/_vendor/__pycache__/typing_extensions.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
248 |
+
venv/lib/python3.11/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__init__.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
249 |
+
venv/lib/python3.11/site-packages/setuptools/_vendor/inflect/__pycache__/__init__.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
250 |
+
venv/lib/python3.11/site-packages/setuptools/_vendor/more_itertools/__pycache__/more.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
251 |
+
venv/lib/python3.11/site-packages/setuptools/command/__pycache__/easy_install.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
252 |
+
venv/lib/python3.11/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
253 |
+
venv/lib/python3.11/site-packages/tomlkit/__pycache__/items.cpython-311.pyc filter=lfs diff=lfs merge=lfs -text
|
254 |
+
venv/lib/python3.11/site-packages/yaml/_yaml.cpython-311-darwin.so filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,12 +1,6 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
|
4 |
-
colorFrom: blue
|
5 |
-
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
sdk_version: 5.38.2
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: gradio-excel-data
|
3 |
+
app_file: gradio_app.py
|
|
|
|
|
4 |
sdk: gradio
|
5 |
sdk_version: 5.38.2
|
|
|
|
|
6 |
---
|
|
|
|
csv/error-data.csv
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
API,HTTP Status Code,Count,,,,,
|
2 |
+
UC02_SimpleFlow_Fixed_T02_BookingHistory_undefined,403,83,,,,,
|
3 |
+
UC02_SimpleFlow_Fixed_T03_BookingHistory_duplicate_functionality,401,83,,,,,
|
4 |
+
UC02_SimpleFlow_Fixed_T05_PublicData,400,83,,,,,
|
5 |
+
UC02_SimpleFlow_Fixed_T07_POR_Locations,404,83,,,,,
|
6 |
+
UC02_SimpleFlow_Fixed_T08_POD_Locations,404,83,,,,,
|
7 |
+
UC02_SimpleFlow_Fixed_T09_CargoWeightLimits,400,83,,,Primary Filter ,Column B - HTTP Status code,
|
8 |
+
UC02_SimpleFlow_Fixed_T14_ContactPublicData,400,83,,,,,
|
9 |
+
UC02_SimpleFlow_Fixed_T15_Departures_undefined,400,83,,,,,
|
10 |
+
UC04_SimpleFlow_SPOT_T08_POD_Locations,400,44,,,Secondary Filter ,Column A - Keyword,
|
11 |
+
UC04_SimpleFlow_SPOT_T09_CargoWeightLimits,400,731,,,,,
|
12 |
+
UC01_SimpleFlow_Fixed_T02_BookingHistory_undefined,403,92,,,,,
|
13 |
+
UC01_SimpleFlow_Fixed_T03_BookingHistory_duplicate_functionality,401,92,,,,,
|
14 |
+
UC01_SimpleFlow_Fixed_T05_PublicData,400,92,,,,,
|
15 |
+
UC01_SimpleFlow_Fixed_T07_POR_Locations,404,92,,,,,
|
16 |
+
UC01_SimpleFlow_Fixed_T08_POD_Locations,404,92,,,API - Filter Criteria,Count - Column C,
|
17 |
+
UC01_SimpleFlow_Fixed_T09_CargoWeightLimits,400,92,,,,,
|
18 |
+
UC01_SimpleFlow_Fixed_T11_ContactPublicData,400,92,,,,,
|
19 |
+
UC01_SimpleFlow_Fixed_T12_Departures_undefined,400,92,,,,,
|
20 |
+
UC03_SimpleFlow_Fixed_T09_CargoWeightLimits,400,85,,,,,
|
21 |
+
UC03_SimpleFlow_Fixed_T18_Route_Without_Availability_CY_DG,500,13,,,,,
|
22 |
+
UC04_SimpleFlow_SPOT_T04_Offices,504,6,,,,,
|
23 |
+
UC01_SimpleFlow_Fixed_T16_Route_Without_Availability_CY_DRY,500,49,,,,,
|
24 |
+
UC01_SimpleFlow_Fixed_T17_Route_With_Availability_CY_DRY,500,206,,,,,
|
25 |
+
UC01_SimpleFlow_Fixed_T20_AdditionalDetails_CY_DRY,400,"1,081",,,,,
|
26 |
+
UC01_SimpleFlow_Fixed_T20_AdditionalDetails_SD_DRY,400,629,,,,,
|
27 |
+
UC02_SimpleFlow_Fixed_T19_Route_Without_Availability_CY_REEF,500,37,,,,,
|
28 |
+
UC02_SimpleFlow_Fixed_T20_Route_With_Availability_CY_REEF,500,384,,,,,
|
29 |
+
UC03_SimpleFlow_Fixed_T21_Booking_options_CY_DG,424,175,,,,,
|
30 |
+
UC04_SimpleFlow_SPOT_T16_Route_Without_Availability_SPOT_DRY,500,57,,,,,
|
31 |
+
UC04_SimpleFlow_SPOT_T17_Route_With_Availability_SPOT_DRY,500,369,,,,,
|
32 |
+
UC04_SimpleFlow_SPOT_T20_AdditionalDetails_SPOT_DRY,400,"4,060",,,,,
|
33 |
+
UC01_SimpleFlow_Fixed_T04_Offices,504,13,,,,,
|
34 |
+
UC01_SimpleFlow_Fixed_T14_NacInfo,400,192,,,,,
|
35 |
+
UC03_SimpleFlow_Fixed_T22_AdditionalDetails_CY_DG,400,38,,,,,
|
36 |
+
UC04_SimpleFlow_SPOT_T07_POR_Locations,400,189,,,,,
|
37 |
+
UC03_SimpleFlow_Fixed_T21_Booking_options_SD_DG,424,29,,,,,
|
38 |
+
UC01_SimpleFlow_Fixed_T14_NacInfo,500,23,,,,,
|
39 |
+
UC01_SimpleFlow_Fixed_T16_Route_Without_Availability_CY_DRY,404,108,,,,,
|
40 |
+
UC01_SimpleFlow_Fixed_T18_FIXEDPRICE_CY_DRY,500,13,,,,,
|
41 |
+
UC02_SimpleFlow_Fixed_T17_NacInfo,400,54,,,,,
|
42 |
+
UC02_SimpleFlow_Fixed_T19_Route_Without_Availability_CY_REEF,404,33,,,,,
|
43 |
+
UC03_SimpleFlow_Fixed_T16_NacInfo,400,73,,,,,
|
44 |
+
UC03_SimpleFlow_Fixed_T18_Route_Without_Availability_CY_DG,404,41,,,,,
|
45 |
+
UC03_SimpleFlow_Fixed_T18_Route_Without_Availability_SD_DG,404,15,,,,,
|
46 |
+
UC03_SimpleFlow_Fixed_T19_Route_With_Availability_CY_DG,500,99,,,,,
|
47 |
+
UC03_SimpleFlow_Fixed_T19_Route_With_Availability_SD_DG,500,100,,,,,
|
48 |
+
UC04_SimpleFlow_SPOT_T14_NacInfo,400,173,,,,,
|
49 |
+
UC04_SimpleFlow_SPOT_T16_Route_Without_Availability_SPOT_DRY,404,133,,,,,
|
50 |
+
UC01_SimpleFlow_Fixed_T16_Route_Without_Availability_SD_DRY,404,43,,,,,
|
51 |
+
UC02_SimpleFlow_Fixed_T17_NacInfo,500,7,,,,,
|
52 |
+
UC02_SimpleFlow_Fixed_T19_Route_Without_Availability_SD_REEF,404,9,,,,,
|
53 |
+
UC03_SimpleFlow_Fixed_T22_AdditionalDetails_SD_DG,400,89,,,,,
|
54 |
+
UC03_SimpleFlow_Fixed_T07_POR_Locations,400,18,,,,,
|
55 |
+
UC03_SimpleFlow_Fixed_T20_FIXEDPRICE_CY_DG,500,3,,,,,
|
56 |
+
UC04_SimpleFlow_SPOT_T14_NacInfo,500,21,,,,,
|
57 |
+
UC04_SimpleFlow_SPOT_T21_TriggerSubmitProcess_SPOT_DRY,404,11,,,,,
|
58 |
+
UC03_SimpleFlow_Fixed_T18_Route_Without_Availability_SD_DG,500,9,,,,,
|
59 |
+
UC01_SimpleFlow_Fixed_T16_Route_Without_Availability_SD_DRY,500,11,,,,,
|
60 |
+
UC01_SimpleFlow_Fixed_T17_Route_With_Availability_SD_DRY,500,60,,,,,
|
61 |
+
UC02_SimpleFlow_Fixed_T20_Route_With_Availability_SD_REEF,500,19,,,,,
|
62 |
+
UC03_SimpleFlow_Fixed_T16_NacInfo,500,7,,,,,
|
63 |
+
UC03_SimpleFlow_Fixed_T21_Booking_options_CY_DG,500,16,,,,,
|
64 |
+
UC03_SimpleFlow_Fixed_T08_POD_Locations,400,15,,,,,
|
65 |
+
UC01_SimpleFlow_Fixed_T19_Booking_options_CY_DRY,500,12,,,,,
|
66 |
+
UC04_SimpleFlow_SPOT_T02_BookingHistory_undefined,403,5,,,,,
|
67 |
+
UC04_SimpleFlow_SPOT_T03_BookingHistory_duplicate_functionality,401,5,,,,,
|
68 |
+
UC04_SimpleFlow_SPOT_T05_PublicData,400,5,,,,,
|
69 |
+
UC04_SimpleFlow_SPOT_T07_POR_Locations,404,5,,,,,
|
70 |
+
UC04_SimpleFlow_SPOT_T08_POD_Locations,404,5,,,,,
|
71 |
+
UC04_SimpleFlow_SPOT_T10_Commodities_undefined,400,5,,,,,
|
72 |
+
UC04_SimpleFlow_SPOT_T11_ContactPublicData,400,5,,,,,
|
73 |
+
UC04_SimpleFlow_SPOT_T12_Departures_undefined,400,5,,,,,
|
74 |
+
UC01_SimpleFlow_Fixed_T19_Booking_options_CY_DRY,424,2,,,,,
|
75 |
+
UC02_SimpleFlow_Fixed_T04_Offices,504,3,,,,,
|
76 |
+
UC03_SimpleFlow_Fixed_T04_Offices,504,1,,,,,
|
77 |
+
UC04_SimpleFlow_SPOT_T19_Booking_options_SPOT_DRY,500,14,,,,,
|
78 |
+
UC01_SimpleFlow_Fixed_T19_Booking_options_SD_DRY,500,3,,,,,
|
79 |
+
UC01_SimpleFlow_Fixed_T02_BookingHistory_10000007951,504,1,,,,,
|
80 |
+
UC01_SimpleFlow_Fixed_T17_Route_With_Availability_CY_DRY,504,12,,,,,
|
81 |
+
UC01_SimpleFlow_Fixed_T17_Route_With_Availability_SD_DRY,504,4,,,,,
|
82 |
+
UC01_SimpleFlow_Fixed_T20_AdditionalDetails_CY_DRY,504,1,,,,,
|
83 |
+
UC02_SimpleFlow_Fixed_T02_BookingHistory_10000005980,504,1,,,,,
|
84 |
+
UC03_SimpleFlow_Fixed_T19_Route_With_Availability_CY_DG,504,2,,,,,
|
85 |
+
UC03_SimpleFlow_Fixed_T19_Route_With_Availability_SD_DG,504,2,,,,,
|
86 |
+
UC04_SimpleFlow_SPOT_T12_Departures_DRY,504,1,,,,,
|
87 |
+
UC04_SimpleFlow_SPOT_T20_AdditionalDetails_SPOT_DRY,504,1,,,,,
|
88 |
+
UC01_SimpleFlow_Fixed_T13_CargoInsuranceStatus,504,3,,,,,
|
89 |
+
UC02_SimpleFlow_Fixed_T03_BookingHistory_duplicate_functionality,504,1,,,,,
|
90 |
+
UC02_SimpleFlow_Fixed_T20_Route_With_Availability_CY_REEF,504,4,,,,,
|
91 |
+
UC03_SimpleFlow_Fixed_T03_BookingHistory_duplicate_functionality,504,1,,,,,
|
92 |
+
UC04_SimpleFlow_SPOT_T13_CargoInsuranceStatus,504,2,,,,,
|
93 |
+
UC04_SimpleFlow_SPOT_T17_Route_With_Availability_SPOT_DRY,504,9,,,,,
|
94 |
+
UC04_SimpleFlow_SPOT_T18_DYNAMICPRICE_SPOT_DRY,500,7,,,,,
|
95 |
+
UC01_SimpleFlow_Fixed_T15_WorkflowLogs,504,1,,,,,
|
96 |
+
UC02_SimpleFlow_Fixed_T16_CargoInsuranceStatus,504,1,,,,,
|
97 |
+
UC03_SimpleFlow_Fixed_T09_CargoWeightLimits,504,2,,,,,
|
98 |
+
UC04_SimpleFlow_SPOT_T05_PublicData,504,2,,,,,
|
99 |
+
UC04_SimpleFlow_SPOT_T14_NacInfo,504,1,,,,,
|
100 |
+
UC03_SimpleFlow_Fixed_T21_Booking_options_SD_DG,500,4,,,,,
|
101 |
+
UC03_SimpleFlow_Fixed_T02_BookingHistory_undefined,403,1,,,,,
|
102 |
+
UC03_SimpleFlow_Fixed_T03_BookingHistory_duplicate_functionality,401,1,,,,,
|
103 |
+
UC03_SimpleFlow_Fixed_T05_PublicData,400,1,,,,,
|
104 |
+
UC03_SimpleFlow_Fixed_T07_POR_Locations,404,1,,,,,
|
105 |
+
UC03_SimpleFlow_Fixed_T08_POD_Locations,404,1,,,,,
|
106 |
+
UC03_SimpleFlow_Fixed_T10_Commodities_DG,400,1,,,,,
|
107 |
+
UC03_SimpleFlow_Fixed_T13_ContactPublicData,400,1,,,,,
|
108 |
+
UC03_SimpleFlow_Fixed_T14_Departures_undefined,400,1,,,,,
|
109 |
+
UC04_SimpleFlow_SPOT_T19_Booking_options_SPOT_DRY,424,1,,,,,
|
110 |
+
UC02_SimpleFlow_Fixed_T19_Route_Without_Availability_SD_REEF,500,3,,,,,
|
111 |
+
UC01_SimpleFlow_Fixed_T21_TriggerSubmitProcess_CY_DRY,500,1,,,,,
|
112 |
+
UC02_SimpleFlow_Fixed_T14_ContactPublicData,504,1,,,,,
|
113 |
+
UC02_SimpleFlow_Fixed_T17_NacInfo,504,1,,,,,
|
114 |
+
UC02_SimpleFlow_Fixed_T18_WorkflowLogs,504,1,,,,,
|
115 |
+
UC03_SimpleFlow_Fixed_T12_DG_Commodities_substance_DG,504,1,,,,,
|
116 |
+
UC03_SimpleFlow_Fixed_T16_NacInfo,504,1,,,,,
|
117 |
+
UC03_SimpleFlow_Fixed_T23_TriggerSubmitProcess_CY_DG,504,1,,,,,
|
118 |
+
UC04_SimpleFlow_SPOT_T02_BookingHistory_10000007951,504,1,,,,,
|
119 |
+
UC04_SimpleFlow_SPOT_T16_Route_Without_Availability_SPOT_DRY,504,1,,,,,
|
120 |
+
UC01_SimpleFlow_Fixed_T18_FIXEDPRICE_SD_DRY,500,1,,,,,
|
121 |
+
UC03_SimpleFlow_Fixed_T15_CargoInsuranceStatus,504,1,,,,,
|
filter_csv.py
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import csv
|
2 |
+
|
3 |
+
def filter_csv_by_api_and_status(csv_file_name, status_code, api_name):
|
4 |
+
"""
|
5 |
+
Reads the given CSV file and prints rows where both the API and HTTP Status Code match the inputs.
|
6 |
+
Args:
|
7 |
+
csv_file_name (str): Path to the CSV file.
|
8 |
+
status_code (str or int): HTTP status code to filter by.
|
9 |
+
api_name (str): API name to filter by.
|
10 |
+
"""
|
11 |
+
with open(csv_file_name, mode='r', newline='', encoding='utf-8') as csvfile:
|
12 |
+
reader = csv.reader(csvfile)
|
13 |
+
headers = next(reader)
|
14 |
+
# Normalize headers to remove whitespace
|
15 |
+
headers = [h.strip() for h in headers]
|
16 |
+
api_idx = 0
|
17 |
+
status_idx = 1
|
18 |
+
count_index = 2
|
19 |
+
found = False
|
20 |
+
total_count = 0
|
21 |
+
for row in reader:
|
22 |
+
# Skip empty or malformed rows
|
23 |
+
if len(row) < max(api_idx, status_idx) + 1:
|
24 |
+
continue
|
25 |
+
if api_name in row[api_idx].strip() and str(row[status_idx]).strip() == str(status_code):
|
26 |
+
print({headers[api_idx]: row[api_idx], headers[status_idx]: row[status_idx], headers[2]: row[2] if len(row) > 2 else ''})
|
27 |
+
found = True
|
28 |
+
total_count += int(row[count_index])
|
29 |
+
if not found:
|
30 |
+
print('No matching rows found.')
|
31 |
+
print(f'Total count: {total_count}')
|
32 |
+
|
33 |
+
# Example usage (uncomment to test):
|
34 |
+
filter_csv_by_api_and_status('csv/error-data.csv', 403, 'SimpleFlow')
|
gradio_app.py
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import csv
|
3 |
+
|
4 |
+
def filter_csv_count(csv_file, status_code, api_name):
|
5 |
+
# csv_file is a filepath (str)
|
6 |
+
total_count = 0
|
7 |
+
try:
|
8 |
+
with open(csv_file, mode='r', encoding='utf-8') as f:
|
9 |
+
reader = csv.reader(f)
|
10 |
+
headers = next(reader)
|
11 |
+
print(headers)
|
12 |
+
try:
|
13 |
+
api_idx = 0
|
14 |
+
status_idx = 1
|
15 |
+
count_index = 2
|
16 |
+
except ValueError:
|
17 |
+
return "CSV must have columns: api_name, status_code, count"
|
18 |
+
for row in reader:
|
19 |
+
if len(row) < 3:
|
20 |
+
continue
|
21 |
+
if (
|
22 |
+
api_name.strip() and api_name.strip() in row[api_idx].strip() and
|
23 |
+
str(row[status_idx]).strip() == str(status_code).strip()
|
24 |
+
):
|
25 |
+
try:
|
26 |
+
count_val = int(row[count_index].replace(',', ''))
|
27 |
+
except ValueError:
|
28 |
+
count_val = 0
|
29 |
+
total_count += count_val
|
30 |
+
print(row)
|
31 |
+
except Exception as e:
|
32 |
+
return f"Error reading CSV: {e}"
|
33 |
+
return f"Total count: {total_count}"
|
34 |
+
|
35 |
+
demo = gr.Interface(
|
36 |
+
fn=filter_csv_count,
|
37 |
+
inputs=[
|
38 |
+
gr.File(label="CSV File"),
|
39 |
+
gr.Textbox(label="Status Code"),
|
40 |
+
gr.Textbox(label="API Name"),
|
41 |
+
],
|
42 |
+
outputs=gr.Textbox(label="Result"),
|
43 |
+
title="CSV API & Status Code Filter",
|
44 |
+
description="Upload a CSV file, enter a status code and API name (partial match allowed), and get the total count of matching rows.",
|
45 |
+
)
|
46 |
+
|
47 |
+
if __name__ == "__main__":
|
48 |
+
demo.launch()
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio>=4.0.0
|
venv/bin/Activate.ps1
ADDED
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<#
|
2 |
+
.Synopsis
|
3 |
+
Activate a Python virtual environment for the current PowerShell session.
|
4 |
+
|
5 |
+
.Description
|
6 |
+
Pushes the python executable for a virtual environment to the front of the
|
7 |
+
$Env:PATH environment variable and sets the prompt to signify that you are
|
8 |
+
in a Python virtual environment. Makes use of the command line switches as
|
9 |
+
well as the `pyvenv.cfg` file values present in the virtual environment.
|
10 |
+
|
11 |
+
.Parameter VenvDir
|
12 |
+
Path to the directory that contains the virtual environment to activate. The
|
13 |
+
default value for this is the parent of the directory that the Activate.ps1
|
14 |
+
script is located within.
|
15 |
+
|
16 |
+
.Parameter Prompt
|
17 |
+
The prompt prefix to display when this virtual environment is activated. By
|
18 |
+
default, this prompt is the name of the virtual environment folder (VenvDir)
|
19 |
+
surrounded by parentheses and followed by a single space (ie. '(.venv) ').
|
20 |
+
|
21 |
+
.Example
|
22 |
+
Activate.ps1
|
23 |
+
Activates the Python virtual environment that contains the Activate.ps1 script.
|
24 |
+
|
25 |
+
.Example
|
26 |
+
Activate.ps1 -Verbose
|
27 |
+
Activates the Python virtual environment that contains the Activate.ps1 script,
|
28 |
+
and shows extra information about the activation as it executes.
|
29 |
+
|
30 |
+
.Example
|
31 |
+
Activate.ps1 -VenvDir C:\Users\MyUser\Common\.venv
|
32 |
+
Activates the Python virtual environment located in the specified location.
|
33 |
+
|
34 |
+
.Example
|
35 |
+
Activate.ps1 -Prompt "MyPython"
|
36 |
+
Activates the Python virtual environment that contains the Activate.ps1 script,
|
37 |
+
and prefixes the current prompt with the specified string (surrounded in
|
38 |
+
parentheses) while the virtual environment is active.
|
39 |
+
|
40 |
+
.Notes
|
41 |
+
On Windows, it may be required to enable this Activate.ps1 script by setting the
|
42 |
+
execution policy for the user. You can do this by issuing the following PowerShell
|
43 |
+
command:
|
44 |
+
|
45 |
+
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
|
46 |
+
|
47 |
+
For more information on Execution Policies:
|
48 |
+
https://go.microsoft.com/fwlink/?LinkID=135170
|
49 |
+
|
50 |
+
#>
|
51 |
+
Param(
|
52 |
+
[Parameter(Mandatory = $false)]
|
53 |
+
[String]
|
54 |
+
$VenvDir,
|
55 |
+
[Parameter(Mandatory = $false)]
|
56 |
+
[String]
|
57 |
+
$Prompt
|
58 |
+
)
|
59 |
+
|
60 |
+
<# Function declarations --------------------------------------------------- #>
|
61 |
+
|
62 |
+
<#
|
63 |
+
.Synopsis
|
64 |
+
Remove all shell session elements added by the Activate script, including the
|
65 |
+
addition of the virtual environment's Python executable from the beginning of
|
66 |
+
the PATH variable.
|
67 |
+
|
68 |
+
.Parameter NonDestructive
|
69 |
+
If present, do not remove this function from the global namespace for the
|
70 |
+
session.
|
71 |
+
|
72 |
+
#>
|
73 |
+
function global:deactivate ([switch]$NonDestructive) {
|
74 |
+
# Revert to original values
|
75 |
+
|
76 |
+
# The prior prompt:
|
77 |
+
if (Test-Path -Path Function:_OLD_VIRTUAL_PROMPT) {
|
78 |
+
Copy-Item -Path Function:_OLD_VIRTUAL_PROMPT -Destination Function:prompt
|
79 |
+
Remove-Item -Path Function:_OLD_VIRTUAL_PROMPT
|
80 |
+
}
|
81 |
+
|
82 |
+
# The prior PYTHONHOME:
|
83 |
+
if (Test-Path -Path Env:_OLD_VIRTUAL_PYTHONHOME) {
|
84 |
+
Copy-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME -Destination Env:PYTHONHOME
|
85 |
+
Remove-Item -Path Env:_OLD_VIRTUAL_PYTHONHOME
|
86 |
+
}
|
87 |
+
|
88 |
+
# The prior PATH:
|
89 |
+
if (Test-Path -Path Env:_OLD_VIRTUAL_PATH) {
|
90 |
+
Copy-Item -Path Env:_OLD_VIRTUAL_PATH -Destination Env:PATH
|
91 |
+
Remove-Item -Path Env:_OLD_VIRTUAL_PATH
|
92 |
+
}
|
93 |
+
|
94 |
+
# Just remove the VIRTUAL_ENV altogether:
|
95 |
+
if (Test-Path -Path Env:VIRTUAL_ENV) {
|
96 |
+
Remove-Item -Path env:VIRTUAL_ENV
|
97 |
+
}
|
98 |
+
|
99 |
+
# Just remove VIRTUAL_ENV_PROMPT altogether.
|
100 |
+
if (Test-Path -Path Env:VIRTUAL_ENV_PROMPT) {
|
101 |
+
Remove-Item -Path env:VIRTUAL_ENV_PROMPT
|
102 |
+
}
|
103 |
+
|
104 |
+
# Just remove the _PYTHON_VENV_PROMPT_PREFIX altogether:
|
105 |
+
if (Get-Variable -Name "_PYTHON_VENV_PROMPT_PREFIX" -ErrorAction SilentlyContinue) {
|
106 |
+
Remove-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Scope Global -Force
|
107 |
+
}
|
108 |
+
|
109 |
+
# Leave deactivate function in the global namespace if requested:
|
110 |
+
if (-not $NonDestructive) {
|
111 |
+
Remove-Item -Path function:deactivate
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
<#
|
116 |
+
.Description
|
117 |
+
Get-PyVenvConfig parses the values from the pyvenv.cfg file located in the
|
118 |
+
given folder, and returns them in a map.
|
119 |
+
|
120 |
+
For each line in the pyvenv.cfg file, if that line can be parsed into exactly
|
121 |
+
two strings separated by `=` (with any amount of whitespace surrounding the =)
|
122 |
+
then it is considered a `key = value` line. The left hand string is the key,
|
123 |
+
the right hand is the value.
|
124 |
+
|
125 |
+
If the value starts with a `'` or a `"` then the first and last character is
|
126 |
+
stripped from the value before being captured.
|
127 |
+
|
128 |
+
.Parameter ConfigDir
|
129 |
+
Path to the directory that contains the `pyvenv.cfg` file.
|
130 |
+
#>
|
131 |
+
function Get-PyVenvConfig(
|
132 |
+
[String]
|
133 |
+
$ConfigDir
|
134 |
+
) {
|
135 |
+
Write-Verbose "Given ConfigDir=$ConfigDir, obtain values in pyvenv.cfg"
|
136 |
+
|
137 |
+
# Ensure the file exists, and issue a warning if it doesn't (but still allow the function to continue).
|
138 |
+
$pyvenvConfigPath = Join-Path -Resolve -Path $ConfigDir -ChildPath 'pyvenv.cfg' -ErrorAction Continue
|
139 |
+
|
140 |
+
# An empty map will be returned if no config file is found.
|
141 |
+
$pyvenvConfig = @{ }
|
142 |
+
|
143 |
+
if ($pyvenvConfigPath) {
|
144 |
+
|
145 |
+
Write-Verbose "File exists, parse `key = value` lines"
|
146 |
+
$pyvenvConfigContent = Get-Content -Path $pyvenvConfigPath
|
147 |
+
|
148 |
+
$pyvenvConfigContent | ForEach-Object {
|
149 |
+
$keyval = $PSItem -split "\s*=\s*", 2
|
150 |
+
if ($keyval[0] -and $keyval[1]) {
|
151 |
+
$val = $keyval[1]
|
152 |
+
|
153 |
+
# Remove extraneous quotations around a string value.
|
154 |
+
if ("'""".Contains($val.Substring(0, 1))) {
|
155 |
+
$val = $val.Substring(1, $val.Length - 2)
|
156 |
+
}
|
157 |
+
|
158 |
+
$pyvenvConfig[$keyval[0]] = $val
|
159 |
+
Write-Verbose "Adding Key: '$($keyval[0])'='$val'"
|
160 |
+
}
|
161 |
+
}
|
162 |
+
}
|
163 |
+
return $pyvenvConfig
|
164 |
+
}
|
165 |
+
|
166 |
+
|
167 |
+
<# Begin Activate script --------------------------------------------------- #>
|
168 |
+
|
169 |
+
# Determine the containing directory of this script
|
170 |
+
$VenvExecPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
171 |
+
$VenvExecDir = Get-Item -Path $VenvExecPath
|
172 |
+
|
173 |
+
Write-Verbose "Activation script is located in path: '$VenvExecPath'"
|
174 |
+
Write-Verbose "VenvExecDir Fullname: '$($VenvExecDir.FullName)"
|
175 |
+
Write-Verbose "VenvExecDir Name: '$($VenvExecDir.Name)"
|
176 |
+
|
177 |
+
# Set values required in priority: CmdLine, ConfigFile, Default
|
178 |
+
# First, get the location of the virtual environment, it might not be
|
179 |
+
# VenvExecDir if specified on the command line.
|
180 |
+
if ($VenvDir) {
|
181 |
+
Write-Verbose "VenvDir given as parameter, using '$VenvDir' to determine values"
|
182 |
+
}
|
183 |
+
else {
|
184 |
+
Write-Verbose "VenvDir not given as a parameter, using parent directory name as VenvDir."
|
185 |
+
$VenvDir = $VenvExecDir.Parent.FullName.TrimEnd("\\/")
|
186 |
+
Write-Verbose "VenvDir=$VenvDir"
|
187 |
+
}
|
188 |
+
|
189 |
+
# Next, read the `pyvenv.cfg` file to determine any required value such
|
190 |
+
# as `prompt`.
|
191 |
+
$pyvenvCfg = Get-PyVenvConfig -ConfigDir $VenvDir
|
192 |
+
|
193 |
+
# Next, set the prompt from the command line, or the config file, or
|
194 |
+
# just use the name of the virtual environment folder.
|
195 |
+
if ($Prompt) {
|
196 |
+
Write-Verbose "Prompt specified as argument, using '$Prompt'"
|
197 |
+
}
|
198 |
+
else {
|
199 |
+
Write-Verbose "Prompt not specified as argument to script, checking pyvenv.cfg value"
|
200 |
+
if ($pyvenvCfg -and $pyvenvCfg['prompt']) {
|
201 |
+
Write-Verbose " Setting based on value in pyvenv.cfg='$($pyvenvCfg['prompt'])'"
|
202 |
+
$Prompt = $pyvenvCfg['prompt'];
|
203 |
+
}
|
204 |
+
else {
|
205 |
+
Write-Verbose " Setting prompt based on parent's directory's name. (Is the directory name passed to venv module when creating the virtual environment)"
|
206 |
+
Write-Verbose " Got leaf-name of $VenvDir='$(Split-Path -Path $venvDir -Leaf)'"
|
207 |
+
$Prompt = Split-Path -Path $venvDir -Leaf
|
208 |
+
}
|
209 |
+
}
|
210 |
+
|
211 |
+
Write-Verbose "Prompt = '$Prompt'"
|
212 |
+
Write-Verbose "VenvDir='$VenvDir'"
|
213 |
+
|
214 |
+
# Deactivate any currently active virtual environment, but leave the
|
215 |
+
# deactivate function in place.
|
216 |
+
deactivate -nondestructive
|
217 |
+
|
218 |
+
# Now set the environment variable VIRTUAL_ENV, used by many tools to determine
|
219 |
+
# that there is an activated venv.
|
220 |
+
$env:VIRTUAL_ENV = $VenvDir
|
221 |
+
|
222 |
+
if (-not $Env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
223 |
+
|
224 |
+
Write-Verbose "Setting prompt to '$Prompt'"
|
225 |
+
|
226 |
+
# Set the prompt to include the env name
|
227 |
+
# Make sure _OLD_VIRTUAL_PROMPT is global
|
228 |
+
function global:_OLD_VIRTUAL_PROMPT { "" }
|
229 |
+
Copy-Item -Path function:prompt -Destination function:_OLD_VIRTUAL_PROMPT
|
230 |
+
New-Variable -Name _PYTHON_VENV_PROMPT_PREFIX -Description "Python virtual environment prompt prefix" -Scope Global -Option ReadOnly -Visibility Public -Value $Prompt
|
231 |
+
|
232 |
+
function global:prompt {
|
233 |
+
Write-Host -NoNewline -ForegroundColor Green "($_PYTHON_VENV_PROMPT_PREFIX) "
|
234 |
+
_OLD_VIRTUAL_PROMPT
|
235 |
+
}
|
236 |
+
$env:VIRTUAL_ENV_PROMPT = $Prompt
|
237 |
+
}
|
238 |
+
|
239 |
+
# Clear PYTHONHOME
|
240 |
+
if (Test-Path -Path Env:PYTHONHOME) {
|
241 |
+
Copy-Item -Path Env:PYTHONHOME -Destination Env:_OLD_VIRTUAL_PYTHONHOME
|
242 |
+
Remove-Item -Path Env:PYTHONHOME
|
243 |
+
}
|
244 |
+
|
245 |
+
# Add the venv to the PATH
|
246 |
+
Copy-Item -Path Env:PATH -Destination Env:_OLD_VIRTUAL_PATH
|
247 |
+
$Env:PATH = "$VenvExecDir$([System.IO.Path]::PathSeparator)$Env:PATH"
|
venv/bin/activate
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file must be used with "source bin/activate" *from bash*
|
2 |
+
# you cannot run it directly
|
3 |
+
|
4 |
+
deactivate () {
|
5 |
+
# reset old environment variables
|
6 |
+
if [ -n "${_OLD_VIRTUAL_PATH:-}" ] ; then
|
7 |
+
PATH="${_OLD_VIRTUAL_PATH:-}"
|
8 |
+
export PATH
|
9 |
+
unset _OLD_VIRTUAL_PATH
|
10 |
+
fi
|
11 |
+
if [ -n "${_OLD_VIRTUAL_PYTHONHOME:-}" ] ; then
|
12 |
+
PYTHONHOME="${_OLD_VIRTUAL_PYTHONHOME:-}"
|
13 |
+
export PYTHONHOME
|
14 |
+
unset _OLD_VIRTUAL_PYTHONHOME
|
15 |
+
fi
|
16 |
+
|
17 |
+
# Call hash to forget past commands. Without forgetting
|
18 |
+
# past commands the $PATH changes we made may not be respected
|
19 |
+
hash -r 2> /dev/null
|
20 |
+
|
21 |
+
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
|
22 |
+
PS1="${_OLD_VIRTUAL_PS1:-}"
|
23 |
+
export PS1
|
24 |
+
unset _OLD_VIRTUAL_PS1
|
25 |
+
fi
|
26 |
+
|
27 |
+
unset VIRTUAL_ENV
|
28 |
+
unset VIRTUAL_ENV_PROMPT
|
29 |
+
if [ ! "${1:-}" = "nondestructive" ] ; then
|
30 |
+
# Self destruct!
|
31 |
+
unset -f deactivate
|
32 |
+
fi
|
33 |
+
}
|
34 |
+
|
35 |
+
# unset irrelevant variables
|
36 |
+
deactivate nondestructive
|
37 |
+
|
38 |
+
VIRTUAL_ENV="/Users/shubham/agengrow/gradio-excel-data/venv"
|
39 |
+
export VIRTUAL_ENV
|
40 |
+
|
41 |
+
_OLD_VIRTUAL_PATH="$PATH"
|
42 |
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
43 |
+
export PATH
|
44 |
+
|
45 |
+
# unset PYTHONHOME if set
|
46 |
+
# this will fail if PYTHONHOME is set to the empty string (which is bad anyway)
|
47 |
+
# could use `if (set -u; : $PYTHONHOME) ;` in bash
|
48 |
+
if [ -n "${PYTHONHOME:-}" ] ; then
|
49 |
+
_OLD_VIRTUAL_PYTHONHOME="${PYTHONHOME:-}"
|
50 |
+
unset PYTHONHOME
|
51 |
+
fi
|
52 |
+
|
53 |
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
|
54 |
+
_OLD_VIRTUAL_PS1="${PS1:-}"
|
55 |
+
PS1="(venv) ${PS1:-}"
|
56 |
+
export PS1
|
57 |
+
VIRTUAL_ENV_PROMPT="(venv) "
|
58 |
+
export VIRTUAL_ENV_PROMPT
|
59 |
+
fi
|
60 |
+
|
61 |
+
# Call hash to forget past commands. Without forgetting
|
62 |
+
# past commands the $PATH changes we made may not be respected
|
63 |
+
hash -r 2> /dev/null
|
venv/bin/activate.csh
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file must be used with "source bin/activate.csh" *from csh*.
|
2 |
+
# You cannot run it directly.
|
3 |
+
# Created by Davide Di Blasi <[email protected]>.
|
4 |
+
# Ported to Python 3.3 venv by Andrew Svetlov <[email protected]>
|
5 |
+
|
6 |
+
alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; unsetenv VIRTUAL_ENV_PROMPT; test "\!:*" != "nondestructive" && unalias deactivate'
|
7 |
+
|
8 |
+
# Unset irrelevant variables.
|
9 |
+
deactivate nondestructive
|
10 |
+
|
11 |
+
setenv VIRTUAL_ENV "/Users/shubham/agengrow/gradio-excel-data/venv"
|
12 |
+
|
13 |
+
set _OLD_VIRTUAL_PATH="$PATH"
|
14 |
+
setenv PATH "$VIRTUAL_ENV/bin:$PATH"
|
15 |
+
|
16 |
+
|
17 |
+
set _OLD_VIRTUAL_PROMPT="$prompt"
|
18 |
+
|
19 |
+
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
|
20 |
+
set prompt = "(venv) $prompt"
|
21 |
+
setenv VIRTUAL_ENV_PROMPT "(venv) "
|
22 |
+
endif
|
23 |
+
|
24 |
+
alias pydoc python -m pydoc
|
25 |
+
|
26 |
+
rehash
|
venv/bin/activate.fish
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file must be used with "source <venv>/bin/activate.fish" *from fish*
|
2 |
+
# (https://fishshell.com/); you cannot run it directly.
|
3 |
+
|
4 |
+
function deactivate -d "Exit virtual environment and return to normal shell environment"
|
5 |
+
# reset old environment variables
|
6 |
+
if test -n "$_OLD_VIRTUAL_PATH"
|
7 |
+
set -gx PATH $_OLD_VIRTUAL_PATH
|
8 |
+
set -e _OLD_VIRTUAL_PATH
|
9 |
+
end
|
10 |
+
if test -n "$_OLD_VIRTUAL_PYTHONHOME"
|
11 |
+
set -gx PYTHONHOME $_OLD_VIRTUAL_PYTHONHOME
|
12 |
+
set -e _OLD_VIRTUAL_PYTHONHOME
|
13 |
+
end
|
14 |
+
|
15 |
+
if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
|
16 |
+
set -e _OLD_FISH_PROMPT_OVERRIDE
|
17 |
+
# prevents error when using nested fish instances (Issue #93858)
|
18 |
+
if functions -q _old_fish_prompt
|
19 |
+
functions -e fish_prompt
|
20 |
+
functions -c _old_fish_prompt fish_prompt
|
21 |
+
functions -e _old_fish_prompt
|
22 |
+
end
|
23 |
+
end
|
24 |
+
|
25 |
+
set -e VIRTUAL_ENV
|
26 |
+
set -e VIRTUAL_ENV_PROMPT
|
27 |
+
if test "$argv[1]" != "nondestructive"
|
28 |
+
# Self-destruct!
|
29 |
+
functions -e deactivate
|
30 |
+
end
|
31 |
+
end
|
32 |
+
|
33 |
+
# Unset irrelevant variables.
|
34 |
+
deactivate nondestructive
|
35 |
+
|
36 |
+
set -gx VIRTUAL_ENV "/Users/shubham/agengrow/gradio-excel-data/venv"
|
37 |
+
|
38 |
+
set -gx _OLD_VIRTUAL_PATH $PATH
|
39 |
+
set -gx PATH "$VIRTUAL_ENV/bin" $PATH
|
40 |
+
|
41 |
+
# Unset PYTHONHOME if set.
|
42 |
+
if set -q PYTHONHOME
|
43 |
+
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
44 |
+
set -e PYTHONHOME
|
45 |
+
end
|
46 |
+
|
47 |
+
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
48 |
+
# fish uses a function instead of an env var to generate the prompt.
|
49 |
+
|
50 |
+
# Save the current fish_prompt function as the function _old_fish_prompt.
|
51 |
+
functions -c fish_prompt _old_fish_prompt
|
52 |
+
|
53 |
+
# With the original prompt function renamed, we can override with our own.
|
54 |
+
function fish_prompt
|
55 |
+
# Save the return status of the last command.
|
56 |
+
set -l old_status $status
|
57 |
+
|
58 |
+
# Output the venv prompt; color taken from the blue of the Python logo.
|
59 |
+
printf "%s%s%s" (set_color 4B8BBE) "(venv) " (set_color normal)
|
60 |
+
|
61 |
+
# Restore the return status of the previous command.
|
62 |
+
echo "exit $old_status" | .
|
63 |
+
# Output the original/"old" prompt.
|
64 |
+
_old_fish_prompt
|
65 |
+
end
|
66 |
+
|
67 |
+
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
68 |
+
set -gx VIRTUAL_ENV_PROMPT "(venv) "
|
69 |
+
end
|
venv/bin/f2py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from fastapi.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/gradio
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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/hf
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from huggingface_hub.cli.hf 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/httpx
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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/markdown-it
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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/normalizer
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from charset_normalizer import cli
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(cli.cli_detect())
|
venv/bin/numpy-config
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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/pip
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.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/pip3
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.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/pip3.11
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.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/pygmentize
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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 (13.6 kB). View file
|
|
venv/bin/python3
ADDED
Binary file (13.6 kB). View file
|
|
venv/bin/python3.11
ADDED
Binary file (13.6 kB). View file
|
|
venv/bin/ruff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83390b4222e04862a90c3efc207269ab2c61fa667c3a38a1679f093b83ad5cdc
|
3 |
+
size 32768136
|
venv/bin/tiny-agents
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from huggingface_hub.inference._mcp.cli import app
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(app())
|
venv/bin/tqdm
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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/typer
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
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())
|
venv/bin/websockets
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/shubham/agengrow/gradio-excel-data/venv/bin/python3.11
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from websockets.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/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
2 |
+
|
3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4 |
+
of this software and associated documentation files (the "Software"), to deal
|
5 |
+
in the Software without restriction, including without limitation the rights
|
6 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7 |
+
copies of the Software, and to permit persons to whom the Software is
|
8 |
+
furnished to do so, subject to the following conditions:
|
9 |
+
|
10 |
+
The above copyright notice and this permission notice shall be included in
|
11 |
+
all copies or substantial portions of the Software.
|
12 |
+
|
13 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19 |
+
THE SOFTWARE.
|
venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/METADATA
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: Brotli
|
3 |
+
Version: 1.1.0
|
4 |
+
Summary: Python bindings for the Brotli compression library
|
5 |
+
Home-page: https://github.com/google/brotli
|
6 |
+
Author: The Brotli Authors
|
7 |
+
License: MIT
|
8 |
+
Platform: Posix
|
9 |
+
Platform: MacOS X
|
10 |
+
Platform: Windows
|
11 |
+
Classifier: Development Status :: 4 - Beta
|
12 |
+
Classifier: Environment :: Console
|
13 |
+
Classifier: Intended Audience :: Developers
|
14 |
+
Classifier: License :: OSI Approved :: MIT License
|
15 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
16 |
+
Classifier: Operating System :: Microsoft :: Windows
|
17 |
+
Classifier: Operating System :: POSIX :: Linux
|
18 |
+
Classifier: Programming Language :: C
|
19 |
+
Classifier: Programming Language :: C++
|
20 |
+
Classifier: Programming Language :: Python
|
21 |
+
Classifier: Programming Language :: Python :: 2
|
22 |
+
Classifier: Programming Language :: Python :: 2.7
|
23 |
+
Classifier: Programming Language :: Python :: 3
|
24 |
+
Classifier: Programming Language :: Python :: 3.3
|
25 |
+
Classifier: Programming Language :: Python :: 3.4
|
26 |
+
Classifier: Programming Language :: Python :: 3.5
|
27 |
+
Classifier: Programming Language :: Unix Shell
|
28 |
+
Classifier: Topic :: Software Development :: Libraries
|
29 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
30 |
+
Classifier: Topic :: System :: Archiving
|
31 |
+
Classifier: Topic :: System :: Archiving :: Compression
|
32 |
+
Classifier: Topic :: Text Processing :: Fonts
|
33 |
+
Classifier: Topic :: Utilities
|
34 |
+
Description-Content-Type: text/markdown
|
35 |
+
License-File: LICENSE
|
36 |
+
|
37 |
+
<p align="center">
|
38 |
+
<img src="https://github.com/google/brotli/actions/workflows/build_test.yml/badge.svg" alt="GitHub Actions Build Status" href="https://github.com/google/brotli/actions?query=branch%3Amaster">
|
39 |
+
<img src="https://oss-fuzz-build-logs.storage.googleapis.com/badges/brotli.svg" alt="Fuzzing Status" href="https://oss-fuzz-build-logs.storage.googleapis.com/index.html#brotli">
|
40 |
+
</p>
|
41 |
+
<p align="center"><img src="https://brotli.org/brotli.svg" alt="Brotli" width="64"></p>
|
42 |
+
|
43 |
+
### Introduction
|
44 |
+
|
45 |
+
Brotli is a generic-purpose lossless compression algorithm that compresses data
|
46 |
+
using a combination of a modern variant of the LZ77 algorithm, Huffman coding
|
47 |
+
and 2nd order context modeling, with a compression ratio comparable to the best
|
48 |
+
currently available general-purpose compression methods. It is similar in speed
|
49 |
+
with deflate but offers more dense compression.
|
50 |
+
|
51 |
+
The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://tools.ietf.org/html/rfc7932).
|
52 |
+
|
53 |
+
Brotli is open-sourced under the MIT License, see the LICENSE file.
|
54 |
+
|
55 |
+
> **Please note:** brotli is a "stream" format; it does not contain
|
56 |
+
> meta-information, like checksums or uncompresssed data length. It is possible
|
57 |
+
> to modify "raw" ranges of the compressed stream and the decoder will not
|
58 |
+
> notice that.
|
59 |
+
|
60 |
+
### Build instructions
|
61 |
+
|
62 |
+
#### Vcpkg
|
63 |
+
|
64 |
+
You can download and install brotli using the [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager:
|
65 |
+
|
66 |
+
git clone https://github.com/Microsoft/vcpkg.git
|
67 |
+
cd vcpkg
|
68 |
+
./bootstrap-vcpkg.sh
|
69 |
+
./vcpkg integrate install
|
70 |
+
./vcpkg install brotli
|
71 |
+
|
72 |
+
The brotli port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository.
|
73 |
+
|
74 |
+
#### Bazel
|
75 |
+
|
76 |
+
See [Bazel](http://www.bazel.build/)
|
77 |
+
|
78 |
+
#### CMake
|
79 |
+
|
80 |
+
The basic commands to build and install brotli are:
|
81 |
+
|
82 |
+
$ mkdir out && cd out
|
83 |
+
$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./installed ..
|
84 |
+
$ cmake --build . --config Release --target install
|
85 |
+
|
86 |
+
You can use other [CMake](https://cmake.org/) configuration.
|
87 |
+
|
88 |
+
#### Python
|
89 |
+
|
90 |
+
To install the latest release of the Python module, run the following:
|
91 |
+
|
92 |
+
$ pip install brotli
|
93 |
+
|
94 |
+
To install the tip-of-the-tree version, run:
|
95 |
+
|
96 |
+
$ pip install --upgrade git+https://github.com/google/brotli
|
97 |
+
|
98 |
+
See the [Python readme](python/README.md) for more details on installing
|
99 |
+
from source, development, and testing.
|
100 |
+
|
101 |
+
### Contributing
|
102 |
+
|
103 |
+
We glad to answer/library related questions in
|
104 |
+
[brotli mailing list](https://groups.google.com/forum/#!forum/brotli).
|
105 |
+
|
106 |
+
Regular issues / feature requests should be reported in
|
107 |
+
[issue tracker](https://github.com/google/brotli/issues).
|
108 |
+
|
109 |
+
For reporting vulnerability please read [SECURITY](SECURITY.md).
|
110 |
+
|
111 |
+
For contributing changes please read [CONTRIBUTING](CONTRIBUTING.md).
|
112 |
+
|
113 |
+
### Benchmarks
|
114 |
+
* [Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/) / [Unstable Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/unstable/)
|
115 |
+
* [Large Text Compression Benchmark](http://mattmahoney.net/dc/text.html)
|
116 |
+
* [Lzturbo Benchmark](https://sites.google.com/site/powturbo/home/benchmark)
|
117 |
+
|
118 |
+
### Related projects
|
119 |
+
> **Disclaimer:** Brotli authors take no responsibility for the third party projects mentioned in this section.
|
120 |
+
|
121 |
+
Independent [decoder](https://github.com/madler/brotli) implementation by Mark Adler, based entirely on format specification.
|
122 |
+
|
123 |
+
JavaScript port of brotli [decoder](https://github.com/devongovett/brotli.js). Could be used directly via `npm install brotli`
|
124 |
+
|
125 |
+
Hand ported [decoder / encoder](https://github.com/dominikhlbg/BrotliHaxe) in haxe by Dominik Homberger. Output source code: JavaScript, PHP, Python, Java and C#
|
126 |
+
|
127 |
+
7Zip [plugin](https://github.com/mcmilk/7-Zip-Zstd)
|
128 |
+
|
129 |
+
Dart [native bindings](https://github.com/thosakwe/brotli)
|
130 |
+
|
131 |
+
Dart compression framework with [fast FFI-based Brotli implementation](https://pub.dev/documentation/es_compression/latest/brotli/brotli-library.html) with ready-to-use prebuilt binaries for Win/Linux/Mac
|
venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/RECORD
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Brotli-1.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
Brotli-1.1.0.dist-info/LICENSE,sha256=PRgACONpIqTo2uwRw0x68mT-1ZYtB5JK6pKMOOhmPJQ,1084
|
3 |
+
Brotli-1.1.0.dist-info/METADATA,sha256=LJosR9yLMqr7jATPCPS3pSzTdjqqD08KpM8lk9ZuUrs,5496
|
4 |
+
Brotli-1.1.0.dist-info/RECORD,,
|
5 |
+
Brotli-1.1.0.dist-info/WHEEL,sha256=1K25WgJ_KyfvTx-UW0AtTToB1lRjnG-GzH7SmFlnRPw,111
|
6 |
+
Brotli-1.1.0.dist-info/top_level.txt,sha256=gsS54HrhO3ZveFxeMrKo_7qH4Sm4TbQ7jGLVBEqJ4NI,15
|
7 |
+
__pycache__/brotli.cpython-311.pyc,,
|
8 |
+
_brotli.cpython-311-darwin.so,sha256=TyA2VoIWLiHDC8QImjSxQT_igVHXM45Y0MsBGpwYSTg,1030552
|
9 |
+
brotli.py,sha256=PnGIVmeFGFHSOwermGwohhd2Fyr44FhgejLQkkIIFiA,1866
|
venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.41.2)
|
3 |
+
Root-Is-Purelib: false
|
4 |
+
Tag: cp311-cp311-macosx_10_9_x86_64
|
5 |
+
|
venv/lib/python3.11/site-packages/Brotli-1.1.0.dist-info/top_level.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
_brotli
|
2 |
+
brotli
|
venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright 2010 Pallets
|
2 |
+
|
3 |
+
Redistribution and use in source and binary forms, with or without
|
4 |
+
modification, are permitted provided that the following conditions are
|
5 |
+
met:
|
6 |
+
|
7 |
+
1. Redistributions of source code must retain the above copyright
|
8 |
+
notice, this list of conditions and the following disclaimer.
|
9 |
+
|
10 |
+
2. Redistributions in binary form must reproduce the above copyright
|
11 |
+
notice, this list of conditions and the following disclaimer in the
|
12 |
+
documentation and/or other materials provided with the distribution.
|
13 |
+
|
14 |
+
3. Neither the name of the copyright holder nor the names of its
|
15 |
+
contributors may be used to endorse or promote products derived from
|
16 |
+
this software without specific prior written permission.
|
17 |
+
|
18 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
19 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
20 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
21 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
22 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
23 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
24 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
25 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
27 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
28 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/METADATA
ADDED
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: MarkupSafe
|
3 |
+
Version: 3.0.2
|
4 |
+
Summary: Safely add untrusted strings to HTML/XML markup.
|
5 |
+
Maintainer-email: Pallets <[email protected]>
|
6 |
+
License: Copyright 2010 Pallets
|
7 |
+
|
8 |
+
Redistribution and use in source and binary forms, with or without
|
9 |
+
modification, are permitted provided that the following conditions are
|
10 |
+
met:
|
11 |
+
|
12 |
+
1. Redistributions of source code must retain the above copyright
|
13 |
+
notice, this list of conditions and the following disclaimer.
|
14 |
+
|
15 |
+
2. Redistributions in binary form must reproduce the above copyright
|
16 |
+
notice, this list of conditions and the following disclaimer in the
|
17 |
+
documentation and/or other materials provided with the distribution.
|
18 |
+
|
19 |
+
3. Neither the name of the copyright holder nor the names of its
|
20 |
+
contributors may be used to endorse or promote products derived from
|
21 |
+
this software without specific prior written permission.
|
22 |
+
|
23 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
24 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
25 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
26 |
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
27 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
28 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
29 |
+
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
30 |
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
31 |
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
32 |
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
33 |
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
34 |
+
|
35 |
+
Project-URL: Donate, https://palletsprojects.com/donate
|
36 |
+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
|
37 |
+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
|
38 |
+
Project-URL: Source, https://github.com/pallets/markupsafe/
|
39 |
+
Project-URL: Chat, https://discord.gg/pallets
|
40 |
+
Classifier: Development Status :: 5 - Production/Stable
|
41 |
+
Classifier: Environment :: Web Environment
|
42 |
+
Classifier: Intended Audience :: Developers
|
43 |
+
Classifier: License :: OSI Approved :: BSD License
|
44 |
+
Classifier: Operating System :: OS Independent
|
45 |
+
Classifier: Programming Language :: Python
|
46 |
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
47 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
48 |
+
Classifier: Typing :: Typed
|
49 |
+
Requires-Python: >=3.9
|
50 |
+
Description-Content-Type: text/markdown
|
51 |
+
License-File: LICENSE.txt
|
52 |
+
|
53 |
+
# MarkupSafe
|
54 |
+
|
55 |
+
MarkupSafe implements a text object that escapes characters so it is
|
56 |
+
safe to use in HTML and XML. Characters that have special meanings are
|
57 |
+
replaced so that they display as the actual characters. This mitigates
|
58 |
+
injection attacks, meaning untrusted user input can safely be displayed
|
59 |
+
on a page.
|
60 |
+
|
61 |
+
|
62 |
+
## Examples
|
63 |
+
|
64 |
+
```pycon
|
65 |
+
>>> from markupsafe import Markup, escape
|
66 |
+
|
67 |
+
>>> # escape replaces special characters and wraps in Markup
|
68 |
+
>>> escape("<script>alert(document.cookie);</script>")
|
69 |
+
Markup('<script>alert(document.cookie);</script>')
|
70 |
+
|
71 |
+
>>> # wrap in Markup to mark text "safe" and prevent escaping
|
72 |
+
>>> Markup("<strong>Hello</strong>")
|
73 |
+
Markup('<strong>hello</strong>')
|
74 |
+
|
75 |
+
>>> escape(Markup("<strong>Hello</strong>"))
|
76 |
+
Markup('<strong>hello</strong>')
|
77 |
+
|
78 |
+
>>> # Markup is a str subclass
|
79 |
+
>>> # methods and operators escape their arguments
|
80 |
+
>>> template = Markup("Hello <em>{name}</em>")
|
81 |
+
>>> template.format(name='"World"')
|
82 |
+
Markup('Hello <em>"World"</em>')
|
83 |
+
```
|
84 |
+
|
85 |
+
## Donate
|
86 |
+
|
87 |
+
The Pallets organization develops and supports MarkupSafe and other
|
88 |
+
popular packages. In order to grow the community of contributors and
|
89 |
+
users, and allow the maintainers to devote more time to the projects,
|
90 |
+
[please donate today][].
|
91 |
+
|
92 |
+
[please donate today]: https://palletsprojects.com/donate
|
venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/RECORD
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
MarkupSafe-3.0.2.dist-info/LICENSE.txt,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475
|
3 |
+
MarkupSafe-3.0.2.dist-info/METADATA,sha256=aAwbZhSmXdfFuMM-rEHpeiHRkBOGESyVLJIuwzHP-nw,3975
|
4 |
+
MarkupSafe-3.0.2.dist-info/RECORD,,
|
5 |
+
MarkupSafe-3.0.2.dist-info/WHEEL,sha256=HhlOYVXy1Wa9n3P9SVx0GD3487GzK6yrtex_WJ2pR1I,114
|
6 |
+
MarkupSafe-3.0.2.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
7 |
+
markupsafe/__init__.py,sha256=sr-U6_27DfaSrj5jnHYxWN-pvhM27sjlDplMDPZKm7k,13214
|
8 |
+
markupsafe/__pycache__/__init__.cpython-311.pyc,,
|
9 |
+
markupsafe/__pycache__/_native.cpython-311.pyc,,
|
10 |
+
markupsafe/_native.py,sha256=hSLs8Jmz5aqayuengJJ3kdT5PwNpBWpKrmQSdipndC8,210
|
11 |
+
markupsafe/_speedups.c,sha256=O7XulmTo-epI6n2FtMVOrJXl8EAaIwD2iNYmBI5SEoQ,4149
|
12 |
+
markupsafe/_speedups.cpython-311-darwin.so,sha256=waUcSZ9Yl-0bacMoWW2_J3dUQtRqGgaUpZHEccQMe2I,67056
|
13 |
+
markupsafe/_speedups.pyi,sha256=ENd1bYe7gbBUf2ywyYWOGUpnXOHNJ-cgTNqetlW8h5k,41
|
14 |
+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: setuptools (75.2.0)
|
3 |
+
Root-Is-Purelib: false
|
4 |
+
Tag: cp311-cp311-macosx_10_9_universal2
|
5 |
+
|
venv/lib/python3.11/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
markupsafe
|
venv/lib/python3.11/site-packages/PIL/.dylibs/libXau.6.dylib
ADDED
Binary file (53.9 kB). View file
|
|
venv/lib/python3.11/site-packages/PIL/.dylibs/libavif.16.3.0.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d58c4d99f4da73064bcbf86a1bf359cf386c212e330274c0577461fbfc8f25b
|
3 |
+
size 4678816
|
venv/lib/python3.11/site-packages/PIL/.dylibs/libbrotlicommon.1.1.0.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19e71edee8e5b9dcfd2b921130339360aa5925dc921a8cf448f795d30c8c8074
|
3 |
+
size 185680
|
venv/lib/python3.11/site-packages/PIL/.dylibs/libbrotlidec.1.1.0.dylib
ADDED
Binary file (88.5 kB). View file
|
|
venv/lib/python3.11/site-packages/PIL/.dylibs/libfreetype.6.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:956a85fabd0f89a77ec8998551639ce5ed9ba6bc6e7e6466ab5b291dcd92cc26
|
3 |
+
size 1098464
|