argoptions-1.0.1
توضیحات
see tornado.options
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | argoptions-1.0.1 |
| نام | argoptions |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | ['wzwjustdoit'] |
| ایمیل نگهدارنده | ['wzwjustdoit@163.com'] |
| نویسنده | wzwjustdoit |
| ایمیل نویسنده | wzwjustdoit@163.com |
| آدرس صفحه اصلی | https://github.com/wzwjustdoit/argoptions |
| آدرس اینترنتی | https://pypi.org/project/argoptions/ |
| مجوز | MIT |
see tornado.options
```pycon
>>> from argoptions import options
>>> options.define('appname', default='', type=str, help='the app name')
>>> options.define('flag', default='', type=str, help='load config file by this specified flag')
>>> options.define('port', default=65535, type=int, help='run server on this specified port')
>>> options.parse_command_line()
>>>
>>>
>>>
>>> from argoptions import options
>>> port = options.options.port
>>> print(port)
```
---------------------------------------------------------------------
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.0.0 | Python |
نحوه نصب
نصب پکیج whl argoptions-1.0.1:
pip install argoptions-1.0.1.whl
نصب پکیج tar.gz argoptions-1.0.1:
pip install argoptions-1.0.1.tar.gz