dump-things-pyclient 0.2.0__py3-none-any.whl → 0.2.2__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.
@@ -3,7 +3,7 @@ import importlib
3
3
  import pkgutil
4
4
  from pathlib import Path
5
5
 
6
- import click
6
+ import rich_click as click
7
7
 
8
8
 
9
9
  dtc_plugins_dir = Path(__file__).parent / 'dtc_plugins'
@@ -3,7 +3,7 @@ import logging
3
3
  import re
4
4
  import sys
5
5
 
6
- import click
6
+ import rich_click as click
7
7
 
8
8
  from ...communicate import (
9
9
  HTTPError,
@@ -1,6 +1,6 @@
1
1
  import json
2
2
 
3
- import click
3
+ import rich_click as click
4
4
 
5
5
  from ...communicate import (
6
6
  HTTPError,
@@ -1,7 +1,7 @@
1
1
  import json
2
2
  from functools import partial
3
3
 
4
- import click
4
+ import rich_click as click
5
5
 
6
6
  from ...communicate import (
7
7
  HTTPError,
@@ -1,6 +1,6 @@
1
1
  import json
2
2
 
3
- import click
3
+ import rich_click as click
4
4
 
5
5
  from ...communicate import (
6
6
  HTTPError,
@@ -2,7 +2,7 @@ import json
2
2
  import logging
3
3
  import sys
4
4
 
5
- import click
5
+ import rich_click as click
6
6
 
7
7
  from ...communicate import (
8
8
  HTTPError,
@@ -1,7 +1,7 @@
1
1
  import json
2
2
  import logging
3
3
 
4
- import click
4
+ import rich_click as click
5
5
 
6
6
  from ...communicate import (
7
7
  HTTPError,
@@ -0,0 +1,10 @@
1
+ import sys
2
+ from pathlib import Path
3
+
4
+ import rich_click as click
5
+
6
+
7
+ def main():
8
+ command_name = Path(sys.argv[0]).name
9
+ click.echo(f'Note: `{command_name}` is now a subcommand of `dtc`, please use the command `dtc {command_name} ...`.', err=True)
10
+ return 1
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dump-things-pyclient
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A client library and CLI commands for dump-things-services
5
5
  Author-email: Christian Mönch <christian.moench@web.de>
6
6
  Requires-Python: >=3.11
7
7
  Description-Content-Type: text/markdown
8
8
  Requires-Dist: click>=8.3.1
9
9
  Requires-Dist: requests>=2.32.5
10
+ Requires-Dist: rich-click>=1.9.6
10
11
  Provides-Extra: ttl
11
12
  Requires-Dist: dump-things-service>=5.3.0; extra == "ttl"
12
13
  Provides-Extra: tests
@@ -0,0 +1,18 @@
1
+ dump_things_pyclient/__init__.py,sha256=cn-U3TRIalN6aYHp1cMBRkQm1x98XBwquLFbgFEIf_Q,113
2
+ dump_things_pyclient/communicate.py,sha256=CTkgEigu16BmLrlJScMQKhHLI_W4SywDb4HCwAICWzA,30523
3
+ dump_things_pyclient/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ dump_things_pyclient/commands/dtc.py,sha256=dxW5RuogqwhzfVujZ_EEsQMk8BcVMbZyMdg5c8EvYIA,1726
5
+ dump_things_pyclient/commands/json2ttl.py,sha256=8BkvdjLWZ_H0L6fTmuR2M2MglKiMUiuNUcuWr_w6_dQ,2133
6
+ dump_things_pyclient/commands/redirect.py,sha256=kl8pGj8khjxk4lhk8AJLfgtCIm5PtjeMAl0J6K5FB7M,264
7
+ dump_things_pyclient/commands/dtc_plugins/__init__.py,sha256=0YLByLiofhHkhJcDCkokldcCw3Jj0rsKJinRX4tt3Hc,514
8
+ dump_things_pyclient/commands/dtc_plugins/auto_curate.py,sha256=3_SHXPQCXmY6GqTMTNVkKh5vvshfiZpMGFY0gvJxRbo,7411
9
+ dump_things_pyclient/commands/dtc_plugins/clean_incoming.py,sha256=slk3xn1-DgMl88WZqgyemyscwof97TMXt3rley4mU1w,2086
10
+ dump_things_pyclient/commands/dtc_plugins/get_records.py,sha256=YBRNo7HUCWZ-EOv8EU_yGMRRoXqqKy1XTcsfQ64ymuk,7508
11
+ dump_things_pyclient/commands/dtc_plugins/list_incoming.py,sha256=tmM0Qs4MVwMMLyERsWCxWGTM90rSNOShLpHH32wObd8,1959
12
+ dump_things_pyclient/commands/dtc_plugins/post_records.py,sha256=s3j9THe-RszKxyIISkQZRCTKplWWLlomHbS5dyRlep0,2908
13
+ dump_things_pyclient/commands/dtc_plugins/read_pages.py,sha256=hpw7vtG7joIMrNqEqZFCwzbQFd3ATzv7iyySsX8nKWk,3385
14
+ dump_things_pyclient-0.2.2.dist-info/METADATA,sha256=kvCtVMiZmCjtrJssE6O-WGGZBVrpVec2uoXdOcaj8vM,999
15
+ dump_things_pyclient-0.2.2.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
16
+ dump_things_pyclient-0.2.2.dist-info/entry_points.txt,sha256=U1QhQtk767G_OXdZwPdTXYbIPfcDU13Z2u1d6exX8uE,470
17
+ dump_things_pyclient-0.2.2.dist-info/top_level.txt,sha256=Asvruw-SyLoYhWis1CFOx89RGxpjXoTZVGoq4JSGt88,21
18
+ dump_things_pyclient-0.2.2.dist-info/RECORD,,
@@ -0,0 +1,9 @@
1
+ [console_scripts]
2
+ auto-curate = dump_things_pyclient.commands.redirect:main
3
+ clean-incoming = dump_things_pyclient.commands.redirect:main
4
+ dtc = dump_things_pyclient.commands.dtc:cli
5
+ get-records = dump_things_pyclient.commands.redirect:main
6
+ json2ttl = dump_things_pyclient.commands.json2ttl:main
7
+ list-incoming = dump_things_pyclient.commands.redirect:main
8
+ post-records = dump_things_pyclient.commands.redirect:main
9
+ read-pages = dump_things_pyclient.commands.redirect:main
@@ -1,17 +0,0 @@
1
- dump_things_pyclient/__init__.py,sha256=cn-U3TRIalN6aYHp1cMBRkQm1x98XBwquLFbgFEIf_Q,113
2
- dump_things_pyclient/communicate.py,sha256=CTkgEigu16BmLrlJScMQKhHLI_W4SywDb4HCwAICWzA,30523
3
- dump_things_pyclient/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- dump_things_pyclient/commands/dtc.py,sha256=Cb4wF-20nYwRb1Dpy9x33aU8XjFp-CzTabb9jHVWzMY,1712
5
- dump_things_pyclient/commands/json2ttl.py,sha256=8BkvdjLWZ_H0L6fTmuR2M2MglKiMUiuNUcuWr_w6_dQ,2133
6
- dump_things_pyclient/commands/dtc_plugins/__init__.py,sha256=0YLByLiofhHkhJcDCkokldcCw3Jj0rsKJinRX4tt3Hc,514
7
- dump_things_pyclient/commands/dtc_plugins/auto_curate.py,sha256=QqHwzfrR7XbzdlZHuss4bREAjUxWudF8a_4t8oXuZ_8,7397
8
- dump_things_pyclient/commands/dtc_plugins/clean_incoming.py,sha256=tTEKlm9BMS4HSy71U6cYQaGZw_WEeQZIKN8_xwNlZDE,2072
9
- dump_things_pyclient/commands/dtc_plugins/get_records.py,sha256=gHClp7h0e9rHuP0Dd6JWv_C_RGGTTkUCm88Bhs9wetU,7494
10
- dump_things_pyclient/commands/dtc_plugins/list_incoming.py,sha256=hKvlHzGABh_ilGrT61yDvweU6wiBmDXfdyxks3D-mEU,1945
11
- dump_things_pyclient/commands/dtc_plugins/post_records.py,sha256=oRKpxLBDrhgiusZoyj-spKSyUquoa1yzkbT_K0-DQjg,2894
12
- dump_things_pyclient/commands/dtc_plugins/read_pages.py,sha256=lG1fG-5g5LXTzAWHphAbrz_iMq4d-F7W01Ly3abLCAE,3371
13
- dump_things_pyclient-0.2.0.dist-info/METADATA,sha256=d5f3sYZAKQRpMqZr6w52xtk_CR5uhjcYz3rJQk3qkLE,966
14
- dump_things_pyclient-0.2.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
15
- dump_things_pyclient-0.2.0.dist-info/entry_points.txt,sha256=UciGaqSUivgH8oFLO8vNhHqKLmVFhjdM1tdfqCwgOok,117
16
- dump_things_pyclient-0.2.0.dist-info/top_level.txt,sha256=Asvruw-SyLoYhWis1CFOx89RGxpjXoTZVGoq4JSGt88,21
17
- dump_things_pyclient-0.2.0.dist-info/RECORD,,
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
- dtc = dump_things_pyclient.commands.dtc:cli
3
- json2ttl = dump_things_pyclient.commands.json2ttl:main