A tool which interactively displays YAML files and provides fuzzy interactive searching and filtering.
Project description
fzy: Fuzzy YAML Viewer/Searcher
A tool which interactively displays YAML files and provides fuzzy interactive
searching and filtering, loosely inspired by
fzf.
Usage
Run fzy with a YAML file as an argument to display it on screen.
Use up/down/page-up/page-down to scroll.
Start typing key or value names to filter down the YAML document to just those parts with a match.
As a library
You can launch the fzy TUI from Python (rather than invoking the command via
a subprocess) like so:
>>> import fzy
>>> filtered_document = fzy.tui(yaml_string)
You can also perform filtering non-interactively like so:
>>> import fzy
>>> filtered_document = fzy.fuzzy_filter(parsed_yaml_document, "search pattern here")
Development
You can run the test suite using:
$ pip install -r requirements-test.txt
$ pytest
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 fzy-0.0.1.tar.gz.
File metadata
- Download URL: fzy-0.0.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c613f2f6d8bea6399b5c45815429532289875c279692ae2e09ef25a9cf097278
|
|
| MD5 |
0d27290a49632fcbebf1df4d3eb26d69
|
|
| BLAKE2b-256 |
45f00348c20793501bdf0ee31a32dcb1ae27fb0d985fec8493a601dc1bef3ad7
|
Provenance
The following attestation bundles were made for fzy-0.0.1.tar.gz:
Publisher:
release.yml on bbc/fzy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fzy-0.0.1.tar.gz -
Subject digest:
c613f2f6d8bea6399b5c45815429532289875c279692ae2e09ef25a9cf097278 - Sigstore transparency entry: 319332079
- Sigstore integration time:
-
Permalink:
bbc/fzy@8c3abe80b6f31ba41776615c0acd9f96b43eb6d7 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/bbc
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8c3abe80b6f31ba41776615c0acd9f96b43eb6d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file fzy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: fzy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc3baa4b3c09b062d295e6f2787c1c9b08689c310ac40bb4ca438526c7332141
|
|
| MD5 |
07332a557f259424725d62d2e7c6bbc3
|
|
| BLAKE2b-256 |
c9cb492e7d11726caba404d1da02daea20352fe5fe9c93e65f6c95ba65484c20
|
Provenance
The following attestation bundles were made for fzy-0.0.1-py3-none-any.whl:
Publisher:
release.yml on bbc/fzy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fzy-0.0.1-py3-none-any.whl -
Subject digest:
dc3baa4b3c09b062d295e6f2787c1c9b08689c310ac40bb4ca438526c7332141 - Sigstore transparency entry: 319332087
- Sigstore integration time:
-
Permalink:
bbc/fzy@8c3abe80b6f31ba41776615c0acd9f96b43eb6d7 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/bbc
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8c3abe80b6f31ba41776615c0acd9f96b43eb6d7 -
Trigger Event:
release
-
Statement type: