Skip to main content

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
…

Metadata

Release files for spy-cli 0.5.0

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.5.0
File Size Uploaded
spy-cli-0.5.0.tar.gz 14.1 kB Details

Built distribution (wheel)

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

Total release size: 29.7 kB

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

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

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

Download URL spy_cli-0.5.0-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38e41c48a724c29cf1afa8f5128c83c7a70eaccb4abbea2c167979abdbaf28c2
BLAKE2b-256 checksum
How to use checksums
bf1d0c2c6f84de2ab17d264a568677ae3972c10ae40e3fd49705988b7c091f81
Upload date
Uploaded using Trusted Publishing?
What is 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
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