anything-v3.5
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .cache/pip/http/1/e/b/b/e/1ebbeab65aa7ff9aee5556962ca09463acf5572da69862f5dee21a03 +0 -0
- .cache/pip/http/2/4/0/c/6/240c64a7d4b874a8ad7a9d229bb3e2112f13d5020287eeb9232cfad9 +0 -0
- .cache/pip/http/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d +0 -0
- .cache/pip/http/6/c/b/b/3/6cbb3631113b4b5f721ede6a26a99dc77b286db1b7f16ead421465ef +0 -0
- .cache/pip/http/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6 +0 -0
- .cache/pip/http/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a +0 -0
- .cache/pip/http/b/8/6/2/6/b862637a242a4033f1ba3be874e038f3a95ab29277da4c878f7c162d +0 -0
- .cache/pip/http/c/0/7/a/c/c07ac6a1aa0164987344a1c80a6a257cfc0226cd38d7ea2ca95dbf37 +0 -0
- .cache/pip/http/c/0/e/8/5/c0e854830132b4466a4ad702e2f7168f1253a791e391b297676ef2cd +0 -0
- .cache/pip/selfcheck/241e69162522ccf5846a2f42ebc24b17464915a155679666b89a9f31 +1 -0
- .gitattributes +1 -0
- .local/bin/huggingface-cli +8 -0
- .local/bin/tqdm +8 -0
- .local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/INSTALLER +1 -0
- .local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/LICENSE +20 -0
- .local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/METADATA +46 -0
- .local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/RECORD +43 -0
- .local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/WHEEL +8 -0
- .local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/top_level.txt +2 -0
- .local/lib/python3.10/site-packages/_yaml/__init__.py +33 -0
- .local/lib/python3.10/site-packages/_yaml/__pycache__/__init__.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/INSTALLER +1 -0
- .local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/METADATA +47 -0
- .local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/RECORD +22 -0
- .local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/WHEEL +4 -0
- .local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/licenses/LICENSE +24 -0
- .local/lib/python3.10/site-packages/filelock/__init__.py +52 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/__init__.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/_api.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/_error.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/_soft.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/_unix.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/_util.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/_windows.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/__pycache__/version.cpython-310.pyc +0 -0
- .local/lib/python3.10/site-packages/filelock/_api.py +246 -0
- .local/lib/python3.10/site-packages/filelock/_error.py +17 -0
- .local/lib/python3.10/site-packages/filelock/_soft.py +47 -0
- .local/lib/python3.10/site-packages/filelock/_unix.py +56 -0
- .local/lib/python3.10/site-packages/filelock/_util.py +20 -0
- .local/lib/python3.10/site-packages/filelock/_windows.py +63 -0
- .local/lib/python3.10/site-packages/filelock/py.typed +0 -0
- .local/lib/python3.10/site-packages/filelock/version.py +4 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/INSTALLER +1 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/LICENSE +201 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/METADATA +150 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/RECORD +104 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/REQUESTED +0 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/WHEEL +5 -0
- .local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/entry_points.txt +3 -0
.cache/pip/http/1/e/b/b/e/1ebbeab65aa7ff9aee5556962ca09463acf5572da69862f5dee21a03
ADDED
Binary file (79.6 kB). View file
|
|
.cache/pip/http/2/4/0/c/6/240c64a7d4b874a8ad7a9d229bb3e2112f13d5020287eeb9232cfad9
ADDED
Binary file (184 kB). View file
|
|
.cache/pip/http/3/8/6/0/e/3860e4de9ae53c79d2fd61419e9049df314ccc8b640782c02c6e2e2d
ADDED
Binary file (28.1 kB). View file
|
|
.cache/pip/http/6/c/b/b/3/6cbb3631113b4b5f721ede6a26a99dc77b286db1b7f16ead421465ef
ADDED
Binary file (10.9 kB). View file
|
|
.cache/pip/http/9/0/6/7/9/906797ab7b3f56fdd856b186be66ce1ad5fb99862a404c1091a707b6
ADDED
Binary file (11 kB). View file
|
|
.cache/pip/http/a/1/9/5/3/a19537d3cf37c122db841d6fe4cd322bc10d1a558bb00d146b85cb9a
ADDED
Binary file (21.7 kB). View file
|
|
.cache/pip/http/b/8/6/2/6/b862637a242a4033f1ba3be874e038f3a95ab29277da4c878f7c162d
ADDED
Binary file (33.3 kB). View file
|
|
.cache/pip/http/c/0/7/a/c/c07ac6a1aa0164987344a1c80a6a257cfc0226cd38d7ea2ca95dbf37
ADDED
Binary file (683 kB). View file
|
|
.cache/pip/http/c/0/e/8/5/c0e854830132b4466a4ad702e2f7168f1253a791e391b297676ef2cd
ADDED
Binary file (7.46 kB). View file
|
|
.cache/pip/selfcheck/241e69162522ccf5846a2f42ebc24b17464915a155679666b89a9f31
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"key":"/usr","last_check":"2023-01-24T03:44:36Z","pypi_version":"22.3.1"}
|
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
.local/lib/python3.10/site-packages/yaml/_yaml.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
.local/bin/huggingface-cli
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/python3
|
2 |
+
# -*- coding: utf-8 -*-
|
3 |
+
import re
|
4 |
+
import sys
|
5 |
+
from huggingface_hub.commands.huggingface_cli import main
|
6 |
+
if __name__ == '__main__':
|
7 |
+
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
8 |
+
sys.exit(main())
|
.local/bin/tqdm
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/python3
|
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())
|
.local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
.local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2017-2021 Ingy döt Net
|
2 |
+
Copyright (c) 2006-2016 Kirill Simonov
|
3 |
+
|
4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5 |
+
this software and associated documentation files (the "Software"), to deal in
|
6 |
+
the Software without restriction, including without limitation the rights to
|
7 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
8 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
9 |
+
so, subject to the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be included in all
|
12 |
+
copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
20 |
+
SOFTWARE.
|
.local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/METADATA
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: PyYAML
|
3 |
+
Version: 6.0
|
4 |
+
Summary: YAML parser and emitter for Python
|
5 |
+
Home-page: https://pyyaml.org/
|
6 |
+
Author: Kirill Simonov
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: MIT
|
9 |
+
Download-URL: https://pypi.org/project/PyYAML/
|
10 |
+
Project-URL: Bug Tracker, https://github.com/yaml/pyyaml/issues
|
11 |
+
Project-URL: CI, https://github.com/yaml/pyyaml/actions
|
12 |
+
Project-URL: Documentation, https://pyyaml.org/wiki/PyYAMLDocumentation
|
13 |
+
Project-URL: Mailing lists, http://lists.sourceforge.net/lists/listinfo/yaml-core
|
14 |
+
Project-URL: Source Code, https://github.com/yaml/pyyaml
|
15 |
+
Platform: Any
|
16 |
+
Classifier: Development Status :: 5 - Production/Stable
|
17 |
+
Classifier: Intended Audience :: Developers
|
18 |
+
Classifier: License :: OSI Approved :: MIT License
|
19 |
+
Classifier: Operating System :: OS Independent
|
20 |
+
Classifier: Programming Language :: Cython
|
21 |
+
Classifier: Programming Language :: Python
|
22 |
+
Classifier: Programming Language :: Python :: 3
|
23 |
+
Classifier: Programming Language :: Python :: 3.6
|
24 |
+
Classifier: Programming Language :: Python :: 3.7
|
25 |
+
Classifier: Programming Language :: Python :: 3.8
|
26 |
+
Classifier: Programming Language :: Python :: 3.9
|
27 |
+
Classifier: Programming Language :: Python :: 3.10
|
28 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
29 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
30 |
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
31 |
+
Classifier: Topic :: Text Processing :: Markup
|
32 |
+
Requires-Python: >=3.6
|
33 |
+
License-File: LICENSE
|
34 |
+
|
35 |
+
YAML is a data serialization format designed for human readability
|
36 |
+
and interaction with scripting languages. PyYAML is a YAML parser
|
37 |
+
and emitter for Python.
|
38 |
+
|
39 |
+
PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
|
40 |
+
support, capable extension API, and sensible error messages. PyYAML
|
41 |
+
supports standard YAML tags and provides Python-specific tags that
|
42 |
+
allow to represent an arbitrary Python object.
|
43 |
+
|
44 |
+
PyYAML is applicable for a broad range of tasks from complex
|
45 |
+
configuration files to object serialization and persistence.
|
46 |
+
|
.local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/RECORD
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
PyYAML-6.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
PyYAML-6.0.dist-info/LICENSE,sha256=jTko-dxEkP1jVwfLiOsmvXZBAqcoKVQwfT5RZ6V36KQ,1101
|
3 |
+
PyYAML-6.0.dist-info/METADATA,sha256=QmHx9kGp_0yezQCXYaft4eEFeJ6W4oyFfYwHDLP1kdg,2006
|
4 |
+
PyYAML-6.0.dist-info/RECORD,,
|
5 |
+
PyYAML-6.0.dist-info/WHEEL,sha256=gn97LKY8yapDq5WrPM24dc0-MAPY7hOCxJGLaGdibEk,225
|
6 |
+
PyYAML-6.0.dist-info/top_level.txt,sha256=rpj0IVMTisAjh_1vG3Ccf9v5jpCQwAz6cD1IVU5ZdhQ,11
|
7 |
+
_yaml/__init__.py,sha256=04Ae_5osxahpJHa3XBZUAf4wi6XX32gR8D6X6p64GEA,1402
|
8 |
+
_yaml/__pycache__/__init__.cpython-310.pyc,,
|
9 |
+
yaml/__init__.py,sha256=NDS7S8XgA72-hY6LRmGzUWTPvzGzjWVrWk-OGA-77AA,12309
|
10 |
+
yaml/__pycache__/__init__.cpython-310.pyc,,
|
11 |
+
yaml/__pycache__/composer.cpython-310.pyc,,
|
12 |
+
yaml/__pycache__/constructor.cpython-310.pyc,,
|
13 |
+
yaml/__pycache__/cyaml.cpython-310.pyc,,
|
14 |
+
yaml/__pycache__/dumper.cpython-310.pyc,,
|
15 |
+
yaml/__pycache__/emitter.cpython-310.pyc,,
|
16 |
+
yaml/__pycache__/error.cpython-310.pyc,,
|
17 |
+
yaml/__pycache__/events.cpython-310.pyc,,
|
18 |
+
yaml/__pycache__/loader.cpython-310.pyc,,
|
19 |
+
yaml/__pycache__/nodes.cpython-310.pyc,,
|
20 |
+
yaml/__pycache__/parser.cpython-310.pyc,,
|
21 |
+
yaml/__pycache__/reader.cpython-310.pyc,,
|
22 |
+
yaml/__pycache__/representer.cpython-310.pyc,,
|
23 |
+
yaml/__pycache__/resolver.cpython-310.pyc,,
|
24 |
+
yaml/__pycache__/scanner.cpython-310.pyc,,
|
25 |
+
yaml/__pycache__/serializer.cpython-310.pyc,,
|
26 |
+
yaml/__pycache__/tokens.cpython-310.pyc,,
|
27 |
+
yaml/_yaml.cpython-310-x86_64-linux-gnu.so,sha256=RsHkV2bQtRQWNALoJ8O3V0nq2GceRCbMSh4hIkd4QZQ,2165840
|
28 |
+
yaml/composer.py,sha256=_Ko30Wr6eDWUeUpauUGT3Lcg9QPBnOPVlTnIMRGJ9FM,4883
|
29 |
+
yaml/constructor.py,sha256=kNgkfaeLUkwQYY_Q6Ff1Tz2XVw_pG1xVE9Ak7z-viLA,28639
|
30 |
+
yaml/cyaml.py,sha256=6ZrAG9fAYvdVe2FK_w0hmXoG7ZYsoYUwapG8CiC72H0,3851
|
31 |
+
yaml/dumper.py,sha256=PLctZlYwZLp7XmeUdwRuv4nYOZ2UBnDIUy8-lKfLF-o,2837
|
32 |
+
yaml/emitter.py,sha256=jghtaU7eFwg31bG0B7RZea_29Adi9CKmXq_QjgQpCkQ,43006
|
33 |
+
yaml/error.py,sha256=Ah9z-toHJUbE9j-M8YpxgSRM5CgLCcwVzJgLLRF2Fxo,2533
|
34 |
+
yaml/events.py,sha256=50_TksgQiE4up-lKo_V-nBy-tAIxkIPQxY5qDhKCeHw,2445
|
35 |
+
yaml/loader.py,sha256=UVa-zIqmkFSCIYq_PgSGm4NSJttHY2Rf_zQ4_b1fHN0,2061
|
36 |
+
yaml/nodes.py,sha256=gPKNj8pKCdh2d4gr3gIYINnPOaOxGhJAUiYhGRnPE84,1440
|
37 |
+
yaml/parser.py,sha256=ilWp5vvgoHFGzvOZDItFoGjD6D42nhlZrZyjAwa0oJo,25495
|
38 |
+
yaml/reader.py,sha256=0dmzirOiDG4Xo41RnuQS7K9rkY3xjHiVasfDMNTqCNw,6794
|
39 |
+
yaml/representer.py,sha256=IuWP-cAW9sHKEnS0gCqSa894k1Bg4cgTxaDwIcbRQ-Y,14190
|
40 |
+
yaml/resolver.py,sha256=9L-VYfm4mWHxUD1Vg4X7rjDRK_7VZd6b92wzq7Y2IKY,9004
|
41 |
+
yaml/scanner.py,sha256=YEM3iLZSaQwXcQRg2l2R4MdT0zGP2F9eHkKGKnHyWQY,51279
|
42 |
+
yaml/serializer.py,sha256=ChuFgmhU01hj4xgI8GaKv6vfM2Bujwa9i7d2FAHj7cA,4165
|
43 |
+
yaml/tokens.py,sha256=lTQIzSVw8Mg9wv459-TjiOQe6wVziqaRlqX2_89rp54,2573
|
.local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.37.0)
|
3 |
+
Root-Is-Purelib: false
|
4 |
+
Tag: cp310-cp310-manylinux_2_5_x86_64
|
5 |
+
Tag: cp310-cp310-manylinux1_x86_64
|
6 |
+
Tag: cp310-cp310-manylinux_2_12_x86_64
|
7 |
+
Tag: cp310-cp310-manylinux2010_x86_64
|
8 |
+
|
.local/lib/python3.10/site-packages/PyYAML-6.0.dist-info/top_level.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
_yaml
|
2 |
+
yaml
|
.local/lib/python3.10/site-packages/_yaml/__init__.py
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This is a stub package designed to roughly emulate the _yaml
|
2 |
+
# extension module, which previously existed as a standalone module
|
3 |
+
# and has been moved into the `yaml` package namespace.
|
4 |
+
# It does not perfectly mimic its old counterpart, but should get
|
5 |
+
# close enough for anyone who's relying on it even when they shouldn't.
|
6 |
+
import yaml
|
7 |
+
|
8 |
+
# in some circumstances, the yaml module we imoprted may be from a different version, so we need
|
9 |
+
# to tread carefully when poking at it here (it may not have the attributes we expect)
|
10 |
+
if not getattr(yaml, '__with_libyaml__', False):
|
11 |
+
from sys import version_info
|
12 |
+
|
13 |
+
exc = ModuleNotFoundError if version_info >= (3, 6) else ImportError
|
14 |
+
raise exc("No module named '_yaml'")
|
15 |
+
else:
|
16 |
+
from yaml._yaml import *
|
17 |
+
import warnings
|
18 |
+
warnings.warn(
|
19 |
+
'The _yaml extension module is now located at yaml._yaml'
|
20 |
+
' and its location is subject to change. To use the'
|
21 |
+
' LibYAML-based parser and emitter, import from `yaml`:'
|
22 |
+
' `from yaml import CLoader as Loader, CDumper as Dumper`.',
|
23 |
+
DeprecationWarning
|
24 |
+
)
|
25 |
+
del warnings
|
26 |
+
# Don't `del yaml` here because yaml is actually an existing
|
27 |
+
# namespace member of _yaml.
|
28 |
+
|
29 |
+
__name__ = '_yaml'
|
30 |
+
# If the module is top-level (i.e. not a part of any specific package)
|
31 |
+
# then the attribute should be set to ''.
|
32 |
+
# https://docs.python.org/3.8/library/types.html
|
33 |
+
__package__ = ''
|
.local/lib/python3.10/site-packages/_yaml/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (724 Bytes). View file
|
|
.local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
.local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/METADATA
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: filelock
|
3 |
+
Version: 3.9.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-File: LICENSE
|
11 |
+
Keywords: application,cache,directory,log,user
|
12 |
+
Classifier: Development Status :: 5 - Production/Stable
|
13 |
+
Classifier: Intended Audience :: Developers
|
14 |
+
Classifier: License :: OSI Approved :: The Unlicense (Unlicense)
|
15 |
+
Classifier: Operating System :: OS Independent
|
16 |
+
Classifier: Programming Language :: Python
|
17 |
+
Classifier: Programming Language :: Python :: 3
|
18 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
19 |
+
Classifier: Topic :: Internet
|
20 |
+
Classifier: Topic :: Software Development :: Libraries
|
21 |
+
Classifier: Topic :: System
|
22 |
+
Requires-Python: >=3.7
|
23 |
+
Provides-Extra: docs
|
24 |
+
Requires-Dist: furo>=2022.12.7; extra == 'docs'
|
25 |
+
Requires-Dist: sphinx-autodoc-typehints>=1.19.5; extra == 'docs'
|
26 |
+
Requires-Dist: sphinx>=5.3; extra == 'docs'
|
27 |
+
Provides-Extra: testing
|
28 |
+
Requires-Dist: covdefaults>=2.2.2; extra == 'testing'
|
29 |
+
Requires-Dist: coverage>=7.0.1; extra == 'testing'
|
30 |
+
Requires-Dist: pytest-cov>=4; extra == 'testing'
|
31 |
+
Requires-Dist: pytest-timeout>=2.1; extra == 'testing'
|
32 |
+
Requires-Dist: pytest>=7.2; extra == 'testing'
|
33 |
+
Description-Content-Type: text/markdown
|
34 |
+
|
35 |
+
# py-filelock
|
36 |
+
|
37 |
+
[![PyPI](https://img.shields.io/pypi/v/filelock)](https://pypi.org/project/filelock/)
|
38 |
+
[![Supported Python
|
39 |
+
versions](https://img.shields.io/pypi/pyversions/filelock.svg)](https://pypi.org/project/filelock/)
|
40 |
+
[![Documentation
|
41 |
+
status](https://readthedocs.org/projects/py-filelock/badge/?version=latest)](https://py-filelock.readthedocs.io/en/latest/?badge=latest)
|
42 |
+
[![Code style:
|
43 |
+
black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
|
44 |
+
[![Downloads](https://pepy.tech/badge/filelock/month)](https://pepy.tech/project/filelock/month)
|
45 |
+
[![check](https://github.com/tox-dev/py-filelock/actions/workflows/check.yml/badge.svg)](https://github.com/tox-dev/py-filelock/actions/workflows/check.yml)
|
46 |
+
|
47 |
+
For more information checkout the [official documentation](https://py-filelock.readthedocs.io/en/latest/index.html).
|
.local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/RECORD
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
filelock-3.9.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
filelock-3.9.0.dist-info/METADATA,sha256=4g57vwoD4oLdGUZ7sWFBzuGgrRw49BTQNHVm2GchOr8,2329
|
3 |
+
filelock-3.9.0.dist-info/RECORD,,
|
4 |
+
filelock-3.9.0.dist-info/WHEEL,sha256=NaLmgHHW_f9jTvv_wRh9vcK7c7EK9o5fwsIXMOzoGgM,87
|
5 |
+
filelock-3.9.0.dist-info/licenses/LICENSE,sha256=iNm062BXnBkew5HKBMFhMFctfu3EqG2qWL8oxuFMm80,1210
|
6 |
+
filelock/__init__.py,sha256=faxkZA3vcouNv9jkORSXWkjoSqO1oPsyi6_izCgE8Tw,1315
|
7 |
+
filelock/__pycache__/__init__.cpython-310.pyc,,
|
8 |
+
filelock/__pycache__/_api.cpython-310.pyc,,
|
9 |
+
filelock/__pycache__/_error.cpython-310.pyc,,
|
10 |
+
filelock/__pycache__/_soft.cpython-310.pyc,,
|
11 |
+
filelock/__pycache__/_unix.cpython-310.pyc,,
|
12 |
+
filelock/__pycache__/_util.cpython-310.pyc,,
|
13 |
+
filelock/__pycache__/_windows.cpython-310.pyc,,
|
14 |
+
filelock/__pycache__/version.cpython-310.pyc,,
|
15 |
+
filelock/_api.py,sha256=n66L3nFuqMCa-WRflz2oz-24q30aXVyBZ1_mhh-GBIs,8896
|
16 |
+
filelock/_error.py,sha256=Gaxp2TfdmgdvYFkllGCBOE37vYIXnHKKW3RYfKH7DYM,399
|
17 |
+
filelock/_soft.py,sha256=rSpmt4Oi0Eb4JeKzyWImeqf5MYCJR0Dyc_kUN3kHj7Y,1650
|
18 |
+
filelock/_unix.py,sha256=gM4-5mqDtamGp5qwWkaZNSTuv9p7vwBa4diVmI1ZBwQ,1578
|
19 |
+
filelock/_util.py,sha256=BZKOAYTQdmcHmF34-Ft4kMdEvk3a8NGtsAhe6kfxZuU,594
|
20 |
+
filelock/_windows.py,sha256=wvg-_SfJEDyxDeDVH8wBqxbPquXaycoYXgXJOBmm-G4,1890
|
21 |
+
filelock/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22 |
+
filelock/version.py,sha256=dcWkZ8mPGAgApojINeseg-iJIp1hYz0eDxjT8AZ_6KY,160
|
.local/lib/python3.10/site-packages/filelock-3.9.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: hatchling 1.11.1
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
.local/lib/python3.10/site-packages/filelock-3.9.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>
|
.local/lib/python3.10/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 |
+
from __future__ import annotations
|
9 |
+
|
10 |
+
import sys
|
11 |
+
import warnings
|
12 |
+
from typing import TYPE_CHECKING
|
13 |
+
|
14 |
+
from ._api import AcquireReturnProxy, BaseFileLock
|
15 |
+
from ._error import Timeout
|
16 |
+
from ._soft import SoftFileLock
|
17 |
+
from ._unix import UnixFileLock, has_fcntl
|
18 |
+
from ._windows import WindowsFileLock
|
19 |
+
from .version import version
|
20 |
+
|
21 |
+
#: version of the project as a string
|
22 |
+
__version__: str = version
|
23 |
+
|
24 |
+
|
25 |
+
if sys.platform == "win32": # pragma: win32 cover
|
26 |
+
_FileLock: type[BaseFileLock] = WindowsFileLock
|
27 |
+
else: # pragma: win32 no cover
|
28 |
+
if has_fcntl:
|
29 |
+
_FileLock: type[BaseFileLock] = UnixFileLock
|
30 |
+
else:
|
31 |
+
_FileLock = SoftFileLock
|
32 |
+
if warnings is not None:
|
33 |
+
warnings.warn("only soft file lock is available")
|
34 |
+
|
35 |
+
#: Alias for the lock, which should be used for the current platform. On Windows, this is an alias for
|
36 |
+
# :class:`WindowsFileLock`, on Unix for :class:`UnixFileLock` and otherwise for :class:`SoftFileLock`.
|
37 |
+
if TYPE_CHECKING:
|
38 |
+
FileLock = SoftFileLock
|
39 |
+
else:
|
40 |
+
FileLock = _FileLock
|
41 |
+
|
42 |
+
|
43 |
+
__all__ = [
|
44 |
+
"__version__",
|
45 |
+
"FileLock",
|
46 |
+
"SoftFileLock",
|
47 |
+
"Timeout",
|
48 |
+
"UnixFileLock",
|
49 |
+
"WindowsFileLock",
|
50 |
+
"BaseFileLock",
|
51 |
+
"AcquireReturnProxy",
|
52 |
+
]
|
.local/lib/python3.10/site-packages/filelock/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (1.04 kB). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/_api.cpython-310.pyc
ADDED
Binary file (8.14 kB). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/_error.cpython-310.pyc
ADDED
Binary file (848 Bytes). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/_soft.cpython-310.pyc
ADDED
Binary file (1.39 kB). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/_unix.cpython-310.pyc
ADDED
Binary file (1.62 kB). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/_util.cpython-310.pyc
ADDED
Binary file (621 Bytes). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/_windows.cpython-310.pyc
ADDED
Binary file (1.83 kB). View file
|
|
.local/lib/python3.10/site-packages/filelock/__pycache__/version.cpython-310.pyc
ADDED
Binary file (259 Bytes). View file
|
|
.local/lib/python3.10/site-packages/filelock/_api.py
ADDED
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
import contextlib
|
4 |
+
import logging
|
5 |
+
import os
|
6 |
+
import time
|
7 |
+
import warnings
|
8 |
+
from abc import ABC, abstractmethod
|
9 |
+
from threading import Lock
|
10 |
+
from types import TracebackType
|
11 |
+
from typing import Any
|
12 |
+
|
13 |
+
from ._error import Timeout
|
14 |
+
|
15 |
+
_LOGGER = logging.getLogger("filelock")
|
16 |
+
|
17 |
+
|
18 |
+
# This is a helper class which is returned by :meth:`BaseFileLock.acquire` and wraps the lock to make sure __enter__
|
19 |
+
# is not called twice when entering the with statement. If we would simply return *self*, the lock would be acquired
|
20 |
+
# again in the *__enter__* method of the BaseFileLock, but not released again automatically. issue #37 (memory leak)
|
21 |
+
class AcquireReturnProxy:
|
22 |
+
"""A context aware object that will release the lock file when exiting."""
|
23 |
+
|
24 |
+
def __init__(self, lock: BaseFileLock) -> None:
|
25 |
+
self.lock = lock
|
26 |
+
|
27 |
+
def __enter__(self) -> BaseFileLock:
|
28 |
+
return self.lock
|
29 |
+
|
30 |
+
def __exit__(
|
31 |
+
self,
|
32 |
+
exc_type: type[BaseException] | None, # noqa: U100
|
33 |
+
exc_value: BaseException | None, # noqa: U100
|
34 |
+
traceback: TracebackType | None, # noqa: U100
|
35 |
+
) -> None:
|
36 |
+
self.lock.release()
|
37 |
+
|
38 |
+
|
39 |
+
class BaseFileLock(ABC, contextlib.ContextDecorator):
|
40 |
+
"""Abstract base class for a file lock object."""
|
41 |
+
|
42 |
+
def __init__(self, lock_file: str | os.PathLike[Any], timeout: float = -1) -> None:
|
43 |
+
"""
|
44 |
+
Create a new lock object.
|
45 |
+
|
46 |
+
:param lock_file: path to the file
|
47 |
+
:param timeout: default timeout when acquiring the lock, in seconds. It will be used as fallback value in
|
48 |
+
the acquire method, if no timeout value (``None``) is given. If you want to disable the timeout, set it
|
49 |
+
to a negative value. A timeout of 0 means, that there is exactly one attempt to acquire the file lock.
|
50 |
+
"""
|
51 |
+
# The path to the lock file.
|
52 |
+
self._lock_file: str = os.fspath(lock_file)
|
53 |
+
|
54 |
+
# The file descriptor for the *_lock_file* as it is returned by the os.open() function.
|
55 |
+
# This file lock is only NOT None, if the object currently holds the lock.
|
56 |
+
self._lock_file_fd: int | None = None
|
57 |
+
|
58 |
+
# The default timeout value.
|
59 |
+
self._timeout: float = timeout
|
60 |
+
|
61 |
+
# We use this lock primarily for the lock counter.
|
62 |
+
self._thread_lock: Lock = Lock()
|
63 |
+
|
64 |
+
# The lock counter is used for implementing the nested locking mechanism. Whenever the lock is acquired, the
|
65 |
+
# counter is increased and the lock is only released, when this value is 0 again.
|
66 |
+
self._lock_counter: int = 0
|
67 |
+
|
68 |
+
@property
|
69 |
+
def lock_file(self) -> str:
|
70 |
+
""":return: path to the lock file"""
|
71 |
+
return self._lock_file
|
72 |
+
|
73 |
+
@property
|
74 |
+
def timeout(self) -> float:
|
75 |
+
"""
|
76 |
+
:return: the default timeout value, in seconds
|
77 |
+
|
78 |
+
.. versionadded:: 2.0.0
|
79 |
+
"""
|
80 |
+
return self._timeout
|
81 |
+
|
82 |
+
@timeout.setter
|
83 |
+
def timeout(self, value: float | str) -> None:
|
84 |
+
"""
|
85 |
+
Change the default timeout value.
|
86 |
+
|
87 |
+
:param value: the new value, in seconds
|
88 |
+
"""
|
89 |
+
self._timeout = float(value)
|
90 |
+
|
91 |
+
@abstractmethod
|
92 |
+
def _acquire(self) -> None:
|
93 |
+
"""If the file lock could be acquired, self._lock_file_fd holds the file descriptor of the lock file."""
|
94 |
+
raise NotImplementedError
|
95 |
+
|
96 |
+
@abstractmethod
|
97 |
+
def _release(self) -> None:
|
98 |
+
"""Releases the lock and sets self._lock_file_fd to None."""
|
99 |
+
raise NotImplementedError
|
100 |
+
|
101 |
+
@property
|
102 |
+
def is_locked(self) -> bool:
|
103 |
+
"""
|
104 |
+
|
105 |
+
:return: A boolean indicating if the lock file is holding the lock currently.
|
106 |
+
|
107 |
+
.. versionchanged:: 2.0.0
|
108 |
+
|
109 |
+
This was previously a method and is now a property.
|
110 |
+
"""
|
111 |
+
return self._lock_file_fd is not None
|
112 |
+
|
113 |
+
def acquire(
|
114 |
+
self,
|
115 |
+
timeout: float | None = None,
|
116 |
+
poll_interval: float = 0.05,
|
117 |
+
*,
|
118 |
+
poll_intervall: float | None = None,
|
119 |
+
blocking: bool = True,
|
120 |
+
) -> AcquireReturnProxy:
|
121 |
+
"""
|
122 |
+
Try to acquire the file lock.
|
123 |
+
|
124 |
+
:param timeout: maximum wait time for acquiring the lock, ``None`` means use the default :attr:`~timeout` is and
|
125 |
+
if ``timeout < 0``, there is no timeout and this method will block until the lock could be acquired
|
126 |
+
:param poll_interval: interval of trying to acquire the lock file
|
127 |
+
:param poll_intervall: deprecated, kept for backwards compatibility, use ``poll_interval`` instead
|
128 |
+
:param blocking: defaults to True. If False, function will return immediately if it cannot obtain a lock on the
|
129 |
+
first attempt. Otherwise this method will block until the timeout expires or the lock is acquired.
|
130 |
+
:raises Timeout: if fails to acquire lock within the timeout period
|
131 |
+
:return: a context object that will unlock the file when the context is exited
|
132 |
+
|
133 |
+
.. code-block:: python
|
134 |
+
|
135 |
+
# You can use this method in the context manager (recommended)
|
136 |
+
with lock.acquire():
|
137 |
+
pass
|
138 |
+
|
139 |
+
# Or use an equivalent try-finally construct:
|
140 |
+
lock.acquire()
|
141 |
+
try:
|
142 |
+
pass
|
143 |
+
finally:
|
144 |
+
lock.release()
|
145 |
+
|
146 |
+
.. versionchanged:: 2.0.0
|
147 |
+
|
148 |
+
This method returns now a *proxy* object instead of *self*,
|
149 |
+
so that it can be used in a with statement without side effects.
|
150 |
+
|
151 |
+
"""
|
152 |
+
# Use the default timeout, if no timeout is provided.
|
153 |
+
if timeout is None:
|
154 |
+
timeout = self.timeout
|
155 |
+
|
156 |
+
if poll_intervall is not None:
|
157 |
+
msg = "use poll_interval instead of poll_intervall"
|
158 |
+
warnings.warn(msg, DeprecationWarning, stacklevel=2)
|
159 |
+
poll_interval = poll_intervall
|
160 |
+
|
161 |
+
# Increment the number right at the beginning. We can still undo it, if something fails.
|
162 |
+
with self._thread_lock:
|
163 |
+
self._lock_counter += 1
|
164 |
+
|
165 |
+
lock_id = id(self)
|
166 |
+
lock_filename = self._lock_file
|
167 |
+
start_time = time.monotonic()
|
168 |
+
try:
|
169 |
+
while True:
|
170 |
+
with self._thread_lock:
|
171 |
+
if not self.is_locked:
|
172 |
+
_LOGGER.debug("Attempting to acquire lock %s on %s", lock_id, lock_filename)
|
173 |
+
self._acquire()
|
174 |
+
|
175 |
+
if self.is_locked:
|
176 |
+
_LOGGER.debug("Lock %s acquired on %s", lock_id, lock_filename)
|
177 |
+
break
|
178 |
+
elif blocking is False:
|
179 |
+
_LOGGER.debug("Failed to immediately acquire lock %s on %s", lock_id, lock_filename)
|
180 |
+
raise Timeout(self._lock_file)
|
181 |
+
elif 0 <= timeout < time.monotonic() - start_time:
|
182 |
+
_LOGGER.debug("Timeout on acquiring lock %s on %s", lock_id, lock_filename)
|
183 |
+
raise Timeout(self._lock_file)
|
184 |
+
else:
|
185 |
+
msg = "Lock %s not acquired on %s, waiting %s seconds ..."
|
186 |
+
_LOGGER.debug(msg, lock_id, lock_filename, poll_interval)
|
187 |
+
time.sleep(poll_interval)
|
188 |
+
except BaseException: # Something did go wrong, so decrement the counter.
|
189 |
+
with self._thread_lock:
|
190 |
+
self._lock_counter = max(0, self._lock_counter - 1)
|
191 |
+
raise
|
192 |
+
return AcquireReturnProxy(lock=self)
|
193 |
+
|
194 |
+
def release(self, force: bool = False) -> None:
|
195 |
+
"""
|
196 |
+
Releases the file lock. Please note, that the lock is only completely released, if the lock counter is 0. Also
|
197 |
+
note, that the lock file itself is not automatically deleted.
|
198 |
+
|
199 |
+
:param force: If true, the lock counter is ignored and the lock is released in every case/
|
200 |
+
"""
|
201 |
+
with self._thread_lock:
|
202 |
+
|
203 |
+
if self.is_locked:
|
204 |
+
self._lock_counter -= 1
|
205 |
+
|
206 |
+
if self._lock_counter == 0 or force:
|
207 |
+
lock_id, lock_filename = id(self), self._lock_file
|
208 |
+
|
209 |
+
_LOGGER.debug("Attempting to release lock %s on %s", lock_id, lock_filename)
|
210 |
+
self._release()
|
211 |
+
self._lock_counter = 0
|
212 |
+
_LOGGER.debug("Lock %s released on %s", lock_id, lock_filename)
|
213 |
+
|
214 |
+
def __enter__(self) -> BaseFileLock:
|
215 |
+
"""
|
216 |
+
Acquire the lock.
|
217 |
+
|
218 |
+
:return: the lock object
|
219 |
+
"""
|
220 |
+
self.acquire()
|
221 |
+
return self
|
222 |
+
|
223 |
+
def __exit__(
|
224 |
+
self,
|
225 |
+
exc_type: type[BaseException] | None, # noqa: U100
|
226 |
+
exc_value: BaseException | None, # noqa: U100
|
227 |
+
traceback: TracebackType | None, # noqa: U100
|
228 |
+
) -> None:
|
229 |
+
"""
|
230 |
+
Release the lock.
|
231 |
+
|
232 |
+
:param exc_type: the exception type if raised
|
233 |
+
:param exc_value: the exception value if raised
|
234 |
+
:param traceback: the exception traceback if raised
|
235 |
+
"""
|
236 |
+
self.release()
|
237 |
+
|
238 |
+
def __del__(self) -> None:
|
239 |
+
"""Called when the lock object is deleted."""
|
240 |
+
self.release(force=True)
|
241 |
+
|
242 |
+
|
243 |
+
__all__ = [
|
244 |
+
"BaseFileLock",
|
245 |
+
"AcquireReturnProxy",
|
246 |
+
]
|
.local/lib/python3.10/site-packages/filelock/_error.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
|
4 |
+
class Timeout(TimeoutError):
|
5 |
+
"""Raised when the lock could not be acquired in *timeout* seconds."""
|
6 |
+
|
7 |
+
def __init__(self, lock_file: str) -> None:
|
8 |
+
#: The path of the file lock.
|
9 |
+
self.lock_file = lock_file
|
10 |
+
|
11 |
+
def __str__(self) -> str:
|
12 |
+
return f"The file lock '{self.lock_file}' could not be acquired."
|
13 |
+
|
14 |
+
|
15 |
+
__all__ = [
|
16 |
+
"Timeout",
|
17 |
+
]
|
.local/lib/python3.10/site-packages/filelock/_soft.py
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
import os
|
4 |
+
import sys
|
5 |
+
from errno import EACCES, EEXIST, ENOENT
|
6 |
+
|
7 |
+
from ._api import BaseFileLock
|
8 |
+
from ._util import raise_on_exist_ro_file
|
9 |
+
|
10 |
+
|
11 |
+
class SoftFileLock(BaseFileLock):
|
12 |
+
"""Simply watches the existence of the lock file."""
|
13 |
+
|
14 |
+
def _acquire(self) -> None:
|
15 |
+
raise_on_exist_ro_file(self._lock_file)
|
16 |
+
# first check for exists and read-only mode as the open will mask this case as EEXIST
|
17 |
+
mode = (
|
18 |
+
os.O_WRONLY # open for writing only
|
19 |
+
| os.O_CREAT
|
20 |
+
| os.O_EXCL # together with above raise EEXIST if the file specified by filename exists
|
21 |
+
| os.O_TRUNC # truncate the file to zero byte
|
22 |
+
)
|
23 |
+
try:
|
24 |
+
fd = os.open(self._lock_file, mode)
|
25 |
+
except OSError as exception:
|
26 |
+
if exception.errno == EEXIST: # expected if cannot lock
|
27 |
+
pass
|
28 |
+
elif exception.errno == ENOENT: # No such file or directory - parent directory is missing
|
29 |
+
raise
|
30 |
+
elif exception.errno == EACCES and sys.platform != "win32": # pragma: win32 no cover
|
31 |
+
# Permission denied - parent dir is R/O
|
32 |
+
raise # note windows does not allow you to make a folder r/o only files
|
33 |
+
else:
|
34 |
+
self._lock_file_fd = fd
|
35 |
+
|
36 |
+
def _release(self) -> None:
|
37 |
+
os.close(self._lock_file_fd) # type: ignore # the lock file is definitely not None
|
38 |
+
self._lock_file_fd = None
|
39 |
+
try:
|
40 |
+
os.remove(self._lock_file)
|
41 |
+
except OSError: # the file is already deleted and that's what we want
|
42 |
+
pass
|
43 |
+
|
44 |
+
|
45 |
+
__all__ = [
|
46 |
+
"SoftFileLock",
|
47 |
+
]
|
.local/lib/python3.10/site-packages/filelock/_unix.py
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
import os
|
4 |
+
import sys
|
5 |
+
from typing import cast
|
6 |
+
|
7 |
+
from ._api import BaseFileLock
|
8 |
+
|
9 |
+
#: a flag to indicate if the fcntl API is available
|
10 |
+
has_fcntl = False
|
11 |
+
if sys.platform == "win32": # pragma: win32 cover
|
12 |
+
|
13 |
+
class UnixFileLock(BaseFileLock):
|
14 |
+
"""Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems."""
|
15 |
+
|
16 |
+
def _acquire(self) -> None:
|
17 |
+
raise NotImplementedError
|
18 |
+
|
19 |
+
def _release(self) -> None:
|
20 |
+
raise NotImplementedError
|
21 |
+
|
22 |
+
else: # pragma: win32 no cover
|
23 |
+
try:
|
24 |
+
import fcntl
|
25 |
+
except ImportError:
|
26 |
+
pass
|
27 |
+
else:
|
28 |
+
has_fcntl = True
|
29 |
+
|
30 |
+
class UnixFileLock(BaseFileLock):
|
31 |
+
"""Uses the :func:`fcntl.flock` to hard lock the lock file on unix systems."""
|
32 |
+
|
33 |
+
def _acquire(self) -> None:
|
34 |
+
open_mode = os.O_RDWR | os.O_CREAT | os.O_TRUNC
|
35 |
+
fd = os.open(self._lock_file, open_mode)
|
36 |
+
try:
|
37 |
+
fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
38 |
+
except OSError:
|
39 |
+
os.close(fd)
|
40 |
+
else:
|
41 |
+
self._lock_file_fd = fd
|
42 |
+
|
43 |
+
def _release(self) -> None:
|
44 |
+
# Do not remove the lockfile:
|
45 |
+
# https://github.com/tox-dev/py-filelock/issues/31
|
46 |
+
# https://stackoverflow.com/questions/17708885/flock-removing-locked-file-without-race-condition
|
47 |
+
fd = cast(int, self._lock_file_fd)
|
48 |
+
self._lock_file_fd = None
|
49 |
+
fcntl.flock(fd, fcntl.LOCK_UN)
|
50 |
+
os.close(fd)
|
51 |
+
|
52 |
+
|
53 |
+
__all__ = [
|
54 |
+
"has_fcntl",
|
55 |
+
"UnixFileLock",
|
56 |
+
]
|
.local/lib/python3.10/site-packages/filelock/_util.py
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
import os
|
4 |
+
import stat
|
5 |
+
|
6 |
+
|
7 |
+
def raise_on_exist_ro_file(filename: str) -> None:
|
8 |
+
try:
|
9 |
+
file_stat = os.stat(filename) # use stat to do exists + can write to check without race condition
|
10 |
+
except OSError:
|
11 |
+
return None # swallow does not exist or other errors
|
12 |
+
|
13 |
+
if file_stat.st_mtime != 0: # if os.stat returns but modification is zero that's an invalid os.stat - ignore it
|
14 |
+
if not (file_stat.st_mode & stat.S_IWUSR):
|
15 |
+
raise PermissionError(f"Permission denied: {filename!r}")
|
16 |
+
|
17 |
+
|
18 |
+
__all__ = [
|
19 |
+
"raise_on_exist_ro_file",
|
20 |
+
]
|
.local/lib/python3.10/site-packages/filelock/_windows.py
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
import os
|
4 |
+
import sys
|
5 |
+
from errno import ENOENT
|
6 |
+
from typing import cast
|
7 |
+
|
8 |
+
from ._api import BaseFileLock
|
9 |
+
from ._util import raise_on_exist_ro_file
|
10 |
+
|
11 |
+
if sys.platform == "win32": # pragma: win32 cover
|
12 |
+
import msvcrt
|
13 |
+
|
14 |
+
class WindowsFileLock(BaseFileLock):
|
15 |
+
"""Uses the :func:`msvcrt.locking` function to hard lock the lock file on windows systems."""
|
16 |
+
|
17 |
+
def _acquire(self) -> None:
|
18 |
+
raise_on_exist_ro_file(self._lock_file)
|
19 |
+
mode = (
|
20 |
+
os.O_RDWR # open for read and write
|
21 |
+
| os.O_CREAT # create file if not exists
|
22 |
+
| os.O_TRUNC # truncate file if not empty
|
23 |
+
)
|
24 |
+
try:
|
25 |
+
fd = os.open(self._lock_file, mode)
|
26 |
+
except OSError as exception:
|
27 |
+
if exception.errno == ENOENT: # No such file or directory
|
28 |
+
raise
|
29 |
+
else:
|
30 |
+
try:
|
31 |
+
msvcrt.locking(fd, msvcrt.LK_NBLCK, 1)
|
32 |
+
except OSError:
|
33 |
+
os.close(fd)
|
34 |
+
else:
|
35 |
+
self._lock_file_fd = fd
|
36 |
+
|
37 |
+
def _release(self) -> None:
|
38 |
+
fd = cast(int, self._lock_file_fd)
|
39 |
+
self._lock_file_fd = None
|
40 |
+
msvcrt.locking(fd, msvcrt.LK_UNLCK, 1)
|
41 |
+
os.close(fd)
|
42 |
+
|
43 |
+
try:
|
44 |
+
os.remove(self._lock_file)
|
45 |
+
# Probably another instance of the application hat acquired the file lock.
|
46 |
+
except OSError:
|
47 |
+
pass
|
48 |
+
|
49 |
+
else: # pragma: win32 no cover
|
50 |
+
|
51 |
+
class WindowsFileLock(BaseFileLock):
|
52 |
+
"""Uses the :func:`msvcrt.locking` function to hard lock the lock file on windows systems."""
|
53 |
+
|
54 |
+
def _acquire(self) -> None:
|
55 |
+
raise NotImplementedError
|
56 |
+
|
57 |
+
def _release(self) -> None:
|
58 |
+
raise NotImplementedError
|
59 |
+
|
60 |
+
|
61 |
+
__all__ = [
|
62 |
+
"WindowsFileLock",
|
63 |
+
]
|
.local/lib/python3.10/site-packages/filelock/py.typed
ADDED
File without changes
|
.local/lib/python3.10/site-packages/filelock/version.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# file generated by setuptools_scm
|
2 |
+
# don't change, don't track in version control
|
3 |
+
__version__ = version = '3.9.0'
|
4 |
+
__version_tuple__ = version_tuple = (3, 9, 0)
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Apache License
|
2 |
+
Version 2.0, January 2004
|
3 |
+
http://www.apache.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
+
|
12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13 |
+
the copyright owner that is granting the License.
|
14 |
+
|
15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
16 |
+
other entities that control, are controlled by, or are under common
|
17 |
+
control with that entity. For the purposes of this definition,
|
18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
19 |
+
direction or management of such entity, whether by contract or
|
20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22 |
+
|
23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24 |
+
exercising permissions granted by this License.
|
25 |
+
|
26 |
+
"Source" form shall mean the preferred form for making modifications,
|
27 |
+
including but not limited to software source code, documentation
|
28 |
+
source, and configuration files.
|
29 |
+
|
30 |
+
"Object" form shall mean any form resulting from mechanical
|
31 |
+
transformation or translation of a Source form, including but
|
32 |
+
not limited to compiled object code, generated documentation,
|
33 |
+
and conversions to other media types.
|
34 |
+
|
35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
36 |
+
Object form, made available under the License, as indicated by a
|
37 |
+
copyright notice that is included in or attached to the work
|
38 |
+
(an example is provided in the Appendix below).
|
39 |
+
|
40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41 |
+
form, that is based on (or derived from) the Work and for which the
|
42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
44 |
+
of this License, Derivative Works shall not include works that remain
|
45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46 |
+
the Work and Derivative Works thereof.
|
47 |
+
|
48 |
+
"Contribution" shall mean any work of authorship, including
|
49 |
+
the original version of the Work and any modifications or additions
|
50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
54 |
+
means any form of electronic, verbal, or written communication sent
|
55 |
+
to the Licensor or its representatives, including but not limited to
|
56 |
+
communication on electronic mailing lists, source code control systems,
|
57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
59 |
+
excluding communication that is conspicuously marked or otherwise
|
60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
61 |
+
|
62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
64 |
+
subsequently incorporated within the Work.
|
65 |
+
|
66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
71 |
+
Work and such Derivative Works in Source or Object form.
|
72 |
+
|
73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76 |
+
(except as stated in this section) patent license to make, have made,
|
77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78 |
+
where such license applies only to those patent claims licensable
|
79 |
+
by such Contributor that are necessarily infringed by their
|
80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
82 |
+
institute patent litigation against any entity (including a
|
83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84 |
+
or a Contribution incorporated within the Work constitutes direct
|
85 |
+
or contributory patent infringement, then any patent licenses
|
86 |
+
granted to You under this License for that Work shall terminate
|
87 |
+
as of the date such litigation is filed.
|
88 |
+
|
89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
90 |
+
Work or Derivative Works thereof in any medium, with or without
|
91 |
+
modifications, and in Source or Object form, provided that You
|
92 |
+
meet the following conditions:
|
93 |
+
|
94 |
+
(a) You must give any other recipients of the Work or
|
95 |
+
Derivative Works a copy of this License; and
|
96 |
+
|
97 |
+
(b) You must cause any modified files to carry prominent notices
|
98 |
+
stating that You changed the files; and
|
99 |
+
|
100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
101 |
+
that You distribute, all copyright, patent, trademark, and
|
102 |
+
attribution notices from the Source form of the Work,
|
103 |
+
excluding those notices that do not pertain to any part of
|
104 |
+
the Derivative Works; and
|
105 |
+
|
106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107 |
+
distribution, then any Derivative Works that You distribute must
|
108 |
+
include a readable copy of the attribution notices contained
|
109 |
+
within such NOTICE file, excluding those notices that do not
|
110 |
+
pertain to any part of the Derivative Works, in at least one
|
111 |
+
of the following places: within a NOTICE text file distributed
|
112 |
+
as part of the Derivative Works; within the Source form or
|
113 |
+
documentation, if provided along with the Derivative Works; or,
|
114 |
+
within a display generated by the Derivative Works, if and
|
115 |
+
wherever such third-party notices normally appear. The contents
|
116 |
+
of the NOTICE file are for informational purposes only and
|
117 |
+
do not modify the License. You may add Your own attribution
|
118 |
+
notices within Derivative Works that You distribute, alongside
|
119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
120 |
+
that such additional attribution notices cannot be construed
|
121 |
+
as modifying the License.
|
122 |
+
|
123 |
+
You may add Your own copyright statement to Your modifications and
|
124 |
+
may provide additional or different license terms and conditions
|
125 |
+
for use, reproduction, or distribution of Your modifications, or
|
126 |
+
for any such Derivative Works as a whole, provided Your use,
|
127 |
+
reproduction, and distribution of the Work otherwise complies with
|
128 |
+
the conditions stated in this License.
|
129 |
+
|
130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
132 |
+
by You to the Licensor shall be under the terms and conditions of
|
133 |
+
this License, without any additional terms or conditions.
|
134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135 |
+
the terms of any separate license agreement you may have executed
|
136 |
+
with Licensor regarding such Contributions.
|
137 |
+
|
138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
140 |
+
except as required for reasonable and customary use in describing the
|
141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
142 |
+
|
143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144 |
+
agreed to in writing, Licensor provides the Work (and each
|
145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147 |
+
implied, including, without limitation, any warranties or conditions
|
148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150 |
+
appropriateness of using or redistributing the Work and assume any
|
151 |
+
risks associated with Your exercise of permissions under this License.
|
152 |
+
|
153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
154 |
+
whether in tort (including negligence), contract, or otherwise,
|
155 |
+
unless required by applicable law (such as deliberate and grossly
|
156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157 |
+
liable to You for damages, including any direct, indirect, special,
|
158 |
+
incidental, or consequential damages of any character arising as a
|
159 |
+
result of this License or out of the use or inability to use the
|
160 |
+
Work (including but not limited to damages for loss of goodwill,
|
161 |
+
work stoppage, computer failure or malfunction, or any and all
|
162 |
+
other commercial damages or losses), even if such Contributor
|
163 |
+
has been advised of the possibility of such damages.
|
164 |
+
|
165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168 |
+
or other liability obligations and/or rights consistent with this
|
169 |
+
License. However, in accepting such obligations, You may act only
|
170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171 |
+
of any other Contributor, and only if You agree to indemnify,
|
172 |
+
defend, and hold each Contributor harmless for any liability
|
173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
174 |
+
of your accepting any such warranty or additional liability.
|
175 |
+
|
176 |
+
END OF TERMS AND CONDITIONS
|
177 |
+
|
178 |
+
APPENDIX: How to apply the Apache License to your work.
|
179 |
+
|
180 |
+
To apply the Apache License to your work, attach the following
|
181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182 |
+
replaced with your own identifying information. (Don't include
|
183 |
+
the brackets!) The text should be enclosed in the appropriate
|
184 |
+
comment syntax for the file format. We also recommend that a
|
185 |
+
file or class name and description of purpose be included on the
|
186 |
+
same "printed page" as the copyright notice for easier
|
187 |
+
identification within third-party archives.
|
188 |
+
|
189 |
+
Copyright [yyyy] [name of copyright owner]
|
190 |
+
|
191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192 |
+
you may not use this file except in compliance with the License.
|
193 |
+
You may obtain a copy of the License at
|
194 |
+
|
195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
196 |
+
|
197 |
+
Unless required by applicable law or agreed to in writing, software
|
198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200 |
+
See the License for the specific language governing permissions and
|
201 |
+
limitations under the License.
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/METADATA
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: huggingface-hub
|
3 |
+
Version: 0.11.1
|
4 |
+
Summary: Client library to download and publish models, datasets and other repos on the huggingface.co hub
|
5 |
+
Home-page: https://github.com/huggingface/huggingface_hub
|
6 |
+
Author: Hugging Face, Inc.
|
7 |
+
Author-email: [email protected]
|
8 |
+
License: Apache
|
9 |
+
Keywords: model-hub machine-learning models natural-language-processing deep-learning pytorch pretrained-models
|
10 |
+
Platform: UNKNOWN
|
11 |
+
Classifier: Intended Audience :: Developers
|
12 |
+
Classifier: Intended Audience :: Education
|
13 |
+
Classifier: Intended Audience :: Science/Research
|
14 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
15 |
+
Classifier: Operating System :: OS Independent
|
16 |
+
Classifier: Programming Language :: Python :: 3
|
17 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
18 |
+
Classifier: Programming Language :: Python :: 3.7
|
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: Topic :: Scientific/Engineering :: Artificial Intelligence
|
24 |
+
Requires-Python: >=3.7.0
|
25 |
+
Description-Content-Type: text/markdown
|
26 |
+
License-File: LICENSE
|
27 |
+
Requires-Dist: filelock
|
28 |
+
Requires-Dist: requests
|
29 |
+
Requires-Dist: tqdm
|
30 |
+
Requires-Dist: pyyaml (>=5.1)
|
31 |
+
Requires-Dist: typing-extensions (>=3.7.4.3)
|
32 |
+
Requires-Dist: packaging (>=20.9)
|
33 |
+
Requires-Dist: importlib-metadata ; python_version < "3.8"
|
34 |
+
Provides-Extra: all
|
35 |
+
Requires-Dist: InquirerPy (==0.3.4) ; extra == 'all'
|
36 |
+
Requires-Dist: isort (>=5.5.4) ; extra == 'all'
|
37 |
+
Requires-Dist: jedi ; extra == 'all'
|
38 |
+
Requires-Dist: Jinja2 ; extra == 'all'
|
39 |
+
Requires-Dist: pytest ; extra == 'all'
|
40 |
+
Requires-Dist: pytest-cov ; extra == 'all'
|
41 |
+
Requires-Dist: pytest-env ; extra == 'all'
|
42 |
+
Requires-Dist: soundfile ; extra == 'all'
|
43 |
+
Requires-Dist: black (==22.3) ; extra == 'all'
|
44 |
+
Requires-Dist: flake8 (>=3.8.3) ; extra == 'all'
|
45 |
+
Requires-Dist: flake8-bugbear ; extra == 'all'
|
46 |
+
Requires-Dist: mypy (==0.982) ; extra == 'all'
|
47 |
+
Requires-Dist: types-PyYAML ; extra == 'all'
|
48 |
+
Requires-Dist: types-requests ; extra == 'all'
|
49 |
+
Requires-Dist: types-simplejson ; extra == 'all'
|
50 |
+
Requires-Dist: types-toml ; extra == 'all'
|
51 |
+
Requires-Dist: types-tqdm ; extra == 'all'
|
52 |
+
Requires-Dist: types-urllib3 ; extra == 'all'
|
53 |
+
Provides-Extra: cli
|
54 |
+
Requires-Dist: InquirerPy (==0.3.4) ; extra == 'cli'
|
55 |
+
Provides-Extra: dev
|
56 |
+
Requires-Dist: InquirerPy (==0.3.4) ; extra == 'dev'
|
57 |
+
Requires-Dist: isort (>=5.5.4) ; extra == 'dev'
|
58 |
+
Requires-Dist: jedi ; extra == 'dev'
|
59 |
+
Requires-Dist: Jinja2 ; extra == 'dev'
|
60 |
+
Requires-Dist: pytest ; extra == 'dev'
|
61 |
+
Requires-Dist: pytest-cov ; extra == 'dev'
|
62 |
+
Requires-Dist: pytest-env ; extra == 'dev'
|
63 |
+
Requires-Dist: soundfile ; extra == 'dev'
|
64 |
+
Requires-Dist: black (==22.3) ; extra == 'dev'
|
65 |
+
Requires-Dist: flake8 (>=3.8.3) ; extra == 'dev'
|
66 |
+
Requires-Dist: flake8-bugbear ; extra == 'dev'
|
67 |
+
Requires-Dist: mypy (==0.982) ; extra == 'dev'
|
68 |
+
Requires-Dist: types-PyYAML ; extra == 'dev'
|
69 |
+
Requires-Dist: types-requests ; extra == 'dev'
|
70 |
+
Requires-Dist: types-simplejson ; extra == 'dev'
|
71 |
+
Requires-Dist: types-toml ; extra == 'dev'
|
72 |
+
Requires-Dist: types-tqdm ; extra == 'dev'
|
73 |
+
Requires-Dist: types-urllib3 ; extra == 'dev'
|
74 |
+
Provides-Extra: fastai
|
75 |
+
Requires-Dist: toml ; extra == 'fastai'
|
76 |
+
Requires-Dist: fastai (>=2.4) ; extra == 'fastai'
|
77 |
+
Requires-Dist: fastcore (>=1.3.27) ; extra == 'fastai'
|
78 |
+
Provides-Extra: quality
|
79 |
+
Requires-Dist: black (==22.3) ; extra == 'quality'
|
80 |
+
Requires-Dist: flake8 (>=3.8.3) ; extra == 'quality'
|
81 |
+
Requires-Dist: flake8-bugbear ; extra == 'quality'
|
82 |
+
Requires-Dist: isort (>=5.5.4) ; extra == 'quality'
|
83 |
+
Requires-Dist: mypy (==0.982) ; extra == 'quality'
|
84 |
+
Provides-Extra: tensorflow
|
85 |
+
Requires-Dist: tensorflow ; extra == 'tensorflow'
|
86 |
+
Requires-Dist: pydot ; extra == 'tensorflow'
|
87 |
+
Requires-Dist: graphviz ; extra == 'tensorflow'
|
88 |
+
Provides-Extra: testing
|
89 |
+
Requires-Dist: InquirerPy (==0.3.4) ; extra == 'testing'
|
90 |
+
Requires-Dist: isort (>=5.5.4) ; extra == 'testing'
|
91 |
+
Requires-Dist: jedi ; extra == 'testing'
|
92 |
+
Requires-Dist: Jinja2 ; extra == 'testing'
|
93 |
+
Requires-Dist: pytest ; extra == 'testing'
|
94 |
+
Requires-Dist: pytest-cov ; extra == 'testing'
|
95 |
+
Requires-Dist: pytest-env ; extra == 'testing'
|
96 |
+
Requires-Dist: soundfile ; extra == 'testing'
|
97 |
+
Provides-Extra: torch
|
98 |
+
Requires-Dist: torch ; extra == 'torch'
|
99 |
+
Provides-Extra: typing
|
100 |
+
Requires-Dist: types-PyYAML ; extra == 'typing'
|
101 |
+
Requires-Dist: types-requests ; extra == 'typing'
|
102 |
+
Requires-Dist: types-simplejson ; extra == 'typing'
|
103 |
+
Requires-Dist: types-toml ; extra == 'typing'
|
104 |
+
Requires-Dist: types-tqdm ; extra == 'typing'
|
105 |
+
Requires-Dist: types-urllib3 ; extra == 'typing'
|
106 |
+
|
107 |
+
# `huggingface_hub`
|
108 |
+
|
109 |
+
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
|
110 |
+
<a href="https://codecov.io/gh/huggingface/huggingface_hub"><img alt="Code coverage" src="https://codecov.io/gh/huggingface/huggingface_hub/branch/main/graph/badge.svg?token=RXP95LE2XL"></a>
|
111 |
+
<a href="https://github.com/huggingface/huggingface_hub/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/huggingface/huggingface_hub.svg"></a>
|
112 |
+
<a href="https://github.com/huggingface/huggingface_hub"><img alt="Documentation" src="https://img.shields.io/pypi/pyversions/huggingface_hub.svg"></a>
|
113 |
+
<a href="https://huggingface.co/docs/huggingface_hub/index"><img alt="Documentation" src="https://img.shields.io/website/http/huggingface.co/docs/huggingface_hub/index.svg?down_color=red&down_message=offline&up_message=online&label=doc"></a>
|
114 |
+
|
115 |
+
## Welcome to the huggingface_hub library
|
116 |
+
|
117 |
+
|
118 |
+
The `huggingface_hub` is a client library to interact with the Hugging Face Hub. The Hugging Face Hub is a platform with over 35K models, 4K datasets, and 2K demos in which people can easily collaborate in their ML workflows. The Hub works as a central place where anyone can share, explore, discover, and experiment with open-source Machine Learning.
|
119 |
+
|
120 |
+
With `huggingface_hub`, you can easily download and upload models, datasets, and Spaces. You can extract useful information from the Hub, and do much more. Some example use cases:
|
121 |
+
* Downloading and caching files from a Hub repository.
|
122 |
+
* Creating repositories and uploading an updated model every few epochs.
|
123 |
+
* Extract metadata from all models that match certain criteria (e.g. models for `text-classification`).
|
124 |
+
* List all files from a specific repository.
|
125 |
+
|
126 |
+
Read all about it in [the library documentation](https://huggingface.co/docs/huggingface_hub).
|
127 |
+
|
128 |
+
<br>
|
129 |
+
|
130 |
+
## Integrating to the Hub.
|
131 |
+
|
132 |
+
We're partnering with cool open source ML libraries to provide free model hosting and versioning. You can find the existing integrations [here](https://huggingface.co/docs/hub/libraries).
|
133 |
+
|
134 |
+
The advantages are:
|
135 |
+
|
136 |
+
- Free model or dataset hosting for libraries and their users.
|
137 |
+
- Built-in file versioning, even with very large files, thanks to a git-based approach.
|
138 |
+
- Hosted inference API for all models publicly available.
|
139 |
+
- In-browser widgets to play with the uploaded models.
|
140 |
+
- Anyone can upload a new model for your library, they just need to add the corresponding tag for the model to be discoverable.
|
141 |
+
- Fast downloads! We use Cloudfront (a CDN) to geo-replicate downloads so they're blazing fast from anywhere on the globe.
|
142 |
+
- Usage stats and more features to come.
|
143 |
+
|
144 |
+
If you would like to integrate your library, feel free to open an issue to begin the discussion. We wrote a [step-by-step guide](https://huggingface.co/docs/hub/adding-a-library) with ❤️ showing how to do this integration.
|
145 |
+
|
146 |
+
<br>
|
147 |
+
|
148 |
+
## Feedback (feature requests, bugs, etc.) is super welcome 💙💚💛💜♥️🧡
|
149 |
+
|
150 |
+
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/RECORD
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
../../../bin/huggingface-cli,sha256=aXlt11P-78xiRjfit2L9n0dpqrWW43A5Mewo9B4aVF8,239
|
2 |
+
huggingface_hub-0.11.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
3 |
+
huggingface_hub-0.11.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
4 |
+
huggingface_hub-0.11.1.dist-info/METADATA,sha256=YOfvPvlo4R2BqVbg2iN2Y9WTJllu3mLhqIADtfiGuPA,7548
|
5 |
+
huggingface_hub-0.11.1.dist-info/RECORD,,
|
6 |
+
huggingface_hub-0.11.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7 |
+
huggingface_hub-0.11.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
8 |
+
huggingface_hub-0.11.1.dist-info/entry_points.txt,sha256=7-_O79Kk26OM9R3QgywVzfyrNjZ3F8tCUhDtozJ7yIc,83
|
9 |
+
huggingface_hub-0.11.1.dist-info/top_level.txt,sha256=8KzlQJAY4miUvjAssOAJodqKOw3harNzuiwGQ9qLSSk,16
|
10 |
+
huggingface_hub/__init__.py,sha256=7HzsQzNuKGT5LrSQC8KdcyA9R6AwaK1YYfS-559JISE,14466
|
11 |
+
huggingface_hub/__pycache__/__init__.cpython-310.pyc,,
|
12 |
+
huggingface_hub/__pycache__/_commit_api.cpython-310.pyc,,
|
13 |
+
huggingface_hub/__pycache__/_login.cpython-310.pyc,,
|
14 |
+
huggingface_hub/__pycache__/_snapshot_download.cpython-310.pyc,,
|
15 |
+
huggingface_hub/__pycache__/community.cpython-310.pyc,,
|
16 |
+
huggingface_hub/__pycache__/constants.cpython-310.pyc,,
|
17 |
+
huggingface_hub/__pycache__/fastai_utils.cpython-310.pyc,,
|
18 |
+
huggingface_hub/__pycache__/file_download.cpython-310.pyc,,
|
19 |
+
huggingface_hub/__pycache__/hf_api.cpython-310.pyc,,
|
20 |
+
huggingface_hub/__pycache__/hub_mixin.cpython-310.pyc,,
|
21 |
+
huggingface_hub/__pycache__/inference_api.cpython-310.pyc,,
|
22 |
+
huggingface_hub/__pycache__/keras_mixin.cpython-310.pyc,,
|
23 |
+
huggingface_hub/__pycache__/lfs.cpython-310.pyc,,
|
24 |
+
huggingface_hub/__pycache__/repocard.cpython-310.pyc,,
|
25 |
+
huggingface_hub/__pycache__/repocard_data.cpython-310.pyc,,
|
26 |
+
huggingface_hub/__pycache__/repository.cpython-310.pyc,,
|
27 |
+
huggingface_hub/_commit_api.py,sha256=_cYNvQzipwIregb15NNS1Uz6Ca8K2azRyMfKCjoQZNo,21184
|
28 |
+
huggingface_hub/_login.py,sha256=yqvq6sbOwKxcHYHv0UTMsFH8n1dmTciEWufegl1yjHY,11133
|
29 |
+
huggingface_hub/_snapshot_download.py,sha256=EZ2gosW7oCkfoPTGAjpbq76a602y--UF96zW7kyMBFY,8104
|
30 |
+
huggingface_hub/commands/__init__.py,sha256=AkbM2a-iGh0Vq_xAWhK3mu3uZ44km8-X5uWjKcvcrUQ,928
|
31 |
+
huggingface_hub/commands/__pycache__/__init__.cpython-310.pyc,,
|
32 |
+
huggingface_hub/commands/__pycache__/_cli_utils.cpython-310.pyc,,
|
33 |
+
huggingface_hub/commands/__pycache__/delete_cache.cpython-310.pyc,,
|
34 |
+
huggingface_hub/commands/__pycache__/env.cpython-310.pyc,,
|
35 |
+
huggingface_hub/commands/__pycache__/huggingface_cli.cpython-310.pyc,,
|
36 |
+
huggingface_hub/commands/__pycache__/lfs.cpython-310.pyc,,
|
37 |
+
huggingface_hub/commands/__pycache__/scan_cache.cpython-310.pyc,,
|
38 |
+
huggingface_hub/commands/__pycache__/user.cpython-310.pyc,,
|
39 |
+
huggingface_hub/commands/_cli_utils.py,sha256=VA_3cHzIlsEQmKPnfNTgJNI36UtcrxRmfB44RdbP1LA,1970
|
40 |
+
huggingface_hub/commands/delete_cache.py,sha256=qsfqOjnS1cG9_qRd2jassz08iR539uPNocbBQuiPpZ8,16392
|
41 |
+
huggingface_hub/commands/env.py,sha256=ABSFyUnngQkVU6fFDW2oq2-2tcGKI_tC5HB-JapA9Lo,1247
|
42 |
+
huggingface_hub/commands/huggingface_cli.py,sha256=HzT9wXbgelLTyE4xVZLV9wLkRhge-QNThZpv8rWYQmU,1706
|
43 |
+
huggingface_hub/commands/lfs.py,sha256=dCBs4Ho7-ifkS1LD79T2v5AGFw1qK5Kn6yxJYsaK17o,7384
|
44 |
+
huggingface_hub/commands/scan_cache.py,sha256=VpcSpr9Rgj75psfIH2wiV0QV0zooCuElqzBjvqc2G1w,5387
|
45 |
+
huggingface_hub/commands/user.py,sha256=VfHxIv4FWz8eA4Z7o3ZHytTGTzHts7wRvee_NK9fRBw,7071
|
46 |
+
huggingface_hub/community.py,sha256=aDQnAAF7KwtcY7RsyZ2mOuP3HhYmS6MLTtNKJRl9O8k,11059
|
47 |
+
huggingface_hub/constants.py,sha256=_n4eBibnxZ4zHB3_jCeQPa4Tizo_6qeoQRRycSeOivQ,3458
|
48 |
+
huggingface_hub/fastai_utils.py,sha256=lGCRAlA6ZGoKhiY_Gdonza90EYrkZ3NTvyvJkiJ7c5Y,17463
|
49 |
+
huggingface_hub/file_download.py,sha256=y7CTf6wAUEqX18HPlO7rWh1YKiHdLOKAidJibBnVcHo,55879
|
50 |
+
huggingface_hub/hf_api.py,sha256=2kBd9gytb03-DT-rlsVYrsFhxRm8pdfKy8akuaQIkMk,134259
|
51 |
+
huggingface_hub/hub_mixin.py,sha256=uMEdbqDmRE4URKEYLSoTK3lCgWEk3Z2EC6d5HXBYyKA,19299
|
52 |
+
huggingface_hub/inference_api.py,sha256=vOMIHT0Gjf0Mf0KUHrvM9gf78wPeX1zKsaEl4pg2trA,5658
|
53 |
+
huggingface_hub/keras_mixin.py,sha256=Dy4qxJrgPnL3iP7ooTSP8iPy7mVAXDboQnXTaIQG1jg,23413
|
54 |
+
huggingface_hub/lfs.py,sha256=DLMquBZr2anrSl5tS4uqcOhKrIIMVrdB1ujQAl5J310,16185
|
55 |
+
huggingface_hub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
56 |
+
huggingface_hub/repocard.py,sha256=s9MkKCdN_maqfEobc6VsY--wHcvMy9CWvdCX7iCvER0,33764
|
57 |
+
huggingface_hub/repocard_data.py,sha256=q4Sa5ft-ONMCFPJViRCqHNyk7p3anqmH8_uVTgePMi4,23775
|
58 |
+
huggingface_hub/repository.py,sha256=88hrcHwA61VxQWclbdV0_EEC16dZtNPpvyUDvmvB7wc,57104
|
59 |
+
huggingface_hub/templates/datasetcard_template.md,sha256=dl9YyYvK7RMMy4C8z0MWpa4Fmq7h6SiG-urHBYV3mck,3645
|
60 |
+
huggingface_hub/templates/modelcard_template.md,sha256=2-w3qLeYdqCoBmBOBfUd-IOX4-rdnVY4QmuP_BckwAc,6824
|
61 |
+
huggingface_hub/utils/__init__.py,sha256=CRDlVMNYdRL48_v54CVR14KmZ9XlNklv6qezs2xrRcw,2446
|
62 |
+
huggingface_hub/utils/__pycache__/__init__.cpython-310.pyc,,
|
63 |
+
huggingface_hub/utils/__pycache__/_cache_assets.cpython-310.pyc,,
|
64 |
+
huggingface_hub/utils/__pycache__/_cache_manager.cpython-310.pyc,,
|
65 |
+
huggingface_hub/utils/__pycache__/_chunk_utils.cpython-310.pyc,,
|
66 |
+
huggingface_hub/utils/__pycache__/_datetime.cpython-310.pyc,,
|
67 |
+
huggingface_hub/utils/__pycache__/_deprecation.cpython-310.pyc,,
|
68 |
+
huggingface_hub/utils/__pycache__/_errors.cpython-310.pyc,,
|
69 |
+
huggingface_hub/utils/__pycache__/_fixes.cpython-310.pyc,,
|
70 |
+
huggingface_hub/utils/__pycache__/_git_credential.cpython-310.pyc,,
|
71 |
+
huggingface_hub/utils/__pycache__/_headers.cpython-310.pyc,,
|
72 |
+
huggingface_hub/utils/__pycache__/_hf_folder.cpython-310.pyc,,
|
73 |
+
huggingface_hub/utils/__pycache__/_http.cpython-310.pyc,,
|
74 |
+
huggingface_hub/utils/__pycache__/_pagination.cpython-310.pyc,,
|
75 |
+
huggingface_hub/utils/__pycache__/_paths.cpython-310.pyc,,
|
76 |
+
huggingface_hub/utils/__pycache__/_runtime.cpython-310.pyc,,
|
77 |
+
huggingface_hub/utils/__pycache__/_subprocess.cpython-310.pyc,,
|
78 |
+
huggingface_hub/utils/__pycache__/_typing.cpython-310.pyc,,
|
79 |
+
huggingface_hub/utils/__pycache__/_validators.cpython-310.pyc,,
|
80 |
+
huggingface_hub/utils/__pycache__/endpoint_helpers.cpython-310.pyc,,
|
81 |
+
huggingface_hub/utils/__pycache__/logging.cpython-310.pyc,,
|
82 |
+
huggingface_hub/utils/__pycache__/sha.cpython-310.pyc,,
|
83 |
+
huggingface_hub/utils/__pycache__/tqdm.cpython-310.pyc,,
|
84 |
+
huggingface_hub/utils/_cache_assets.py,sha256=xPg64oY-SiOM_Oyv_iDCqYFA9aU34-MZqo5hSJ2qD2I,5792
|
85 |
+
huggingface_hub/utils/_cache_manager.py,sha256=UEndBYwZQA_NtLqcNtOmisywTBb9cMNjbuxD2fMJepU,29456
|
86 |
+
huggingface_hub/utils/_chunk_utils.py,sha256=6VRyjiGr2bPupPl1azSUTxKuJ51wdgELipwJ2YRfH5U,2129
|
87 |
+
huggingface_hub/utils/_datetime.py,sha256=RA92d7k3pV6JKmRXFvsofgp1oHfjMZb5Y-X0vpTIkgQ,2728
|
88 |
+
huggingface_hub/utils/_deprecation.py,sha256=-W7m-Si9dnWNJBtOOc5nel4hm42QRTuWQM1LWdjyI7A,8404
|
89 |
+
huggingface_hub/utils/_errors.py,sha256=ctguSP0PTjZhXvx4fpYJ5LjzODIed-YhDkslbFFfeoA,12136
|
90 |
+
huggingface_hub/utils/_fixes.py,sha256=UaKSA2Oa7QgST147Kbbt-lOSSeDjh8oYgJrrz8h3RX8,968
|
91 |
+
huggingface_hub/utils/_git_credential.py,sha256=IoLR9n5O5X3lxlTvrvW-dxo_59d6ViyrKbTS0NOqKyM,6887
|
92 |
+
huggingface_hub/utils/_headers.py,sha256=WxPeXzv42tadLQNLUeF511NlR-frR2WtrVEAMPRkGzs,8734
|
93 |
+
huggingface_hub/utils/_hf_folder.py,sha256=5ZRd0TFIveQDKQW2LKPLOhOmLjgn309Jb-uo2RiKuRE,2005
|
94 |
+
huggingface_hub/utils/_http.py,sha256=q3yksn4IOx2sgqQUNXsap2mVwZP2lutmMAEnWTXX3B4,6533
|
95 |
+
huggingface_hub/utils/_pagination.py,sha256=v3VUUG60VCvzd3EnGGuiFdzNjTsJWVd6Lspy_XPNSmA,2076
|
96 |
+
huggingface_hub/utils/_paths.py,sha256=0AupDuZkweZfbVxzX1wqDz5inAI5EcN1O7oUwaYQo_8,4415
|
97 |
+
huggingface_hub/utils/_runtime.py,sha256=-wzgxqWBRIFkLV624nQMa1fmZ7dpkQxOInyxFBvr2lc,6627
|
98 |
+
huggingface_hub/utils/_subprocess.py,sha256=V6UfB0VIGZBlemSZCvdeJjork6LR2sFzB637lWXh68k,3979
|
99 |
+
huggingface_hub/utils/_typing.py,sha256=-5LS6BKwb491Grqp14eoNGYGmYmJjVjQNX7p9qAFCqk,917
|
100 |
+
huggingface_hub/utils/_validators.py,sha256=oD4KFmsO4X3xM2l_zP1WuCifLUeSFCSVeZeM5eOVVek,9514
|
101 |
+
huggingface_hub/utils/endpoint_helpers.py,sha256=ulXR7pJCaD61gTJq6yfOULw-q18-UVYJ1up5BgeZbmU,12877
|
102 |
+
huggingface_hub/utils/logging.py,sha256=i1UUvMuTkZPvZcz5Y9g2uJ3k2h5FOYA6yPyuLj_6R_g,4874
|
103 |
+
huggingface_hub/utils/sha.py,sha256=3VhuhpPIIaJlbs16fixaUiXBysRzfRBeAYB_28vJ9g0,1214
|
104 |
+
huggingface_hub/utils/tqdm.py,sha256=Bn8mOC-8fOI7CDuCxc6tgOMSuEt4IbOY4xFauuaXLos,4090
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/REQUESTED
ADDED
File without changes
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/WHEEL
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.38.4)
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
5 |
+
|
.local/lib/python3.10/site-packages/huggingface_hub-0.11.1.dist-info/entry_points.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
[console_scripts]
|
2 |
+
huggingface-cli = huggingface_hub.commands.huggingface_cli:main
|
3 |
+
|