{"repo":"dhondta/python-tinyscript","free":true,"listed":false,"github":"https://github.com/dhondta/python-tinyscript","clone":"git clone https://github.com/dhondta/python-tinyscript.git","description":"Devkit for quickly building CLI tools with Python","language":"Python","stars":56,"topics":["python","development","programming","cli","devkit","tinyscript","ctf-tools","cli-toolkit","rad"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"TinyScript Make a CLI tool with very few lines of code. This library is aimed to provide useful features and helpers in order to shorten the number of required lines of code for writing simple and nice-looking command-line interface tools. It is based on argparse and is considered a development kit , on the contrary of popular frameworks like cement , click or docopt , as it is not aimed to reinvent the wheel in yet another paradigm. :bulb: Philosophy This library is built with the DRY ( Don't Repeat Yourself ) and KISS ( Keep It Stupid Simple ) philosophies in mind ; the whole machinery of Tinyscript holds in its star import ( from tinyscript import ) and its initialization (with the initialize function). It is aimed to shorten required code by setting a few things while loaded: - a proxy parser (coming from the star import) collects arguments definitions and formats help at initialization, preventing from rewriting the whole bunch of code needed to declare an ArgumentParser (and define its epilog, and so forth) - a main (colored) logger is preconfigured and can be tuned through two constants so that we don't care for writing a bunch of code needed to configure logging - preimports (while a bit anti-Pythonic, we confess) of common libraries also reduces the quantity of code required - among these, some modules are enhanced with new functions and classes that are not natively foreseen Leveraging this allows to create very short scripts with only the real code that matters , r","default_branch":null,"files":null,"tree":[],"storefront":"/r/dhondta","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dhondta/python-tinyscript/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}