Nested structure renderer plugin for seej
Project description
[插件] seej-plugin-nested
嵌套结构渲染插件 - 为 seej 提供复杂 JSON 数据的优美可视化。
安装
# 暂未发布,pip 不可用
pip install seej-plugin-nested
# 请先 clone 本仓库并手动安装
git clone http://this-repo-name
pip install cloned-folder/
功能渲染器
此插件提供以下渲染器:
nested- 自动检测并选择最佳渲染方式(字典用树形,列表用表格)nested_dict/nested_tree- 树形视图展示嵌套字典nested_list/nested_table- 表格视图展示字典列表json- 带语法高亮和行号的 JSON 格式compact- 单行紧凑表示
使用方法
# 自动渲染
seej data.jsonl -r nested=config,metadata
# 强制使用树形视图
seej data.jsonl -r nested_tree=config
# 强制使用表格视图
seej data.jsonl -r nested_table=records
# JSON 格式(带语法高亮)
seej data.jsonl -r json=raw_data
# 紧凑视图
seej data.jsonl -r compact=summary
效果示例
树形视图 (nested_dict)
Nested Dict (3 keys)
├── name: "Example Project"
├── version: 1.2
└── config (dict, 4 keys)
├── env: "production"
├── debug: false
├── timeout: 30
└── servers (list, 2 items)
├── [0] (dict, 2 keys)
│ ├── host: "server1.example.com"
│ └── port: 8080
└── [1] (dict, 2 keys)
├── host: "server2.example.com"
└── port: 8080
表格视图 (nested_list)
┏━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━━┓
┃ # ┃ name ┃ age ┃ city ┃
┡━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━━┩
│ 0 │ Alice │ 30 │ NYC │
│ 1 │ Bob │ 25 │ LA │
│ 2 │ Charlie │ 35 │ SF │
└────┴─────────┴───────┴────────┘
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seej_plugin_nested-0.1.0.tar.gz.
File metadata
- Download URL: seej_plugin_nested-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c318dd0abc3189953b55fd0973fb0043a0442ef34179aa83897783625b090771
|
|
| MD5 |
2eecd0da72bd23c088ffdd2b1873ce7e
|
|
| BLAKE2b-256 |
ebeb1c8488de719a71d02a4c1c28dff2182e1be4227e0b1c6b87955926db74c0
|
Provenance
The following attestation bundles were made for seej_plugin_nested-0.1.0.tar.gz:
Publisher:
publish.yml on Speakn0w/seej-plugin-nested
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seej_plugin_nested-0.1.0.tar.gz -
Subject digest:
c318dd0abc3189953b55fd0973fb0043a0442ef34179aa83897783625b090771 - Sigstore transparency entry: 1203476425
- Sigstore integration time:
-
Permalink:
Speakn0w/seej-plugin-nested@3cc4cfe9b5c9b12d6f81892f98740ee179fb381d -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Speakn0w
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3cc4cfe9b5c9b12d6f81892f98740ee179fb381d -
Trigger Event:
release
-
Statement type:
File details
Details for the file seej_plugin_nested-0.1.0-py3-none-any.whl.
File metadata
- Download URL: seej_plugin_nested-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a40af5f7858ff5752926af0db74c88fa7c210df67489bfd51057ae38dbced0cb
|
|
| MD5 |
b68e89018aab51fe9a66d9bcb29e8645
|
|
| BLAKE2b-256 |
d3c824dbfffdcc422d2095f7c54e78099824ee2a3c3b86ee701b35a340e62ef4
|
Provenance
The following attestation bundles were made for seej_plugin_nested-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on Speakn0w/seej-plugin-nested
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seej_plugin_nested-0.1.0-py3-none-any.whl -
Subject digest:
a40af5f7858ff5752926af0db74c88fa7c210df67489bfd51057ae38dbced0cb - Sigstore transparency entry: 1203476430
- Sigstore integration time:
-
Permalink:
Speakn0w/seej-plugin-nested@3cc4cfe9b5c9b12d6f81892f98740ee179fb381d -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Speakn0w
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3cc4cfe9b5c9b12d6f81892f98740ee179fb381d -
Trigger Event:
release
-
Statement type: