{ "info": { "author": "acbart", "author_email": "acbart@udel.edu", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": "CISC108 Support Library\n=======================\n\nA collection of tools to help students write code.\n\nFor now, mostly improved assertions.\n\nInstallation\n============\n\nInstall from PyPi::\n\n pip install cisc108\n\nOr install from the https://github.com/UD-CIS-Teaching/cisc108-python-support-library\n\nExamples\n========\n\n.. code-block:: python\n\n from cisc108 import assert_equal\n\n def halve(number):\n return number / 2\n\n # Correctly handles floating points\n assert_equal(add5(10), 5.0)\n\nOutput\n======\n\nThis library will print a message to STDOUT if an assertion fails, and returns True/False. It does not raise an exception or print to STDERR.\n\nSupported Types\n===============\n\n* Numbers: strictly compares numeric types, but allows floats to have imprecision, defaults to 4 places\n* Strings: can strictly compare types with exact_strings=True, but defaults to ignore whitespace on newlines and capitalization\n* Lists, Tuples: applies same rules to inner types as container types\n* Sets, Frozensets, Dictionary: checks that all elements are contained in both, in any order\n* Generators: functions like `enumerate` and `.items()` that produce generators are converted to lists and sets (as appropriate), then checked that their values match.\n* Other types should work as well, but require that the result of `type` match, and that `x == y`\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/UD-CIS-Teaching/cisc108-python-support-library", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "CISC108", "package_url": "https://pypi.org/project/CISC108/", "platform": "", "project_url": "https://pypi.org/project/CISC108/", "project_urls": { "Homepage": "https://github.com/UD-CIS-Teaching/cisc108-python-support-library" }, "release_url": "https://pypi.org/project/CISC108/0.1/", "requires_dist": null, "requires_python": "", "summary": "Tools to help students write code.", "version": "0.1" }, "last_serial": 4773413, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "188301e68865a4e172bad27638e80b43", "sha256": "8d8ddc94fad311ca5e90e1b9b89c5052e2883807b2031e1875d828b08f45e448" }, "downloads": -1, "filename": "CISC108-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "188301e68865a4e172bad27638e80b43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6621, "upload_time": "2019-02-02T23:01:08", "url": "https://files.pythonhosted.org/packages/ab/8d/1156b8a72b8a24326b6a8b2f06dd2d63e1262abd485fa27adf13ea6ab89f/CISC108-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f97a8bf8dd9803661905a9c52c51a634", "sha256": "f133aa35c9858af04afdf961f6abd7f0daca3c241d3a30c1f40fa331eeaa5f99" }, "downloads": -1, "filename": "CISC108-0.1.tar.gz", "has_sig": false, "md5_digest": "f97a8bf8dd9803661905a9c52c51a634", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4679, "upload_time": "2019-02-02T23:01:10", "url": "https://files.pythonhosted.org/packages/8b/90/8e477265bbf72495c84131eb23787722021a864b22a1507f90adb0ea185b/CISC108-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "188301e68865a4e172bad27638e80b43", "sha256": "8d8ddc94fad311ca5e90e1b9b89c5052e2883807b2031e1875d828b08f45e448" }, "downloads": -1, "filename": "CISC108-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "188301e68865a4e172bad27638e80b43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6621, "upload_time": "2019-02-02T23:01:08", "url": "https://files.pythonhosted.org/packages/ab/8d/1156b8a72b8a24326b6a8b2f06dd2d63e1262abd485fa27adf13ea6ab89f/CISC108-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f97a8bf8dd9803661905a9c52c51a634", "sha256": "f133aa35c9858af04afdf961f6abd7f0daca3c241d3a30c1f40fa331eeaa5f99" }, "downloads": -1, "filename": "CISC108-0.1.tar.gz", "has_sig": false, "md5_digest": "f97a8bf8dd9803661905a9c52c51a634", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4679, "upload_time": "2019-02-02T23:01:10", "url": "https://files.pythonhosted.org/packages/8b/90/8e477265bbf72495c84131eb23787722021a864b22a1507f90adb0ea185b/CISC108-0.1.tar.gz" } ] }