Use rich-click for the CLI interfacde #11
10 changed files with 34 additions and 10 deletions
|
|
@ -1,4 +1,11 @@
|
|||
# 0.2.0 (2026-01-19)
|
||||
# 0.2.1 (2026-01-23)
|
||||
|
||||
## New features
|
||||
|
||||
- Use rich-click for CLI-interface implementation.
|
||||
|
||||
|
||||
# 0.2.0 (2026-01-22)
|
||||
|
||||
## New features
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import importlib
|
|||
import pkgutil
|
||||
from pathlib import Path
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
|
||||
dtc_plugins_dir = Path(__file__).parent / 'dtc_plugins'
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import logging
|
|||
import re
|
||||
import sys
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
from ...communicate import (
|
||||
HTTPError,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import json
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
from ...communicate import (
|
||||
HTTPError,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import json
|
||||
from functools import partial
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
from ...communicate import (
|
||||
HTTPError,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import json
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
from ...communicate import (
|
||||
HTTPError,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import json
|
|||
import logging
|
||||
import sys
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
from ...communicate import (
|
||||
HTTPError,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import json
|
||||
import logging
|
||||
|
||||
import click
|
||||
import rich_click as click
|
||||
|
||||
from ...communicate import (
|
||||
HTTPError,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "dump-things-pyclient"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
description = "A client library and CLI commands for dump-things-services"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -10,6 +10,7 @@ authors = [
|
|||
dependencies = [
|
||||
"click>=8.3.1",
|
||||
"requests>=2.32.5",
|
||||
"rich-click>=1.9.6",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
|
|
|
|||
18
uv.lock
generated
18
uv.lock
generated
|
|
@ -369,11 +369,12 @@ wheels = [
|
|||
|
||||
[[package]]
|
||||
name = "dump-things-pyclient"
|
||||
version = "0.1.4"
|
||||
version = "0.2.0"
|
||||
source = { virtual = "." }
|
||||
dependencies = [
|
||||
{ name = "click" },
|
||||
{ name = "requests" },
|
||||
{ name = "rich-click" },
|
||||
]
|
||||
|
||||
[package.optional-dependencies]
|
||||
|
|
@ -390,6 +391,7 @@ requires-dist = [
|
|||
{ name = "dump-things-service", marker = "extra == 'ttl'", specifier = ">=5.3.0" },
|
||||
{ name = "pytest", marker = "extra == 'tests'", specifier = ">=9.0.1" },
|
||||
{ name = "requests", specifier = ">=2.32.5" },
|
||||
{ name = "rich-click", specifier = ">=1.9.6" },
|
||||
]
|
||||
provides-extras = ["ttl", "tests"]
|
||||
|
||||
|
|
@ -1846,6 +1848,20 @@ wheels = [
|
|||
{ url = "https://files.pythonhosted.org/packages/25/7a/b0178788f8dc6cafce37a212c99565fa1fe7872c70c6c9c1e1a372d9d88f/rich-14.2.0-py3-none-any.whl", hash = "sha256:76bc51fe2e57d2b1be1f96c524b890b816e334ab4c1e45888799bfaab0021edd", size = 243393, upload-time = "2025-10-09T14:16:51.245Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rich-click"
|
||||
version = "1.9.6"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
dependencies = [
|
||||
{ name = "click" },
|
||||
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
||||
{ name = "rich" },
|
||||
]
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/4b/50/1497dbc52297d6759451bf5a991e9b2d0a122a5d33ac8cd057f81cb9910a/rich_click-1.9.6.tar.gz", hash = "sha256:463bd3dbef54a812282bfa93dde80c471bce359823fc1301be368eab63391cb2", size = 74777, upload-time = "2026-01-22T02:43:58.374Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/47/87/508930def644be9fb86fec63520151921061c152289b98798017a498d678/rich_click-1.9.6-py3-none-any.whl", hash = "sha256:e78d71e3f73a55548e573ccfd964e18503936e2e736a4a1f74c6c29479a2a054", size = 71430, upload-time = "2026-01-22T02:43:56.939Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "rich-toolkit"
|
||||
version = "0.17.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue