rich-objects 0.1.3__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.
- {rich_objects-0.1.3 → rich_objects-0.2.0}/PKG-INFO +2 -1
- {rich_objects-0.1.3 → rich_objects-0.2.0}/pyproject.toml +2 -1
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/display.py +2 -1
- {rich_objects-0.1.3 → rich_objects-0.2.0}/LICENSE +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/README.md +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/__init__.py +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/console.py +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/constants.py +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/enums.py +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/rich_table.py +0 -0
- {rich_objects-0.1.3 → rich_objects-0.2.0}/rich_objects/table_config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rich-objects
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary:
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Author: Rick Porter
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "rich-objects"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.0"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Rick Porter",email = "rickwporter@gmail.com"}
|
|
@@ -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",
|
|
@@ -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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|