see tornado.options
>>> 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)
Release files for argoptions 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| argoptions-1.0.1.tar.gz | 9.1 kB | Details |
Release files / argoptions-1.0.1.tar.gz
| Download URL | argoptions-1.0.1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8e25fd14b47259b9a4f6a0c32f1a078dd807b142f163bb26a6d742c6851919b
|
|
BLAKE2b-256 checksum How to use checksums |
ec98eb18287876350841f012d286690b71e7e447e3a50f17d207f494a3ac5ffa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/2.7.12
|