rich-objects 0.1.0__tar.gz → 0.2.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.
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rich-objects
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary:
5
5
  License-File: LICENSE
6
6
  Author: Rick Porter
7
7
  Author-email: rickwporter@gmail.com
8
- Requires-Python: >=3.10
8
+ Requires-Python: >=3.9
9
9
  Classifier: Development Status :: 4 - Beta
10
10
  Classifier: Environment :: Console
11
11
  Classifier: Intended Audience :: Developers
@@ -13,6 +13,7 @@ Classifier: Operating System :: OS Independent
13
13
  Classifier: Programming Language :: Python
14
14
  Classifier: Programming Language :: Python :: 3
15
15
  Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Programming Language :: Python :: 3.9
16
17
  Classifier: Programming Language :: Python :: 3.10
17
18
  Classifier: Programming Language :: Python :: 3.11
18
19
  Classifier: Programming Language :: Python :: 3.12
@@ -27,7 +28,7 @@ Requires-Dist: pyyaml (>=6.0.3,<7.0.0)
27
28
  Requires-Dist: rich (>=14.2.0,<15.0.0)
28
29
  Description-Content-Type: text/markdown
29
30
 
30
- # openapi-spec-tools
31
+ # rich-objects
31
32
 
32
33
  This is a small set of tools to help provide easy to use, flexible tools for display complex objects for a CLI.
33
34
 
@@ -1,4 +1,4 @@
1
- # openapi-spec-tools
1
+ # rich-objects
2
2
 
3
3
  This is a small set of tools to help provide easy to use, flexible tools for display complex objects for a CLI.
4
4
 
@@ -1,12 +1,12 @@
1
1
  [project]
2
2
  name = "rich-objects"
3
- version = "0.1.0"
3
+ version = "0.2.0"
4
4
  description = ""
5
5
  authors = [
6
6
  {name = "Rick Porter",email = "rickwporter@gmail.com"}
7
7
  ]
8
8
  readme = "README.md"
9
- requires-python = ">=3.10"
9
+ requires-python = ">=3.9"
10
10
  dependencies = [
11
11
  "rich (>=14.2.0,<15.0.0)",
12
12
  "pyyaml (>=6.0.3,<7.0.0)"
@@ -19,6 +19,7 @@ classifiers = [
19
19
  "Programming Language :: Python",
20
20
  "Programming Language :: Python :: 3",
21
21
  "Programming Language :: Python :: 3 :: Only",
22
+ "Programming Language :: Python :: 3.9",
22
23
  "Programming Language :: Python :: 3.10",
23
24
  "Programming Language :: Python :: 3.11",
24
25
  "Programming Language :: Python :: 3.12",
@@ -38,8 +39,8 @@ build-backend = "poetry.core.masonry.api"
38
39
 
39
40
  [tool.poetry.group.dev.dependencies]
40
41
  ruff = "^0.14.9"
41
- pytest = "^9.0.2"
42
- coverage = "^7.13.0"
42
+ pytest = "^8.4.0"
43
+ coverage = "^7.9.1"
43
44
 
44
45
  [tool.ruff]
45
46
  line-length = 120
@@ -237,6 +237,7 @@ def display(
237
237
  indent: int = 2,
238
238
  columns: Optional[list[str]] = None,
239
239
  console: Optional[Console] = None,
240
+ config: Optional[TableConfig] = None,
240
241
  ) -> None:
241
242
  """Display the data provided in obj, according to the formating arguments."""
242
243
  no_color = style != OutputStyle.ALL
@@ -259,6 +260,6 @@ def display(
259
260
  console.print("Nothing found")
260
261
  return
261
262
 
262
- table = rich_table_factory(obj, columns=columns)
263
+ table = rich_table_factory(obj, columns=columns, config=config)
263
264
  console.print(table)
264
265
  return
File without changes