Skip to content

✨ Add utilities for printing complex JSON objects #1099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
1464947
Add code to create a RichTable for a complex object
rickwporter Dec 20, 2024
9d585ce
Add .DS_Store to .gitignore for Mac users
rickwporter Dec 20, 2024
62c8569
Add print_rich_object() to print a complex object in json|yaml|text f…
rickwporter Dec 20, 2024
7106ed1
Refactor: add function that allows for providing own console
rickwporter Dec 20, 2024
9efbf73
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
pre-commit-ci[bot] Dec 20, 2024
944d48b
Add missing dependency
rickwporter Dec 20, 2024
0c0f863
More dependency work
rickwporter Dec 20, 2024
f454bf0
Split/strip output to avoid tests failing because pre-commit removes …
rickwporter Dec 20, 2024
d1d6a30
Use startswith to check rich output
rickwporter Dec 21, 2024
53ebe69
Fix the right test this time... sigh
rickwporter Dec 21, 2024
32dc2b1
Use List/Dict from typing instead of builtins
rickwporter Dec 22, 2024
c411de3
Try to avoid CR issues on Windows
rickwporter Dec 22, 2024
df57719
Another typing fix
rickwporter Dec 22, 2024
29c61e2
Improve debugability
rickwporter Dec 22, 2024
53abdbb
Attempt to avoid differences in non-ASCII terminal outputs
rickwporter Dec 22, 2024
38b114f
Add TableConfig to allow table customization
rickwporter Jan 1, 2025
d6f760c
Allow print_rich_object() to take a TableConfig
rickwporter Jan 1, 2025
a57f8e8
Different approach for testing
rickwporter Jan 1, 2025
08ce680
More test updates -- use local copies and full comparison (for easier…
rickwporter Jan 2, 2025
61162a5
Merge branch 'master' into rich-table
rickwporter Jan 7, 2025
97e4bec
Merge branch 'master' into rich-table
rickwporter Jan 10, 2025
8300017
Allow for printing list of simple properties
rickwporter Feb 23, 2025
2f242d6
Remove a couple unrelated, minor changes
rickwporter Feb 27, 2025
b55e162
Merge branch 'master' into rich-table
rickwporter Feb 27, 2025
5e5541a
Add fix for objects with rich escape sequences
rickwporter Mar 21, 2025
6c7f8eb
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
pre-commit-ci[bot] Mar 21, 2025
381802d
Merge branch 'master' into rich-table
rickwporter Mar 21, 2025
48fb7c7
Fix for mutable default
rickwporter Jul 18, 2025
f984b41
Merge branch 'master' into rich-table
rickwporter Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ ruff ==0.11.13
# Needed explicitly by typer-slim
rich >=10.11.0
shellingham >=1.3.0
PyYAML >= 6.0
types-PyYAML >= 6.0
Loading
Loading