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.libera.chat.

Example (more here)

$ spy -lfc 'len == 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.5.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

spy_cli-0.5.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spy-cli-0.5.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1

File hashes

Hashes for spy-cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e77f56b8dc4fe26e20406fdc1a71917d031680dc33106f78d528d06bf8ad40a5
MD5 7e242bf80dd6ce234cd58a36bda7d154
BLAKE2b-256 b42e386541d0cc32d83d00f254fbdbe667d8c68a68d385fd2fe4e2e7ad3c9e3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spy_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1

File hashes

Hashes for spy_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38e41c48a724c29cf1afa8f5128c83c7a70eaccb4abbea2c167979abdbaf28c2
MD5 317db93c3115caa25983fc2a7d7cfb3b
BLAKE2b-256 bf1d0c2c6f84de2ab17d264a568677ae3972c10ae40e3fd49705988b7c091f81

See more details on using hashes here.

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