Skip to main content

PySelecta

Project description

A fuzzy text selector for files and anything else you need to select

Inspired by Gary Bernhardt’s selecta.

Unlike selecta, pyselecta doesn’t include any interactive functionality. You give it a list of options and a search term and it returns matches.

Installation

$ pip install pyselecta

This will give you the pyselecta shell command.

Usage

$ find . -type f | pyselecta "models"

This will return a newline separated list of file paths with the best candidate on top.

$ find . -type f | pyselecta

Omitting the search term just copies the stdin to stdout.

License

BSD, short and sweet

Project details


Release history Release notifications

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyselecta-0.1.0.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Mar 28, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page