Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.13 KB

✨███████████████████  ░█▀▀█ █▀▀█ █░░░█
█▄─▄▄─█─▄▄─█▄─█▀▀▀█─▄▒█▄▄█ █✨ █ █▄█▄█
██─▄▄▄█─██─██─█─█─█─█▒█░░░ ▀▀▀▀ ░▀░▀░
▀▄▄▄▀▀▀▄▄▄▄✨▄▄▄▀▄▄▄▀✨░░░░░🐍░░░░░✨

ᴘᴏᴡ! ᴘᴏᴡ!

Give any Python interpretter UNIX-like shell capabilities.

I don't have the time to flesh out a full README yet (I spent most of what was available on the ASCII art above 🙃), so here's an example of how to grep large dicts using PowPow:

from powpow import grep

# locals() is used as an example of a dict you might want to grep. You can
# pass any other object instead - grep() will pretty-format it and try to find
# a match.
locals() | grep ("powpow")