Python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries

jc CLI tool and python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts. JSON CLI output utility jc JSONifies the output of many CLI tools and file-types for easier parsing in scripts. See the Parsers section for supported commands and file-types. dig example.com | jc –dig [{“id”:38052,”opcode”:”QUERY”,”status”:”NOERROR”,”flags”:[“qr”,”rd”,”ra”],”query_num”:1,”answer_num”:1, “authority_num”:0,”additional_num”:1,”opt_pseudosection”:{“edns”:{“version”:0,”flags”:[],”udp”:4096}},”question”: {“name”:”example.com.”,”class”:”IN”,”type”:”A”},”answer”:[{“name”:”example.com.”,”class”:”IN”,”type”:”A”,”ttl”: 39049,”data”:”93.184.216.34″}],”query_time”:49,”server”:”2600:1700:bab0:d40::1#53(2600:1700:bab0:d40::1)”,”when”: “Fri Apr 16 16:09:00 PDT 2021″,”rcvd”:56,”when_epoch”:1618614540,”when_epoch_utc”:null}] This allows further command-line […]

Read more

A command line tool to query source code from your current Python env

wxc wxc (pronounced “which”) allows you to inspect source code in your Python environment from the command line. It is based on the inspect module from thestandard library. In essence, $ wxc pandas is equivalent to $ python -c “import pandas; print(pandas.__file__)” wxc can also be used to navigate source code, by locating classes and functions by file:line number $ wxc pandas.DataFrame /path/to/your/env/site-packages/pandas/core/frame.py:319 which is extremely convenient when combined with augmented terminal applications such as iterm2. Installation $ pip install […]

Read more

Color text streams with a polished command line interface in python

colout(1) — Color Up Arbitrary Command Output Synopsis colout [-h] [-r RESOURCE] colout [-g] [-c] [-l min,max] [-a] [-t] [-T DIR] [-P DIR] [-d COLORMAP] [-s] [-e CHAR] [-E CHAR] [–debug] PATTERN [COLOR(S) [STYLE(S)]] Description colout read lines of text stream on the standard input and output charactersmatching a given regular expression PATTERN in given COLOR and STYLE. If groups are specified in the regular expression pattern, only them are takeninto account, else the whole matching pattern is colored. You […]

Read more

Tiny command-line utility for mapping broken keys to other positions

brokenkey Tiny command-line utility for mapping broken keys to other positions. Installation Clone this repository using git: git clonehttps://github.com/lymnyx/brokenkey Install using pip or pip3: pip3 install brokenkey/ Usage Start brokenkey by opening a terminal window and typing: brokenkey Now just copy and paste the character of the broken key in, enter the character you want to replace and then it should be running. Info: It is currently possible to use the pynput Key variables as character to replace (example: key […]

Read more

A lightweight command line interface library for creating commands

hype A lightweight command line interface library for creating cli commands. Hype CLI is an open source framework use for building command line applications easirer for cli applications that required different type of commands. It also comes with alot of different features that you may want to check out. Hype CLI was mainly built for Anglo ( a modern lightweight web framework for python 3. ). Because of Hype CLI’s capability it becomes easier to build command-line application. You can […]

Read more

Like the unix tree command but for GCP Org Heirarchy

gcptree Like the unix tree command but for GCP Org Heirarchy. For a note on coloring, the org node is green, folders and blue, and projects that are not ACTIVE are dimmed. These styles won’t show up if you redirect output and Windows is supported by virtue of the colorama package. pip install gcptree First make sure you are authenticated to gcloud and have your application default credentials set using: gcloud auth login –update-adc You just need your org id, […]

Read more

A command-line program to download media for python

onlyfans-scraper A command-line program to download media, like and unlike posts, and more from creators on OnlyFans. Installation You can install this program by entering the following in your terminal: pip install onlyfans-scraper If you’re on macOS/Linux, then do this instead: pip3 install onlyfans-scraper Setup Before you can fully use it, you need to fill out some fields in a auth.json file. This file will be created for you when you run the program for the first time. These are […]

Read more

A Simplified Automated CLI tool for GIT

GitFun A Simplified Automated CLI tool for GIT, It’s for Lazy Developers and Newbies Installation It’s simple step to install Pre-requisites: Python > = 3.7 Python Package Installer(PyPI) pip install gitfun For initial push to the remote Repository fun pushbranch -url -m commit message -b branch name For checking the git status fun status For checking the remote fun remote For getting a pull from the branch fun pullbranch -url -b branch name for development setup clone the repository git […]

Read more

view RedFlagDeals.com from the command line in python

RFD This is a CLI utility that allows you to view RedFlagDeals.com on the command line. Motivation It is often faster to use a CLI than to load up a web page and navigate web elements. This tool can search for deals and sort them based on score and views. It is also able to load entire threads (without pagination) for additional analysis. Installation :information_source: python2 may still work but it is no longer supported. python3 -m pip install –user […]

Read more
1 7 8 9 10 11 15