awesome-python icon indicating copy to clipboard operation
awesome-python copied to clipboard

Add tinyscript: A development kit for quickly building argparse-based…

Open bmantra opened this issue 5 years ago • 10 comments

… CLI tools.

What is this Python project?

This library is aimed to provide useful features and to shorten required lines of code for writing nice-looking command-line interface tools.

What's the difference between this Python project and similar ones?

This library is well designed, excellent coded with security in mind and is easy to use. Multiple examples are available on the authors website https://github.com/dhondta/python-tinyscript

Anyone who agrees with this pull request could submit an Approve review to it.

bmantra avatar Jan 29 '21 13:01 bmantra

  1. Only 14 stars
  2. It is AGPL-3.0 License, which is very viral for a lib and especially considering it is a generator..
  3. There is an ugly default {positional,arguments,dict} so no improvement over argparse here

techtonik avatar Jan 30 '21 11:01 techtonik

AGPL-3.0 License just limits the application of the lib. It's not that I am against it.

techtonik avatar Jan 30 '21 11:01 techtonik

Is the number of stars a requirement to be added?

bmantra avatar Jan 30 '21 11:01 bmantra

I approve this pull request, I think it would be a nice addition.

ypasquazzo avatar Jan 30 '21 11:01 ypasquazzo

Tinyscript is definitely not a framework to provide a new useless paradigm, as it says, it is a development kit that remains argparse-based, so the same way to define CLI arguments. Where it really helps is that it provides lots of useful code fore reuse, therefore helping to develop scripts far quicker and in a really shorter way.

bmantra avatar Jan 30 '21 14:01 bmantra

… CLI tools.

What is this Python project?

This library is aimed to provide useful features and to shorten required lines of code for writing nice-looking command-line interface tools.

What's the difference between this Python project and similar ones?

This library is well designed, excellent coded with security in mind and is easy to use. Multiple examples are available on the authors website https://github.com/dhondta/python-tinyscript

Anyone who agrees with this pull request could submit an Approve review to it.

Indeed, very interesting library and, as usual, the author did a great job in both the design and the implementation phases. As a security professional, I use it very regularly; I definitely do recommend this library as it is very easy to understand/use and it saves a lot of time. Thumps up for this project!

bahmadh avatar Jan 31 '21 22:01 bahmadh

Very nice feature. I approve this request.

Art-Kaan avatar Feb 01 '21 09:02 Art-Kaan

@bahmadh just don't forget to publish derived code, or you may get in trouble with legal department.

techtonik avatar Feb 01 '21 23:02 techtonik

@bahmadh just don't forget to publish derived code, or you may get in trouble with legal department.

Thanks Techtonik, I think, I know how to read a license... but always good to remind people.

bahmadh avatar Feb 02 '21 21:02 bahmadh

Nice library, I agree that it would be a valuable addition to the list!

Toporin avatar Feb 05 '21 09:02 Toporin