Skip to main content

see tornado.options

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

argoptions-1.0.1.tar.gz (9.1 kB view details)

Uploaded Source

File details

Details for the file argoptions-1.0.1.tar.gz.

File metadata

  • Download URL: argoptions-1.0.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for argoptions-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f8e25fd14b47259b9a4f6a0c32f1a078dd807b142f163bb26a6d742c6851919b
MD5 0d8381d6b2ad95b0b45794ae098f1072
BLAKE2b-256 ec98eb18287876350841f012d286690b71e7e447e3a50f17d207f494a3ac5ffa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page