consoleargs-0.4
توضیحات
Pythonic argument parser
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | consoleargs-0.4 |
| نام | consoleargs |
| نسخه کتابخانه | 0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ilya Petrov |
| ایمیل نویسنده | ilya.muromec@gmail.com |
| آدرس صفحه اصلی | https://github.com/muromec/consoleargs |
| آدرس اینترنتی | https://pypi.org/project/consoleargs/ |
| مجوز | BSD |
Argument parser for humans
==========================
This library implements simple argument parser,
based on function signature and docstring messages
Usage
=====
Usage example:
>>> from consoleargs import command
>>> @command
>>> def main(destination, name=None, verbose=0):
>>> """
>>> :param destination: Where to look
>>> :param name: Whot to search
>>> :param verbose: How much to talk
>>> """
>>> print destination, name, verbose
نحوه نصب
نصب پکیج whl consoleargs-0.4:
pip install consoleargs-0.4.whl
نصب پکیج tar.gz consoleargs-0.4:
pip install consoleargs-0.4.tar.gz