# simopt, the SIMple OPTion parser
Simopt is a lightweight module for parsing command line options in python programs.
The options can be written in a separate file or at the top of a script. They are
(currently) written in a list of tuples, with each entry corresponding to an option
consisting of
- int: the option level (allowing differentiating help levels)
- str: the option name (command line)
- str: the option target (option class attribute)
- class: the option unit type (parser)
- int: the number of parameters for the option
- object: the default value (None if no default)
- int: flags (MULTI, MANDATORY, ...)
- str: description (help text)
String items in the option list are part of the help and allow sectioning
options.
Raw data
{
"_id": null,
"home_page": "http://github.com/Tsjerk/simopt",
"name": "simopt",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "simple option parser",
"author": "Tsjerk A. Wassenaar",
"author_email": "tsjerkw@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/f5/f1/1dcce3e49c66e19de42798ffc3d9a2b71dd48c09417e7dba6eed87cdabd3/simopt-0.4.0.tar.gz",
"platform": null,
"description": "# simopt, the SIMple OPTion parser\n\nSimopt is a lightweight module for parsing command line options in python programs.\nThe options can be written in a separate file or at the top of a script. They are \n(currently) written in a list of tuples, with each entry corresponding to an option\nconsisting of \n\n- int: the option level (allowing differentiating help levels)\n- str: the option name (command line)\n- str: the option target (option class attribute)\n- class: the option unit type (parser)\n- int: the number of parameters for the option\n- object: the default value (None if no default)\n- int: flags (MULTI, MANDATORY, ...)\n- str: description (help text)\n\nString items in the option list are part of the help and allow sectioning \noptions.\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "SIMple OPTion parser",
"version": "0.4.0",
"project_urls": {
"Download": "https://github.com/Tsjerk/simopt/archive/v0.1.tar.gz",
"Homepage": "http://github.com/Tsjerk/simopt"
},
"split_keywords": [
"simple",
"option",
"parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fff3952060c92ce1b2fda05f9391ada6fb2ca8da571cc77cbda2dbc95400a1ee",
"md5": "5676c9ac04fb87ba6d9a10496e616458",
"sha256": "14b53a1d70aee70562d98ad1bd1335821f4c258c7808a99f686dfe81dc3e72cb"
},
"downloads": -1,
"filename": "simopt-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5676c9ac04fb87ba6d9a10496e616458",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5824,
"upload_time": "2023-11-30T12:52:18",
"upload_time_iso_8601": "2023-11-30T12:52:18.704543Z",
"url": "https://files.pythonhosted.org/packages/ff/f3/952060c92ce1b2fda05f9391ada6fb2ca8da571cc77cbda2dbc95400a1ee/simopt-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f5f11dcce3e49c66e19de42798ffc3d9a2b71dd48c09417e7dba6eed87cdabd3",
"md5": "943281ed44ec5408d7c026ba3ba1c6f5",
"sha256": "e9fc29d4746d3e16f8db940675ec6d895a7d14265deb828a4bbdca18f5a2f476"
},
"downloads": -1,
"filename": "simopt-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "943281ed44ec5408d7c026ba3ba1c6f5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5886,
"upload_time": "2023-11-30T12:52:24",
"upload_time_iso_8601": "2023-11-30T12:52:24.988278Z",
"url": "https://files.pythonhosted.org/packages/f5/f1/1dcce3e49c66e19de42798ffc3d9a2b71dd48c09417e7dba6eed87cdabd3/simopt-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-30 12:52:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Tsjerk",
"github_project": "simopt",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "simopt"
}