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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spy-cli-0.3.2.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for spy-cli-0.3.2.tar.gz
Algorithm Hash digest
SHA256 cdedb86295d7a5fbda039dde6c1e3981f461b33c4085ca788298fdfbb32a7b66
MD5 1492e57ae3e3567279728b7ff994ff92
BLAKE2b-256 a03a67dc88658da854d0504e0ec0af83dfb180de3aed239795e302e0de53ee0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spy_cli-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for spy_cli-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffbda2b96fbde35731f37f19ee62f7ff13ce6bb460b6c861d01981c8b9a7763c
MD5 b473d9ecdcf641d1d02d7facf4d3c9aa
BLAKE2b-256 2bd9ca070933e1fa9d243123c9382a04dd31f3f9b1780661ce335c593d3fb9db

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