Jainam Jain commited on
Commit
bd35930
1 Parent(s): f6fd3c6
This view is limited to 50 files because it contains too many changes.   See raw diff
.gitignore ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # created by virtualenv automatically
2
+ # Ignore Python virtual environment
3
+ venv/
4
+ # Ignore the lib directory
5
+ Lib/
6
+
.idea/.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
.idea/FaceRecognition.iml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="PYTHON_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
.idea/inspectionProfiles/Project_Default.xml ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
5
+ <option name="ignoredPackages">
6
+ <value>
7
+ <list size="214">
8
+ <item index="0" class="java.lang.String" itemvalue="pywhatkit" />
9
+ <item index="1" class="java.lang.String" itemvalue="google-pasta" />
10
+ <item index="2" class="java.lang.String" itemvalue="tensorflow-estimator" />
11
+ <item index="3" class="java.lang.String" itemvalue="tzlocal" />
12
+ <item index="4" class="java.lang.String" itemvalue="Babel" />
13
+ <item index="5" class="java.lang.String" itemvalue="validators" />
14
+ <item index="6" class="java.lang.String" itemvalue="executing" />
15
+ <item index="7" class="java.lang.String" itemvalue="gitdb" />
16
+ <item index="8" class="java.lang.String" itemvalue="markdown-it-py" />
17
+ <item index="9" class="java.lang.String" itemvalue="ipython-genutils" />
18
+ <item index="10" class="java.lang.String" itemvalue="bz2file" />
19
+ <item index="11" class="java.lang.String" itemvalue="starlette" />
20
+ <item index="12" class="java.lang.String" itemvalue="bleach" />
21
+ <item index="13" class="java.lang.String" itemvalue="jupyter_server_terminals" />
22
+ <item index="14" class="java.lang.String" itemvalue="soupsieve" />
23
+ <item index="15" class="java.lang.String" itemvalue="jsonschema" />
24
+ <item index="16" class="java.lang.String" itemvalue="jax" />
25
+ <item index="17" class="java.lang.String" itemvalue="SpeechRecognition" />
26
+ <item index="18" class="java.lang.String" itemvalue="Werkzeug" />
27
+ <item index="19" class="java.lang.String" itemvalue="streamlit" />
28
+ <item index="20" class="java.lang.String" itemvalue="tensorboard-data-server" />
29
+ <item index="21" class="java.lang.String" itemvalue="click" />
30
+ <item index="22" class="java.lang.String" itemvalue="contourpy" />
31
+ <item index="23" class="java.lang.String" itemvalue="openai" />
32
+ <item index="24" class="java.lang.String" itemvalue="mediapipe" />
33
+ <item index="25" class="java.lang.String" itemvalue="pydantic_core" />
34
+ <item index="26" class="java.lang.String" itemvalue="tensorboard" />
35
+ <item index="27" class="java.lang.String" itemvalue="asttokens" />
36
+ <item index="28" class="java.lang.String" itemvalue="matplotlib" />
37
+ <item index="29" class="java.lang.String" itemvalue="idna" />
38
+ <item index="30" class="java.lang.String" itemvalue="referencing" />
39
+ <item index="31" class="java.lang.String" itemvalue="rsa" />
40
+ <item index="32" class="java.lang.String" itemvalue="smmap" />
41
+ <item index="33" class="java.lang.String" itemvalue="json5" />
42
+ <item index="34" class="java.lang.String" itemvalue="cffi" />
43
+ <item index="35" class="java.lang.String" itemvalue="pyttsx3" />
44
+ <item index="36" class="java.lang.String" itemvalue="numpy" />
45
+ <item index="37" class="java.lang.String" itemvalue="jupyter-events" />
46
+ <item index="38" class="java.lang.String" itemvalue="opencv-python-headless" />
47
+ <item index="39" class="java.lang.String" itemvalue="exceptiongroup" />
48
+ <item index="40" class="java.lang.String" itemvalue="jupyter" />
49
+ <item index="41" class="java.lang.String" itemvalue="sh" />
50
+ <item index="42" class="java.lang.String" itemvalue="mdurl" />
51
+ <item index="43" class="java.lang.String" itemvalue="prompt-toolkit" />
52
+ <item index="44" class="java.lang.String" itemvalue="wikipedia" />
53
+ <item index="45" class="java.lang.String" itemvalue="PyScreeze" />
54
+ <item index="46" class="java.lang.String" itemvalue="annotated-types" />
55
+ <item index="47" class="java.lang.String" itemvalue="jsonpointer" />
56
+ <item index="48" class="java.lang.String" itemvalue="Send2Trash" />
57
+ <item index="49" class="java.lang.String" itemvalue="pytz-deprecation-shim" />
58
+ <item index="50" class="java.lang.String" itemvalue="watchdog" />
59
+ <item index="51" class="java.lang.String" itemvalue="debugpy" />
60
+ <item index="52" class="java.lang.String" itemvalue="argon2-cffi" />
61
+ <item index="53" class="java.lang.String" itemvalue="multidict" />
62
+ <item index="54" class="java.lang.String" itemvalue="pytz" />
63
+ <item index="55" class="java.lang.String" itemvalue="traitlets" />
64
+ <item index="56" class="java.lang.String" itemvalue="absl-py" />
65
+ <item index="57" class="java.lang.String" itemvalue="protobuf" />
66
+ <item index="58" class="java.lang.String" itemvalue="pywinpty" />
67
+ <item index="59" class="java.lang.String" itemvalue="opt-einsum" />
68
+ <item index="60" class="java.lang.String" itemvalue="h11" />
69
+ <item index="61" class="java.lang.String" itemvalue="gast" />
70
+ <item index="62" class="java.lang.String" itemvalue="tinycss2" />
71
+ <item index="63" class="java.lang.String" itemvalue="python-json-logger" />
72
+ <item index="64" class="java.lang.String" itemvalue="docopt" />
73
+ <item index="65" class="java.lang.String" itemvalue="filelock" />
74
+ <item index="66" class="java.lang.String" itemvalue="pyzmq" />
75
+ <item index="67" class="java.lang.String" itemvalue="oauthlib" />
76
+ <item index="68" class="java.lang.String" itemvalue="keras" />
77
+ <item index="69" class="java.lang.String" itemvalue="pyparsing" />
78
+ <item index="70" class="java.lang.String" itemvalue="beautifulsoup4" />
79
+ <item index="71" class="java.lang.String" itemvalue="isoduration" />
80
+ <item index="72" class="java.lang.String" itemvalue="fqdn" />
81
+ <item index="73" class="java.lang.String" itemvalue="altair" />
82
+ <item index="74" class="java.lang.String" itemvalue="MouseInfo" />
83
+ <item index="75" class="java.lang.String" itemvalue="widgetsnbextension" />
84
+ <item index="76" class="java.lang.String" itemvalue="argon2-cffi-bindings" />
85
+ <item index="77" class="java.lang.String" itemvalue="distlib" />
86
+ <item index="78" class="java.lang.String" itemvalue="pypiwin32" />
87
+ <item index="79" class="java.lang.String" itemvalue="matplotlib-inline" />
88
+ <item index="80" class="java.lang.String" itemvalue="webcolors" />
89
+ <item index="81" class="java.lang.String" itemvalue="wcwidth" />
90
+ <item index="82" class="java.lang.String" itemvalue="jupyter_core" />
91
+ <item index="83" class="java.lang.String" itemvalue="rfc3986-validator" />
92
+ <item index="84" class="java.lang.String" itemvalue="uri-template" />
93
+ <item index="85" class="java.lang.String" itemvalue="tomli" />
94
+ <item index="86" class="java.lang.String" itemvalue="parso" />
95
+ <item index="87" class="java.lang.String" itemvalue="ipython" />
96
+ <item index="88" class="java.lang.String" itemvalue="rich" />
97
+ <item index="89" class="java.lang.String" itemvalue="packaging" />
98
+ <item index="90" class="java.lang.String" itemvalue="fastjsonschema" />
99
+ <item index="91" class="java.lang.String" itemvalue="python-telegram-bot" />
100
+ <item index="92" class="java.lang.String" itemvalue="face-recognition-models" />
101
+ <item index="93" class="java.lang.String" itemvalue="aiohttp" />
102
+ <item index="94" class="java.lang.String" itemvalue="async-lru" />
103
+ <item index="95" class="java.lang.String" itemvalue="PyRect" />
104
+ <item index="96" class="java.lang.String" itemvalue="pytweening" />
105
+ <item index="97" class="java.lang.String" itemvalue="yarg" />
106
+ <item index="98" class="java.lang.String" itemvalue="PyYAML" />
107
+ <item index="99" class="java.lang.String" itemvalue="pickleshare" />
108
+ <item index="100" class="java.lang.String" itemvalue="defusedxml" />
109
+ <item index="101" class="java.lang.String" itemvalue="PyMsgBox" />
110
+ <item index="102" class="java.lang.String" itemvalue="pycparser" />
111
+ <item index="103" class="java.lang.String" itemvalue="pyasn1-modules" />
112
+ <item index="104" class="java.lang.String" itemvalue="Pygments" />
113
+ <item index="105" class="java.lang.String" itemvalue="astunparse" />
114
+ <item index="106" class="java.lang.String" itemvalue="PyAudio" />
115
+ <item index="107" class="java.lang.String" itemvalue="comtypes" />
116
+ <item index="108" class="java.lang.String" itemvalue="uvicorn" />
117
+ <item index="109" class="java.lang.String" itemvalue="PyAutoGUI" />
118
+ <item index="110" class="java.lang.String" itemvalue="pywin32" />
119
+ <item index="111" class="java.lang.String" itemvalue="qtconsole" />
120
+ <item index="112" class="java.lang.String" itemvalue="libclang" />
121
+ <item index="113" class="java.lang.String" itemvalue="terminado" />
122
+ <item index="114" class="java.lang.String" itemvalue="comm" />
123
+ <item index="115" class="java.lang.String" itemvalue="GitPython" />
124
+ <item index="116" class="java.lang.String" itemvalue="pydantic" />
125
+ <item index="117" class="java.lang.String" itemvalue="pyperclip" />
126
+ <item index="118" class="java.lang.String" itemvalue="pexpect" />
127
+ <item index="119" class="java.lang.String" itemvalue="jupyterlab-pygments" />
128
+ <item index="120" class="java.lang.String" itemvalue="fastjinja2templates" />
129
+ <item index="121" class="java.lang.String" itemvalue="ipykernel" />
130
+ <item index="122" class="java.lang.String" itemvalue="nbconvert" />
131
+ <item index="123" class="java.lang.String" itemvalue="attrs" />
132
+ <item index="124" class="java.lang.String" itemvalue="psutil" />
133
+ <item index="125" class="java.lang.String" itemvalue="jedi" />
134
+ <item index="126" class="java.lang.String" itemvalue="flatbuffers" />
135
+ <item index="127" class="java.lang.String" itemvalue="jupyter_server" />
136
+ <item index="128" class="java.lang.String" itemvalue="pure-eval" />
137
+ <item index="129" class="java.lang.String" itemvalue="platformdirs" />
138
+ <item index="130" class="java.lang.String" itemvalue="cvzone" />
139
+ <item index="131" class="java.lang.String" itemvalue="decorator" />
140
+ <item index="132" class="java.lang.String" itemvalue="pandocfilters" />
141
+ <item index="133" class="java.lang.String" itemvalue="pyasn1" />
142
+ <item index="134" class="java.lang.String" itemvalue="requests" />
143
+ <item index="135" class="java.lang.String" itemvalue="sniffio" />
144
+ <item index="136" class="java.lang.String" itemvalue="websocket-client" />
145
+ <item index="137" class="java.lang.String" itemvalue="stack-data" />
146
+ <item index="138" class="java.lang.String" itemvalue="zipp" />
147
+ <item index="139" class="java.lang.String" itemvalue="nest-asyncio" />
148
+ <item index="140" class="java.lang.String" itemvalue="tenacity" />
149
+ <item index="141" class="java.lang.String" itemvalue="ml-dtypes" />
150
+ <item index="142" class="java.lang.String" itemvalue="ipywidgets" />
151
+ <item index="143" class="java.lang.String" itemvalue="blinker" />
152
+ <item index="144" class="java.lang.String" itemvalue="pyarrow" />
153
+ <item index="145" class="java.lang.String" itemvalue="scipy" />
154
+ <item index="146" class="java.lang.String" itemvalue="tornado" />
155
+ <item index="147" class="java.lang.String" itemvalue="google-auth-oauthlib" />
156
+ <item index="148" class="java.lang.String" itemvalue="opencv-python" />
157
+ <item index="149" class="java.lang.String" itemvalue="overrides" />
158
+ <item index="150" class="java.lang.String" itemvalue="tensorflow-io-gcs-filesystem" />
159
+ <item index="151" class="java.lang.String" itemvalue="toml" />
160
+ <item index="152" class="java.lang.String" itemvalue="mistune" />
161
+ <item index="153" class="java.lang.String" itemvalue="pandas" />
162
+ <item index="154" class="java.lang.String" itemvalue="termcolor" />
163
+ <item index="155" class="java.lang.String" itemvalue="toolz" />
164
+ <item index="156" class="java.lang.String" itemvalue="opencv-contrib-python-headless" />
165
+ <item index="157" class="java.lang.String" itemvalue="jupyter-console" />
166
+ <item index="158" class="java.lang.String" itemvalue="typing_extensions" />
167
+ <item index="159" class="java.lang.String" itemvalue="cachetools" />
168
+ <item index="160" class="java.lang.String" itemvalue="yarl" />
169
+ <item index="161" class="java.lang.String" itemvalue="PyGetWindow" />
170
+ <item index="162" class="java.lang.String" itemvalue="webencodings" />
171
+ <item index="163" class="java.lang.String" itemvalue="Pillow" />
172
+ <item index="164" class="java.lang.String" itemvalue="notebook_shim" />
173
+ <item index="165" class="java.lang.String" itemvalue="rfc3339-validator" />
174
+ <item index="166" class="java.lang.String" itemvalue="arrow" />
175
+ <item index="167" class="java.lang.String" itemvalue="nbclient" />
176
+ <item index="168" class="java.lang.String" itemvalue="QtPy" />
177
+ <item index="169" class="java.lang.String" itemvalue="cycler" />
178
+ <item index="170" class="java.lang.String" itemvalue="MarkupSafe" />
179
+ <item index="171" class="java.lang.String" itemvalue="frozenlist" />
180
+ <item index="172" class="java.lang.String" itemvalue="jupyterlab-widgets" />
181
+ <item index="173" class="java.lang.String" itemvalue="certifi" />
182
+ <item index="174" class="java.lang.String" itemvalue="anyio" />
183
+ <item index="175" class="java.lang.String" itemvalue="Markdown" />
184
+ <item index="176" class="java.lang.String" itemvalue="notebook" />
185
+ <item index="177" class="java.lang.String" itemvalue="opencv-contrib-python" />
186
+ <item index="178" class="java.lang.String" itemvalue="dnspython" />
187
+ <item index="179" class="java.lang.String" itemvalue="jupyter-lsp" />
188
+ <item index="180" class="java.lang.String" itemvalue="jupyter_client" />
189
+ <item index="181" class="java.lang.String" itemvalue="h5py" />
190
+ <item index="182" class="java.lang.String" itemvalue="wrapt" />
191
+ <item index="183" class="java.lang.String" itemvalue="kiwisolver" />
192
+ <item index="184" class="java.lang.String" itemvalue="Pympler" />
193
+ <item index="185" class="java.lang.String" itemvalue="jupyterlab_server" />
194
+ <item index="186" class="java.lang.String" itemvalue="APScheduler" />
195
+ <item index="187" class="java.lang.String" itemvalue="fonttools" />
196
+ <item index="188" class="java.lang.String" itemvalue="backcall" />
197
+ <item index="189" class="java.lang.String" itemvalue="virtualenv" />
198
+ <item index="190" class="java.lang.String" itemvalue="charset-normalizer" />
199
+ <item index="191" class="java.lang.String" itemvalue="async-timeout" />
200
+ <item index="192" class="java.lang.String" itemvalue="pydeck" />
201
+ <item index="193" class="java.lang.String" itemvalue="ptyprocess" />
202
+ <item index="194" class="java.lang.String" itemvalue="buildozer" />
203
+ <item index="195" class="java.lang.String" itemvalue="importlib-metadata" />
204
+ <item index="196" class="java.lang.String" itemvalue="jsonschema-specifications" />
205
+ <item index="197" class="java.lang.String" itemvalue="requests-oauthlib" />
206
+ <item index="198" class="java.lang.String" itemvalue="rpds-py" />
207
+ <item index="199" class="java.lang.String" itemvalue="urllib3" />
208
+ <item index="200" class="java.lang.String" itemvalue="jupyterlab" />
209
+ <item index="201" class="java.lang.String" itemvalue="Cython" />
210
+ <item index="202" class="java.lang.String" itemvalue="Flask" />
211
+ <item index="203" class="java.lang.String" itemvalue="pymongo" />
212
+ <item index="204" class="java.lang.String" itemvalue="nbformat" />
213
+ <item index="205" class="java.lang.String" itemvalue="tzdata" />
214
+ <item index="206" class="java.lang.String" itemvalue="pipreqs" />
215
+ <item index="207" class="java.lang.String" itemvalue="prometheus-client" />
216
+ <item index="208" class="java.lang.String" itemvalue="tqdm" />
217
+ <item index="209" class="java.lang.String" itemvalue="fastapi" />
218
+ <item index="210" class="java.lang.String" itemvalue="pytube" />
219
+ <item index="211" class="java.lang.String" itemvalue="grpcio" />
220
+ <item index="212" class="java.lang.String" itemvalue="aiosignal" />
221
+ <item index="213" class="java.lang.String" itemvalue="google-auth" />
222
+ </list>
223
+ </value>
224
+ </option>
225
+ </inspection_tool>
226
+ </profile>
227
+ </component>
.idea/inspectionProfiles/profiles_settings.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10 (FaceRecognition) (2)" project-jdk-type="Python SDK" />
4
+ </project>
.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/FaceRecognition.iml" filepath="$PROJECT_DIR$/.idea/FaceRecognition.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
FaceRecognition.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "info": {
3
+ "name": "FastAPI API",
4
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
5
+ },
6
+ "item": [
7
+ {
8
+ "name": "read_root",
9
+ "request": {
10
+ "url": "http://localhost:8000/",
11
+ "method": "GET"
12
+ }
13
+ },
14
+ {
15
+ "name": "verify_image",
16
+ "request": {
17
+ "url": "http://localhost:8000/verify/",
18
+ "method": "GET"
19
+ }
20
+ }
21
+ ]
22
+ }
Scripts/Activate.ps1 ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $script:THIS_PATH = $myinvocation.mycommand.path
2
+ $script:BASE_DIR = Split-Path (Resolve-Path "$THIS_PATH/..") -Parent
3
+
4
+ function global:deactivate([switch] $NonDestructive) {
5
+ if (Test-Path variable:_OLD_VIRTUAL_PATH) {
6
+ $env:PATH = $variable:_OLD_VIRTUAL_PATH
7
+ Remove-Variable "_OLD_VIRTUAL_PATH" -Scope global
8
+ }
9
+
10
+ if (Test-Path function:_old_virtual_prompt) {
11
+ $function:prompt = $function:_old_virtual_prompt
12
+ Remove-Item function:\_old_virtual_prompt
13
+ }
14
+
15
+ if ($env:VIRTUAL_ENV) {
16
+ Remove-Item env:VIRTUAL_ENV -ErrorAction SilentlyContinue
17
+ }
18
+
19
+ if (!$NonDestructive) {
20
+ # Self destruct!
21
+ Remove-Item function:deactivate
22
+ Remove-Item function:pydoc
23
+ }
24
+ }
25
+
26
+ function global:pydoc {
27
+ python -m pydoc $args
28
+ }
29
+
30
+ # unset irrelevant variables
31
+ deactivate -nondestructive
32
+
33
+ $VIRTUAL_ENV = $BASE_DIR
34
+ $env:VIRTUAL_ENV = $VIRTUAL_ENV
35
+
36
+ New-Variable -Scope global -Name _OLD_VIRTUAL_PATH -Value $env:PATH
37
+
38
+ $env:PATH = "$env:VIRTUAL_ENV/Scripts;" + $env:PATH
39
+ if (!$env:VIRTUAL_ENV_DISABLE_PROMPT) {
40
+ function global:_old_virtual_prompt {
41
+ ""
42
+ }
43
+ $function:_old_virtual_prompt = $function:prompt
44
+
45
+ if ("" -ne "") {
46
+ function global:prompt {
47
+ # Add the custom prefix to the existing prompt
48
+ $previous_prompt_value = & $function:_old_virtual_prompt
49
+ ("() " + $previous_prompt_value)
50
+ }
51
+ }
52
+ else {
53
+ function global:prompt {
54
+ # Add a prefix to the current prompt, but don't discard it.
55
+ $previous_prompt_value = & $function:_old_virtual_prompt
56
+ $new_prompt_value = "($( Split-Path $env:VIRTUAL_ENV -Leaf )) "
57
+ ($new_prompt_value + $previous_prompt_value)
58
+ }
59
+ }
60
+ }
Scripts/activate ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file must be used with "source bin/activate" *from bash*
2
+ # you cannot run it directly
3
+
4
+
5
+ if [ "${BASH_SOURCE-}" = "$0" ]; then
6
+ echo "You must source this script: \$ source $0" >&2
7
+ exit 33
8
+ fi
9
+
10
+ deactivate () {
11
+ unset -f pydoc >/dev/null 2>&1 || true
12
+
13
+ # reset old environment variables
14
+ # ! [ -z ${VAR+_} ] returns true if VAR is declared at all
15
+ if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
16
+ PATH="$_OLD_VIRTUAL_PATH"
17
+ export PATH
18
+ unset _OLD_VIRTUAL_PATH
19
+ fi
20
+ if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
21
+ PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
22
+ export PYTHONHOME
23
+ unset _OLD_VIRTUAL_PYTHONHOME
24
+ fi
25
+
26
+ # The hash command must be called to get it to forget past
27
+ # commands. Without forgetting past commands the $PATH changes
28
+ # we made may not be respected
29
+ hash -r 2>/dev/null
30
+
31
+ if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
32
+ PS1="$_OLD_VIRTUAL_PS1"
33
+ export PS1
34
+ unset _OLD_VIRTUAL_PS1
35
+ fi
36
+
37
+ unset VIRTUAL_ENV
38
+ if [ ! "${1-}" = "nondestructive" ] ; then
39
+ # Self destruct!
40
+ unset -f deactivate
41
+ fi
42
+ }
43
+
44
+ # unset irrelevant variables
45
+ deactivate nondestructive
46
+
47
+ VIRTUAL_ENV='C:\Users\Jainam\PycharmProjects\FaceRecognition'
48
+ if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
49
+ VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
50
+ fi
51
+ export VIRTUAL_ENV
52
+
53
+ _OLD_VIRTUAL_PATH="$PATH"
54
+ PATH="$VIRTUAL_ENV/Scripts:$PATH"
55
+ export PATH
56
+
57
+ # unset PYTHONHOME if set
58
+ if ! [ -z "${PYTHONHOME+_}" ] ; then
59
+ _OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
60
+ unset PYTHONHOME
61
+ fi
62
+
63
+ if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
64
+ _OLD_VIRTUAL_PS1="${PS1-}"
65
+ if [ "x" != x ] ; then
66
+ PS1="() ${PS1-}"
67
+ else
68
+ PS1="(`basename \"$VIRTUAL_ENV\"`) ${PS1-}"
69
+ fi
70
+ export PS1
71
+ fi
72
+
73
+ # Make sure to unalias pydoc if it's already there
74
+ alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
75
+
76
+ pydoc () {
77
+ python -m pydoc "$@"
78
+ }
79
+
80
+ # The hash command must be called to get it to forget past
81
+ # commands. Without forgetting past commands the $PATH changes
82
+ # we made may not be respected
83
+ hash -r 2>/dev/null
Scripts/activate.bat ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+
3
+ set "VIRTUAL_ENV=C:\Users\Jainam\PycharmProjects\FaceRecognition"
4
+
5
+ if defined _OLD_VIRTUAL_PROMPT (
6
+ set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
7
+ ) else (
8
+ if not defined PROMPT (
9
+ set "PROMPT=$P$G"
10
+ )
11
+ if not defined VIRTUAL_ENV_DISABLE_PROMPT (
12
+ set "_OLD_VIRTUAL_PROMPT=%PROMPT%"
13
+ )
14
+ )
15
+ if not defined VIRTUAL_ENV_DISABLE_PROMPT (
16
+ if "" NEQ "" (
17
+ set "PROMPT=() %PROMPT%"
18
+ ) else (
19
+ for %%d in ("%VIRTUAL_ENV%") do set "PROMPT=(%%~nxd) %PROMPT%"
20
+ )
21
+ )
22
+
23
+ REM Don't use () to avoid problems with them in %PATH%
24
+ if defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME
25
+ set "_OLD_VIRTUAL_PYTHONHOME=%PYTHONHOME%"
26
+ :ENDIFVHOME
27
+
28
+ set PYTHONHOME=
29
+
30
+ REM if defined _OLD_VIRTUAL_PATH (
31
+ if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH1
32
+ set "PATH=%_OLD_VIRTUAL_PATH%"
33
+ :ENDIFVPATH1
34
+ REM ) else (
35
+ if defined _OLD_VIRTUAL_PATH goto ENDIFVPATH2
36
+ set "_OLD_VIRTUAL_PATH=%PATH%"
37
+ :ENDIFVPATH2
38
+
39
+ set "PATH=%VIRTUAL_ENV%\Scripts;%PATH%"
Scripts/activate.fish ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file must be used using `source bin/activate.fish` *within a running fish ( http://fishshell.com ) session*.
2
+ # Do not run it directly.
3
+
4
+ function _bashify_path -d "Converts a fish path to something bash can recognize"
5
+ set fishy_path $argv
6
+ set bashy_path $fishy_path[1]
7
+ for path_part in $fishy_path[2..-1]
8
+ set bashy_path "$bashy_path:$path_part"
9
+ end
10
+ echo $bashy_path
11
+ end
12
+
13
+ function _fishify_path -d "Converts a bash path to something fish can recognize"
14
+ echo $argv | tr ':' '\n'
15
+ end
16
+
17
+ function deactivate -d 'Exit virtualenv mode and return to the normal environment.'
18
+ # reset old environment variables
19
+ if test -n "$_OLD_VIRTUAL_PATH"
20
+ # https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
21
+ if test (echo $FISH_VERSION | head -c 1) -lt 3
22
+ set -gx PATH (_fishify_path "$_OLD_VIRTUAL_PATH")
23
+ else
24
+ set -gx PATH $_OLD_VIRTUAL_PATH
25
+ end
26
+ set -e _OLD_VIRTUAL_PATH
27
+ end
28
+
29
+ if test -n "$_OLD_VIRTUAL_PYTHONHOME"
30
+ set -gx PYTHONHOME "$_OLD_VIRTUAL_PYTHONHOME"
31
+ set -e _OLD_VIRTUAL_PYTHONHOME
32
+ end
33
+
34
+ if test -n "$_OLD_FISH_PROMPT_OVERRIDE"
35
+ and functions -q _old_fish_prompt
36
+ # Set an empty local `$fish_function_path` to allow the removal of `fish_prompt` using `functions -e`.
37
+ set -l fish_function_path
38
+
39
+ # Erase virtualenv's `fish_prompt` and restore the original.
40
+ functions -e fish_prompt
41
+ functions -c _old_fish_prompt fish_prompt
42
+ functions -e _old_fish_prompt
43
+ set -e _OLD_FISH_PROMPT_OVERRIDE
44
+ end
45
+
46
+ set -e VIRTUAL_ENV
47
+
48
+ if test "$argv[1]" != 'nondestructive'
49
+ # Self-destruct!
50
+ functions -e pydoc
51
+ functions -e deactivate
52
+ functions -e _bashify_path
53
+ functions -e _fishify_path
54
+ end
55
+ end
56
+
57
+ # Unset irrelevant variables.
58
+ deactivate nondestructive
59
+
60
+ set -gx VIRTUAL_ENV 'C:\Users\Jainam\PycharmProjects\FaceRecognition'
61
+
62
+ # https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
63
+ if test (echo $FISH_VERSION | head -c 1) -lt 3
64
+ set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
65
+ else
66
+ set -gx _OLD_VIRTUAL_PATH $PATH
67
+ end
68
+ set -gx PATH "$VIRTUAL_ENV"'/Scripts' $PATH
69
+
70
+ # Unset `$PYTHONHOME` if set.
71
+ if set -q PYTHONHOME
72
+ set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
73
+ set -e PYTHONHOME
74
+ end
75
+
76
+ function pydoc
77
+ python -m pydoc $argv
78
+ end
79
+
80
+ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
81
+ # Copy the current `fish_prompt` function as `_old_fish_prompt`.
82
+ functions -c fish_prompt _old_fish_prompt
83
+
84
+ function fish_prompt
85
+ # Run the user's prompt first; it might depend on (pipe)status.
86
+ set -l prompt (_old_fish_prompt)
87
+
88
+ # Prompt override provided?
89
+ # If not, just prepend the environment name.
90
+ if test -n ''
91
+ printf '(%s) ' ''
92
+ else
93
+ printf '(%s) ' (basename "$VIRTUAL_ENV")
94
+ end
95
+
96
+ string join -- \n $prompt # handle multi-line prompts
97
+ end
98
+
99
+ set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
100
+ end
Scripts/activate.nu ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Setting all environment variables for the venv
2
+ let path-name = (if ((sys).host.name == "Windows") { "Path" } { "PATH" })
3
+ let virtual-env = "C:\Users\Jainam\PycharmProjects\FaceRecognition"
4
+ let bin = "Scripts"
5
+ let path-sep = ";"
6
+
7
+ let old-path = ($nu.path | str collect ($path-sep))
8
+
9
+ let venv-path = ([$virtual-env $bin] | path join)
10
+ let new-path = ($nu.path | prepend $venv-path | str collect ($path-sep))
11
+
12
+ # environment variables that will be batched loaded to the virtual env
13
+ let new-env = ([
14
+ [name, value];
15
+ [$path-name $new-path]
16
+ [_OLD_VIRTUAL_PATH $old-path]
17
+ [VIRTUAL_ENV $virtual-env]
18
+ ])
19
+
20
+ load-env $new-env
21
+
22
+ # Creating the new prompt for the session
23
+ let virtual_prompt = (if ("" != "") {
24
+ "() "
25
+ } {
26
+ (build-string '(' ($virtual-env | path basename) ') ')
27
+ }
28
+ )
29
+
30
+ # If there is no default prompt, then only the env is printed in the prompt
31
+ let new_prompt = (if ( config | select prompt | empty? ) {
32
+ ($"build-string '($virtual_prompt)'")
33
+ } {
34
+ ($"build-string '($virtual_prompt)' (config get prompt | str find-replace "build-string" "")")
35
+ })
36
+ let-env PROMPT_COMMAND = $new_prompt
37
+
38
+ # We are using alias as the function definitions because only aliases can be
39
+ # removed from the scope
40
+ alias pydoc = python -m pydoc
41
+ alias deactivate = source "C:\Users\Jainam\PycharmProjects\FaceRecognition\Scripts\deactivate.nu"
Scripts/activate_this.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- coding: utf-8 -*-
2
+ """Activate virtualenv for current interpreter:
3
+
4
+ Use exec(open(this_file).read(), {'__file__': this_file}).
5
+
6
+ This can be used when you must use an existing Python interpreter, not the virtualenv bin/python.
7
+ """
8
+ import os
9
+ import site
10
+ import sys
11
+
12
+ try:
13
+ abs_file = os.path.abspath(__file__)
14
+ except NameError:
15
+ raise AssertionError("You must use exec(open(this_file).read(), {'__file__': this_file}))")
16
+
17
+ bin_dir = os.path.dirname(abs_file)
18
+ base = bin_dir[: -len("Scripts") - 1] # strip away the bin part from the __file__, plus the path separator
19
+
20
+ # prepend bin to PATH (this file is inside the bin directory)
21
+ os.environ["PATH"] = os.pathsep.join([bin_dir] + os.environ.get("PATH", "").split(os.pathsep))
22
+ os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
23
+
24
+ # add the virtual environments libraries to the host python import mechanism
25
+ prev_length = len(sys.path)
26
+ for lib in "..\Lib\site-packages".split(os.pathsep):
27
+ path = os.path.realpath(os.path.join(bin_dir, lib))
28
+ site.addsitedir(path.decode("utf-8") if "" else path)
29
+ sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
30
+
31
+ sys.real_prefix = sys.prefix
32
+ sys.prefix = base
Scripts/chardetect.exe ADDED
Binary file (108 kB). View file
 
Scripts/deactivate.bat ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+
3
+ set VIRTUAL_ENV=
4
+
5
+ REM Don't use () to avoid problems with them in %PATH%
6
+ if not defined _OLD_VIRTUAL_PROMPT goto ENDIFVPROMPT
7
+ set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
8
+ set _OLD_VIRTUAL_PROMPT=
9
+ :ENDIFVPROMPT
10
+
11
+ if not defined _OLD_VIRTUAL_PYTHONHOME goto ENDIFVHOME
12
+ set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
13
+ set _OLD_VIRTUAL_PYTHONHOME=
14
+ :ENDIFVHOME
15
+
16
+ if not defined _OLD_VIRTUAL_PATH goto ENDIFVPATH
17
+ set "PATH=%_OLD_VIRTUAL_PATH%"
18
+ set _OLD_VIRTUAL_PATH=
19
+ :ENDIFVPATH
Scripts/deactivate.nu ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Setting the old path
2
+ let path-name = (if ((sys).host.name == "Windows") { "Path" } { "PATH" })
3
+ let-env $path-name = $nu.env._OLD_VIRTUAL_PATH
4
+
5
+ # Unleting the environment variables that were created when activating the env
6
+ unlet-env VIRTUAL_ENV
7
+ unlet-env _OLD_VIRTUAL_PATH
8
+ unlet-env PROMPT_COMMAND
9
+
10
+ unalias pydoc
11
+ unalias deactivate
Scripts/deepface.exe ADDED
Binary file (108 kB). View file
 
Scripts/estimator_ckpt_converter.exe ADDED
Binary file (108 kB). View file
 
Scripts/f2py.exe ADDED
Binary file (108 kB). View file
 
Scripts/fastapi2postman.exe ADDED
Binary file (108 kB). View file
 
Scripts/flask.exe ADDED
Binary file (108 kB). View file
 
Scripts/gdown.exe ADDED
Binary file (108 kB). View file
 
Scripts/google-oauthlib-tool.exe ADDED
Binary file (108 kB). View file
 
Scripts/gunicorn.exe ADDED
Binary file (108 kB). View file
 
Scripts/import_pb_to_tensorboard.exe ADDED
Binary file (108 kB). View file
 
Scripts/markdown_py.exe ADDED
Binary file (108 kB). View file
 
Scripts/normalizer.exe ADDED
Binary file (108 kB). View file
 
Scripts/pip.exe ADDED
Binary file (108 kB). View file
 
Scripts/pip3.10.exe ADDED
Binary file (108 kB). View file
 
Scripts/pip3.exe ADDED
Binary file (108 kB). View file
 
Scripts/pydoc.bat ADDED
@@ -0,0 +1 @@
 
 
1
+ python.exe -m pydoc %*
Scripts/pyrsa-decrypt.exe ADDED
Binary file (108 kB). View file
 
Scripts/pyrsa-encrypt.exe ADDED
Binary file (108 kB). View file
 
Scripts/pyrsa-keygen.exe ADDED
Binary file (108 kB). View file
 
Scripts/pyrsa-priv2pub.exe ADDED
Binary file (108 kB). View file
 
Scripts/pyrsa-sign.exe ADDED
Binary file (108 kB). View file
 
Scripts/pyrsa-verify.exe ADDED
Binary file (108 kB). View file
 
Scripts/python.exe ADDED
Binary file (269 kB). View file
 
Scripts/pythonw.exe ADDED
Binary file (257 kB). View file
 
Scripts/saved_model_cli.exe ADDED
Binary file (108 kB). View file
 
Scripts/tensorboard.exe ADDED
Binary file (108 kB). View file
 
Scripts/tf_upgrade_v2.exe ADDED
Binary file (108 kB). View file
 
Scripts/tflite_convert.exe ADDED
Binary file (108 kB). View file
 
Scripts/toco.exe ADDED
Binary file (108 kB). View file
 
Scripts/toco_from_protos.exe ADDED
Binary file (108 kB). View file
 
Scripts/tqdm.exe ADDED
Binary file (108 kB). View file
 
Scripts/uvicorn.exe ADDED
Binary file (108 kB). View file
 
Scripts/wheel-3.10.exe ADDED
Binary file (107 kB). View file