Skip to main content

stream processing Python CLI

Project description

Build Status Coverage Status

spy: a Python CLI

pip install spy-cli

spy stands for “stream python”. It's a CLI for python that chains fragments of code together. It's inspired by pyped and pythonpy.

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 see a way to make it nicer.

spy is compatible with, and thoroughly tested on, Python 3.5 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.4.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

spy_cli-0.4.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file spy-cli-0.4.0.tar.gz.

File metadata

  • Download URL: spy-cli-0.4.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for spy-cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 57a5726492bd787dd537357f3ae116003c4d6a010fc2ecb84758a4adebad8013
MD5 20d6d5d22489076f7aacd04f07c8cf55
BLAKE2b-256 20097748089aaa9d9afa1b08888816b876e27b733335474dfa9c2d38febcb212

See more details on using hashes here.

File details

Details for the file spy_cli-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: spy_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for spy_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45cc19cc05a4bc9bcc42e977ce1aa2490006fee92fb9ed6676a6213f82112f48
MD5 e3a8359a44528dbf8293b994102d6be8
BLAKE2b-256 66915d8cd0bf04b9fa6a90ce9020142eaa88e71029f33b0fc06e1064fe30c2cc

See more details on using hashes here.

Supported by

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