Typing Filter
Simple CLI for a typing filter to provide choices to a user and let them type in phrases which filters possible options.
Status: in progress
·
Notion Roadmap »
https://user-images.githubusercontent.com/6320907/230550634-3ac6b92a-bbd2-4723-93ce-218ad02d8a31.mov
Installation
Install the package from PyPi via pip
pip install typing-filter
Usage
With a list of options ready, a list of descriptions, just import the package call the launch function.
import typing_filter
options = ['Alaska', 'Massachusetts', 'California']
descriptions = [None, 'My home state', 'My current state']
choice = typing_filter.launch(options, descriptions)
The selected choice is returned by the launch function, and is None if the operation was canceled.
Additional options can be made by tweaking the launch command:
import typing_filter
options = ['Alaska', 'Massachusetts', 'California']
descriptions = [None, 'My home state', 'My current state']
choice = typing_filter.launch(
options, descriptions,
description_separator=': ',
header='Press Escape to quit!',
prompt='Input:',
selector='==>>', selector_padding=3
)
Roadmap
Refer to the Notion Roadmap for future features and the state of the project.
Contact
Created by Jonathan Delgado.
Release files for typing-filter 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| typing_filter-0.1.1.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| typing_filter-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.5 kB
Release files / typing_filter-0.1.1.tar.gz
| Download URL | typing_filter-0.1.1.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef58d19f36d71226849000d9db169f5cf00c6588e924a5998afcd48af36a8c6d
|
|
BLAKE2b-256 checksum How to use checksums |
5b197e2a0aae393871b669d2ef46d3ff809ebc32ac35bb1cd92ef7a5f57bdc26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.2 Darwin/22.4.0
|
Release files / typing_filter-0.1.1-py3-none-any.whl
| Download URL | typing_filter-0.1.1-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e320f7352c2fa2b3be3ecebcc5e8d91885382c7cf93e42537ea279200991692
|
|
BLAKE2b-256 checksum How to use checksums |
0c83df23171033360d299b0e90d2e238e3a156027fa992e4d038426b9713a9e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.2 Darwin/22.4.0
|