rich-gradient-cli 0.2.0__tar.gz → 0.3.0__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.
Files changed (17) hide show
  1. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/PKG-INFO +8 -9
  2. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/README.md +4 -4
  3. rich_gradient_cli-0.3.0/pyproject.toml +59 -0
  4. rich_gradient_cli-0.2.0/pyproject.toml → rich_gradient_cli-0.3.0/pyproject.toml.orig +5 -5
  5. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/__init__.py +2 -2
  6. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/__main__.py +0 -0
  7. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/common.py +0 -0
  8. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/gradient_command.py +0 -0
  9. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/help.py +0 -0
  10. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/markdown_command.py +0 -0
  11. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/panel_command.py +0 -0
  12. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/py.typed +0 -0
  13. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/renderable_commands.py +0 -0
  14. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/rule_command.py +0 -0
  15. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/spectrum_command.py +0 -0
  16. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/text_command.py +0 -0
  17. {rich_gradient_cli-0.2.0 → rich_gradient_cli-0.3.0}/src/rich_gradient_cli/view_command.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rich-gradient-cli
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: CLI for printing text in gradient color using the rich-gradient library.
5
5
  Author: Maxwell Ludden
6
6
  Author-email: Maxwell Ludden <maxludden@me.com>
@@ -11,10 +11,9 @@ Requires-Dist: rich-gradient>=0.3.9
11
11
  Requires-Dist: mypy>=1.18.2 ; extra == 'dev'
12
12
  Requires-Dist: pytest>=8.4.2 ; extra == 'dev'
13
13
  Requires-Dist: ruff>=0.15.0 ; extra == 'dev'
14
- Requires-Dist: mkdocs>=1.6.1 ; extra == 'docs'
15
- Requires-Dist: mkdocs-material>=9.7.1 ; extra == 'docs'
16
- Requires-Dist: mkdocstrings>=1.0.3 ; extra == 'docs'
17
- Requires-Dist: mkdocstrings-python>=2.0.2 ; extra == 'docs'
14
+ Requires-Dist: mkdocstrings>=1.0.8 ; python_full_version >= '3.11' and extra == 'docs'
15
+ Requires-Dist: mkdocstrings-python>=2.0.2 ; python_full_version >= '3.11' and extra == 'docs'
16
+ Requires-Dist: zensical>=0.0.68 ; python_full_version >= '3.11' and extra == 'docs'
18
17
  Requires-Python: >=3.10
19
18
  Provides-Extra: dev
20
19
  Provides-Extra: docs
@@ -43,7 +42,7 @@ pip install rich-gradient-cli
43
42
  ## Usage
44
43
 
45
44
  <video
46
- src="docs/assets/rich-gradient-cli-help.mp4"
45
+ src="docs/img/rich-gradient-cli-help.mp4"
47
46
  controls
48
47
  muted
49
48
  loop>
@@ -130,11 +129,11 @@ gradient view README.md --export-html readme.html
130
129
 
131
130
  ## Docs
132
131
 
133
- Build and preview the documentation locally with MkDocs:
132
+ Build and preview the documentation locally with Zensical (requires Python 3.11+; the `docs` extra is skipped on 3.10):
134
133
 
135
134
  ```bash
136
135
  uv pip install -e ".[docs]"
137
- mkdocs serve
136
+ zensical serve
138
137
  ```
139
138
 
140
139
 
@@ -146,7 +145,7 @@ mkdocs serve
146
145
  <br />
147
146
  <a href="https://github.com/maxludden/maxludden" style="text-decoration:none; color:inherit;">
148
147
  <img
149
- src="docs/assets/MaxLogo-animated.svg"
148
+ src="docs/img/MaxLogo.svg"
150
149
  alt="Max Ludden's Logo"
151
150
  width="20%"
152
151
  />
@@ -21,7 +21,7 @@ pip install rich-gradient-cli
21
21
  ## Usage
22
22
 
23
23
  <video
24
- src="docs/assets/rich-gradient-cli-help.mp4"
24
+ src="docs/img/rich-gradient-cli-help.mp4"
25
25
  controls
26
26
  muted
27
27
  loop>
@@ -108,11 +108,11 @@ gradient view README.md --export-html readme.html
108
108
 
109
109
  ## Docs
110
110
 
111
- Build and preview the documentation locally with MkDocs:
111
+ Build and preview the documentation locally with Zensical (requires Python 3.11+; the `docs` extra is skipped on 3.10):
112
112
 
113
113
  ```bash
114
114
  uv pip install -e ".[docs]"
115
- mkdocs serve
115
+ zensical serve
116
116
  ```
117
117
 
118
118
 
@@ -124,7 +124,7 @@ mkdocs serve
124
124
  <br />
125
125
  <a href="https://github.com/maxludden/maxludden" style="text-decoration:none; color:inherit;">
126
126
  <img
127
- src="docs/assets/MaxLogo-animated.svg"
127
+ src="docs/img/MaxLogo.svg"
128
128
  alt="Max Ludden's Logo"
129
129
  width="20%"
130
130
  />
@@ -0,0 +1,59 @@
1
+ [project]
2
+ name = "rich-gradient-cli"
3
+ version = "0.3.0"
4
+ description = "CLI for printing text in gradient color using the rich-gradient library."
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ dependencies = [
8
+ "typer>=0.21.1",
9
+ "rich>=14.3.2",
10
+ "rich-color-ext>=0.1.9",
11
+ "rich-gradient>=0.3.9",
12
+ ]
13
+
14
+ [[project.authors]]
15
+ name = "Maxwell Ludden"
16
+ email = "maxludden@me.com"
17
+
18
+ [project.optional-dependencies]
19
+ dev = [
20
+ "mypy>=1.18.2",
21
+ "pytest>=8.4.2",
22
+ "ruff>=0.15.0",
23
+ ]
24
+ docs = [
25
+ "mkdocstrings>=1.0.8; python_version >= '3.11'",
26
+ "mkdocstrings-python>=2.0.2; python_version >= '3.11'",
27
+ "zensical>=0.0.68; python_version >= '3.11'",
28
+ ]
29
+
30
+ [project.scripts]
31
+ gradient = "rich_gradient_cli:entrypoint"
32
+
33
+ [build-system]
34
+ requires = ["uv_build>=0.10.0,<0.11.0"]
35
+ build-backend = "uv_build"
36
+
37
+ [tool.mypy]
38
+ python_version = "3.10"
39
+ mypy_path = "typings"
40
+ files = [
41
+ "src",
42
+ "typings",
43
+ ]
44
+ ignore_missing_imports = true
45
+ check_untyped_defs = true
46
+
47
+ [tool.ruff]
48
+ target-version = "py310"
49
+ src = [
50
+ "src",
51
+ "typings",
52
+ ]
53
+
54
+ [tool.pylint.messages_control]
55
+ disable = [
56
+ "import-error",
57
+ "unused-argument",
58
+ "W0613",
59
+ ]
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rich-gradient-cli"
3
- version = "0.2.0"
3
+ version = "0.3.0"
4
4
  description = "CLI for printing text in gradient color using the rich-gradient library."
5
5
  readme = "README.md"
6
6
  authors = [
@@ -20,11 +20,11 @@ dev = [
20
20
  "pytest>=8.4.2",
21
21
  "ruff>=0.15.0",
22
22
  ]
23
+ # Docs tooling (mkdocstrings>=1.0.8, zensical) requires Python >= 3.11; on 3.10 this extra installs nothing.
23
24
  docs = [
24
- "mkdocs>=1.6.1",
25
- "mkdocs-material>=9.7.1",
26
- "mkdocstrings>=1.0.3",
27
- "mkdocstrings-python>=2.0.2",
25
+ "mkdocstrings>=1.0.8; python_version >= '3.11'",
26
+ "mkdocstrings-python>=2.0.2; python_version >= '3.11'",
27
+ "zensical>=0.0.68; python_version >= '3.11'",
28
28
  ]
29
29
 
30
30
  [project.scripts]
@@ -6,8 +6,8 @@ import sys
6
6
  from pathlib import Path
7
7
  from typing import Any, Sequence
8
8
 
9
- import click # ty:ignore[unresolved-import]
10
- import typer # ty:ignore[unresolved-import]
9
+ import click
10
+ import typer
11
11
 
12
12
  if __package__ in {None, ""}:
13
13
  sys.path.insert(0, str(Path(__file__).resolve().parents[1]))