hfutils 0.2.5__tar.gz → 0.2.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hfutils-0.2.5/hfutils.egg-info → hfutils-0.2.6}/PKG-INFO +22 -22
- hfutils-0.2.6/hfutils/__main__.py +4 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/config/meta.py +1 -1
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/cli.py +2 -0
- hfutils-0.2.6/hfutils/entry/ls_repo.py +74 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/irregular_repo.json +25 -25
- {hfutils-0.2.5 → hfutils-0.2.6/hfutils.egg-info}/PKG-INFO +22 -22
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils.egg-info/SOURCES.txt +2 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/LICENSE +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/MANIFEST.in +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/README.md +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/archive/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/archive/base.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/archive/rar.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/archive/sevenz.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/archive/tar.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/archive/zip.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/config/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/base.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/dispatch.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/download.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/ls.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/upload.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/entry/whoami.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/index/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/index/fetch.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/index/hash.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/index/make.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/index/validate.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/operate/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/operate/base.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/operate/download.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/operate/upload.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/operate/validate.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/__init__.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/binary.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/download.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/path.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/temp.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/tqdm_.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils/utils/walk.py +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils.egg-info/dependency_links.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils.egg-info/entry_points.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils.egg-info/requires.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/hfutils.egg-info/top_level.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements-7z.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements-build.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements-doc.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements-rar.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements-test.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements-transfer.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/requirements.txt +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/setup.cfg +0 -0
- {hfutils-0.2.5 → hfutils-0.2.6}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hfutils
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: Useful utilities for huggingface
|
|
5
5
|
Home-page: https://github.com/deepghs/hfutils
|
|
6
6
|
Author: narugo1992
|
|
@@ -27,25 +27,8 @@ Requires-Dist: requests
|
|
|
27
27
|
Requires-Dist: click>=7
|
|
28
28
|
Requires-Dist: tzlocal
|
|
29
29
|
Requires-Dist: natsort
|
|
30
|
-
Provides-Extra:
|
|
31
|
-
Requires-Dist:
|
|
32
|
-
Provides-Extra: test
|
|
33
|
-
Requires-Dist: coverage>=5; extra == "test"
|
|
34
|
-
Requires-Dist: mock>=4.0.3; extra == "test"
|
|
35
|
-
Requires-Dist: flake8~=3.5; extra == "test"
|
|
36
|
-
Requires-Dist: testfixtures>=6.18.5; extra == "test"
|
|
37
|
-
Requires-Dist: pytest~=6.2.5; extra == "test"
|
|
38
|
-
Requires-Dist: pytest-cov~=3.0.0; extra == "test"
|
|
39
|
-
Requires-Dist: pytest-mock~=3.6.1; extra == "test"
|
|
40
|
-
Requires-Dist: pytest-xdist>=1.34.0; extra == "test"
|
|
41
|
-
Requires-Dist: pytest-rerunfailures~=10.2; extra == "test"
|
|
42
|
-
Requires-Dist: pytest-timeout~=2.0.2; extra == "test"
|
|
43
|
-
Requires-Dist: pytest-benchmark~=3.4.0; extra == "test"
|
|
44
|
-
Requires-Dist: easydict<2,>=1.7; extra == "test"
|
|
45
|
-
Requires-Dist: testtools>=2; extra == "test"
|
|
46
|
-
Requires-Dist: where>=1.0.2; extra == "test"
|
|
47
|
-
Requires-Dist: responses>=0.20.0; extra == "test"
|
|
48
|
-
Requires-Dist: natsort; extra == "test"
|
|
30
|
+
Provides-Extra: build
|
|
31
|
+
Requires-Dist: pyinstaller<5,>=4.7; extra == "build"
|
|
49
32
|
Provides-Extra: doc
|
|
50
33
|
Requires-Dist: Jinja2>=3.0.0; extra == "doc"
|
|
51
34
|
Requires-Dist: sphinx>=3.2.0; extra == "doc"
|
|
@@ -66,12 +49,29 @@ Requires-Dist: ipykernel>=6.15; extra == "doc"
|
|
|
66
49
|
Requires-Dist: py-cpuinfo>=8.0.0; extra == "doc"
|
|
67
50
|
Requires-Dist: click>=7.0.0; extra == "doc"
|
|
68
51
|
Requires-Dist: pandas; extra == "doc"
|
|
69
|
-
Provides-Extra: build
|
|
70
|
-
Requires-Dist: pyinstaller<5,>=4.7; extra == "build"
|
|
71
52
|
Provides-Extra: 7z
|
|
72
53
|
Requires-Dist: py7zr; extra == "7z"
|
|
73
54
|
Provides-Extra: transfer
|
|
74
55
|
Requires-Dist: hf-transfer; extra == "transfer"
|
|
56
|
+
Provides-Extra: test
|
|
57
|
+
Requires-Dist: coverage>=5; extra == "test"
|
|
58
|
+
Requires-Dist: mock>=4.0.3; extra == "test"
|
|
59
|
+
Requires-Dist: flake8~=3.5; extra == "test"
|
|
60
|
+
Requires-Dist: testfixtures>=6.18.5; extra == "test"
|
|
61
|
+
Requires-Dist: pytest~=6.2.5; extra == "test"
|
|
62
|
+
Requires-Dist: pytest-cov~=3.0.0; extra == "test"
|
|
63
|
+
Requires-Dist: pytest-mock~=3.6.1; extra == "test"
|
|
64
|
+
Requires-Dist: pytest-xdist>=1.34.0; extra == "test"
|
|
65
|
+
Requires-Dist: pytest-rerunfailures~=10.2; extra == "test"
|
|
66
|
+
Requires-Dist: pytest-timeout~=2.0.2; extra == "test"
|
|
67
|
+
Requires-Dist: pytest-benchmark~=3.4.0; extra == "test"
|
|
68
|
+
Requires-Dist: easydict<2,>=1.7; extra == "test"
|
|
69
|
+
Requires-Dist: testtools>=2; extra == "test"
|
|
70
|
+
Requires-Dist: where>=1.0.2; extra == "test"
|
|
71
|
+
Requires-Dist: responses>=0.20.0; extra == "test"
|
|
72
|
+
Requires-Dist: natsort; extra == "test"
|
|
73
|
+
Provides-Extra: rar
|
|
74
|
+
Requires-Dist: rarfile; extra == "rar"
|
|
75
75
|
|
|
76
76
|
# hfutils
|
|
77
77
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from .dispatch import hfutilcli
|
|
2
2
|
from .download import _add_download_subcommand
|
|
3
3
|
from .ls import _add_ls_subcommand
|
|
4
|
+
from .ls_repo import _add_ls_repo_subcommand
|
|
4
5
|
from .upload import _add_upload_subcommand
|
|
5
6
|
from .whoami import _add_whoami_subcommand
|
|
6
7
|
|
|
@@ -9,6 +10,7 @@ _DECORATORS = [
|
|
|
9
10
|
_add_upload_subcommand,
|
|
10
11
|
_add_ls_subcommand,
|
|
11
12
|
_add_whoami_subcommand,
|
|
13
|
+
_add_ls_repo_subcommand,
|
|
12
14
|
]
|
|
13
15
|
|
|
14
16
|
cli = hfutilcli
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import fnmatch
|
|
2
|
+
from typing import Optional
|
|
3
|
+
|
|
4
|
+
import click
|
|
5
|
+
from huggingface_hub.utils import LocalTokenNotFoundError
|
|
6
|
+
|
|
7
|
+
from .base import CONTEXT_SETTINGS, ClickErrorException
|
|
8
|
+
from ..operate.base import REPO_TYPES, get_hf_client
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class NoLocalAuthentication(ClickErrorException):
|
|
12
|
+
"""
|
|
13
|
+
Exception raised when there is no local authentication token.
|
|
14
|
+
"""
|
|
15
|
+
exit_code = 0x31
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _add_ls_repo_subcommand(cli: click.Group) -> click.Group:
|
|
19
|
+
"""
|
|
20
|
+
Add the ls_repo subcommand to the CLI.
|
|
21
|
+
|
|
22
|
+
:param cli: The click Group object.
|
|
23
|
+
:type cli: click.Group
|
|
24
|
+
|
|
25
|
+
:return: The updated click Group object.
|
|
26
|
+
:rtype: click.Group
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
@cli.command('ls_repo', help='List repositories from HuggingFace.\n\n'
|
|
30
|
+
'Set environment $HF_TOKEN to use your own access token.',
|
|
31
|
+
context_settings=CONTEXT_SETTINGS)
|
|
32
|
+
@click.option('-a', '--author', 'author', type=str, default=None,
|
|
33
|
+
help='Author of the repositories. Search my repositories when not given.')
|
|
34
|
+
@click.option('-t', '--type', 'repo_type', type=click.Choice(REPO_TYPES), default='dataset',
|
|
35
|
+
help='Type of the HuggingFace repository.', show_default=True)
|
|
36
|
+
@click.option('-p', '--pattern', 'pattern', type=str, default='*',
|
|
37
|
+
help='Pattern of the repository names.', show_default=True)
|
|
38
|
+
def ls(author: Optional[str], repo_type: str, pattern: str):
|
|
39
|
+
"""
|
|
40
|
+
List repositories from HuggingFace.
|
|
41
|
+
|
|
42
|
+
:param author: Author of the repositories.
|
|
43
|
+
:type author: Optional[str]
|
|
44
|
+
:param repo_type: Type of the HuggingFace repository.
|
|
45
|
+
:type repo_type: str
|
|
46
|
+
:param pattern: Pattern of the repository names.
|
|
47
|
+
:type pattern: str
|
|
48
|
+
"""
|
|
49
|
+
hf_client = get_hf_client()
|
|
50
|
+
if not author:
|
|
51
|
+
try:
|
|
52
|
+
info = hf_client.whoami()
|
|
53
|
+
author = author or info['name']
|
|
54
|
+
except LocalTokenNotFoundError:
|
|
55
|
+
raise NoLocalAuthentication(
|
|
56
|
+
'Authentication failed.\n'
|
|
57
|
+
'Make sure you have set the correct Huggingface token.\n'
|
|
58
|
+
'Or if need to use this with guest mode, please explicitly set the `-a` option.'
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
if repo_type == 'model':
|
|
62
|
+
r = hf_client.list_models(author=author)
|
|
63
|
+
elif repo_type == 'dataset':
|
|
64
|
+
r = hf_client.list_datasets(author=author)
|
|
65
|
+
elif repo_type == 'space':
|
|
66
|
+
r = hf_client.list_spaces(author=author)
|
|
67
|
+
else:
|
|
68
|
+
raise ValueError(f'Unknown repository type - {repo_type!r}.') # pragma: no cover
|
|
69
|
+
|
|
70
|
+
for repo_item in r:
|
|
71
|
+
if fnmatch.fnmatch(repo_item.id, pattern):
|
|
72
|
+
print(repo_item.id)
|
|
73
|
+
|
|
74
|
+
return cli
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"datasets": [
|
|
3
3
|
"acronym_identification",
|
|
4
4
|
"ade_corpus_v2",
|
|
5
|
+
"adv_glue",
|
|
5
6
|
"aeslc",
|
|
6
7
|
"afrikaans_ner_corpus",
|
|
7
8
|
"ag_news",
|
|
@@ -42,10 +43,12 @@
|
|
|
42
43
|
"best2009",
|
|
43
44
|
"bible_para",
|
|
44
45
|
"big_patent",
|
|
46
|
+
"bigbench",
|
|
45
47
|
"billsum",
|
|
46
48
|
"bing_coronavirus_query_set",
|
|
47
49
|
"biomrc",
|
|
48
50
|
"biosses",
|
|
51
|
+
"biwi_kinect_head_pose",
|
|
49
52
|
"blended_skill_talk",
|
|
50
53
|
"blog_authorship_corpus",
|
|
51
54
|
"bn_hate_speech",
|
|
@@ -105,9 +108,12 @@
|
|
|
105
108
|
"common_voice",
|
|
106
109
|
"compguesswhat",
|
|
107
110
|
"conceptnet5",
|
|
111
|
+
"conceptual_12m",
|
|
112
|
+
"conceptual_captions",
|
|
108
113
|
"conll2000",
|
|
109
114
|
"conll2002",
|
|
110
115
|
"conll2003",
|
|
116
|
+
"conll2012_ontonotesv5",
|
|
111
117
|
"conllpp",
|
|
112
118
|
"consumer-finance-complaints",
|
|
113
119
|
"conv_ai",
|
|
@@ -163,15 +169,18 @@
|
|
|
163
169
|
"electricity_load_diagrams",
|
|
164
170
|
"eli5",
|
|
165
171
|
"eli5_category",
|
|
172
|
+
"elkarhizketak",
|
|
166
173
|
"emea",
|
|
167
174
|
"emo",
|
|
168
175
|
"emotone_ar",
|
|
169
176
|
"empathetic_dialogues",
|
|
170
177
|
"enriched_web_nlg",
|
|
178
|
+
"enwik8",
|
|
171
179
|
"eraser_multi_rc",
|
|
172
180
|
"esnli",
|
|
173
181
|
"eth_py150_open",
|
|
174
182
|
"ethos",
|
|
183
|
+
"ett",
|
|
175
184
|
"eu_regulatory_ir",
|
|
176
185
|
"eurlex",
|
|
177
186
|
"euronews",
|
|
@@ -209,6 +218,7 @@
|
|
|
209
218
|
"google_wellformed_query",
|
|
210
219
|
"grail_qa",
|
|
211
220
|
"great_code",
|
|
221
|
+
"gsm8k",
|
|
212
222
|
"guardian_authorship",
|
|
213
223
|
"gutenberg_time",
|
|
214
224
|
"hans",
|
|
@@ -254,6 +264,8 @@
|
|
|
254
264
|
"igbo_monolingual",
|
|
255
265
|
"igbo_ner",
|
|
256
266
|
"ilist",
|
|
267
|
+
"imagenet-1k",
|
|
268
|
+
"imagenet_sketch",
|
|
257
269
|
"imdb_urdu_reviews",
|
|
258
270
|
"imppres",
|
|
259
271
|
"indic_glue",
|
|
@@ -290,6 +302,7 @@
|
|
|
290
302
|
"large_spanish_corpus",
|
|
291
303
|
"laroseda",
|
|
292
304
|
"lc_quad",
|
|
305
|
+
"lccc",
|
|
293
306
|
"lener_br",
|
|
294
307
|
"liar",
|
|
295
308
|
"librispeech_asr",
|
|
@@ -319,6 +332,7 @@
|
|
|
319
332
|
"medical_questions_pairs",
|
|
320
333
|
"menyo20k_mt",
|
|
321
334
|
"meta_woz",
|
|
335
|
+
"metashift",
|
|
322
336
|
"metooma",
|
|
323
337
|
"metrec",
|
|
324
338
|
"miam",
|
|
@@ -328,6 +342,7 @@
|
|
|
328
342
|
"mlsum",
|
|
329
343
|
"mnist",
|
|
330
344
|
"mocha",
|
|
345
|
+
"monash_tsf",
|
|
331
346
|
"moroco",
|
|
332
347
|
"movie_rationales",
|
|
333
348
|
"mrqa",
|
|
@@ -396,8 +411,8 @@
|
|
|
396
411
|
"para_pat",
|
|
397
412
|
"parsinlu_reading_comprehension",
|
|
398
413
|
"pass",
|
|
399
|
-
"paws-x",
|
|
400
414
|
"paws",
|
|
415
|
+
"paws-x",
|
|
401
416
|
"pec",
|
|
402
417
|
"peoples_daily_ner",
|
|
403
418
|
"per_sent",
|
|
@@ -430,6 +445,7 @@
|
|
|
430
445
|
"quac",
|
|
431
446
|
"quail",
|
|
432
447
|
"quarel",
|
|
448
|
+
"quickdraw",
|
|
433
449
|
"quora",
|
|
434
450
|
"quoref",
|
|
435
451
|
"re_dial",
|
|
@@ -445,12 +461,14 @@
|
|
|
445
461
|
"ro_sts",
|
|
446
462
|
"ro_sts_parallel",
|
|
447
463
|
"roman_urdu",
|
|
464
|
+
"roman_urdu_hate_speech",
|
|
448
465
|
"ronec",
|
|
449
466
|
"rotten_tomatoes",
|
|
450
467
|
"samsum",
|
|
451
468
|
"sanskrit_classic",
|
|
452
469
|
"saudinewsnet",
|
|
453
470
|
"sberquad",
|
|
471
|
+
"sbu_captions",
|
|
454
472
|
"scan",
|
|
455
473
|
"scb_mt_enth_2020",
|
|
456
474
|
"scene_parse_150",
|
|
@@ -530,6 +548,7 @@
|
|
|
530
548
|
"telugu_news",
|
|
531
549
|
"tep_en_fa_para",
|
|
532
550
|
"text2log",
|
|
551
|
+
"textvqa",
|
|
533
552
|
"thai_toxicity_tweet",
|
|
534
553
|
"thainer",
|
|
535
554
|
"thaiqa_squad",
|
|
@@ -543,9 +562,11 @@
|
|
|
543
562
|
"timit_asr",
|
|
544
563
|
"tlc",
|
|
545
564
|
"tmu_gfm_dataset",
|
|
565
|
+
"tne",
|
|
546
566
|
"told-br",
|
|
547
567
|
"totto",
|
|
548
568
|
"trec",
|
|
569
|
+
"truthful_qa",
|
|
549
570
|
"tsac",
|
|
550
571
|
"ttc4900",
|
|
551
572
|
"tunizi",
|
|
@@ -572,6 +593,7 @@
|
|
|
572
593
|
"urdu_fake_news",
|
|
573
594
|
"urdu_sentiment_corpus",
|
|
574
595
|
"vctk",
|
|
596
|
+
"visual_genome",
|
|
575
597
|
"vivos",
|
|
576
598
|
"web_nlg",
|
|
577
599
|
"web_of_science",
|
|
@@ -599,6 +621,7 @@
|
|
|
599
621
|
"wikihow",
|
|
600
622
|
"wikipedia",
|
|
601
623
|
"wikisql",
|
|
624
|
+
"wikitablequestions",
|
|
602
625
|
"wikitext",
|
|
603
626
|
"wikitext_tl39",
|
|
604
627
|
"wili_2018",
|
|
@@ -632,30 +655,7 @@
|
|
|
632
655
|
"yoruba_text_c3",
|
|
633
656
|
"yoruba_wordsim353",
|
|
634
657
|
"youtube_caption_corrections",
|
|
635
|
-
"zest"
|
|
636
|
-
"elkarhizketak",
|
|
637
|
-
"wikitablequestions",
|
|
638
|
-
"conll2012_ontonotesv5",
|
|
639
|
-
"monash_tsf",
|
|
640
|
-
"roman_urdu_hate_speech",
|
|
641
|
-
"adv_glue",
|
|
642
|
-
"metashift",
|
|
643
|
-
"gsm8k",
|
|
644
|
-
"sbu_captions",
|
|
645
|
-
"conceptual_captions",
|
|
646
|
-
"conceptual_12m",
|
|
647
|
-
"visual_genome",
|
|
648
|
-
"imagenet-1k",
|
|
649
|
-
"tne",
|
|
650
|
-
"textvqa",
|
|
651
|
-
"ett",
|
|
652
|
-
"imagenet_sketch",
|
|
653
|
-
"biwi_kinect_head_pose",
|
|
654
|
-
"enwik8",
|
|
655
|
-
"truthful_qa",
|
|
656
|
-
"bigbench",
|
|
657
|
-
"quickdraw",
|
|
658
|
-
"lccc"
|
|
658
|
+
"zest"
|
|
659
659
|
],
|
|
660
660
|
"models": [],
|
|
661
661
|
"spaces": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hfutils
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: Useful utilities for huggingface
|
|
5
5
|
Home-page: https://github.com/deepghs/hfutils
|
|
6
6
|
Author: narugo1992
|
|
@@ -27,25 +27,8 @@ Requires-Dist: requests
|
|
|
27
27
|
Requires-Dist: click>=7
|
|
28
28
|
Requires-Dist: tzlocal
|
|
29
29
|
Requires-Dist: natsort
|
|
30
|
-
Provides-Extra:
|
|
31
|
-
Requires-Dist:
|
|
32
|
-
Provides-Extra: test
|
|
33
|
-
Requires-Dist: coverage>=5; extra == "test"
|
|
34
|
-
Requires-Dist: mock>=4.0.3; extra == "test"
|
|
35
|
-
Requires-Dist: flake8~=3.5; extra == "test"
|
|
36
|
-
Requires-Dist: testfixtures>=6.18.5; extra == "test"
|
|
37
|
-
Requires-Dist: pytest~=6.2.5; extra == "test"
|
|
38
|
-
Requires-Dist: pytest-cov~=3.0.0; extra == "test"
|
|
39
|
-
Requires-Dist: pytest-mock~=3.6.1; extra == "test"
|
|
40
|
-
Requires-Dist: pytest-xdist>=1.34.0; extra == "test"
|
|
41
|
-
Requires-Dist: pytest-rerunfailures~=10.2; extra == "test"
|
|
42
|
-
Requires-Dist: pytest-timeout~=2.0.2; extra == "test"
|
|
43
|
-
Requires-Dist: pytest-benchmark~=3.4.0; extra == "test"
|
|
44
|
-
Requires-Dist: easydict<2,>=1.7; extra == "test"
|
|
45
|
-
Requires-Dist: testtools>=2; extra == "test"
|
|
46
|
-
Requires-Dist: where>=1.0.2; extra == "test"
|
|
47
|
-
Requires-Dist: responses>=0.20.0; extra == "test"
|
|
48
|
-
Requires-Dist: natsort; extra == "test"
|
|
30
|
+
Provides-Extra: build
|
|
31
|
+
Requires-Dist: pyinstaller<5,>=4.7; extra == "build"
|
|
49
32
|
Provides-Extra: doc
|
|
50
33
|
Requires-Dist: Jinja2>=3.0.0; extra == "doc"
|
|
51
34
|
Requires-Dist: sphinx>=3.2.0; extra == "doc"
|
|
@@ -66,12 +49,29 @@ Requires-Dist: ipykernel>=6.15; extra == "doc"
|
|
|
66
49
|
Requires-Dist: py-cpuinfo>=8.0.0; extra == "doc"
|
|
67
50
|
Requires-Dist: click>=7.0.0; extra == "doc"
|
|
68
51
|
Requires-Dist: pandas; extra == "doc"
|
|
69
|
-
Provides-Extra: build
|
|
70
|
-
Requires-Dist: pyinstaller<5,>=4.7; extra == "build"
|
|
71
52
|
Provides-Extra: 7z
|
|
72
53
|
Requires-Dist: py7zr; extra == "7z"
|
|
73
54
|
Provides-Extra: transfer
|
|
74
55
|
Requires-Dist: hf-transfer; extra == "transfer"
|
|
56
|
+
Provides-Extra: test
|
|
57
|
+
Requires-Dist: coverage>=5; extra == "test"
|
|
58
|
+
Requires-Dist: mock>=4.0.3; extra == "test"
|
|
59
|
+
Requires-Dist: flake8~=3.5; extra == "test"
|
|
60
|
+
Requires-Dist: testfixtures>=6.18.5; extra == "test"
|
|
61
|
+
Requires-Dist: pytest~=6.2.5; extra == "test"
|
|
62
|
+
Requires-Dist: pytest-cov~=3.0.0; extra == "test"
|
|
63
|
+
Requires-Dist: pytest-mock~=3.6.1; extra == "test"
|
|
64
|
+
Requires-Dist: pytest-xdist>=1.34.0; extra == "test"
|
|
65
|
+
Requires-Dist: pytest-rerunfailures~=10.2; extra == "test"
|
|
66
|
+
Requires-Dist: pytest-timeout~=2.0.2; extra == "test"
|
|
67
|
+
Requires-Dist: pytest-benchmark~=3.4.0; extra == "test"
|
|
68
|
+
Requires-Dist: easydict<2,>=1.7; extra == "test"
|
|
69
|
+
Requires-Dist: testtools>=2; extra == "test"
|
|
70
|
+
Requires-Dist: where>=1.0.2; extra == "test"
|
|
71
|
+
Requires-Dist: responses>=0.20.0; extra == "test"
|
|
72
|
+
Requires-Dist: natsort; extra == "test"
|
|
73
|
+
Provides-Extra: rar
|
|
74
|
+
Requires-Dist: rarfile; extra == "rar"
|
|
75
75
|
|
|
76
76
|
# hfutils
|
|
77
77
|
|
|
@@ -10,6 +10,7 @@ requirements-transfer.txt
|
|
|
10
10
|
requirements.txt
|
|
11
11
|
setup.py
|
|
12
12
|
hfutils/__init__.py
|
|
13
|
+
hfutils/__main__.py
|
|
13
14
|
hfutils.egg-info/PKG-INFO
|
|
14
15
|
hfutils.egg-info/SOURCES.txt
|
|
15
16
|
hfutils.egg-info/dependency_links.txt
|
|
@@ -30,6 +31,7 @@ hfutils/entry/cli.py
|
|
|
30
31
|
hfutils/entry/dispatch.py
|
|
31
32
|
hfutils/entry/download.py
|
|
32
33
|
hfutils/entry/ls.py
|
|
34
|
+
hfutils/entry/ls_repo.py
|
|
33
35
|
hfutils/entry/upload.py
|
|
34
36
|
hfutils/entry/whoami.py
|
|
35
37
|
hfutils/index/__init__.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|