Skip to content
/ powpow Public

Ever wanted to grep a Python object 😎?

Notifications You must be signed in to change notification settings

MrMino/powpow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

93 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βœ¨β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ€…β€†β–‘β–ˆβ–€β–€β–ˆ β–ˆβ–€β–€β–ˆ β–ˆβ–‘β–‘β–‘β–ˆ
β–ˆβ–„β”€β–„β–„β”€β–ˆβ”€β–„β–„β”€β–ˆβ–„β”€β–ˆβ–€β–€β–€β–ˆβ”€β–„β–’β–ˆβ–„β–„β–ˆ β–ˆβœ¨ β–ˆ β–ˆβ–„β–ˆβ–„β–ˆ
β–ˆβ–ˆβ”€β–„β–„β–„β–ˆβ”€β–ˆβ–ˆβ”€β–ˆβ–ˆβ”€β–ˆβ”€β–ˆβ”€β–ˆβ”€β–ˆβ–’β–ˆβ–‘β–‘β–‘ β–€β–€β–€β–€ β–‘β–€β–‘β–€β–‘
β–€β–„β–„β–„β–€β–€β–€β–„β–„β–„β–„βœ¨β–„β–„β–„β–€β–„β–„β–„β–€βœ¨β–‘β–‘β–‘β–‘β–‘πŸβ–‘β–‘β–‘β–‘β–‘βœ¨

ᴘᴏᴑ! ᴘᴏᴑ!

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

About

Ever wanted to grep a Python object 😎?

Resources

Stars

Watchers

Forks

Languages