{ "info": { "author": "James Johnson", "author_email": "james.johnson@excellentingenuity.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3.4" ], "description": "ArgumentsProcessor\n==================\n\n|Build Status| |Coverage Status| |PyPI version| |Flattr this git repo|\n\nA Python module that process a dictionary of arguments against a\nsupplied dictionary of expected arguments.\n\n**Install**\n\n``pip install argumentsprocessor``\n\n**Documentation**\n\nArgumentsProcessor Module\n\n::\n\n Processes arguments according to a supplied dictionary containing expected arguments\n and rules.\n\n @includes:\n ArgumentsProcessor\n ArgumentsProcessorExceptions\n\n @requires:\n 'expected_arguments' = { -- categories are synonymous to the arguments you pass\n 'category_a' : { -- this is will be whatever you name your argument, see the example below\n 'arguments: (\n 'hello',\n 'bye'\n ),\n 'required' : True || False,\n 'returns' : 'string' -- default is string but you may pass the string name of any\n python variable type or pass in a custom object\n },\n 'category_b' : {\n arguments: (\n 'data'\n ),\n 'required' : True || False,\n 'returns': 'string' -- default is string but you may pass the string name of any\n python variable type or pass in a custom object\n }\n }\n\n @return:\n arguments = {\n 'category_a':return_value, -- either the default string, any python type, or custom object passed in\n 'category_b':return_value, -- either the default string, any python type, or custom object passed in\n }\n\n\n @example:\n\n import ArgumentsProcessor\n\n class classy:\n\n expected_arguments = {\n 'mode': {\n 'arguments': (\n 'encrypt',\n 'decrypt'\n ),\n 'required': True,\n 'return': 'string'\n },\n 'data': {\n 'arguments': (\n 'data'\n ),\n 'required': True,\n 'return': 'string'\n }\n }\n\n def __init__(self, mode, data):\n supplied_arguments = {\n 'mode':mode,\n 'data':data\n }\n arguments = ArgumentsProcessor(self.expected_arguments, s\n\n.. |Build Status| image:: https://travis-ci.org/excellentingenuity/argumentsprocessor.svg?branch=master\n :target: https://travis-ci.org/excellentingenuity/argumentsprocessor\n.. |Coverage Status| image:: https://img.shields.io/coveralls/excellentingenuity/argumentsprocessor.svg\n :target: https://coveralls.io/r/excellentingenuity/argumentsprocessor\n.. |PyPI version| image:: https://badge.fury.io/py/argumentsprocessor.svg\n :target: http://badge.fury.io/py/argumentsprocessor\n.. |Flattr this git repo| image:: http://api.flattr.com/button/flattr-badge-large.png\n :target: https://flattr.com/submit/auto?user_id=jsam84&url=https://github.com/excellentingenuity/argumentsprocessor&title=argumentsprocessor&language=GH_PROJECT_PROG_LANGUAGE&tags=github&category=software", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/excellentingenuity/argumentsprocessor.git", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/excellentingenuity/argumentsprocessor", "keywords": "arguments,processing", "license": "BSD New", "maintainer": null, "maintainer_email": null, "name": "argumentsprocessor", "package_url": "https://pypi.org/project/argumentsprocessor/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/argumentsprocessor/", "project_urls": { "Download": "https://github.com/excellentingenuity/argumentsprocessor.git", "Homepage": "https://github.com/excellentingenuity/argumentsprocessor" }, "release_url": "https://pypi.org/project/argumentsprocessor/1.1.6/", "requires_dist": null, "requires_python": null, "summary": "A Python module that process a dictionary of arguments against a supplied dictionary of expected arguments.", "version": "1.1.6" }, "last_serial": 1616857, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "9b0201f99f02bb4f5c9534918b1465f6", "sha256": "742bfa2a31e9ac16f8c3cc490f1bd546c5b78b785b42e7f5e0ce1e6bff69e782" }, "downloads": -1, "filename": "argumentsprocessor-1.0.0.tar.gz", "has_sig": false, "md5_digest": "9b0201f99f02bb4f5c9534918b1465f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2134, "upload_time": "2014-10-18T16:01:22", "url": "https://files.pythonhosted.org/packages/3f/e6/21faa6b9eafab5bee197880af224ed5f4a48ffa11b1098aa4dd454daa9f4/argumentsprocessor-1.0.0.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "586c6141991e0b2480d4c07b8bc7722a", "sha256": "61a68a875d74f9be4ba8e9f01b551336bea59d5dca103dcdd155361b03268daf" }, "downloads": -1, "filename": "argumentsprocessor-1.0.4.tar.gz", "has_sig": false, "md5_digest": "586c6141991e0b2480d4c07b8bc7722a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2417, "upload_time": "2014-10-21T21:11:48", "url": "https://files.pythonhosted.org/packages/23/b9/d4a317f01418bc43998269efffbdfb09e916985d3d970fcdbbff9d494351/argumentsprocessor-1.0.4.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "b301e45fc9e9e62cbf42c9c6bcfe5a51", "sha256": "1e8501bc8e63e7f98fbf68a6a6fd8d6c811ebebc85d9898e72cbf4c3fd9e4696" }, "downloads": -1, "filename": "argumentsprocessor-1.0.6.tar.gz", "has_sig": false, "md5_digest": "b301e45fc9e9e62cbf42c9c6bcfe5a51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2427, "upload_time": "2014-10-21T22:05:56", "url": "https://files.pythonhosted.org/packages/bb/a6/0f3e7cb1594bc50ea846f8669942d3c163a037c414e99d541cb35f3b9ad4/argumentsprocessor-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "26da7c14e3d8f932e0a3587ebae65ed5", "sha256": "e0d99292329557fcd5e034e6c4e0f399d32e052006f2d7747503a7efa5e8a69e" }, "downloads": -1, "filename": "argumentsprocessor-1.0.7.tar.gz", "has_sig": false, "md5_digest": "26da7c14e3d8f932e0a3587ebae65ed5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2426, "upload_time": "2014-10-22T02:37:48", "url": "https://files.pythonhosted.org/packages/23/b6/8d82e7910a1162aaa9a76c4287e9530d98619fd3539752709e303fbc52a1/argumentsprocessor-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "aa60b5c0974d03a7d5e3592927d58b9b", "sha256": "27b66fd36039a4608a9c191401e8206c7665c590147c80e5db86354e86b3a2c9" }, "downloads": -1, "filename": "argumentsprocessor-1.0.8.tar.gz", "has_sig": false, "md5_digest": "aa60b5c0974d03a7d5e3592927d58b9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2439, "upload_time": "2014-10-22T12:24:04", "url": "https://files.pythonhosted.org/packages/b7/bd/33e991db55d45e34a5b3b33634b8c4df5ab3410bc93e65bad80f9fbceb14/argumentsprocessor-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "95aa2117e85576ba5b17a339701ef282", "sha256": "0d0cdc115a4cf69004b22347eb932e2698c87a3000bf4d74e3cbf790a56fe53a" }, "downloads": -1, "filename": "argumentsprocessor-1.0.9.tar.gz", "has_sig": false, "md5_digest": "95aa2117e85576ba5b17a339701ef282", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2437, "upload_time": "2014-10-22T12:30:27", "url": "https://files.pythonhosted.org/packages/dd/a6/46e8a4a230e64bc8038badc4c5d6d472e73f78a83a2e8fbcdee20045a558/argumentsprocessor-1.0.9.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "40aceb29d5a6545a42efef778c09126e", "sha256": "5fdbb7045e318906436a4aaa4f7e938724a6263a84b3e30c9ae727d05e61d3a6" }, "downloads": -1, "filename": "argumentsprocessor-1.1.1.tar.gz", "has_sig": false, "md5_digest": "40aceb29d5a6545a42efef778c09126e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2738, "upload_time": "2014-10-22T16:29:23", "url": "https://files.pythonhosted.org/packages/11/e9/2462dfb708a1341cff4f77bf82b6fa1921f31def4a8c19d41594f2eae428/argumentsprocessor-1.1.1.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "4c1ed778eefae9b5aad76f7eeb9412ab", "sha256": "eb8c7d36ee1cd9afa72aa55fd814956bf671f916f0d436458f681500c9379151" }, "downloads": -1, "filename": "argumentsprocessor-1.1.3.tar.gz", "has_sig": false, "md5_digest": "4c1ed778eefae9b5aad76f7eeb9412ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2761, "upload_time": "2014-10-22T19:12:21", "url": "https://files.pythonhosted.org/packages/8b/3d/5d76d7075e8a8e19e849e169ae21d1c3f91a27ed59d4e263a5651f65ef9c/argumentsprocessor-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "7351a34fc6a128d6a4e621cd41b7d86b", "sha256": "dcf7437a70c136fb486deac0600ccc43ccbd2b577c9697356e77eaf68530223f" }, "downloads": -1, "filename": "argumentsprocessor-1.1.4.tar.gz", "has_sig": false, "md5_digest": "7351a34fc6a128d6a4e621cd41b7d86b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2820, "upload_time": "2014-10-23T00:53:46", "url": "https://files.pythonhosted.org/packages/b4/bb/24a154b35bad25452ccaf42c899c59b00e10f9299ff8f9abad1d2275d3ce/argumentsprocessor-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "4fd41d3cbab80cdb186fbad7f106f619", "sha256": "7789beb8911d171a2e0d2b6ab77e42d41905e694208bd8de8eb2bb8259740601" }, "downloads": -1, "filename": "argumentsprocessor-1.1.5.tar.gz", "has_sig": false, "md5_digest": "4fd41d3cbab80cdb186fbad7f106f619", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2823, "upload_time": "2014-10-23T00:59:10", "url": "https://files.pythonhosted.org/packages/fe/43/9af2d3eb92da3956cffbd1d0e95173135e461271aa1401e3a26d16b30f9b/argumentsprocessor-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "6b1c483d3ca605bbc4cbe621042cb2f9", "sha256": "ad90a7ea68dd20b2372796ea3161ae97135e7639851e1f554798de542b20529f" }, "downloads": -1, "filename": "argumentsprocessor-1.1.6.tar.gz", "has_sig": false, "md5_digest": "6b1c483d3ca605bbc4cbe621042cb2f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3106, "upload_time": "2015-01-14T22:37:07", "url": "https://files.pythonhosted.org/packages/f8/6f/c08ac358ba927ff59aa905d776a1a21c8e8e4043c7f2edf3499e29875c34/argumentsprocessor-1.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b1c483d3ca605bbc4cbe621042cb2f9", "sha256": "ad90a7ea68dd20b2372796ea3161ae97135e7639851e1f554798de542b20529f" }, "downloads": -1, "filename": "argumentsprocessor-1.1.6.tar.gz", "has_sig": false, "md5_digest": "6b1c483d3ca605bbc4cbe621042cb2f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3106, "upload_time": "2015-01-14T22:37:07", "url": "https://files.pythonhosted.org/packages/f8/6f/c08ac358ba927ff59aa905d776a1a21c8e8e4043c7f2edf3499e29875c34/argumentsprocessor-1.1.6.tar.gz" } ] }