Upload 12539 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +8 -0
- mini-dust3r/.DS_Store +0 -0
- mini-dust3r/.codee/launch.json +19 -0
- mini-dust3r/.gitattributes +2 -0
- mini-dust3r/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- mini-dust3r/.idea/mini-dust3r.iml +10 -0
- mini-dust3r/.idea/misc.xml +7 -0
- mini-dust3r/.idea/modules.xml +8 -0
- mini-dust3r/.idea/vcs.xml +6 -0
- mini-dust3r/.idea/workspace.xml +93 -0
- mini-dust3r/.venv/.gitignore +2 -0
- mini-dust3r/.venv/bin/activate +87 -0
- mini-dust3r/.venv/bin/activate.csh +55 -0
- mini-dust3r/.venv/bin/activate.fish +103 -0
- mini-dust3r/.venv/bin/activate.nu +96 -0
- mini-dust3r/.venv/bin/activate.ps1 +61 -0
- mini-dust3r/.venv/bin/activate_this.py +36 -0
- mini-dust3r/.venv/bin/convert-caffe2-to-onnx +8 -0
- mini-dust3r/.venv/bin/convert-onnx-to-caffe2 +8 -0
- mini-dust3r/.venv/bin/f2py +8 -0
- mini-dust3r/.venv/bin/isympy +8 -0
- mini-dust3r/.venv/bin/pip +8 -0
- mini-dust3r/.venv/bin/pip-3.12 +8 -0
- mini-dust3r/.venv/bin/pip3 +8 -0
- mini-dust3r/.venv/bin/pip3.12 +8 -0
- mini-dust3r/.venv/bin/rerun +8 -0
- mini-dust3r/.venv/bin/torchrun +8 -0
- mini-dust3r/.venv/bin/tqdm +8 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/INSTALLER +1 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/LICENSE.rst +28 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/METADATA +93 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/RECORD +14 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/WHEEL +5 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/top_level.txt +1 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/__pycache__/_virtualenv.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/__pycache__/isympy.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/__pycache__/typing_extensions.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/_virtualenv.pth +3 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/_virtualenv.py +102 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/INSTALLER +1 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/METADATA +56 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/RECORD +22 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/WHEEL +4 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/licenses/LICENSE +24 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__init__.py +52 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/__init__.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_api.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_error.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_soft.cpython-312.pyc +0 -0
- mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_unix.cpython-312.pyc +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,11 @@ 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 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/numpy/.dylibs/libgfortran.5.dylib filter=lfs diff=lfs merge=lfs -text
|
37 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/numpy/.dylibs/libopenblas64_.0.dylib filter=lfs diff=lfs merge=lfs -text
|
38 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/numpy/core/_multiarray_umath.cpython-312-darwin.so filter=lfs diff=lfs merge=lfs -text
|
39 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/sympy/polys/benchmarks/__pycache__/bench_solvers.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
40 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/torch/bin/protoc filter=lfs diff=lfs merge=lfs -text
|
41 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/torch/bin/protoc-3.13.0.0 filter=lfs diff=lfs merge=lfs -text
|
42 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/torch/lib/libtorch_cpu.dylib filter=lfs diff=lfs merge=lfs -text
|
43 |
+
mini-dust3r/.venv/lib/python3.12/site-packages/torch/lib/libtorch_python.dylib filter=lfs diff=lfs merge=lfs -text
|
mini-dust3r/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
mini-dust3r/.codee/launch.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.2.0",
|
3 |
+
"configurations": [
|
4 |
+
{
|
5 |
+
"name": "Python Debugger: Current File",
|
6 |
+
"type": "debugpy",
|
7 |
+
"request": "launch",
|
8 |
+
"program": "tools/rerun_demo.py",
|
9 |
+
// Update the program attribute
|
10 |
+
"console": "integratedTerminal",
|
11 |
+
"args": [
|
12 |
+
"--headless",
|
13 |
+
"--connect",
|
14 |
+
"--image-dir",
|
15 |
+
"images-raw/"
|
16 |
+
]
|
17 |
+
}
|
18 |
+
]
|
19 |
+
}
|
mini-dust3r/.gitattributes
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
# GitHub syntax highlighting
|
2 |
+
pixi.lock linguist-language=YAML
|
mini-dust3r/.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>
|
mini-dust3r/.idea/mini-dust3r.iml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
6 |
+
</content>
|
7 |
+
<orderEntry type="inheritedJdk" />
|
8 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
9 |
+
</component>
|
10 |
+
</module>
|
mini-dust3r/.idea/misc.xml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="Black">
|
4 |
+
<option name="sdkName" value="Python 3.12 (mini-dust3r)" />
|
5 |
+
</component>
|
6 |
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (mini-dust3r)" project-jdk-type="Python SDK" />
|
7 |
+
</project>
|
mini-dust3r/.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/mini-dust3r.iml" filepath="$PROJECT_DIR$/.idea/mini-dust3r.iml" />
|
6 |
+
</modules>
|
7 |
+
</component>
|
8 |
+
</project>
|
mini-dust3r/.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>
|
mini-dust3r/.idea/workspace.xml
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<project version="4">
|
3 |
+
<component name="AutoImportSettings">
|
4 |
+
<option name="autoReloadType" value="SELECTIVE" />
|
5 |
+
</component>
|
6 |
+
<component name="ChangeListManager">
|
7 |
+
<list default="true" id="b997fda2-8e4b-41de-bbf9-ce3e83a8cc53" name="Changes" comment="main" />
|
8 |
+
<option name="SHOW_DIALOG" value="false" />
|
9 |
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10 |
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
11 |
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12 |
+
</component>
|
13 |
+
<component name="FileTemplateManagerImpl">
|
14 |
+
<option name="RECENT_TEMPLATES">
|
15 |
+
<list>
|
16 |
+
<option value="HTML File" />
|
17 |
+
<option value="Python Script" />
|
18 |
+
</list>
|
19 |
+
</option>
|
20 |
+
</component>
|
21 |
+
<component name="Git.Settings">
|
22 |
+
<option name="PREVIOUS_COMMIT_AUTHORS">
|
23 |
+
<list>
|
24 |
+
<option value="jaiaggarwal <[email protected]>" />
|
25 |
+
</list>
|
26 |
+
</option>
|
27 |
+
<option name="PUSH_TAGS">
|
28 |
+
<GitPushTagMode>
|
29 |
+
<option name="argument" value="--tags" />
|
30 |
+
<option name="title" value="All" />
|
31 |
+
</GitPushTagMode>
|
32 |
+
</option>
|
33 |
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
34 |
+
</component>
|
35 |
+
<component name="ProjectColorInfo"><![CDATA[{
|
36 |
+
"associatedIndex": 1
|
37 |
+
}]]></component>
|
38 |
+
<component name="ProjectId" id="2gqxo3zu4ZICzmBerFjUWuHqWW6" />
|
39 |
+
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
40 |
+
<ConfirmationsSetting value="2" id="Add" />
|
41 |
+
</component>
|
42 |
+
<component name="ProjectViewState">
|
43 |
+
<option name="hideEmptyMiddlePackages" value="true" />
|
44 |
+
<option name="showLibraryContents" value="true" />
|
45 |
+
</component>
|
46 |
+
<component name="PropertiesComponent"><![CDATA[{
|
47 |
+
"keyToString": {
|
48 |
+
"DefaultHtmlFileTemplate": "HTML File",
|
49 |
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
50 |
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
51 |
+
"git-widget-placeholder": "main"
|
52 |
+
}
|
53 |
+
}]]></component>
|
54 |
+
<component name="SharedIndexes">
|
55 |
+
<attachedChunks>
|
56 |
+
<set>
|
57 |
+
<option value="bundled-python-sdk-d68999036c7f-d3b881c8e49f-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-233.14475.56" />
|
58 |
+
</set>
|
59 |
+
</attachedChunks>
|
60 |
+
</component>
|
61 |
+
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
62 |
+
<component name="TaskManager">
|
63 |
+
<task active="true" id="Default" summary="Default task">
|
64 |
+
<changelist id="b997fda2-8e4b-41de-bbf9-ce3e83a8cc53" name="Changes" comment="" />
|
65 |
+
<created>1716439081830</created>
|
66 |
+
<option name="number" value="Default" />
|
67 |
+
<option name="presentableId" value="Default" />
|
68 |
+
<updated>1716439081830</updated>
|
69 |
+
</task>
|
70 |
+
<task id="LOCAL-00001" summary="main">
|
71 |
+
<option name="closed" value="true" />
|
72 |
+
<created>1716452785600</created>
|
73 |
+
<option name="number" value="00001" />
|
74 |
+
<option name="presentableId" value="LOCAL-00001" />
|
75 |
+
<option name="project" value="LOCAL" />
|
76 |
+
<updated>1716452785600</updated>
|
77 |
+
</task>
|
78 |
+
<task id="LOCAL-00002" summary="main">
|
79 |
+
<option name="closed" value="true" />
|
80 |
+
<created>1716452863082</created>
|
81 |
+
<option name="number" value="00002" />
|
82 |
+
<option name="presentableId" value="LOCAL-00002" />
|
83 |
+
<option name="project" value="LOCAL" />
|
84 |
+
<updated>1716452863082</updated>
|
85 |
+
</task>
|
86 |
+
<option name="localTasksCounter" value="3" />
|
87 |
+
<servers />
|
88 |
+
</component>
|
89 |
+
<component name="VcsManagerConfiguration">
|
90 |
+
<MESSAGE value="main" />
|
91 |
+
<option name="LAST_COMMIT_MESSAGE" value="main" />
|
92 |
+
</component>
|
93 |
+
</project>
|
mini-dust3r/.venv/.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
# created by virtualenv automatically
|
2 |
+
*
|
mini-dust3r/.venv/bin/activate
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
unset VIRTUAL_ENV_PROMPT
|
39 |
+
if [ ! "${1-}" = "nondestructive" ] ; then
|
40 |
+
# Self destruct!
|
41 |
+
unset -f deactivate
|
42 |
+
fi
|
43 |
+
}
|
44 |
+
|
45 |
+
# unset irrelevant variables
|
46 |
+
deactivate nondestructive
|
47 |
+
|
48 |
+
VIRTUAL_ENV='/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv'
|
49 |
+
if ([ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]) && $(command -v cygpath &> /dev/null) ; then
|
50 |
+
VIRTUAL_ENV=$(cygpath -u "$VIRTUAL_ENV")
|
51 |
+
fi
|
52 |
+
export VIRTUAL_ENV
|
53 |
+
|
54 |
+
_OLD_VIRTUAL_PATH="$PATH"
|
55 |
+
PATH="$VIRTUAL_ENV/bin:$PATH"
|
56 |
+
export PATH
|
57 |
+
|
58 |
+
if [ "x" != x ] ; then
|
59 |
+
VIRTUAL_ENV_PROMPT=""
|
60 |
+
else
|
61 |
+
VIRTUAL_ENV_PROMPT=$(basename "$VIRTUAL_ENV")
|
62 |
+
fi
|
63 |
+
export VIRTUAL_ENV_PROMPT
|
64 |
+
|
65 |
+
# unset PYTHONHOME if set
|
66 |
+
if ! [ -z "${PYTHONHOME+_}" ] ; then
|
67 |
+
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
|
68 |
+
unset PYTHONHOME
|
69 |
+
fi
|
70 |
+
|
71 |
+
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
|
72 |
+
_OLD_VIRTUAL_PS1="${PS1-}"
|
73 |
+
PS1="(${VIRTUAL_ENV_PROMPT}) ${PS1-}"
|
74 |
+
export PS1
|
75 |
+
fi
|
76 |
+
|
77 |
+
# Make sure to unalias pydoc if it's already there
|
78 |
+
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true
|
79 |
+
|
80 |
+
pydoc () {
|
81 |
+
python -m pydoc "$@"
|
82 |
+
}
|
83 |
+
|
84 |
+
# The hash command must be called to get it to forget past
|
85 |
+
# commands. Without forgetting past commands the $PATH changes
|
86 |
+
# we made may not be respected
|
87 |
+
hash -r 2>/dev/null
|
mini-dust3r/.venv/bin/activate.csh
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file must be used with "source bin/activate.csh" *from csh*.
|
2 |
+
# You cannot run it directly.
|
3 |
+
# Created by Davide Di Blasi <[email protected]>.
|
4 |
+
|
5 |
+
set newline='\
|
6 |
+
'
|
7 |
+
|
8 |
+
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'
|
9 |
+
|
10 |
+
# Unset irrelevant variables.
|
11 |
+
deactivate nondestructive
|
12 |
+
|
13 |
+
setenv VIRTUAL_ENV '/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv'
|
14 |
+
|
15 |
+
set _OLD_VIRTUAL_PATH="$PATH:q"
|
16 |
+
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
if ('' != "") then
|
21 |
+
setenv VIRTUAL_ENV_PROMPT ''
|
22 |
+
else
|
23 |
+
setenv VIRTUAL_ENV_PROMPT "$VIRTUAL_ENV:t:q"
|
24 |
+
endif
|
25 |
+
|
26 |
+
if ( $?VIRTUAL_ENV_DISABLE_PROMPT ) then
|
27 |
+
if ( $VIRTUAL_ENV_DISABLE_PROMPT == "" ) then
|
28 |
+
set do_prompt = "1"
|
29 |
+
else
|
30 |
+
set do_prompt = "0"
|
31 |
+
endif
|
32 |
+
else
|
33 |
+
set do_prompt = "1"
|
34 |
+
endif
|
35 |
+
|
36 |
+
if ( $do_prompt == "1" ) then
|
37 |
+
# Could be in a non-interactive environment,
|
38 |
+
# in which case, $prompt is undefined and we wouldn't
|
39 |
+
# care about the prompt anyway.
|
40 |
+
if ( $?prompt ) then
|
41 |
+
set _OLD_VIRTUAL_PROMPT="$prompt:q"
|
42 |
+
if ( "$prompt:q" =~ *"$newline:q"* ) then
|
43 |
+
:
|
44 |
+
else
|
45 |
+
set prompt = '('"$VIRTUAL_ENV_PROMPT:q"') '"$prompt:q"
|
46 |
+
endif
|
47 |
+
endif
|
48 |
+
endif
|
49 |
+
|
50 |
+
unset env_name
|
51 |
+
unset do_prompt
|
52 |
+
|
53 |
+
alias pydoc python -m pydoc
|
54 |
+
|
55 |
+
rehash
|
mini-dust3r/.venv/bin/activate.fish
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
set -e VIRTUAL_ENV_PROMPT
|
48 |
+
|
49 |
+
if test "$argv[1]" != 'nondestructive'
|
50 |
+
# Self-destruct!
|
51 |
+
functions -e pydoc
|
52 |
+
functions -e deactivate
|
53 |
+
functions -e _bashify_path
|
54 |
+
functions -e _fishify_path
|
55 |
+
end
|
56 |
+
end
|
57 |
+
|
58 |
+
# Unset irrelevant variables.
|
59 |
+
deactivate nondestructive
|
60 |
+
|
61 |
+
set -gx VIRTUAL_ENV '/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv'
|
62 |
+
|
63 |
+
# https://github.com/fish-shell/fish-shell/issues/436 altered PATH handling
|
64 |
+
if test (echo $FISH_VERSION | head -c 1) -lt 3
|
65 |
+
set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
|
66 |
+
else
|
67 |
+
set -gx _OLD_VIRTUAL_PATH $PATH
|
68 |
+
end
|
69 |
+
set -gx PATH "$VIRTUAL_ENV"'/bin' $PATH
|
70 |
+
|
71 |
+
# Prompt override provided?
|
72 |
+
# If not, just use the environment name.
|
73 |
+
if test -n ''
|
74 |
+
set -gx VIRTUAL_ENV_PROMPT ''
|
75 |
+
else
|
76 |
+
set -gx VIRTUAL_ENV_PROMPT (basename "$VIRTUAL_ENV")
|
77 |
+
end
|
78 |
+
|
79 |
+
# Unset `$PYTHONHOME` if set.
|
80 |
+
if set -q PYTHONHOME
|
81 |
+
set -gx _OLD_VIRTUAL_PYTHONHOME $PYTHONHOME
|
82 |
+
set -e PYTHONHOME
|
83 |
+
end
|
84 |
+
|
85 |
+
function pydoc
|
86 |
+
python -m pydoc $argv
|
87 |
+
end
|
88 |
+
|
89 |
+
if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
|
90 |
+
# Copy the current `fish_prompt` function as `_old_fish_prompt`.
|
91 |
+
functions -c fish_prompt _old_fish_prompt
|
92 |
+
|
93 |
+
function fish_prompt
|
94 |
+
# Run the user's prompt first; it might depend on (pipe)status.
|
95 |
+
set -l prompt (_old_fish_prompt)
|
96 |
+
|
97 |
+
printf '(%s) ' $VIRTUAL_ENV_PROMPT
|
98 |
+
|
99 |
+
string join -- \n $prompt # handle multi-line prompts
|
100 |
+
end
|
101 |
+
|
102 |
+
set -gx _OLD_FISH_PROMPT_OVERRIDE "$VIRTUAL_ENV"
|
103 |
+
end
|
mini-dust3r/.venv/bin/activate.nu
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# virtualenv activation module
|
2 |
+
# Activate with `overlay use activate.nu`
|
3 |
+
# Deactivate with `deactivate`, as usual
|
4 |
+
#
|
5 |
+
# To customize the overlay name, you can call `overlay use activate.nu as foo`,
|
6 |
+
# but then simply `deactivate` won't work because it is just an alias to hide
|
7 |
+
# the "activate" overlay. You'd need to call `overlay hide foo` manually.
|
8 |
+
|
9 |
+
export-env {
|
10 |
+
def is-string [x] {
|
11 |
+
($x | describe) == 'string'
|
12 |
+
}
|
13 |
+
|
14 |
+
def has-env [...names] {
|
15 |
+
$names | each {|n|
|
16 |
+
$n in $env
|
17 |
+
} | all {|i| $i == true}
|
18 |
+
}
|
19 |
+
|
20 |
+
# Emulates a `test -z`, but btter as it handles e.g 'false'
|
21 |
+
def is-env-true [name: string] {
|
22 |
+
if (has-env $name) {
|
23 |
+
# Try to parse 'true', '0', '1', and fail if not convertible
|
24 |
+
let parsed = (do -i { $env | get $name | into bool })
|
25 |
+
if ($parsed | describe) == 'bool' {
|
26 |
+
$parsed
|
27 |
+
} else {
|
28 |
+
not ($env | get -i $name | is-empty)
|
29 |
+
}
|
30 |
+
} else {
|
31 |
+
false
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
let virtual_env = '/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv'
|
36 |
+
let bin = 'bin'
|
37 |
+
|
38 |
+
let is_windows = ($nu.os-info.family) == 'windows'
|
39 |
+
let path_name = (if (has-env 'Path') {
|
40 |
+
'Path'
|
41 |
+
} else {
|
42 |
+
'PATH'
|
43 |
+
}
|
44 |
+
)
|
45 |
+
|
46 |
+
let venv_path = ([$virtual_env $bin] | path join)
|
47 |
+
let new_path = ($env | get $path_name | prepend $venv_path)
|
48 |
+
|
49 |
+
# If there is no default prompt, then use the env name instead
|
50 |
+
let virtual_env_prompt = (if ('' | is-empty) {
|
51 |
+
($virtual_env | path basename)
|
52 |
+
} else {
|
53 |
+
''
|
54 |
+
})
|
55 |
+
|
56 |
+
let new_env = {
|
57 |
+
$path_name : $new_path
|
58 |
+
VIRTUAL_ENV : $virtual_env
|
59 |
+
VIRTUAL_ENV_PROMPT : $virtual_env_prompt
|
60 |
+
}
|
61 |
+
|
62 |
+
let new_env = (if (is-env-true 'VIRTUAL_ENV_DISABLE_PROMPT') {
|
63 |
+
$new_env
|
64 |
+
} else {
|
65 |
+
# Creating the new prompt for the session
|
66 |
+
let virtual_prefix = $'(char lparen)($virtual_env_prompt)(char rparen) '
|
67 |
+
|
68 |
+
# Back up the old prompt builder
|
69 |
+
let old_prompt_command = (if (has-env 'PROMPT_COMMAND') {
|
70 |
+
$env.PROMPT_COMMAND
|
71 |
+
} else {
|
72 |
+
''
|
73 |
+
})
|
74 |
+
|
75 |
+
let new_prompt = (if (has-env 'PROMPT_COMMAND') {
|
76 |
+
if 'closure' in ($old_prompt_command | describe) {
|
77 |
+
{|| $'($virtual_prefix)(do $old_prompt_command)' }
|
78 |
+
} else {
|
79 |
+
{|| $'($virtual_prefix)($old_prompt_command)' }
|
80 |
+
}
|
81 |
+
} else {
|
82 |
+
{|| $'($virtual_prefix)' }
|
83 |
+
})
|
84 |
+
|
85 |
+
$new_env | merge {
|
86 |
+
PROMPT_COMMAND : $new_prompt
|
87 |
+
VIRTUAL_PREFIX : $virtual_prefix
|
88 |
+
}
|
89 |
+
})
|
90 |
+
|
91 |
+
# Environment variables that will be loaded as the virtual env
|
92 |
+
load-env $new_env
|
93 |
+
}
|
94 |
+
|
95 |
+
export alias pydoc = python -m pydoc
|
96 |
+
export alias deactivate = overlay hide activate
|
mini-dust3r/.venv/bin/activate.ps1
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 ($env:VIRTUAL_ENV_PROMPT) {
|
20 |
+
Remove-Item env:VIRTUAL_ENV_PROMPT -ErrorAction SilentlyContinue
|
21 |
+
}
|
22 |
+
|
23 |
+
if (!$NonDestructive) {
|
24 |
+
# Self destruct!
|
25 |
+
Remove-Item function:deactivate
|
26 |
+
Remove-Item function:pydoc
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
function global:pydoc {
|
31 |
+
python -m pydoc $args
|
32 |
+
}
|
33 |
+
|
34 |
+
# unset irrelevant variables
|
35 |
+
deactivate -nondestructive
|
36 |
+
|
37 |
+
$VIRTUAL_ENV = $BASE_DIR
|
38 |
+
$env:VIRTUAL_ENV = $VIRTUAL_ENV
|
39 |
+
|
40 |
+
if ("" -ne "") {
|
41 |
+
$env:VIRTUAL_ENV_PROMPT = ""
|
42 |
+
}
|
43 |
+
else {
|
44 |
+
$env:VIRTUAL_ENV_PROMPT = $( Split-Path $env:VIRTUAL_ENV -Leaf )
|
45 |
+
}
|
46 |
+
|
47 |
+
New-Variable -Scope global -Name _OLD_VIRTUAL_PATH -Value $env:PATH
|
48 |
+
|
49 |
+
$env:PATH = "$env:VIRTUAL_ENV/bin:" + $env:PATH
|
50 |
+
if (!$env:VIRTUAL_ENV_DISABLE_PROMPT) {
|
51 |
+
function global:_old_virtual_prompt {
|
52 |
+
""
|
53 |
+
}
|
54 |
+
$function:_old_virtual_prompt = $function:prompt
|
55 |
+
|
56 |
+
function global:prompt {
|
57 |
+
# Add the custom prefix to the existing prompt
|
58 |
+
$previous_prompt_value = & $function:_old_virtual_prompt
|
59 |
+
("(" + $env:VIRTUAL_ENV_PROMPT + ") " + $previous_prompt_value)
|
60 |
+
}
|
61 |
+
}
|
mini-dust3r/.venv/bin/activate_this.py
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
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 |
+
""" # noqa: D415
|
8 |
+
from __future__ import annotations
|
9 |
+
|
10 |
+
import os
|
11 |
+
import site
|
12 |
+
import sys
|
13 |
+
|
14 |
+
try:
|
15 |
+
abs_file = os.path.abspath(__file__)
|
16 |
+
except NameError as exc:
|
17 |
+
msg = "You must use exec(open(this_file).read(), {'__file__': this_file}))"
|
18 |
+
raise AssertionError(msg) from exc
|
19 |
+
|
20 |
+
bin_dir = os.path.dirname(abs_file)
|
21 |
+
base = bin_dir[: -len("bin") - 1] # strip away the bin part from the __file__, plus the path separator
|
22 |
+
|
23 |
+
# prepend bin to PATH (this file is inside the bin directory)
|
24 |
+
os.environ["PATH"] = os.pathsep.join([bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
|
25 |
+
os.environ["VIRTUAL_ENV"] = base # virtual env is right above bin directory
|
26 |
+
os.environ["VIRTUAL_ENV_PROMPT"] = "" or os.path.basename(base) # noqa: SIM222
|
27 |
+
|
28 |
+
# add the virtual environments libraries to the host python import mechanism
|
29 |
+
prev_length = len(sys.path)
|
30 |
+
for lib in "../lib/python3.12/site-packages".split(os.pathsep):
|
31 |
+
path = os.path.realpath(os.path.join(bin_dir, lib))
|
32 |
+
site.addsitedir(path.decode("utf-8") if "" else path)
|
33 |
+
sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
|
34 |
+
|
35 |
+
sys.real_prefix = sys.prefix
|
36 |
+
sys.prefix = base
|
mini-dust3r/.venv/bin/convert-caffe2-to-onnx
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from caffe2.python.onnx.bin.conversion import caffe2_to_onnx
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(caffe2_to_onnx())
|
mini-dust3r/.venv/bin/convert-onnx-to-caffe2
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from caffe2.python.onnx.bin.conversion import onnx_to_caffe2
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(onnx_to_caffe2())
|
mini-dust3r/.venv/bin/f2py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.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())
|
mini-dust3r/.venv/bin/isympy
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from isympy import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/pip
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.main import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/pip-3.12
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.main import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/pip3
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.main import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/pip3.12
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from pip._internal.cli.main import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/rerun
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from rerun.rerun import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/torchrun
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.venv/bin/python
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from torch.distributed.run import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
mini-dust3r/.venv/bin/tqdm
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/Users/jaiaggarwal/PycharmProjects/mini-dust3r/.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())
|
mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/LICENSE.rst
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.
|
mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/METADATA
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: MarkupSafe
|
3 |
+
Version: 2.1.5
|
4 |
+
Summary: Safely add untrusted strings to HTML/XML markup.
|
5 |
+
Home-page: https://palletsprojects.com/p/markupsafe/
|
6 |
+
Maintainer: Pallets
|
7 |
+
Maintainer-email: [email protected]
|
8 |
+
License: BSD-3-Clause
|
9 |
+
Project-URL: Donate, https://palletsprojects.com/donate
|
10 |
+
Project-URL: Documentation, https://markupsafe.palletsprojects.com/
|
11 |
+
Project-URL: Changes, https://markupsafe.palletsprojects.com/changes/
|
12 |
+
Project-URL: Source Code, https://github.com/pallets/markupsafe/
|
13 |
+
Project-URL: Issue Tracker, https://github.com/pallets/markupsafe/issues/
|
14 |
+
Project-URL: Chat, https://discord.gg/pallets
|
15 |
+
Classifier: Development Status :: 5 - Production/Stable
|
16 |
+
Classifier: Environment :: Web Environment
|
17 |
+
Classifier: Intended Audience :: Developers
|
18 |
+
Classifier: License :: OSI Approved :: BSD License
|
19 |
+
Classifier: Operating System :: OS Independent
|
20 |
+
Classifier: Programming Language :: Python
|
21 |
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
22 |
+
Classifier: Topic :: Text Processing :: Markup :: HTML
|
23 |
+
Requires-Python: >=3.7
|
24 |
+
Description-Content-Type: text/x-rst
|
25 |
+
License-File: LICENSE.rst
|
26 |
+
|
27 |
+
MarkupSafe
|
28 |
+
==========
|
29 |
+
|
30 |
+
MarkupSafe implements a text object that escapes characters so it is
|
31 |
+
safe to use in HTML and XML. Characters that have special meanings are
|
32 |
+
replaced so that they display as the actual characters. This mitigates
|
33 |
+
injection attacks, meaning untrusted user input can safely be displayed
|
34 |
+
on a page.
|
35 |
+
|
36 |
+
|
37 |
+
Installing
|
38 |
+
----------
|
39 |
+
|
40 |
+
Install and update using `pip`_:
|
41 |
+
|
42 |
+
.. code-block:: text
|
43 |
+
|
44 |
+
pip install -U MarkupSafe
|
45 |
+
|
46 |
+
.. _pip: https://pip.pypa.io/en/stable/getting-started/
|
47 |
+
|
48 |
+
|
49 |
+
Examples
|
50 |
+
--------
|
51 |
+
|
52 |
+
.. code-block:: pycon
|
53 |
+
|
54 |
+
>>> from markupsafe import Markup, escape
|
55 |
+
|
56 |
+
>>> # escape replaces special characters and wraps in Markup
|
57 |
+
>>> escape("<script>alert(document.cookie);</script>")
|
58 |
+
Markup('<script>alert(document.cookie);</script>')
|
59 |
+
|
60 |
+
>>> # wrap in Markup to mark text "safe" and prevent escaping
|
61 |
+
>>> Markup("<strong>Hello</strong>")
|
62 |
+
Markup('<strong>hello</strong>')
|
63 |
+
|
64 |
+
>>> escape(Markup("<strong>Hello</strong>"))
|
65 |
+
Markup('<strong>hello</strong>')
|
66 |
+
|
67 |
+
>>> # Markup is a str subclass
|
68 |
+
>>> # methods and operators escape their arguments
|
69 |
+
>>> template = Markup("Hello <em>{name}</em>")
|
70 |
+
>>> template.format(name='"World"')
|
71 |
+
Markup('Hello <em>"World"</em>')
|
72 |
+
|
73 |
+
|
74 |
+
Donate
|
75 |
+
------
|
76 |
+
|
77 |
+
The Pallets organization develops and supports MarkupSafe and other
|
78 |
+
popular packages. In order to grow the community of contributors and
|
79 |
+
users, and allow the maintainers to devote more time to the projects,
|
80 |
+
`please donate today`_.
|
81 |
+
|
82 |
+
.. _please donate today: https://palletsprojects.com/donate
|
83 |
+
|
84 |
+
|
85 |
+
Links
|
86 |
+
-----
|
87 |
+
|
88 |
+
- Documentation: https://markupsafe.palletsprojects.com/
|
89 |
+
- Changes: https://markupsafe.palletsprojects.com/changes/
|
90 |
+
- PyPI Releases: https://pypi.org/project/MarkupSafe/
|
91 |
+
- Source Code: https://github.com/pallets/markupsafe/
|
92 |
+
- Issue Tracker: https://github.com/pallets/markupsafe/issues/
|
93 |
+
- Chat: https://discord.gg/pallets
|
mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/RECORD
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MarkupSafe-2.1.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
MarkupSafe-2.1.5.dist-info/LICENSE.rst,sha256=SJqOEQhQntmKN7uYPhHg9-HTHwvY-Zp5yESOf_N9B-o,1475
|
3 |
+
MarkupSafe-2.1.5.dist-info/METADATA,sha256=2dRDPam6OZLfpX0wg1JN5P3u9arqACxVSfdGmsJU7o8,3003
|
4 |
+
MarkupSafe-2.1.5.dist-info/RECORD,,
|
5 |
+
MarkupSafe-2.1.5.dist-info/WHEEL,sha256=bHkOfcOgXU5awVnxyry7eA7JVWWmfbKWXXd9KfWMgQ4,115
|
6 |
+
MarkupSafe-2.1.5.dist-info/top_level.txt,sha256=qy0Plje5IJuvsCBjejJyhDCjEAdcDLK_2agVcex8Z6U,11
|
7 |
+
markupsafe/__init__.py,sha256=r7VOTjUq7EMQ4v3p4R1LoVOGJg6ysfYRncLr34laRBs,10958
|
8 |
+
markupsafe/__pycache__/__init__.cpython-312.pyc,,
|
9 |
+
markupsafe/__pycache__/_native.cpython-312.pyc,,
|
10 |
+
markupsafe/_native.py,sha256=GR86Qvo_GcgKmKreA1WmYN9ud17OFwkww8E-fiW-57s,1713
|
11 |
+
markupsafe/_speedups.c,sha256=X2XvQVtIdcK4Usz70BvkzoOfjTCmQlDkkjYSn-swE0g,7083
|
12 |
+
markupsafe/_speedups.cpython-312-darwin.so,sha256=QZ4y0TxBZ1nWWVnGp2flNgNQXga0dR3_Vca8D8bpXxM,117420
|
13 |
+
markupsafe/_speedups.pyi,sha256=vfMCsOgbAXRNLUXkyuyonG8uEWKYU4PDqNuMaDELAYw,229
|
14 |
+
markupsafe/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.42.0)
|
3 |
+
Root-Is-Purelib: false
|
4 |
+
Tag: cp312-cp312-macosx_10_9_universal2
|
5 |
+
|
mini-dust3r/.venv/lib/python3.12/site-packages/MarkupSafe-2.1.5.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
markupsafe
|
mini-dust3r/.venv/lib/python3.12/site-packages/__pycache__/_virtualenv.cpython-312.pyc
ADDED
Binary file (4.27 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/__pycache__/isympy.cpython-312.pyc
ADDED
Binary file (11.1 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/__pycache__/typing_extensions.cpython-312.pyc
ADDED
Binary file (128 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/_virtualenv.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:69ac3d8f27e679c81b94ab30b3b56e9cd138219b1ba94a1fa3606d5a76a1433d
|
3 |
+
size 18
|
mini-dust3r/.venv/lib/python3.12/site-packages/_virtualenv.py
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""Patches that are applied at runtime to the virtual environment."""
|
2 |
+
|
3 |
+
from __future__ import annotations
|
4 |
+
|
5 |
+
import os
|
6 |
+
import sys
|
7 |
+
from contextlib import suppress
|
8 |
+
|
9 |
+
VIRTUALENV_PATCH_FILE = os.path.join(__file__)
|
10 |
+
|
11 |
+
|
12 |
+
def patch_dist(dist):
|
13 |
+
"""
|
14 |
+
Distutils allows user to configure some arguments via a configuration file:
|
15 |
+
https://docs.python.org/3/install/index.html#distutils-configuration-files.
|
16 |
+
|
17 |
+
Some of this arguments though don't make sense in context of the virtual environment files, let's fix them up.
|
18 |
+
""" # noqa: D205
|
19 |
+
# we cannot allow some install config as that would get packages installed outside of the virtual environment
|
20 |
+
old_parse_config_files = dist.Distribution.parse_config_files
|
21 |
+
|
22 |
+
def parse_config_files(self, *args, **kwargs):
|
23 |
+
result = old_parse_config_files(self, *args, **kwargs)
|
24 |
+
install = self.get_option_dict("install")
|
25 |
+
|
26 |
+
if "prefix" in install: # the prefix governs where to install the libraries
|
27 |
+
install["prefix"] = VIRTUALENV_PATCH_FILE, os.path.abspath(sys.prefix)
|
28 |
+
for base in ("purelib", "platlib", "headers", "scripts", "data"):
|
29 |
+
key = f"install_{base}"
|
30 |
+
if key in install: # do not allow global configs to hijack venv paths
|
31 |
+
install.pop(key, None)
|
32 |
+
return result
|
33 |
+
|
34 |
+
dist.Distribution.parse_config_files = parse_config_files
|
35 |
+
|
36 |
+
|
37 |
+
# Import hook that patches some modules to ignore configuration values that break package installation in case
|
38 |
+
# of virtual environments.
|
39 |
+
_DISTUTILS_PATCH = "distutils.dist", "setuptools.dist"
|
40 |
+
# https://docs.python.org/3/library/importlib.html#setting-up-an-importer
|
41 |
+
|
42 |
+
|
43 |
+
class _Finder:
|
44 |
+
"""A meta path finder that allows patching the imported distutils modules."""
|
45 |
+
|
46 |
+
fullname = None
|
47 |
+
|
48 |
+
# lock[0] is threading.Lock(), but initialized lazily to avoid importing threading very early at startup,
|
49 |
+
# because there are gevent-based applications that need to be first to import threading by themselves.
|
50 |
+
# See https://github.com/pypa/virtualenv/issues/1895 for details.
|
51 |
+
lock = [] # noqa: RUF012
|
52 |
+
|
53 |
+
def find_spec(self, fullname, path, target=None): # noqa: ARG002
|
54 |
+
if fullname in _DISTUTILS_PATCH and self.fullname is None:
|
55 |
+
# initialize lock[0] lazily
|
56 |
+
if len(self.lock) == 0:
|
57 |
+
import threading
|
58 |
+
|
59 |
+
lock = threading.Lock()
|
60 |
+
# there is possibility that two threads T1 and T2 are simultaneously running into find_spec,
|
61 |
+
# observing .lock as empty, and further going into hereby initialization. However due to the GIL,
|
62 |
+
# list.append() operation is atomic and this way only one of the threads will "win" to put the lock
|
63 |
+
# - that every thread will use - into .lock[0].
|
64 |
+
# https://docs.python.org/3/faq/library.html#what-kinds-of-global-value-mutation-are-thread-safe
|
65 |
+
self.lock.append(lock)
|
66 |
+
|
67 |
+
from functools import partial
|
68 |
+
from importlib.util import find_spec
|
69 |
+
|
70 |
+
with self.lock[0]:
|
71 |
+
self.fullname = fullname
|
72 |
+
try:
|
73 |
+
spec = find_spec(fullname, path)
|
74 |
+
if spec is not None:
|
75 |
+
# https://www.python.org/dev/peps/pep-0451/#how-loading-will-work
|
76 |
+
is_new_api = hasattr(spec.loader, "exec_module")
|
77 |
+
func_name = "exec_module" if is_new_api else "load_module"
|
78 |
+
old = getattr(spec.loader, func_name)
|
79 |
+
func = self.exec_module if is_new_api else self.load_module
|
80 |
+
if old is not func:
|
81 |
+
with suppress(AttributeError): # C-Extension loaders are r/o such as zipimporter with <3.7
|
82 |
+
setattr(spec.loader, func_name, partial(func, old))
|
83 |
+
return spec
|
84 |
+
finally:
|
85 |
+
self.fullname = None
|
86 |
+
return None
|
87 |
+
|
88 |
+
@staticmethod
|
89 |
+
def exec_module(old, module):
|
90 |
+
old(module)
|
91 |
+
if module.__name__ in _DISTUTILS_PATCH:
|
92 |
+
patch_dist(module)
|
93 |
+
|
94 |
+
@staticmethod
|
95 |
+
def load_module(old, name):
|
96 |
+
module = old(name)
|
97 |
+
if module.__name__ in _DISTUTILS_PATCH:
|
98 |
+
patch_dist(module)
|
99 |
+
return module
|
100 |
+
|
101 |
+
|
102 |
+
sys.meta_path.insert(0, _Finder())
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/METADATA
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.3
|
2 |
+
Name: filelock
|
3 |
+
Version: 3.14.0
|
4 |
+
Summary: A platform independent file lock.
|
5 |
+
Project-URL: Documentation, https://py-filelock.readthedocs.io
|
6 |
+
Project-URL: Homepage, https://github.com/tox-dev/py-filelock
|
7 |
+
Project-URL: Source, https://github.com/tox-dev/py-filelock
|
8 |
+
Project-URL: Tracker, https://github.com/tox-dev/py-filelock/issues
|
9 |
+
Maintainer-email: Bernát Gábor <[email protected]>
|
10 |
+
License-Expression: Unlicense
|
11 |
+
License-File: LICENSE
|
12 |
+
Keywords: application,cache,directory,log,user
|
13 |
+
Classifier: Development Status :: 5 - Production/Stable
|
14 |
+
Classifier: Intended Audience :: Developers
|
15 |
+
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
|
16 |
+
Classifier: Operating System :: OS Independent
|
17 |
+
Classifier: Programming Language :: Python
|
18 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
19 |
+
Classifier: Programming Language :: Python :: 3.8
|
20 |
+
Classifier: Programming Language :: Python :: 3.9
|
21 |
+
Classifier: Programming Language :: Python :: 3.10
|
22 |
+
Classifier: Programming Language :: Python :: 3.11
|
23 |
+
Classifier: Programming Language :: Python :: 3.12
|
24 |
+
Classifier: Topic :: Internet
|
25 |
+
Classifier: Topic :: Software Development :: Libraries
|
26 |
+
Classifier: Topic :: System
|
27 |
+
Requires-Python: >=3.8
|
28 |
+
Provides-Extra: docs
|
29 |
+
Requires-Dist: furo>=2023.9.10; extra == 'docs'
|
30 |
+
Requires-Dist: sphinx-autodoc-typehints!=1.23.4,>=1.25.2; extra == 'docs'
|
31 |
+
Requires-Dist: sphinx>=7.2.6; extra == 'docs'
|
32 |
+
Provides-Extra: testing
|
33 |
+
Requires-Dist: covdefaults>=2.3; extra == 'testing'
|
34 |
+
Requires-Dist: coverage>=7.3.2; extra == 'testing'
|
35 |
+
Requires-Dist: diff-cover>=8.0.1; extra == 'testing'
|
36 |
+
Requires-Dist: pytest-cov>=4.1; extra == 'testing'
|
37 |
+
Requires-Dist: pytest-mock>=3.12; extra == 'testing'
|
38 |
+
Requires-Dist: pytest-timeout>=2.2; extra == 'testing'
|
39 |
+
Requires-Dist: pytest>=7.4.3; extra == 'testing'
|
40 |
+
Provides-Extra: typing
|
41 |
+
Requires-Dist: typing-extensions>=4.8; (python_version < '3.11') and extra == 'typing'
|
42 |
+
Description-Content-Type: text/markdown
|
43 |
+
|
44 |
+
# filelock
|
45 |
+
|
46 |
+
[](https://pypi.org/project/filelock/)
|
47 |
+
[](https://pypi.org/project/filelock/)
|
49 |
+
[](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
|
51 |
+
[](https://github.com/psf/black)
|
53 |
+
[](https://pepy.tech/project/filelock)
|
54 |
+
[](https://github.com/tox-dev/py-filelock/actions/workflows/check.yml)
|
55 |
+
|
56 |
+
For more information checkout the [official documentation](https://py-filelock.readthedocs.io/en/latest/index.html).
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/RECORD
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
filelock-3.14.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
filelock-3.14.0.dist-info/METADATA,sha256=nSDS4Bqd1Rtvf-PB_bDjn0Dgu2kuL2GGCE1vM33KrlA,2792
|
3 |
+
filelock-3.14.0.dist-info/RECORD,,
|
4 |
+
filelock-3.14.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
5 |
+
filelock-3.14.0.dist-info/licenses/LICENSE,sha256=iNm062BXnBkew5HKBMFhMFctfu3EqG2qWL8oxuFMm80,1210
|
6 |
+
filelock/__init__.py,sha256=c_wPy9Fo0fmqE4V448Q2A2dDYnMTZeAVHX-kUoN3KCY,1214
|
7 |
+
filelock/__pycache__/__init__.cpython-312.pyc,,
|
8 |
+
filelock/__pycache__/_api.cpython-312.pyc,,
|
9 |
+
filelock/__pycache__/_error.cpython-312.pyc,,
|
10 |
+
filelock/__pycache__/_soft.cpython-312.pyc,,
|
11 |
+
filelock/__pycache__/_unix.cpython-312.pyc,,
|
12 |
+
filelock/__pycache__/_util.cpython-312.pyc,,
|
13 |
+
filelock/__pycache__/_windows.cpython-312.pyc,,
|
14 |
+
filelock/__pycache__/version.cpython-312.pyc,,
|
15 |
+
filelock/_api.py,sha256=YrQpa5D3mB5VTEUZ8DHO1REvVu-WWmFRYgNaV3e6jOg,13028
|
16 |
+
filelock/_error.py,sha256=-5jMcjTu60YAvAO1UbqDD1GIEjVkwr8xCFwDBtMeYDg,787
|
17 |
+
filelock/_soft.py,sha256=haqtc_TB_KJbYv2a8iuEAclKuM4fMG1vTcp28sK919c,1711
|
18 |
+
filelock/_unix.py,sha256=-FXP0tjInBHUYygOlMpp4taUmD87QOkrD_4ybg_iT7Q,2259
|
19 |
+
filelock/_util.py,sha256=QHBoNFIYfbAThhotH3Q8E2acFc84wpG49-T-uu017ZE,1715
|
20 |
+
filelock/_windows.py,sha256=eMKL8dZKrgekf5VYVGR14an29JGEInRtUO8ui9ABywg,2177
|
21 |
+
filelock/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22 |
+
filelock/version.py,sha256=Ipjekae6alpGZC2b94mJAE2S2ZyJybTBe3oNCWsIFS4,413
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: hatchling 1.24.2
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock-3.14.0.dist-info/licenses/LICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This is free and unencumbered software released into the public domain.
|
2 |
+
|
3 |
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
4 |
+
distribute this software, either in source code form or as a compiled
|
5 |
+
binary, for any purpose, commercial or non-commercial, and by any
|
6 |
+
means.
|
7 |
+
|
8 |
+
In jurisdictions that recognize copyright laws, the author or authors
|
9 |
+
of this software dedicate any and all copyright interest in the
|
10 |
+
software to the public domain. We make this dedication for the benefit
|
11 |
+
of the public at large and to the detriment of our heirs and
|
12 |
+
successors. We intend this dedication to be an overt act of
|
13 |
+
relinquishment in perpetuity of all present and future rights to this
|
14 |
+
software under copyright law.
|
15 |
+
|
16 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19 |
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
23 |
+
|
24 |
+
For more information, please refer to <http://unlicense.org>
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__init__.py
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
A platform independent file lock that supports the with-statement.
|
3 |
+
|
4 |
+
.. autodata:: filelock.__version__
|
5 |
+
:no-value:
|
6 |
+
|
7 |
+
"""
|
8 |
+
|
9 |
+
from __future__ import annotations
|
10 |
+
|
11 |
+
import sys
|
12 |
+
import warnings
|
13 |
+
from typing import TYPE_CHECKING
|
14 |
+
|
15 |
+
from ._api import AcquireReturnProxy, BaseFileLock
|
16 |
+
from ._error import Timeout
|
17 |
+
from ._soft import SoftFileLock
|
18 |
+
from ._unix import UnixFileLock, has_fcntl
|
19 |
+
from ._windows import WindowsFileLock
|
20 |
+
from .version import version
|
21 |
+
|
22 |
+
#: version of the project as a string
|
23 |
+
__version__: str = version
|
24 |
+
|
25 |
+
|
26 |
+
if sys.platform == "win32": # pragma: win32 cover
|
27 |
+
_FileLock: type[BaseFileLock] = WindowsFileLock
|
28 |
+
else: # pragma: win32 no cover # noqa: PLR5501
|
29 |
+
if has_fcntl:
|
30 |
+
_FileLock: type[BaseFileLock] = UnixFileLock
|
31 |
+
else:
|
32 |
+
_FileLock = SoftFileLock
|
33 |
+
if warnings is not None:
|
34 |
+
warnings.warn("only soft file lock is available", stacklevel=2)
|
35 |
+
|
36 |
+
if TYPE_CHECKING:
|
37 |
+
FileLock = SoftFileLock
|
38 |
+
else:
|
39 |
+
#: Alias for the lock, which should be used for the current platform.
|
40 |
+
FileLock = _FileLock
|
41 |
+
|
42 |
+
|
43 |
+
__all__ = [
|
44 |
+
"AcquireReturnProxy",
|
45 |
+
"BaseFileLock",
|
46 |
+
"FileLock",
|
47 |
+
"SoftFileLock",
|
48 |
+
"Timeout",
|
49 |
+
"UnixFileLock",
|
50 |
+
"WindowsFileLock",
|
51 |
+
"__version__",
|
52 |
+
]
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/__init__.cpython-312.pyc
ADDED
Binary file (1.24 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_api.cpython-312.pyc
ADDED
Binary file (15.3 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_error.cpython-312.pyc
ADDED
Binary file (1.78 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_soft.cpython-312.pyc
ADDED
Binary file (2.47 kB). View file
|
|
mini-dust3r/.venv/lib/python3.12/site-packages/filelock/__pycache__/_unix.cpython-312.pyc
ADDED
Binary file (3.41 kB). View file
|
|