rucio-clients 37.0.0rc3__py3-none-any.whl → 37.1.0__py3-none-any.whl
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.
Potentially problematic release.
This version of rucio-clients might be problematic. Click here for more details.
- rucio/cli/account.py +14 -14
- rucio/cli/command.py +9 -9
- rucio/cli/config.py +3 -3
- rucio/cli/did.py +13 -13
- rucio/cli/lifetime_exception.py +1 -1
- rucio/cli/replica.py +3 -3
- rucio/cli/rse.py +18 -18
- rucio/cli/rule.py +5 -5
- rucio/cli/scope.py +2 -2
- rucio/cli/subscription.py +4 -4
- rucio/client/baseclient.py +0 -3
- rucio/client/lifetimeclient.py +46 -13
- rucio/common/config.py +0 -26
- rucio/common/stomp_utils.py +119 -383
- rucio/common/utils.py +14 -17
- rucio/vcsversion.py +4 -4
- {rucio_clients-37.0.0rc3.dist-info → rucio_clients-37.1.0.dist-info}/METADATA +1 -1
- {rucio_clients-37.0.0rc3.dist-info → rucio_clients-37.1.0.dist-info}/RECORD +29 -29
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/etc/rse-accounts.cfg.template +0 -0
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/etc/rucio.cfg.atlas.client.template +0 -0
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/etc/rucio.cfg.template +0 -0
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/requirements.client.txt +0 -0
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/rucio_client/merge_rucio_configs.py +0 -0
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/scripts/rucio +0 -0
- {rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/scripts/rucio-admin +0 -0
- {rucio_clients-37.0.0rc3.dist-info → rucio_clients-37.1.0.dist-info}/WHEEL +0 -0
- {rucio_clients-37.0.0rc3.dist-info → rucio_clients-37.1.0.dist-info}/licenses/AUTHORS.rst +0 -0
- {rucio_clients-37.0.0rc3.dist-info → rucio_clients-37.1.0.dist-info}/licenses/LICENSE +0 -0
- {rucio_clients-37.0.0rc3.dist-info → rucio_clients-37.1.0.dist-info}/top_level.txt +0 -0
rucio/common/utils.py
CHANGED
|
@@ -852,27 +852,24 @@ def get_bytes_value_from_string(input_string: str) -> Union[bool, int]:
|
|
|
852
852
|
:param input_string: String containing a value and an unit
|
|
853
853
|
:return: Integer value representing the value in bytes
|
|
854
854
|
"""
|
|
855
|
-
|
|
855
|
+
unit_multipliers = {
|
|
856
|
+
'b': 1,
|
|
857
|
+
'kb': 10**3,
|
|
858
|
+
'mb': 10**6,
|
|
859
|
+
'gb': 10**9,
|
|
860
|
+
'tb': 10**12,
|
|
861
|
+
'pb': 10**15,
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
result = re.findall(r'^([0-9]+)([A-Za-z]+)$', input_string)
|
|
856
865
|
if result:
|
|
857
866
|
value = int(result[0][0])
|
|
858
867
|
unit = result[0][1].lower()
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
elif unit == 'kb':
|
|
862
|
-
value = value * 1000
|
|
863
|
-
elif unit == 'mb':
|
|
864
|
-
value = value * 1000000
|
|
865
|
-
elif unit == 'gb':
|
|
866
|
-
value = value * 1000000000
|
|
867
|
-
elif unit == 'tb':
|
|
868
|
-
value = value * 1000000000000
|
|
869
|
-
elif unit == 'pb':
|
|
870
|
-
value = value * 1000000000000000
|
|
871
|
-
else:
|
|
868
|
+
multiplier = unit_multipliers.get(unit)
|
|
869
|
+
if multiplier is None:
|
|
872
870
|
return False
|
|
873
|
-
return value
|
|
874
|
-
|
|
875
|
-
return False
|
|
871
|
+
return value * multiplier
|
|
872
|
+
return False
|
|
876
873
|
|
|
877
874
|
|
|
878
875
|
def parse_did_filter_from_string(input_string: str) -> tuple[dict[str, Any], str]:
|
rucio/vcsversion.py
CHANGED
|
@@ -4,8 +4,8 @@ This file is automatically generated; Do not edit it. :)
|
|
|
4
4
|
'''
|
|
5
5
|
VERSION_INFO = {
|
|
6
6
|
'final': True,
|
|
7
|
-
'version': '37.0
|
|
8
|
-
'branch_nick': '
|
|
9
|
-
'revision_id': '
|
|
10
|
-
'revno':
|
|
7
|
+
'version': '37.1.0',
|
|
8
|
+
'branch_nick': 'release-37',
|
|
9
|
+
'revision_id': 'f6fa712c32b14e1d104349a1c2596cdcb4d8d92d',
|
|
10
|
+
'revno': 13640
|
|
11
11
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
rucio/__init__.py,sha256=Y7cPPlHVQPFyN8bSPFC0W3WViEdONr5g_qwBub5rufE,660
|
|
2
2
|
rucio/alembicrevision.py,sha256=lNSQZYA4U_fsMW8l0dHpiV243XZhioqvVo9ihmpuQBo,690
|
|
3
|
-
rucio/vcsversion.py,sha256=
|
|
3
|
+
rucio/vcsversion.py,sha256=EsGNongUObTBlx1iw_IL0O62ePrVqOiCZI9lA0dfr6g,244
|
|
4
4
|
rucio/version.py,sha256=IwsNb1QQk0D092QQbR2K9wBPF2Akny1RGs-ZZziUohE,1519
|
|
5
5
|
rucio/cli/__init__.py,sha256=GIkHmxgE3xdvWSf-7ZnvVaJmbs7NokaSjbFzsrXOG9o,662
|
|
6
|
-
rucio/cli/account.py,sha256=
|
|
7
|
-
rucio/cli/command.py,sha256=
|
|
8
|
-
rucio/cli/config.py,sha256=
|
|
9
|
-
rucio/cli/did.py,sha256=
|
|
6
|
+
rucio/cli/account.py,sha256=7YWLfmiplhCjaaHNSYBzd7d_4yYzxUSRrsT0xGcNr2w,9452
|
|
7
|
+
rucio/cli/command.py,sha256=xU52wQhkyH85htZQyqOCOZOPizoMHY87FG6hNojk59Q,10784
|
|
8
|
+
rucio/cli/config.py,sha256=L7vhzAyUVKZBWKKDvrLl7zCei8O6kDyzX_x_-p-vk9M,2706
|
|
9
|
+
rucio/cli/did.py,sha256=qyTRXUHZ-h4xV01kZcRpPh_ekBOdNgMOmchJfifgCe4,9160
|
|
10
10
|
rucio/cli/download.py,sha256=nltAf8nm8P6nrfIu0CUveY4YM6oL5nSR3w6yS4qBbw0,6248
|
|
11
|
-
rucio/cli/lifetime_exception.py,sha256=
|
|
12
|
-
rucio/cli/replica.py,sha256=
|
|
13
|
-
rucio/cli/rse.py,sha256=
|
|
14
|
-
rucio/cli/rule.py,sha256=
|
|
15
|
-
rucio/cli/scope.py,sha256=
|
|
16
|
-
rucio/cli/subscription.py,sha256=
|
|
11
|
+
rucio/cli/lifetime_exception.py,sha256=joi9HdaiYP_g3115IR_ImX7oFlEg1xbSaK-IzmoIVcY,1498
|
|
12
|
+
rucio/cli/replica.py,sha256=ZRvLONlD0enuuDLgDm5iAia-HEaOg8PDepJPImEu9fo,8169
|
|
13
|
+
rucio/cli/rse.py,sha256=rb4Cdo5Ywb4qbwXe0y7g8ctgZq03Mn9JgddkhdDgDHI,11619
|
|
14
|
+
rucio/cli/rule.py,sha256=_6N6kBHqZOW6RIhptyoaQRfqYSIZwSYhEi2NhnOYIg0,8840
|
|
15
|
+
rucio/cli/scope.py,sha256=0AuXGSQWYOas1EgkFq6KCuwqh_fuMzUgnp_jqQ_Y2t0,1574
|
|
16
|
+
rucio/cli/subscription.py,sha256=fWUrdP1TIrrWXmmWODTHh4fCmIW-LFLNrv3OYJXUAYM,4269
|
|
17
17
|
rucio/cli/upload.py,sha256=29gJGfb7jsiA6-UwPCSg1kGZu-OJ-bdxUZr27S2mJEM,3237
|
|
18
18
|
rucio/cli/utils.py,sha256=uICXhVjsmnRpwvgY7FLxTvyC_88BgH5I_v7iutix4eI,9739
|
|
19
19
|
rucio/cli/bin_legacy/__init__.py,sha256=Q91iipvMQ0VzNMuYcYQfDujZ0vL-hrB4Kmd0YrgtHGQ,618
|
|
@@ -22,7 +22,7 @@ rucio/cli/bin_legacy/rucio_admin.py,sha256=Lw_fYlTUG-5fcTRpgcdHxDN63jyaTjZRbx8Da
|
|
|
22
22
|
rucio/client/__init__.py,sha256=0-jkSlrJf-eqbN4swA5a07eaWd6_6JXPQPLXMs4A3iI,660
|
|
23
23
|
rucio/client/accountclient.py,sha256=VqCtgecQA-kt33On7lm3dmab5LyLSXIvOVH3akTIzvU,17271
|
|
24
24
|
rucio/client/accountlimitclient.py,sha256=RcA9ZjUz3uhpYlBROi9j97_0Fxd9TlmDaWv_3I14s_g,6479
|
|
25
|
-
rucio/client/baseclient.py,sha256=
|
|
25
|
+
rucio/client/baseclient.py,sha256=9g46vdMn4nB69ScKHFVhdg_HOt0pSd3aijDQjpD0dYA,49431
|
|
26
26
|
rucio/client/client.py,sha256=uvGYQ9DZ1QjtfZ9NzN2nflPZOGNG5r4wOER7wSg-90g,4281
|
|
27
27
|
rucio/client/configclient.py,sha256=sCnzWOnGSYWktYud-OUnc8qVaDMiSq9I7N4uuqcTz0Y,4685
|
|
28
28
|
rucio/client/credentialclient.py,sha256=MCnuL966HPJwgxNEnk597SO7xwPEhnAIdEOeH75SOUU,2101
|
|
@@ -32,7 +32,7 @@ rucio/client/downloadclient.py,sha256=PXp_Tp2BxjVQPXltLaPUCs3oS3MZJBGLTRJg3ydFRm
|
|
|
32
32
|
rucio/client/exportclient.py,sha256=DJFJkBPYUmLTgHv6B5DAElIMhkpPl0Sz6OpTNM7WA50,1625
|
|
33
33
|
rucio/client/fileclient.py,sha256=NICwXZdIKIySYMIiiqz9nR8sQTiLjcWdk0RzAQaOD0U,1667
|
|
34
34
|
rucio/client/importclient.py,sha256=YMFZH79svGbl-riRSx4jeNGq7TVPiT57A_rcVT8qAGk,1516
|
|
35
|
-
rucio/client/lifetimeclient.py,sha256=
|
|
35
|
+
rucio/client/lifetimeclient.py,sha256=pS5K02IUsYwvq_ZlkBpJ0qbuPlwAmixqVdi2Ue_PbKY,5869
|
|
36
36
|
rucio/client/lockclient.py,sha256=Fc-BVQV_nAHM8YmxN1UFqHutEl-E8uxnSlsjH7Uxjj4,4276
|
|
37
37
|
rucio/client/metaconventionsclient.py,sha256=1Wwh3y45zhr9X05MYGq5Gph85vIUKvWDJjRYvQpCSLw,5195
|
|
38
38
|
rucio/client/pingclient.py,sha256=rwb02jpKJnEioZ-lQRf04Drp_sRtXC36WsubNKtEvpg,1390
|
|
@@ -50,7 +50,7 @@ rucio/common/bittorrent.py,sha256=cpz-axibeHmO-Nk3-RH5JTvF6PjvmrRY0rOCgRjmaHk,88
|
|
|
50
50
|
rucio/common/cache.py,sha256=8jfk6lB_KfwV_ZQBRngTYLwJ4zpDAg1Q70o5LRGR4AU,3420
|
|
51
51
|
rucio/common/checksum.py,sha256=nSqjY8TdDGohpAzcEM2fjv4FPdOKmKr_3U27HalKkoY,5254
|
|
52
52
|
rucio/common/client.py,sha256=qhkg0JETEQR0abTQ1m0iYE5wOzfEm-s1AABFgbxqlSA,3957
|
|
53
|
-
rucio/common/config.py,sha256=
|
|
53
|
+
rucio/common/config.py,sha256=VXMnocr6iwSgoSXAFl9r4EmPwMKxQ7DetmT1xzgTfkw,23629
|
|
54
54
|
rucio/common/constants.py,sha256=5gLwj_VCDrNegcMrQbt7ozdannSYqP1_gDrEE8YVPmI,7736
|
|
55
55
|
rucio/common/constraints.py,sha256=MrdiAwKyoaZGfspUWX_53XS2790nXMSMg1JYmTO_ciQ,726
|
|
56
56
|
rucio/common/didtype.py,sha256=dYYLIxcOjIHaDBAYSoCpmhZ-O2GTKxIi66jHiXtuVRY,8010
|
|
@@ -60,11 +60,11 @@ rucio/common/logging.py,sha256=_G1QDFpPLghz2VXOjdhC7j-TtZBxmPJsyJtztW7mf68,15874
|
|
|
60
60
|
rucio/common/pcache.py,sha256=pgIfBJxXYPWlD70l8g3-CVTizk_UfzaZxE27NhTvq6w,47001
|
|
61
61
|
rucio/common/plugins.py,sha256=O6Snuhm2Tf2lyTA3cCBzSJB27RX1MY_r9mEAccrRCj4,7283
|
|
62
62
|
rucio/common/policy.py,sha256=2ByqoQQp4jpHdnnpq4-Ie7GwHslP8S9Zfu8qOqgzukU,3490
|
|
63
|
-
rucio/common/stomp_utils.py,sha256=
|
|
63
|
+
rucio/common/stomp_utils.py,sha256=3GTiRTJ0roe5OX_wgkVwOJYAIhGgYbhiROHc2M8LQT8,5414
|
|
64
64
|
rucio/common/stopwatch.py,sha256=_9zxoLjr8A0wUDJsljK4vZNDCI-dIOgpcxXiCNVJcHU,1641
|
|
65
65
|
rucio/common/test_rucio_server.py,sha256=2teFpN5Pthp-zQt1_aErOURDTgOhFP9GKdEr1NMmc4o,5085
|
|
66
66
|
rucio/common/types.py,sha256=THfYyGKy7KUEvkBgAXSkdI2SxZBlsSr6E3sF9OkEms4,11764
|
|
67
|
-
rucio/common/utils.py,sha256=
|
|
67
|
+
rucio/common/utils.py,sha256=oPBOcyaEG9Z4AI22rPt87gv5RhxJenAttxq7CLdU0FU,61531
|
|
68
68
|
rucio/common/schema/__init__.py,sha256=2nmfxV4ps9J030fUoSiJs4OQCxiEk77rPrNeGk9xgZs,7800
|
|
69
69
|
rucio/common/schema/generic.py,sha256=NkjdxVutlRm-7AvgQf9bTW0Gb0AomuiV1iwfXOPNmIQ,15811
|
|
70
70
|
rucio/common/schema/generic_multi_vo.py,sha256=Owk9JMxycAcayTDnx-9kiXZSRBHC_jPaq79jjE1FiB0,15035
|
|
@@ -89,16 +89,16 @@ rucio/rse/protocols/ssh.py,sha256=pHPAQx2bPNkMrtqbCqDfq7OXoy7XphQ-i2Stzdvnf1k,17
|
|
|
89
89
|
rucio/rse/protocols/storm.py,sha256=Z4fzklxG-x70A0Lugg1jE1RicwCSeF27iz0MXO-4to0,7864
|
|
90
90
|
rucio/rse/protocols/webdav.py,sha256=nNMWEVqO1nYxJWrCVBoWLhG-XG2-ee5CL5H_MNRwkg0,24513
|
|
91
91
|
rucio/rse/protocols/xrootd.py,sha256=oJHueVR44dcW5nkg8jCbr9PetV9UIti3C0tka_m7yIk,12604
|
|
92
|
-
rucio_clients-37.0.
|
|
93
|
-
rucio_clients-37.0.
|
|
94
|
-
rucio_clients-37.0.
|
|
95
|
-
rucio_clients-37.0.
|
|
96
|
-
rucio_clients-37.0.
|
|
97
|
-
rucio_clients-37.0.
|
|
98
|
-
rucio_clients-37.0.
|
|
99
|
-
rucio_clients-37.0.
|
|
100
|
-
rucio_clients-37.0.
|
|
101
|
-
rucio_clients-37.0.
|
|
102
|
-
rucio_clients-37.0.
|
|
103
|
-
rucio_clients-37.0.
|
|
104
|
-
rucio_clients-37.0.
|
|
92
|
+
rucio_clients-37.1.0.data/data/requirements.client.txt,sha256=uGqQvHApEbAsTgkHDqGFTmPmKtd2vL7o4rv4LO8ikjM,1790
|
|
93
|
+
rucio_clients-37.1.0.data/data/etc/rse-accounts.cfg.template,sha256=IfDnXVxBPUrMnTMbJnd3P7eYHgY1C4Kfz7xKskJs-FI,543
|
|
94
|
+
rucio_clients-37.1.0.data/data/etc/rucio.cfg.atlas.client.template,sha256=aHP1oX9m5yA8xVTTT2Hz6AyOYu92-Bcd5LF0i3AZRQw,1350
|
|
95
|
+
rucio_clients-37.1.0.data/data/etc/rucio.cfg.template,sha256=iqtbivJDlngApmuJDiOLDQPRlxDRfljpLmiT_tzlUrM,8081
|
|
96
|
+
rucio_clients-37.1.0.data/data/rucio_client/merge_rucio_configs.py,sha256=u62K1EcCGydM5nZA30zhlqWo4EX5N87b_MDkx5YfzVI,6163
|
|
97
|
+
rucio_clients-37.1.0.data/scripts/rucio,sha256=xQRL_0mwut48KxOgWZexsSx9jfnaZHqSTAo7OnCHAgA,5081
|
|
98
|
+
rucio_clients-37.1.0.data/scripts/rucio-admin,sha256=AhPO6-fAPviHObhB_Yi7GJXKfjpaH6m0RqxwctBeFlE,4229
|
|
99
|
+
rucio_clients-37.1.0.dist-info/licenses/AUTHORS.rst,sha256=c4MEJjLcFZ5euNtPA7jGFL26javbFKpWTvxBoIs_l6w,4726
|
|
100
|
+
rucio_clients-37.1.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
101
|
+
rucio_clients-37.1.0.dist-info/METADATA,sha256=V7x7N0dwHh1yGUWLRVgF6R4W9bFR2_XqoVJ2CVB6MHQ,1753
|
|
102
|
+
rucio_clients-37.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
103
|
+
rucio_clients-37.1.0.dist-info/top_level.txt,sha256=lJM8plwW0ePPICkwFnpYzfdqHnSv6JZr1OD4JEysPgM,6
|
|
104
|
+
rucio_clients-37.1.0.dist-info/RECORD,,
|
{rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/etc/rse-accounts.cfg.template
RENAMED
|
File without changes
|
{rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/etc/rucio.cfg.atlas.client.template
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rucio_clients-37.0.0rc3.data → rucio_clients-37.1.0.data}/data/rucio_client/merge_rucio_configs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|