Skip to main content

stream processing Python CLI

Project description

Build Status Coverage Status

spy: a Python CLI

spy stands for “stream python”. It's a CLI for python that chains fragments of code together. It's inspired by pyp and pythonpy, and is intended to fill a similar role to that of sed.

I built spy primarily because I wanted a more pure interface than either of the above offer; I'd like to think I succeeded, but I'm sure it can be improved upon, so please let me know if you find anything wrong with it.

spy is compatible with Python 3.4 and newer.

The docs, including introduction, are available on ReadTheDocs.

If you have any suggestions or feedback or anything, I'll probably be in#spy on irc.freenode.net.

Example (more here)

$ spy -l -f 'len(pipe) == 4' < /usr/share/dict/words
Aani
Aaru
abac
abas
Abba
Abby
abed
Abel
abet
abey

Project details


Download files

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

Source Distribution

spy-cli-0.3.2.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

spy_cli-0.3.2-py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page