Skip to main content

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
…

Metadata

Release files for spy-cli 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spy-cli 0.3.2
File Size Uploaded
spy-cli-0.3.2.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spy-cli 0.3.2
File Interpreter ABI Platform
spy_cli-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / spy-cli-0.3.2.tar.gz

Download URL spy-cli-0.3.2.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cdedb86295d7a5fbda039dde6c1e3981f461b33c4085ca788298fdfbb32a7b66
BLAKE2b-256 checksum
How to use checksums
a03a67dc88658da854d0504e0ec0af83dfb180de3aed239795e302e0de53ee0d
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / spy_cli-0.3.2-py3-none-any.whl

Download URL spy_cli-0.3.2-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffbda2b96fbde35731f37f19ee62f7ff13ce6bb460b6c861d01981c8b9a7763c
BLAKE2b-256 checksum
How to use checksums
2bd9ca070933e1fa9d243123c9382a04dd31f3f9b1780661ce335c593d3fb9db
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page