Name | foldindent JSON |
Version |
0.4.0
JSON |
| download |
home_page | None |
Summary | foldindent - indented text viewer with folding |
upload_time | 2024-07-10 18:05:18 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3 |
license | None |
keywords |
indentation
text
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# foldindent - indented text viewer with folding
`foldindent` is a terminal user interface (TUI) for viewing indented text files with the possibility to fold parts based on indentation.
`foldindent` can view arbitrary text files.
`foldindent` can be seen as pager dedicated to indented text data.
Each time lines are more indented than previous lines, a foldable point is added in the UI.
## Samples
### Sample: indented JSON data
![foldindent screenshot of indented JSON](https://github.com/hydrargyrum/foldindent/blob/main/samples/sample-json.png?raw=true)
### Sample: indented python AST dump
(Source sample text generated with `python3 -m ast samples/example.py`)
![foldindent screenshot of indented AST](https://github.com/hydrargyrum/foldindent/blob/main/samples/sample-ast.png?raw=true)
## Keyboard usage
- `Enter`: fold/expand a node
- `Up/Down`: navigate cursor one node above/below
- `^`: jump to parent node
## Install
[`pipx install foldindent`](https://pypi.org/project/foldindent/)
## Keybindings
- `left`: collapse/go to parent
- `right` : expand/go to first child
- `up`: go up
- `down`: go down
- `enter`: toggle expand/collapse
- `^`: go to parent
- `shift-left`: collapse all children
- `shift-right`: expand all children
- `shift-up`: go to previous sibling
- `shift-down`: go to next sibling
- `/`: search
- `n`: previous search result
- `N`: next search result
- `q`: quit
Raw data
{
"_id": null,
"home_page": null,
"name": "foldindent",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "indentation, text",
"author": null,
"author_email": "Hg <dev@indigo.re>",
"download_url": "https://files.pythonhosted.org/packages/42/1b/3cdd0607c3da4da64dcf045de6d17cfa934e7a72ad7ddc1fd837a59f16ce/foldindent-0.4.0.tar.gz",
"platform": null,
"description": "# foldindent - indented text viewer with folding\n\n`foldindent` is a terminal user interface (TUI) for viewing indented text files with the possibility to fold parts based on indentation.\n`foldindent` can view arbitrary text files.\n\n`foldindent` can be seen as pager dedicated to indented text data.\n\nEach time lines are more indented than previous lines, a foldable point is added in the UI.\n\n## Samples\n\n### Sample: indented JSON data\n\n![foldindent screenshot of indented JSON](https://github.com/hydrargyrum/foldindent/blob/main/samples/sample-json.png?raw=true)\n\n### Sample: indented python AST dump\n\n(Source sample text generated with `python3 -m ast samples/example.py`)\n\n![foldindent screenshot of indented AST](https://github.com/hydrargyrum/foldindent/blob/main/samples/sample-ast.png?raw=true)\n\n## Keyboard usage\n\n- `Enter`: fold/expand a node\n- `Up/Down`: navigate cursor one node above/below\n- `^`: jump to parent node\n\n## Install\n\n[`pipx install foldindent`](https://pypi.org/project/foldindent/)\n\n## Keybindings\n\n- `left`: collapse/go to parent\n- `right` : expand/go to first child\n- `up`: go up\n- `down`: go down\n- `enter`: toggle expand/collapse\n- `^`: go to parent\n- `shift-left`: collapse all children\n- `shift-right`: expand all children\n- `shift-up`: go to previous sibling\n- `shift-down`: go to next sibling\n- `/`: search\n- `n`: previous search result\n- `N`: next search result\n- `q`: quit\n",
"bugtrack_url": null,
"license": null,
"summary": "foldindent - indented text viewer with folding",
"version": "0.4.0",
"project_urls": {
"Homepage": "https://gitlab.com/hydrargyrum/foldindent"
},
"split_keywords": [
"indentation",
" text"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f6039151beccd833fffc8e668131b0c956a7422509a46b5c82c5cc8225c8f001",
"md5": "1dcc919a529f1332d06fd0275376f850",
"sha256": "4c2adca02a3a8a05503f4da22c7a23f85bbb279c2babda58dc82110fe5a617e5"
},
"downloads": -1,
"filename": "foldindent-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1dcc919a529f1332d06fd0275376f850",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 4440,
"upload_time": "2024-07-10T18:05:16",
"upload_time_iso_8601": "2024-07-10T18:05:16.650479Z",
"url": "https://files.pythonhosted.org/packages/f6/03/9151beccd833fffc8e668131b0c956a7422509a46b5c82c5cc8225c8f001/foldindent-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "421b3cdd0607c3da4da64dcf045de6d17cfa934e7a72ad7ddc1fd837a59f16ce",
"md5": "29d94fbbf30eed8250ed48249a122774",
"sha256": "4b609e85ebfbdc074675c0ab7e87314c1e831509e44db6ccca298be4d34858bc"
},
"downloads": -1,
"filename": "foldindent-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "29d94fbbf30eed8250ed48249a122774",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 3602,
"upload_time": "2024-07-10T18:05:18",
"upload_time_iso_8601": "2024-07-10T18:05:18.042545Z",
"url": "https://files.pythonhosted.org/packages/42/1b/3cdd0607c3da4da64dcf045de6d17cfa934e7a72ad7ddc1fd837a59f16ce/foldindent-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-10 18:05:18",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "hydrargyrum",
"gitlab_project": "foldindent",
"lcname": "foldindent"
}