Tuesday, July 22, 2014

Docopt - a better arguments parser

Although not strictly related to Django, I feel this library is worthy
of a mention, if even that it works flawlessly with custom management
commands in Django.

Over the years I've personally always despised the way that
argparse/optparse work, it always felt unnatural.

Docopt has been around for several years and is possibly one of the
most underrated libraries I've come across.

Anyone looking for better arguments parsing should check this out.

https://github.com/docopt/docopt

Cal

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHKQagG3J0to6Ezv0a2E6Cwui3PjnWz93YttHg39vP6YyaQz%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment