========
pyselect
========
A Python library for easily getting user input from multiple items in a list, emulating the bash(1) select builtin function.
============
Usage
============
Pyselect wraps raw_input, more or less::
In [1]: import pyselect
In [2]: pyselect.select(['apples', 'oranges', 'bananas'])
1) apples
2) oranges
3) bananas
#? 2
Out[2]: 'oranges'
But can also be used as a Python module, when scripting::
$ python -m pyselect $(ls)
1) LICENSE.txt
2) build/
3) dist/
4) pyselect.egg-info/
5) pyselect.py
6) pyselect.pyc
7) setup.py
8) test.py
#? 4
pyselect.egg-info/
Or in a Bash pipe::
$ ls | xargs python -m pyselect
1) LICENSE.txt
2) build/
3) dist/
4) pyselect.egg-info/
5) pyselect.py
6) pyselect.pyc
7) setup.py
8) test.py
#? 5
pyselect.py
============
Installation
============
Pyselect is available on Pypi::
$ pip install pyselect
============
License
============
MIT, see LICENSE.txt
=======================
Version 0.1 (10/31/2013)
=======================
* updating setup.py formatting - Matt Behrens http://github.com/askedrelic/pyselect/commit/157d5f932d89abefb491caade959bead8c7a53d8
* adding manifest - Matt Behrens http://github.com/askedrelic/pyselect/commit/18420069e6de7c3367b17c3882437c90b534d786
* add history - Matt Behrens http://github.com/askedrelic/pyselect/commit/b85b11d2ae3011a18dcadcf145cb543e2ec30f45
* start testing - Matt Behrens http://github.com/askedrelic/pyselect/commit/c09e02bac7d09388246fc4a2b16e71662099cfdf
* add history, readme - Matt Behrens http://github.com/askedrelic/pyselect/commit/5fced5a9b0916c173c4a7f5e0c199ed0b3935c41
* add readme - Matt Behrens http://github.com/askedrelic/pyselect/commit/a2fd5efeb7e8edc2dc175bc7e737ebd444c1cd23
* add license - Matt Behrens http://github.com/askedrelic/pyselect/commit/dafb20c50258415a91433ee5a6bda7910b433df1
* lets call it 0.1 - Matt Behrens http://github.com/askedrelic/pyselect/commit/2ff14ca7db13f50fd2a469a32c2cf1c3d3188448
pyselect
========
A Python library for easily getting user input from multiple items in a list, emulating the bash(1) select builtin function.
============
Usage
============
Pyselect wraps raw_input, more or less::
In [1]: import pyselect
In [2]: pyselect.select(['apples', 'oranges', 'bananas'])
1) apples
2) oranges
3) bananas
#? 2
Out[2]: 'oranges'
But can also be used as a Python module, when scripting::
$ python -m pyselect $(ls)
1) LICENSE.txt
2) build/
3) dist/
4) pyselect.egg-info/
5) pyselect.py
6) pyselect.pyc
7) setup.py
8) test.py
#? 4
pyselect.egg-info/
Or in a Bash pipe::
$ ls | xargs python -m pyselect
1) LICENSE.txt
2) build/
3) dist/
4) pyselect.egg-info/
5) pyselect.py
6) pyselect.pyc
7) setup.py
8) test.py
#? 5
pyselect.py
============
Installation
============
Pyselect is available on Pypi::
$ pip install pyselect
============
License
============
MIT, see LICENSE.txt
=======================
Version 0.1 (10/31/2013)
=======================
* updating setup.py formatting - Matt Behrens http://github.com/askedrelic/pyselect/commit/157d5f932d89abefb491caade959bead8c7a53d8
* adding manifest - Matt Behrens http://github.com/askedrelic/pyselect/commit/18420069e6de7c3367b17c3882437c90b534d786
* add history - Matt Behrens http://github.com/askedrelic/pyselect/commit/b85b11d2ae3011a18dcadcf145cb543e2ec30f45
* start testing - Matt Behrens http://github.com/askedrelic/pyselect/commit/c09e02bac7d09388246fc4a2b16e71662099cfdf
* add history, readme - Matt Behrens http://github.com/askedrelic/pyselect/commit/5fced5a9b0916c173c4a7f5e0c199ed0b3935c41
* add readme - Matt Behrens http://github.com/askedrelic/pyselect/commit/a2fd5efeb7e8edc2dc175bc7e737ebd444c1cd23
* add license - Matt Behrens http://github.com/askedrelic/pyselect/commit/dafb20c50258415a91433ee5a6bda7910b433df1
* lets call it 0.1 - Matt Behrens http://github.com/askedrelic/pyselect/commit/2ff14ca7db13f50fd2a469a32c2cf1c3d3188448
Metadata
Release files for pyselect 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyselect-0.2.0.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyselect-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / pyselect-0.2.0.tar.gz
| Download URL | pyselect-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab61cc20a2f0cdbce97236f7371f67bb48ddfcfd19e455f608e3286ecf1d4019
|
|
BLAKE2b-256 checksum How to use checksums |
ac9fbe87c70db554e2110e5edcd16d0021a1ef37af2db053e90ba3a398eb0ab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyselect-0.2.0-py2.py3-none-any.whl
| Download URL | pyselect-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c1ee4029e6d0cecdab8fe35658b7bb8b0e01badeb157f0167e6b23f45efc26ff
|
|
BLAKE2b-256 checksum How to use checksums |
aaf18bc22d6f07dd30f44e1312ccd168a15174af8617005ef67bdb3db58d58e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyselect 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.