Create beautiful and testable command-line interfaces

Create beautiful and testable command-line interfaces. Cleo is mostly a higher level wrapper for CliKit, so a lot of the components and utilities comes from it. Refer to its documentation for more information. Resources Usage To make a command that greets you from the command line, create greet_command.py and add the following to it: from cleo import Command class GreetCommand(Command): “”” Greets someone greet {name? : Who do you want to greet?} {–y|yell : If set, the task will yell […]

Read more

Typer, build great CLIs. Easy to code. Based on Python type hints

Typer, build great CLIs. Easy to code. Based on Python type hints. Documentation: https://typer.tiangolo.com Source Code: https://github.com/tiangolo/typer Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python 3.6+ type hints. The key features are: Intuitive to write: Great editor support. Completion everywhere. Less time debugging. Designed to be easy to use and learn. Less time reading docs. Easy to use: It’s easy to use for the final users. Automatic […]

Read more

A simple note taker CLI program written in python

A simple note taker program written in python This allows you to snip your todo’s, notes, and your tasks easily without extra charges Requirements Only requirement is python3 and an unix operating system and windows supports python (windows may have limited support) You can create a first note by create argument. example session: ~ $ ./note-taker.py create Enter your Note title: Take out the trash Write your note: I will not forget to take out the    

Read more

An utility to make reviewing ArXiv papers for your Journal Club easier

jfc is an utility to make reviewing ArXiv papers for your Journal Club easier. Install Consider using pipx. pipx install git+https://github.com/mikeevmm/jfc/ Otherwise, if you are using pip: pip install git+https://github.com/mikeevmm/jfc/ How to Use jfc aggregates unseen articles from the specified timeframe (see the configuration section), and displays them to you in an interactive prompt. From the title, you can choose to read the abstract, and from there you can choose to open the ArXiv PDF. Run jfc to get an […]

Read more

Straight-forward command line interfacing with GPT-3

Straight-forward command line interfacing with GPT-3. Finding yourself stuck at a conceptual stage? Spinning your wheels needlessly on a segment of text and staring into a cyclic void? Alter the prompt within interact.py and run the code as many times as you wish. Generate interesting permutations and harvest ideas. Get unblocked. . . . OpenAI API key required Demo Vid: GV_v.mov GitHub View Github    

Read more

Annotate your Python requirements.txt file with summaries of each package

Annotate your Python requirements.txt file with a short summary of each package. This tool: takes a Python requirements.txt file as input fetches the summary of each package from the PyPi registry outputs an equivalent requirements list with added comments summarizing each package It can be used as a Python module or a command line script. Example Before: black==21.9b0 gunicorn==20.1.0 pytz==2021.3 requests==2.26.0 rope==0.20.1 whitenoise==5.3.0 After:

Read more

Bin-Checker CLI With Python

termplotlibtermplotlib is a Python library for all your terminal plotting needs. It aims to work like matplotlib. Line plotsFor line plots, termplotlib relies on gnuplot. With that installed, the code import termplotlib as 23 September 2021    

Read more

A command line tool to peek a remote repo hosted on github or gitlab locally

repo-peek A command line tool to peek a remote repo hosted on github or gitlab locally and view it in your favorite editor. The tool handles cleanup of the repo once you exit your editor. Default editor is chosen by looking at the EDITOR environment variable, if it is not set, vim is chosen as the default editor. install repo-peek usage: ask repo-peek (repk) to checkout a github or gitlab repo using the subcommands gh or    

Read more

A CLI tool that can download songs from youtube

Music Downloader is a tool that can download songs from Youtube. Installation Base requirements: If you have Python 3.7+ installed, all you need to do is follow these steps: > git clone https://github.com/matjsilva/music-downloader> cd music-downloader> python install.py Then, you just need to: > python musicDownloader.py When the tool starts, drop a “help” on the input and enjoy Music Downloader. ⚙️ Technologies used GitHub https://github.com/matjsilva/music-downloader    

Read more

Run an FFmpeg command and see the percentage progress and ETA

A command line program that runs an FFmpeg command and shows the following in addition to the FFmpeg output: Percentage Progress Speed ETA (minutes and seconds) Example: Progress: 25% | Speed: 22.3x | ETA: 1m 33s python3 better_ffmpeg_progress.py -c “ffmpeg -i input.mp4 -c:a libmp3lame output.mp3” I have also included a function, which can be imported and used in your own Python program or script: run_ffmpeg_show_progress(“ffmpeg -i input.mp4 -c:a libmp3lame output.mp3”) GitHub https://github.com/CrypticSignal/better-ffmpeg-progress    

Read more
1 3 4 5 6 7 15