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
- .claude/settings.local.json +8 -0
- .gitattributes +119 -0
- .github/workflows/update_space.yml +28 -0
- .python-version +1 -0
- .venv/.gitignore +1 -0
- .venv/CACHEDIR.TAG +1 -0
- .venv/bin/activate +116 -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 +59 -0
- .venv/bin/deactivate.bat +39 -0
- .venv/bin/dotenv +8 -0
- .venv/bin/f2py +8 -0
- .venv/bin/fastapi +8 -0
- .venv/bin/gradio +8 -0
- .venv/bin/httpx +8 -0
- .venv/bin/huggingface-cli +8 -0
- .venv/bin/markdown-it +8 -0
- .venv/bin/mcp +8 -0
- .venv/bin/nltk +8 -0
- .venv/bin/normalizer +8 -0
- .venv/bin/numpy-config +8 -0
- .venv/bin/pydoc.bat +22 -0
- .venv/bin/pygmentize +8 -0
- .venv/bin/python +0 -0
- .venv/bin/python3 +0 -0
- .venv/bin/python3.12 +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.12/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER +1 -0
- .venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt +28 -0
- .venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/METADATA +92 -0
- .venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/RECORD +13 -0
- .venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/REQUESTED +0 -0
- .venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/WHEEL +5 -0
- .venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt +1 -0
- .venv/lib/python3.12/site-packages/PIL/.dylibs/libXau.6.dylib +0 -0
- .venv/lib/python3.12/site-packages/PIL/.dylibs/libbrotlicommon.1.1.0.dylib +3 -0
- .venv/lib/python3.12/site-packages/PIL/.dylibs/libbrotlidec.1.1.0.dylib +3 -0
- .venv/lib/python3.12/site-packages/PIL/.dylibs/libfreetype.6.dylib +3 -0
- .venv/lib/python3.12/site-packages/PIL/.dylibs/libharfbuzz.0.dylib +3 -0
- .venv/lib/python3.12/site-packages/PIL/.dylibs/libjpeg.62.4.0.dylib +3 -0
.claude/settings.local.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"permissions": {
|
3 |
+
"allow": [
|
4 |
+
"Bash(git commit -m \"Initial commit\")"
|
5 |
+
],
|
6 |
+
"deny": []
|
7 |
+
}
|
8 |
+
}
|
.gitattributes
CHANGED
@@ -33,3 +33,122 @@ 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.12/site-packages/PIL/.dylibs/libbrotlicommon.1.1.0.dylib filter=lfs diff=lfs merge=lfs -text
|
38 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libbrotlidec.1.1.0.dylib filter=lfs diff=lfs merge=lfs -text
|
39 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libfreetype.6.dylib filter=lfs diff=lfs merge=lfs -text
|
40 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libharfbuzz.0.dylib filter=lfs diff=lfs merge=lfs -text
|
41 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libjpeg.62.4.0.dylib filter=lfs diff=lfs merge=lfs -text
|
42 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/liblcms2.2.dylib filter=lfs diff=lfs merge=lfs -text
|
43 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/liblzma.5.dylib filter=lfs diff=lfs merge=lfs -text
|
44 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libopenjp2.2.5.3.dylib filter=lfs diff=lfs merge=lfs -text
|
45 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libpng16.16.dylib filter=lfs diff=lfs merge=lfs -text
|
46 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libtiff.6.dylib filter=lfs diff=lfs merge=lfs -text
|
47 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libwebp.7.dylib filter=lfs diff=lfs merge=lfs -text
|
48 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libwebpmux.3.dylib filter=lfs diff=lfs merge=lfs -text
|
49 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libxcb.1.1.0.dylib filter=lfs diff=lfs merge=lfs -text
|
50 |
+
.venv/lib/python3.12/site-packages/PIL/.dylibs/libz.1.3.1.zlib-ng.dylib filter=lfs diff=lfs merge=lfs -text
|
51 |
+
.venv/lib/python3.12/site-packages/PIL/__pycache__/Image.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
52 |
+
.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
53 |
+
.venv/lib/python3.12/site-packages/PIL/_imaging.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
54 |
+
.venv/lib/python3.12/site-packages/PIL/_imagingft.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
55 |
+
.venv/lib/python3.12/site-packages/__pycache__/typing_extensions.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
56 |
+
.venv/lib/python3.12/site-packages/anyio/_backends/__pycache__/_asyncio.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
57 |
+
.venv/lib/python3.12/site-packages/charset_normalizer/md.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
58 |
+
.venv/lib/python3.12/site-packages/charset_normalizer/md__mypyc.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
59 |
+
.venv/lib/python3.12/site-packages/click/__pycache__/core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
60 |
+
.venv/lib/python3.12/site-packages/gradio/__pycache__/blocks.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
61 |
+
.venv/lib/python3.12/site-packages/gradio/__pycache__/routes.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
62 |
+
.venv/lib/python3.12/site-packages/gradio/_frontend_code/imageslider/img_01.png filter=lfs diff=lfs merge=lfs -text
|
63 |
+
.venv/lib/python3.12/site-packages/gradio/_frontend_code/imageslider/img_02.png filter=lfs diff=lfs merge=lfs -text
|
64 |
+
.venv/lib/python3.12/site-packages/gradio/_frontend_code/imageslider/img_03.png filter=lfs diff=lfs merge=lfs -text
|
65 |
+
.venv/lib/python3.12/site-packages/gradio/templates/frontend/assets/PlotlyPlot-BvHQnMem.js.map filter=lfs diff=lfs merge=lfs -text
|
66 |
+
.venv/lib/python3.12/site-packages/gradio/templates/frontend/static/fonts/Source[[:space:]]Sans[[:space:]]Pro/SourceSansPro-Bold.woff2 filter=lfs diff=lfs merge=lfs -text
|
67 |
+
.venv/lib/python3.12/site-packages/gradio/templates/frontend/static/fonts/Source[[:space:]]Sans[[:space:]]Pro/SourceSansPro-Regular.woff2 filter=lfs diff=lfs merge=lfs -text
|
68 |
+
.venv/lib/python3.12/site-packages/gradio/templates/frontend/static/img/Duck.glb filter=lfs diff=lfs merge=lfs -text
|
69 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/2.DErokhHf.js.br filter=lfs diff=lfs merge=lfs -text
|
70 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/AltairPlot.BxmBcDOw.js.br filter=lfs diff=lfs merge=lfs -text
|
71 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/Index.D88W-BcT.js.br filter=lfs diff=lfs merge=lfs -text
|
72 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/Index.farAjpi9.js.br filter=lfs diff=lfs merge=lfs -text
|
73 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/PlotlyPlot.CFmr8hSS.js.br filter=lfs diff=lfs merge=lfs -text
|
74 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/cytoscape.esm.C_mCjcvO.js.br filter=lfs diff=lfs merge=lfs -text
|
75 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/hls.CFPBCiRi.js.br filter=lfs diff=lfs merge=lfs -text
|
76 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/index.B4f7kVg_.js.br filter=lfs diff=lfs merge=lfs -text
|
77 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/mermaid.core.BPG9iGeh.js.br filter=lfs diff=lfs merge=lfs -text
|
78 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/vega-embed.module.CPth51Gx.js.br filter=lfs diff=lfs merge=lfs -text
|
79 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/client/_app/immutable/chunks/vega-tooltip.module.BNd7ck7b.js.br filter=lfs diff=lfs merge=lfs -text
|
80 |
+
.venv/lib/python3.12/site-packages/gradio/templates/node/build/server/chunks/PlotlyPlot-DgUTa5VG.js.map filter=lfs diff=lfs merge=lfs -text
|
81 |
+
.venv/lib/python3.12/site-packages/gradio_client/__pycache__/media_data.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
82 |
+
.venv/lib/python3.12/site-packages/hf_xet/hf_xet.abi3.so filter=lfs diff=lfs merge=lfs -text
|
83 |
+
.venv/lib/python3.12/site-packages/huggingface_hub/__pycache__/hf_api.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
84 |
+
.venv/lib/python3.12/site-packages/huggingface_hub/inference/__pycache__/_client.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
85 |
+
.venv/lib/python3.12/site-packages/jinja2/__pycache__/compiler.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
86 |
+
.venv/lib/python3.12/site-packages/nltk/__pycache__/downloader.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
87 |
+
.venv/lib/python3.12/site-packages/nltk/__pycache__/featstruct.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
88 |
+
.venv/lib/python3.12/site-packages/nltk/__pycache__/probability.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
89 |
+
.venv/lib/python3.12/site-packages/nltk/corpus/reader/__pycache__/framenet.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
90 |
+
.venv/lib/python3.12/site-packages/nltk/corpus/reader/__pycache__/wordnet.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
91 |
+
.venv/lib/python3.12/site-packages/nltk/draw/__pycache__/util.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
92 |
+
.venv/lib/python3.12/site-packages/nltk/stem/__pycache__/snowball.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
93 |
+
.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
94 |
+
.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
95 |
+
.venv/lib/python3.12/site-packages/numpy/_core/_multiarray_tests.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
96 |
+
.venv/lib/python3.12/site-packages/numpy/_core/_multiarray_umath.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
97 |
+
.venv/lib/python3.12/site-packages/numpy/_core/_simd.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
98 |
+
.venv/lib/python3.12/site-packages/numpy/fft/_pocketfft_umath.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
99 |
+
.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
100 |
+
.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/_linalg.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
101 |
+
.venv/lib/python3.12/site-packages/numpy/linalg/_umath_linalg.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
102 |
+
.venv/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
103 |
+
.venv/lib/python3.12/site-packages/numpy/random/_common.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
104 |
+
.venv/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
105 |
+
.venv/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
106 |
+
.venv/lib/python3.12/site-packages/numpy/random/_pcg64.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
107 |
+
.venv/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
108 |
+
.venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
109 |
+
.venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
110 |
+
.venv/lib/python3.12/site-packages/orjson/orjson.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
111 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/algos.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
112 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/arrays.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
113 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/groupby.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
114 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/hashing.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
115 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/hashtable.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
116 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/index.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
117 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/internals.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
118 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/interval.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
119 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/join.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
120 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/lib.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
121 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/missing.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
122 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/ops.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
123 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/parsers.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
124 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/reshape.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
125 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/sas.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
126 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/sparse.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
127 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/testing.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
128 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslib.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
129 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/conversion.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
130 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/dtypes.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
131 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/fields.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
132 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/nattype.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
133 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/np_datetime.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
134 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/offsets.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
135 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/parsing.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
136 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/period.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
137 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/strptime.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
138 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timedeltas.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
139 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timestamps.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
140 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timezones.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
141 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/tzconversion.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
142 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/vectorized.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
143 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/window/aggregations.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
144 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/window/indexers.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
145 |
+
.venv/lib/python3.12/site-packages/pandas/_libs/writers.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
146 |
+
.venv/lib/python3.12/site-packages/pydantic/__pycache__/json_schema.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
147 |
+
.venv/lib/python3.12/site-packages/pydantic/_internal/__pycache__/_generate_schema.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
148 |
+
.venv/lib/python3.12/site-packages/pydantic_core/__pycache__/core_schema.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
149 |
+
.venv/lib/python3.12/site-packages/pydantic_core/_pydantic_core.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
150 |
+
.venv/lib/python3.12/site-packages/regex/__pycache__/_regex_core.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
151 |
+
.venv/lib/python3.12/site-packages/regex/_regex.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
152 |
+
.venv/lib/python3.12/site-packages/rich/__pycache__/_emoji_codes.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
153 |
+
.venv/lib/python3.12/site-packages/rich/__pycache__/console.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
154 |
+
.venv/lib/python3.12/site-packages/yaml/_yaml.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
.github/workflows/update_space.yml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Run Python script
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- main
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
build:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
steps:
|
13 |
+
- name: Checkout
|
14 |
+
uses: actions/checkout@v2
|
15 |
+
|
16 |
+
- name: Set up Python
|
17 |
+
uses: actions/setup-python@v2
|
18 |
+
with:
|
19 |
+
python-version: '3.9'
|
20 |
+
|
21 |
+
- name: Install Gradio
|
22 |
+
run: python -m pip install gradio
|
23 |
+
|
24 |
+
- name: Log in to Hugging Face
|
25 |
+
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
|
26 |
+
|
27 |
+
- name: Deploy to Spaces
|
28 |
+
run: gradio deploy
|
.python-version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
3.12
|
.venv/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*
|
.venv/CACHEDIR.TAG
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Signature: 8a477f597d28d172789f06886806bc55
|
.venv/bin/activate
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
# Get script path (only used if environment is relocatable).
|
26 |
+
if [ -n "${BASH_VERSION:+x}" ] ; then
|
27 |
+
SCRIPT_PATH="${BASH_SOURCE[0]}"
|
28 |
+
if [ "$SCRIPT_PATH" = "$0" ]; then
|
29 |
+
# Only bash has a reasonably robust check for source'dness.
|
30 |
+
echo "You must source this script: \$ source $0" >&2
|
31 |
+
exit 33
|
32 |
+
fi
|
33 |
+
elif [ -n "${ZSH_VERSION:+x}" ] ; then
|
34 |
+
SCRIPT_PATH="${(%):-%x}"
|
35 |
+
elif [ -n "${KSH_VERSION:+x}" ] ; then
|
36 |
+
SCRIPT_PATH="${.sh.file}"
|
37 |
+
fi
|
38 |
+
|
39 |
+
deactivate () {
|
40 |
+
unset -f pydoc >/dev/null 2>&1 || true
|
41 |
+
|
42 |
+
# reset old environment variables
|
43 |
+
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
|
44 |
+
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
|
45 |
+
PATH="$_OLD_VIRTUAL_PATH"
|
46 |
+
export PATH
|
47 |
+
unset _OLD_VIRTUAL_PATH
|
48 |
+
fi
|
49 |
+
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
|
50 |
+
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
|
51 |
+
export PYTHONHOME
|
52 |
+
unset _OLD_VIRTUAL_PYTHONHOME
|
53 |
+
fi
|
54 |
+
|
55 |
+
# The hash command must be called to get it to forget past
|
56 |
+
# commands. Without forgetting past commands the $PATH changes
|
57 |
+
# we made may not be respected
|
58 |
+
hash -r 2>/dev/null
|
59 |
+
|
60 |
+
if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
|
61 |
+
PS1="$_OLD_VIRTUAL_PS1"
|
62 |
+
export PS1
|
63 |
+
unset _OLD_VIRTUAL_PS1
|
64 |
+
fi
|
65 |
+
|
66 |
+
unset VIRTUAL_ENV
|
67 |
+
unset VIRTUAL_ENV_PROMPT
|
68 |
+
if [ ! "${1-}" = "nondestructive" ] ; then
|
69 |
+
# Self destruct!
|
70 |
+
unset -f deactivate
|
71 |
+
fi
|
72 |
+
}
|
73 |
+
|
74 |
+
# unset irrelevant variables
|
75 |
+
deactivate nondestructive
|
76 |
+
|
77 |
+
VIRTUAL_ENV='/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv'
|
78 |
+
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
|
79 |
+
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
|
80 |
+
fi
|
81 |
+
export VIRTUAL_ENV
|
82 |
+
|
83 |
+
_OLD_VIRTUAL_PATH="$PATH"
|
84 |
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
85 |
+
export PATH
|
86 |
+
|
87 |
+
if [ "xmcp-sentiment" != x ] ; then
|
88 |
+
VIRTUAL_ENV_PROMPT="(mcp-sentiment) "
|
89 |
+
else
|
90 |
+
VIRTUAL_ENV_PROMPT="($(basename "$VIRTUAL_ENV")) "
|
91 |
+
fi
|
92 |
+
export VIRTUAL_ENV_PROMPT
|
93 |
+
|
94 |
+
# unset PYTHONHOME if set
|
95 |
+
if ! [ -z "${PYTHONHOME+_}" ] ; then
|
96 |
+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
|
97 |
+
unset PYTHONHOME
|
98 |
+
fi
|
99 |
+
|
100 |
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
|
101 |
+
_OLD_VIRTUAL_PS1="${PS1-}"
|
102 |
+
PS1="${VIRTUAL_ENV_PROMPT}${PS1-}"
|
103 |
+
export PS1
|
104 |
+
fi
|
105 |
+
|
106 |
+
# Make sure to unalias pydoc if it's already there
|
107 |
+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
|
108 |
+
|
109 |
+
pydoc () {
|
110 |
+
python -m pydoc "$@"
|
111 |
+
}
|
112 |
+
|
113 |
+
# The hash command must be called to get it to forget past
|
114 |
+
# commands. Without forgetting past commands the $PATH changes
|
115 |
+
# we made may not be respected
|
116 |
+
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 |
+
@for %%i in ("/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv") do @set "VIRTUAL_ENV=%%~fi"
|
23 |
+
|
24 |
+
@set "VIRTUAL_ENV_PROMPT=mcp-sentiment"
|
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 '/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv'
|
35 |
+
|
36 |
+
set _OLD_VIRTUAL_PATH="$PATH:q"
|
37 |
+
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
if ('mcp-sentiment' != "") then
|
42 |
+
setenv VIRTUAL_ENV_PROMPT 'mcp-sentiment'
|
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 '/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 'mcp-sentiment'
|
95 |
+
set -gx VIRTUAL_ENV_PROMPT 'mcp-sentiment'
|
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 better 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 = '/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 ('mcp-sentiment' | is-empty) {
|
72 |
+
($virtual_env | path basename)
|
73 |
+
} else {
|
74 |
+
'mcp-sentiment'
|
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 ("mcp-sentiment" -ne "") {
|
62 |
+
$env:VIRTUAL_ENV_PROMPT = "mcp-sentiment"
|
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,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (c) 2020-202x The virtualenv developers
|
2 |
+
#
|
3 |
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4 |
+
# a copy of this software and associated documentation files (the
|
5 |
+
# "Software"), to deal in the Software without restriction, including
|
6 |
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7 |
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8 |
+
# permit persons to whom the Software is furnished to do so, subject to
|
9 |
+
# the following conditions:
|
10 |
+
#
|
11 |
+
# The above copyright notice and this permission notice shall be
|
12 |
+
# included in all copies or substantial portions of the Software.
|
13 |
+
#
|
14 |
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15 |
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16 |
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17 |
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18 |
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19 |
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20 |
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21 |
+
|
22 |
+
"""
|
23 |
+
Activate virtualenv for current interpreter:
|
24 |
+
|
25 |
+
import runpy
|
26 |
+
runpy.run_path(this_file)
|
27 |
+
|
28 |
+
This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
|
29 |
+
""" # noqa: D415
|
30 |
+
|
31 |
+
from __future__ import annotations
|
32 |
+
|
33 |
+
import os
|
34 |
+
import site
|
35 |
+
import sys
|
36 |
+
|
37 |
+
try:
|
38 |
+
abs_file = os.path.abspath(__file__)
|
39 |
+
except NameError as exc:
|
40 |
+
msg = "You must use import runpy; runpy.run_path(this_file)"
|
41 |
+
raise AssertionError(msg) from exc
|
42 |
+
|
43 |
+
bin_dir = os.path.dirname(abs_file)
|
44 |
+
base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
|
45 |
+
|
46 |
+
# prepend bin to PATH (this file is inside the bin directory)
|
47 |
+
os.environ["PATH"] = os.pathsep.join([bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
|
48 |
+
os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
|
49 |
+
os.environ["VIRTUAL_ENV_PROMPT"] = "mcp-sentiment" or os.path.basename(base) # noqa: SIM222
|
50 |
+
|
51 |
+
# add the virtual environments libraries to the host python import mechanism
|
52 |
+
prev_length = len(sys.path)
|
53 |
+
for lib in "../lib/python3.12/site-packages".split(os.pathsep):
|
54 |
+
path = os.path.realpath(os.path.join(bin_dir, lib))
|
55 |
+
site.addsitedir(path)
|
56 |
+
sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
|
57 |
+
|
58 |
+
sys.real_prefix = sys.prefix
|
59 |
+
sys.prefix = base
|
.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/dotenv
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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/f2py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv/bin/python
|
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/naruto/Documents/repos/learn/mcp-sentiment/.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 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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/markdown-it
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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/mcp
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from 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/nltk
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from nltk.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/normalizer
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv/bin/python
|
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/naruto/Documents/repos/learn/mcp-sentiment/.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/pygmentize
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 (50 kB). View file
|
|
.venv/bin/python3
ADDED
Binary file (50 kB). View file
|
|
.venv/bin/python3.12
ADDED
Binary file (50 kB). View file
|
|
.venv/bin/ruff
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:365ce2c04d0c25e7cd9352f954907e0b0eeb993f158aa9df4589c5b9011ed524
|
3 |
+
size 27162096
|
.venv/bin/tiny-agents
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv/bin/python
|
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/naruto/Documents/repos/learn/mcp-sentiment/.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/typer
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.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())
|
.venv/bin/websockets
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/naruto/Documents/repos/learn/mcp-sentiment/.venv/bin/python
|
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.12/site-packages/MarkupSafe-3.0.2.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
uv
|
.venv/lib/python3.12/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.12/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.12/site-packages/MarkupSafe-3.0.2.dist-info/RECORD
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MarkupSafe-3.0.2.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2
|
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/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6 |
+
MarkupSafe-3.0.2.dist-info/WHEEL,sha256=T94HOVPNbYE6jyG6QmiIglWJ01nwJvHIWFgubY8hhjc,109
|
7 |
+
MarkupSafe-3.0.2.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
8 |
+
markupsafe/__init__.py,sha256=sr-U6_27DfaSrj5jnHYxWN-pvhM27sjlDplMDPZKm7k,13214
|
9 |
+
markupsafe/_native.py,sha256=hSLs8Jmz5aqayuengJJ3kdT5PwNpBWpKrmQSdipndC8,210
|
10 |
+
markupsafe/_speedups.c,sha256=O7XulmTo-epI6n2FtMVOrJXl8EAaIwD2iNYmBI5SEoQ,4149
|
11 |
+
markupsafe/_speedups.cpython-312-darwin.so,sha256=LAX7ul6PQsfO_zZxF631eSzN6U7PoGVTR_Wwd2pGav8,50624
|
12 |
+
markupsafe/_speedups.pyi,sha256=ENd1bYe7gbBUf2ywyYWOGUpnXOHNJ-cgTNqetlW8h5k,41
|
13 |
+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
.venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/REQUESTED
ADDED
File without changes
|
.venv/lib/python3.12/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: cp312-cp312-macosx_11_0_arm64
|
5 |
+
|
.venv/lib/python3.12/site-packages/MarkupSafe-3.0.2.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
markupsafe
|
.venv/lib/python3.12/site-packages/PIL/.dylibs/libXau.6.dylib
ADDED
Binary file (70 kB). View file
|
|
.venv/lib/python3.12/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:9de349e2275ea9702e3f69ee5bae2645e91f69c0474d6674e0b126ebe3a6d305
|
3 |
+
size 201200
|
.venv/lib/python3.12/site-packages/PIL/.dylibs/libbrotlidec.1.1.0.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:296c21f63059fbe2c426b4abfe7ed9274797a5bff875bd58dd75e362c1121c56
|
3 |
+
size 104576
|
.venv/lib/python3.12/site-packages/PIL/.dylibs/libfreetype.6.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e4c9a8dee9f96568e48026a9a9f4b938c2e028863bd09f6a8ddd72f79db5d58
|
3 |
+
size 1208336
|
.venv/lib/python3.12/site-packages/PIL/.dylibs/libharfbuzz.0.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba5355dd385c37725e97362f546136c6bd55c525a00108df17b585bdd2d3171c
|
3 |
+
size 1417136
|
.venv/lib/python3.12/site-packages/PIL/.dylibs/libjpeg.62.4.0.dylib
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:89bc859295718ed0e84ea863c7aa5deb8e2f1e1563398459bdf85c6d1c99345d
|
3 |
+
size 637072
|