{ "info": { "author": "David Dworken", "author_email": "david@daviddworken.com", "bugtrack_url": null, "classifiers": [], "description": "Vigil\n=====\n\nhttps://github.com/munificent/vigil but as a python package\n\nTo quote the above, \"Vigil is truly vigilant about not allowing code\nthat fails to pass programmatic specifications.\"\n\nImplore\n~~~~~~~\n\nFunctions can state the oaths they promise to uphold via\n``vigil.implore``:\n\n.. code:: python\n\n import math\n import vigil\n\n # The 0th argument to sqrt must always be greater than or equal to zero. \n @vigil.implore(\">=\", 0, 0)\n def sqrt(x):\n return math.sqrt(x)\n\nIf a caller fails to meet the requirement, a ``VigilError`` will be\nthrown and the caller will be punished as defined in the ``vigil.conf``.\n\nSwear\n~~~~~\n\nFunctions can state the oaths they promise to uphold via\n``vigil.swear``:\n\n.. code:: python\n\n import math\n import vigil\n\n # The output must be greater than 0\n @vigil.swear(\">=\", 0)\n def sqr(x):\n return x*x\n\nIf a function fails to meet its oath, a ``VigilError`` will be thrown\nand the function will be punished as defined in the ``vigil.conf``.\n\nPunishment\n~~~~~~~~~~\n\nThe punishment for misbehaving functions is defined in a ``vigil.conf``.\nvigil.conf can either say ``deleteFunctions = False`` or\n``deleteFunctions = True``.\n\n`FAQ `__\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIs this serious?\n^^^^^^^^^^^^^^^^\n\nEternal moral vigilance is no laughing matter.\n\nBut isn't a language that deletes code crazy?\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nNo, wanting to keep code that demonstrably has bugs according to its own\nspecifications is crazy. What good could it possibly serve? It is\ncorrupted and must be cleansed from your codebase.\n\nVigil will do this for you automatically.\n\nVigil deleted a function. Won't that cause the functions that call it to fail?\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nIt would seem that those functions appear to be corrupted as well. Run\nVigil again and it will take care of that for you. Several invocations\nmay be required to fully excise all bugs from your code.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/vigil/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "vigil", "package_url": "https://pypi.org/project/vigil/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vigil/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/vigil/" }, "release_url": "https://pypi.org/project/vigil/1.0/", "requires_dist": null, "requires_python": null, "summary": "vigil... as a python package", "version": "1.0" }, "last_serial": 2444996, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b520e465613f5fc7e9d663d9796bd561", "sha256": "b45e99e98546a85b43ed82d793f57b39ab30cc38af4199f7e8b9bb3c72e68449" }, "downloads": -1, "filename": "vigil-0.1.tar.gz", "has_sig": false, "md5_digest": "b520e465613f5fc7e9d663d9796bd561", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2369, "upload_time": "2016-11-06T03:31:51", "url": "https://files.pythonhosted.org/packages/f9/8e/572c075bb40dcd233554044d74e183e0c7c05bcf38b7a803b3ca9bc74436/vigil-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "35202e1cb285b1a50d631072faf1df43", "sha256": "f6e065b2db101c1a92aaa5192ca1bcfc0ef63c194a6270abbf02703a2c88d604" }, "downloads": -1, "filename": "vigil-0.1.1.tar.gz", "has_sig": false, "md5_digest": "35202e1cb285b1a50d631072faf1df43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14677, "upload_time": "2016-11-06T03:35:47", "url": "https://files.pythonhosted.org/packages/a9/e0/ca49d9fc3832506deb8ea9f22d4056347c602a1b0ee35cc4dd7a5dc4d377/vigil-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "9a05fe698a35414da0cc8ffcf6fdd0a0", "sha256": "0bcea20c35cef934742e4bc7592d82d138da197527ea80d05d07d9d6228836d9" }, "downloads": -1, "filename": "vigil-0.1.2.tar.gz", "has_sig": false, "md5_digest": "9a05fe698a35414da0cc8ffcf6fdd0a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14763, "upload_time": "2016-11-06T04:00:47", "url": "https://files.pythonhosted.org/packages/0f/12/6e40a081dbdc390e58dab57b5a226015b6d9e60fc5fa25fc56e95b64c8cf/vigil-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5b32d051d8109a26ebcebe11e2f8bf62", "sha256": "f465ea51b80ce709a73f36a9cd30f167be5b72d197c2ef92537b43dfc9440e42" }, "downloads": -1, "filename": "vigil-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5b32d051d8109a26ebcebe11e2f8bf62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14776, "upload_time": "2016-11-06T04:04:01", "url": "https://files.pythonhosted.org/packages/a6/4c/9a13cec3f5b333c24d02749e30bb95727d4379854c61bf7b11efffdf2fcb/vigil-0.1.3.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "cb46260e57315b7c1e9adfc630d1d257", "sha256": "cbe56e30cc3541ec246fc65ef4e87fa57fab1683b31872646ee3389eab3cd27e" }, "downloads": -1, "filename": "vigil-1.0.tar.gz", "has_sig": false, "md5_digest": "cb46260e57315b7c1e9adfc630d1d257", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15011, "upload_time": "2016-11-06T04:10:51", "url": "https://files.pythonhosted.org/packages/26/dc/f2bf3374d00255aa0151a465fb916cc73fed5014e14f5fe1f5780eb1f8f8/vigil-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cb46260e57315b7c1e9adfc630d1d257", "sha256": "cbe56e30cc3541ec246fc65ef4e87fa57fab1683b31872646ee3389eab3cd27e" }, "downloads": -1, "filename": "vigil-1.0.tar.gz", "has_sig": false, "md5_digest": "cb46260e57315b7c1e9adfc630d1d257", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15011, "upload_time": "2016-11-06T04:10:51", "url": "https://files.pythonhosted.org/packages/26/dc/f2bf3374d00255aa0151a465fb916cc73fed5014e14f5fe1f5780eb1f8f8/vigil-1.0.tar.gz" } ] }