Spaces:
Paused
Paused
Merge branch 'main' of https://huggingface.co/spaces/ttomy/proxy-lite-demo-v2
Browse files- .gitignore +177 -0
- .idea/.gitignore +14 -0
- .idea/libraries/my_test_package.xml +9 -0
- .idea/misc.xml +6 -0
- .idea/modules.xml +8 -0
- .idea/proxy-lite-demo-v2.iml +9 -0
- .idea/vcs.xml +6 -0
- src/proxy_lite/__pycache__/__init__.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/cli.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/client.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/gif_maker.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/history.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/logger.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/recorder.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/runner.cpython-313.pyc +0 -0
- src/proxy_lite/__pycache__/serializer.cpython-313.pyc +0 -0
- src/proxy_lite/agents/__pycache__/__init__.cpython-313.pyc +0 -0
- src/proxy_lite/agents/__pycache__/agent_base.cpython-313.pyc +0 -0
- src/proxy_lite/agents/__pycache__/proxy_lite_agent.cpython-313.pyc +0 -0
- src/proxy_lite/browser/__pycache__/__init__.cpython-313.pyc +0 -0
- src/proxy_lite/browser/__pycache__/bounding_boxes.cpython-313.pyc +0 -0
- src/proxy_lite/browser/__pycache__/browser.cpython-313.pyc +0 -0
- src/proxy_lite/environments/__pycache__/__init__.cpython-313.pyc +0 -0
- src/proxy_lite/environments/__pycache__/environment_base.cpython-313.pyc +0 -0
- src/proxy_lite/environments/__pycache__/webbrowser.cpython-313.pyc +0 -0
- src/proxy_lite/solvers/__pycache__/__init__.cpython-313.pyc +0 -0
- src/proxy_lite/solvers/__pycache__/simple_solver.cpython-313.pyc +0 -0
- src/proxy_lite/solvers/__pycache__/solver_base.cpython-313.pyc +0 -0
- src/proxy_lite/tools/__pycache__/__init__.cpython-313.pyc +0 -0
- src/proxy_lite/tools/__pyc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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Byte-compiled / optimized / DLL files
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[cod]
|
| 4 |
+
*$py.class
|
| 5 |
+
|
| 6 |
+
# C extensions
|
| 7 |
+
*.so
|
| 8 |
+
|
| 9 |
+
# Distribution / packaging
|
| 10 |
+
.Python
|
| 11 |
+
build/
|
| 12 |
+
develop-eggs/
|
| 13 |
+
dist/
|
| 14 |
+
downloads/
|
| 15 |
+
eggs/
|
| 16 |
+
.eggs/
|
| 17 |
+
lib/
|
| 18 |
+
lib64/
|
| 19 |
+
parts/
|
| 20 |
+
sdist/
|
| 21 |
+
var/
|
| 22 |
+
wheels/
|
| 23 |
+
share/python-wheels/
|
| 24 |
+
*.egg-info/
|
| 25 |
+
.installed.cfg
|
| 26 |
+
*.egg
|
| 27 |
+
MANIFEST
|
| 28 |
+
|
| 29 |
+
# PyInstaller
|
| 30 |
+
# Usually these files are written by a python script from a template
|
| 31 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
| 32 |
+
*.manifest
|
| 33 |
+
*.spec
|
| 34 |
+
|
| 35 |
+
# Installer logs
|
| 36 |
+
pip-log.txt
|
| 37 |
+
pip-delete-this-directory.txt
|
| 38 |
+
|
| 39 |
+
# Unit test / coverage reports
|
| 40 |
+
htmlcov/
|
| 41 |
+
.tox/
|
| 42 |
+
.nox/
|
| 43 |
+
.coverage
|
| 44 |
+
.coverage.*
|
| 45 |
+
.cache
|
| 46 |
+
nosetests.xml
|
| 47 |
+
coverage.xml
|
| 48 |
+
*.cover
|
| 49 |
+
*.py,cover
|
| 50 |
+
.hypothesis/
|
| 51 |
+
.pytest_cache/
|
| 52 |
+
cover/
|
| 53 |
+
|
| 54 |
+
# Translations
|
| 55 |
+
*.mo
|
| 56 |
+
*.pot
|
| 57 |
+
|
| 58 |
+
# Django stuff:
|
| 59 |
+
*.log
|
| 60 |
+
local_settings.py
|
| 61 |
+
db.sqlite3
|
| 62 |
+
db.sqlite3-journal
|
| 63 |
+
|
| 64 |
+
# Flask stuff:
|
| 65 |
+
instance/
|
| 66 |
+
.webassets-cache
|
| 67 |
+
|
| 68 |
+
# Scrapy stuff:
|
| 69 |
+
.scrapy
|
| 70 |
+
|
| 71 |
+
# Sphinx documentation
|
| 72 |
+
docs/_build/
|
| 73 |
+
|
| 74 |
+
# PyBuilder
|
| 75 |
+
.pybuilder/
|
| 76 |
+
target/
|
| 77 |
+
|
| 78 |
+
# Jupyter Notebook
|
| 79 |
+
.ipynb_checkpoints
|
| 80 |
+
|
| 81 |
+
# IPython
|
| 82 |
+
profile_default/
|
| 83 |
+
ipython_config.py
|
| 84 |
+
|
| 85 |
+
# pyenv
|
| 86 |
+
# For a library or package, you might want to ignore these files since the code is
|
| 87 |
+
# intended to run in multiple environments; otherwise, check them in:
|
| 88 |
+
# .python-version
|
| 89 |
+
|
| 90 |
+
# pipenv
|
| 91 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
| 92 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
| 93 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
| 94 |
+
# install all needed dependencies.
|
| 95 |
+
#Pipfile.lock
|
| 96 |
+
|
| 97 |
+
# UV
|
| 98 |
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
| 99 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
| 100 |
+
# commonly ignored for libraries.
|
| 101 |
+
#uv.lock
|
| 102 |
+
|
| 103 |
+
# poetry
|
| 104 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
| 105 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
| 106 |
+
# commonly ignored for libraries.
|
| 107 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
| 108 |
+
#poetry.lock
|
| 109 |
+
|
| 110 |
+
# pdm
|
| 111 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
| 112 |
+
#pdm.lock
|
| 113 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
| 114 |
+
# in version control.
|
| 115 |
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
| 116 |
+
.pdm.toml
|
| 117 |
+
.pdm-python
|
| 118 |
+
.pdm-build/
|
| 119 |
+
|
| 120 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
| 121 |
+
__pypackages__/
|
| 122 |
+
|
| 123 |
+
# Celery stuff
|
| 124 |
+
celerybeat-schedule
|
| 125 |
+
celerybeat.pid
|
| 126 |
+
|
| 127 |
+
# SageMath parsed files
|
| 128 |
+
*.sage.py
|
| 129 |
+
|
| 130 |
+
# Environments
|
| 131 |
+
.env
|
| 132 |
+
.venv
|
| 133 |
+
env/
|
| 134 |
+
venv/
|
| 135 |
+
ENV/
|
| 136 |
+
env.bak/
|
| 137 |
+
venv.bak/
|
| 138 |
+
|
| 139 |
+
# Spyder project settings
|
| 140 |
+
.spyderproject
|
| 141 |
+
.spyproject
|
| 142 |
+
|
| 143 |
+
# Rope project settings
|
| 144 |
+
.ropeproject
|
| 145 |
+
|
| 146 |
+
# mkdocs documentation
|
| 147 |
+
/site
|
| 148 |
+
|
| 149 |
+
# mypy
|
| 150 |
+
.mypy_cache/
|
| 151 |
+
.dmypy.json
|
| 152 |
+
dmypy.json
|
| 153 |
+
|
| 154 |
+
# Pyre type checker
|
| 155 |
+
.pyre/
|
| 156 |
+
|
| 157 |
+
# pytype static type analyzer
|
| 158 |
+
.pytype/
|
| 159 |
+
|
| 160 |
+
# Cython debug symbols
|
| 161 |
+
cython_debug/
|
| 162 |
+
|
| 163 |
+
# PyCharm
|
| 164 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
| 165 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
| 166 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
| 167 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
| 168 |
+
#.idea/
|
| 169 |
+
|
| 170 |
+
# PyPI configuration file
|
| 171 |
+
.pypirc
|
| 172 |
+
|
| 173 |
+
logs/
|
| 174 |
+
local_trajectories/
|
| 175 |
+
screenshots/
|
| 176 |
+
gifs/
|
| 177 |
+
.DS_Store
|
.idea/.gitignore
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Default ignored files
|
| 2 |
+
/shelf/
|
| 3 |
+
/workspace.xml
|
| 4 |
+
# Editor-based HTTP Client requests
|
| 5 |
+
/httpRequests/
|
| 6 |
+
# Environment-dependent path to Maven home directory
|
| 7 |
+
/mavenHomeManager.xml
|
| 8 |
+
# Datasource local storage ignored files
|
| 9 |
+
/dataSources/
|
| 10 |
+
/dataSources.local.xml
|
| 11 |
+
# Core Dev Booster ignored files
|
| 12 |
+
/compile.flag
|
| 13 |
+
/coreModuleDependants.csv
|
| 14 |
+
/.mavenCleaned
|
.idea/libraries/my_test_package.xml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<component name="libraryTable">
|
| 2 |
+
<library name="my-test-package">
|
| 3 |
+
<CLASSES>
|
| 4 |
+
<root url="jar://$PROJECT_DIR$/venv/lib/python3.13/site-packages/pkg_resources/tests/data/my-test-package-zip/my-test-package.zip!/" />
|
| 5 |
+
</CLASSES>
|
| 6 |
+
<JAVADOC />
|
| 7 |
+
<SOURCES />
|
| 8 |
+
</library>
|
| 9 |
+
</component>
|
.idea/misc.xml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<project version="4">
|
| 3 |
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_24" default="true" project-jdk-name="24" project-jdk-type="JavaSDK">
|
| 4 |
+
<output url="file://$PROJECT_DIR$/out" />
|
| 5 |
+
</component>
|
| 6 |
+
</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/proxy-lite-demo-v2.iml" filepath="$PROJECT_DIR$/.idea/proxy-lite-demo-v2.iml" />
|
| 6 |
+
</modules>
|
| 7 |
+
</component>
|
| 8 |
+
</project>
|
.idea/proxy-lite-demo-v2.iml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<module type="JAVA_MODULE" version="4">
|
| 3 |
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
| 4 |
+
<exclude-output />
|
| 5 |
+
<content url="file://$MODULE_DIR$" />
|
| 6 |
+
<orderEntry type="inheritedJdk" />
|
| 7 |
+
<orderEntry type="sourceFolder" forTests="false" />
|
| 8 |
+
</component>
|
| 9 |
+
</module>
|
.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="" vcs="Git" />
|
| 5 |
+
</component>
|
| 6 |
+
</project>
|
src/proxy_lite/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (258 Bytes)
|
|
|
src/proxy_lite/__pycache__/cli.cpython-313.pyc
DELETED
|
Binary file (5.59 kB)
|
|
|
src/proxy_lite/__pycache__/client.cpython-313.pyc
DELETED
|
Binary file (9.28 kB)
|
|
|
src/proxy_lite/__pycache__/gif_maker.cpython-313.pyc
DELETED
|
Binary file (6.39 kB)
|
|
|
src/proxy_lite/__pycache__/history.cpython-313.pyc
DELETED
|
Binary file (10.5 kB)
|
|
|
src/proxy_lite/__pycache__/logger.cpython-313.pyc
DELETED
|
Binary file (3.56 kB)
|
|
|
src/proxy_lite/__pycache__/recorder.cpython-313.pyc
DELETED
|
Binary file (6.73 kB)
|
|
|
src/proxy_lite/__pycache__/runner.cpython-313.pyc
DELETED
|
Binary file (14.7 kB)
|
|
|
src/proxy_lite/__pycache__/serializer.cpython-313.pyc
DELETED
|
Binary file (3.04 kB)
|
|
|
src/proxy_lite/agents/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (758 Bytes)
|
|
|
src/proxy_lite/agents/__pycache__/agent_base.cpython-313.pyc
DELETED
|
Binary file (12.8 kB)
|
|
|
src/proxy_lite/agents/__pycache__/proxy_lite_agent.cpython-313.pyc
DELETED
|
Binary file (3.63 kB)
|
|
|
src/proxy_lite/browser/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (166 Bytes)
|
|
|
src/proxy_lite/browser/__pycache__/bounding_boxes.cpython-313.pyc
DELETED
|
Binary file (8.86 kB)
|
|
|
src/proxy_lite/browser/__pycache__/browser.cpython-313.pyc
DELETED
|
Binary file (30.3 kB)
|
|
|
src/proxy_lite/environments/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (924 Bytes)
|
|
|
src/proxy_lite/environments/__pycache__/environment_base.cpython-313.pyc
DELETED
|
Binary file (8.85 kB)
|
|
|
src/proxy_lite/environments/__pycache__/webbrowser.cpython-313.pyc
DELETED
|
Binary file (12.2 kB)
|
|
|
src/proxy_lite/solvers/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (767 Bytes)
|
|
|
src/proxy_lite/solvers/__pycache__/simple_solver.cpython-313.pyc
DELETED
|
Binary file (6.69 kB)
|
|
|
src/proxy_lite/solvers/__pycache__/solver_base.cpython-313.pyc
DELETED
|
Binary file (5.82 kB)
|
|
|
src/proxy_lite/tools/__pycache__/__init__.cpython-313.pyc
DELETED
|
Binary file (420 Bytes)
|
|
|
src/proxy_lite/tools/__pycache__/browser_tool.cpython-313.pyc
DELETED
|
Binary file (17.3 kB)
|
|
|
src/proxy_lite/tools/__pycache__/return_tool.cpython-313.pyc
DELETED
|
Binary file (1.39 kB)
|
|
|
src/proxy_lite/tools/__pycache__/tool_base.cpython-313.pyc
DELETED
|
Binary file (3.3 kB)
|
|
|