{ "info": { "author": "timchow", "author_email": "jingjiang@staff.sina.com.cn", "bugtrack_url": null, "classifiers": [], "description": "from type_constraint import BasicCheck, CheckMeta, Check\n\nclass A:\n __metaclass__ = CheckMeta()\n def f(self, i, j):\n \"\"\"\n @param i str\n @param j str\n \"\"\"\n return i + j\n\na = A()\na.f('1', '2')\n\n@BasicCheck\ndef test_func(i, j):\n \"\"\"\n this is a test function for type constraint\n @param i int :this is the first operand\n @param j float :this is the second operand\n @return float\n \"\"\"\n return i / j", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://tieba.baidu.com/f?ie=utf-8&kw=%E5%91%A8%E4%BA%95%E6%B1%9F", "keywords": "type constraint", "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "type_constraint", "package_url": "https://pypi.org/project/type_constraint/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/type_constraint/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://tieba.baidu.com/f?ie=utf-8&kw=%E5%91%A8%E4%BA%95%E6%B1%9F" }, "release_url": "https://pypi.org/project/type_constraint/0.0.10/", "requires_dist": null, "requires_python": null, "summary": "a type constraint tool for python function", "version": "0.0.10" }, "last_serial": 1574569, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "da9e405ce2d08e242ff624b9b07c10bc", "sha256": "6af12b61264869b8bcb14d2248d801b0a1cd24bce060b13f5887209c458faa49" }, "downloads": -1, "filename": "type_constraint-0.0.1-py2.7.egg", "has_sig": false, "md5_digest": "da9e405ce2d08e242ff624b9b07c10bc", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4722, "upload_time": "2015-06-02T07:50:55", "url": "https://files.pythonhosted.org/packages/04/1d/0a21d18cca443343a4e85e01c02f46d8822c655db1b80385c3abcdcef5d8/type_constraint-0.0.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7249969f9b42a523b961eaaa2cc8f6f3", "sha256": "3182b749c04078aadce727bc2d963ca655a23fd0d325d1da2bced18a32f6b1c6" }, "downloads": -1, "filename": "type_constraint-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7249969f9b42a523b961eaaa2cc8f6f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2303, "upload_time": "2015-06-02T07:50:50", "url": "https://files.pythonhosted.org/packages/07/41/bb9a76228bf4e9bdaee2e65eeffac392d3b6ad9aec0e6f7dead90edd1199/type_constraint-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "487c8bec38c8980ce0b5c36f1c9c1496", "sha256": "a0d1f82be2918b7d39b139d6dc75175b3207e74567da74b9229ad2a873973de5" }, "downloads": -1, "filename": "type_constraint-0.0.10-py2.7.egg", "has_sig": false, "md5_digest": "487c8bec38c8980ce0b5c36f1c9c1496", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4710, "upload_time": "2015-06-02T09:03:35", "url": "https://files.pythonhosted.org/packages/76/bc/5113e34d8ec75a55d7d6cecab75f69b944d8a854b5b941a45e1650a53b35/type_constraint-0.0.10-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "9f9eea1e0c25b6ebf0b2beb26ed932c1", "sha256": "933f5a8ddde6f24463407f342292c243e4762a1953f9b098cb878ecf1e185775" }, "downloads": -1, "filename": "type_constraint-0.0.10.tar.gz", "has_sig": false, "md5_digest": "9f9eea1e0c25b6ebf0b2beb26ed932c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2289, "upload_time": "2015-06-02T09:03:31", "url": "https://files.pythonhosted.org/packages/94/f4/bae034a3321852bdf066bb86513e7b03edc6a3cb9266ec0d21be31b95c43/type_constraint-0.0.10.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "03a81f933604f887f5c42f56957324b3", "sha256": "e0c9aab7121980d858a34680a48f8f76fa5e389ee7c4c6f51b6fbe32c251fd15" }, "downloads": -1, "filename": "type_constraint-0.0.2-py2.7.egg", "has_sig": false, "md5_digest": "03a81f933604f887f5c42f56957324b3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4813, "upload_time": "2015-06-02T08:11:08", "url": "https://files.pythonhosted.org/packages/4f/12/01ea931f0023b0adafaa0dd5c84fd76e44a40d4a14031301fe4179ba3b5b/type_constraint-0.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "3a39d35168f46b9e7795ba4a428976e8", "sha256": "eb8a6cf65b4fbe3efce01e9058c83df197aea78003116b88c9fab11f2b78a8bf" }, "downloads": -1, "filename": "type_constraint-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3a39d35168f46b9e7795ba4a428976e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2408, "upload_time": "2015-06-02T08:11:04", "url": "https://files.pythonhosted.org/packages/f4/d5/3e583ee5a49a4f570b26c0c41e946a1906b7962a0c64b523b902f0048eb1/type_constraint-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "bcbebf6cb4ec8c505219014066d175ba", "sha256": "fc842f787ecf0a6fea1086ee5153c0538d26e496ff1adb3ef58e1f891d75bb6f" }, "downloads": -1, "filename": "type_constraint-0.0.3-py2.7.egg", "has_sig": false, "md5_digest": "bcbebf6cb4ec8c505219014066d175ba", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4809, "upload_time": "2015-06-02T08:15:22", "url": "https://files.pythonhosted.org/packages/51/93/2778ac9dadcfe0a0e5ce39747629e2ae5a388b551c3b7270c5f5fa9bc899/type_constraint-0.0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "10806cad40a38172e584c476b136cd8a", "sha256": "fc37bd735b8637d6340cb48dd73dcf628fe3a5a14b8bda60ac07ae536c0b2c27" }, "downloads": -1, "filename": "type_constraint-0.0.3.tar.gz", "has_sig": false, "md5_digest": "10806cad40a38172e584c476b136cd8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2409, "upload_time": "2015-06-02T08:15:17", "url": "https://files.pythonhosted.org/packages/24/3a/385574333b63eb8524eff39e4eb38a5f0f1b0165dd8f1d3a5f15f81b67c1/type_constraint-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "57e9612ae0c68387c0cea96d1c174774", "sha256": "a5395b17c8c9141a96d32f197f15c2e9bfcf62a5ad88da6de9cc638bf12e51de" }, "downloads": -1, "filename": "type_constraint-0.0.4-py2.7.egg", "has_sig": false, "md5_digest": "57e9612ae0c68387c0cea96d1c174774", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4820, "upload_time": "2015-06-02T08:20:33", "url": "https://files.pythonhosted.org/packages/c9/dc/b9dcebb07ef90ed9f269a2dea3fd858a8d839c2bc2459fa5a714b1b74f0e/type_constraint-0.0.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "417f5d4b5c405d77c9267b17b1b557e8", "sha256": "c56c2d5d40e90b6d162b77da17d2a9eca5907347d3f5d07c56719a84108151d4" }, "downloads": -1, "filename": "type_constraint-0.0.4.tar.gz", "has_sig": false, "md5_digest": "417f5d4b5c405d77c9267b17b1b557e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2428, "upload_time": "2015-06-02T08:20:28", "url": "https://files.pythonhosted.org/packages/2d/cc/f0ade581914c6b4400cd53b4f56e0cefa17c9d00bd4edf2ed0de77821aa3/type_constraint-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "a3f34752059b909b3e2f5dee237f87ab", "sha256": "a1434d2d47a1c42a83aa1afee07175ef5820b20c168db6b1e2f2dba72623105f" }, "downloads": -1, "filename": "type_constraint-0.0.5-py2.7.egg", "has_sig": false, "md5_digest": "a3f34752059b909b3e2f5dee237f87ab", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4829, "upload_time": "2015-06-02T08:28:25", "url": "https://files.pythonhosted.org/packages/3a/27/3c3c7c43b039ba509e59fa2b01de7d996206c240d223351e2ca67ecd94de/type_constraint-0.0.5-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "b265c03c95914a8358802e2048c0848a", "sha256": "a45525d535446b76198694342596a61a42b8d3158ce135c61a1c961fbde568f8" }, "downloads": -1, "filename": "type_constraint-0.0.5.tar.gz", "has_sig": false, "md5_digest": "b265c03c95914a8358802e2048c0848a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2432, "upload_time": "2015-06-02T08:28:21", "url": "https://files.pythonhosted.org/packages/0d/be/e1377c05c380468bd62b6e176ebe74dc28cc9a7d9f0a090722b5382cabae/type_constraint-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "530bc0474e5af1e3893f9c9cb8a73756", "sha256": "18d52d79d2fadb548968c3c27c4a0fa10cb82b396142af0e32c16cdf06bc948d" }, "downloads": -1, "filename": "type_constraint-0.0.6-py2.7.egg", "has_sig": false, "md5_digest": "530bc0474e5af1e3893f9c9cb8a73756", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4700, "upload_time": "2015-06-02T08:37:16", "url": "https://files.pythonhosted.org/packages/ab/8b/851bc4b965f459c594e0a831f90ded4d5d4d512c0ada76aaa1a689b7e281/type_constraint-0.0.6-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "11e947e05a7680ceb45e307933b5f3e1", "sha256": "8782383a5e2b1a51b080706851f550554334d2e5900cca7467cd87ef8c7e3231" }, "downloads": -1, "filename": "type_constraint-0.0.6.tar.gz", "has_sig": false, "md5_digest": "11e947e05a7680ceb45e307933b5f3e1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2282, "upload_time": "2015-06-02T08:37:12", "url": "https://files.pythonhosted.org/packages/25/8b/0f84384fa22dac82631604f9e3c85daadedce9d6134ce14668b36de0f2b5/type_constraint-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "517fde84499b121c62fe8541f48835e3", "sha256": "9e1fe0fb4c495f68b3eddda89b9d7de22d82dc692513f4c8bdb72af494c34803" }, "downloads": -1, "filename": "type_constraint-0.0.7-py2.7.egg", "has_sig": false, "md5_digest": "517fde84499b121c62fe8541f48835e3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4709, "upload_time": "2015-06-02T08:40:02", "url": "https://files.pythonhosted.org/packages/3f/69/fc64e53225afb35d71e834d9fd77a8571a6b6d67c7a7696695edd309ff2b/type_constraint-0.0.7-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e14d639c7a3e94696513d701b03c3039", "sha256": "adb6bdbe178f73cd9e90bd271485a1be62508e9d80ffc0ff873ec425432fdbd2" }, "downloads": -1, "filename": "type_constraint-0.0.7.tar.gz", "has_sig": false, "md5_digest": "e14d639c7a3e94696513d701b03c3039", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2289, "upload_time": "2015-06-02T08:39:57", "url": "https://files.pythonhosted.org/packages/95/6c/10a4843f35ce61fd1a5412296fd9f196be7ebea147ea13b095e76250279f/type_constraint-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "f188a9cb7614e23c52e5c38de6e47866", "sha256": "65d25aeae1fbe9298a32d1085eb09da6a49b02ec9f09280801b9e737fcf0a87d" }, "downloads": -1, "filename": "type_constraint-0.0.8-py2.7.egg", "has_sig": false, "md5_digest": "f188a9cb7614e23c52e5c38de6e47866", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4722, "upload_time": "2015-06-02T08:59:26", "url": "https://files.pythonhosted.org/packages/d1/d0/b47de89d3aa83827fc96be14207dcabf60053fb15841f02847caba72a07a/type_constraint-0.0.8-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7bfb1e1b29b9d05e7a60232983145e33", "sha256": "92ab9e5f7371558a560d81f09d595ddcfde9a73402081ae13314be9cdc3d6caa" }, "downloads": -1, "filename": "type_constraint-0.0.8.tar.gz", "has_sig": false, "md5_digest": "7bfb1e1b29b9d05e7a60232983145e33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2307, "upload_time": "2015-06-02T08:59:22", "url": "https://files.pythonhosted.org/packages/0f/6b/12c3d4ea47bcc2e0268cec72f5cf79f124345093679f467634491280a2ea/type_constraint-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "abdc090e507f15345a4e6cb29b51ac9e", "sha256": "b66da5d87e13e8829ed2c86f79ee1b6a7b94a4aa1bed829bd8cdafebf368fca4" }, "downloads": -1, "filename": "type_constraint-0.0.9-py2.7.egg", "has_sig": false, "md5_digest": "abdc090e507f15345a4e6cb29b51ac9e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4740, "upload_time": "2015-06-02T09:02:18", "url": "https://files.pythonhosted.org/packages/cf/06/43c894dccb17e2658291ff28263cabed200ad7c512160f69f0dc041e1e04/type_constraint-0.0.9-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "47c03f2d31f8a16f75de2c76beb0c7e3", "sha256": "cd5218d0386b14114ca497112019db0ebeac62ead3528eedd870d6e207eee8dc" }, "downloads": -1, "filename": "type_constraint-0.0.9.tar.gz", "has_sig": false, "md5_digest": "47c03f2d31f8a16f75de2c76beb0c7e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2329, "upload_time": "2015-06-02T09:01:46", "url": "https://files.pythonhosted.org/packages/2a/50/14f03493a15a9b3fa395b24c4e052225fcca79a09c290e9a03d776b4098c/type_constraint-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "487c8bec38c8980ce0b5c36f1c9c1496", "sha256": "a0d1f82be2918b7d39b139d6dc75175b3207e74567da74b9229ad2a873973de5" }, "downloads": -1, "filename": "type_constraint-0.0.10-py2.7.egg", "has_sig": false, "md5_digest": "487c8bec38c8980ce0b5c36f1c9c1496", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4710, "upload_time": "2015-06-02T09:03:35", "url": "https://files.pythonhosted.org/packages/76/bc/5113e34d8ec75a55d7d6cecab75f69b944d8a854b5b941a45e1650a53b35/type_constraint-0.0.10-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "9f9eea1e0c25b6ebf0b2beb26ed932c1", "sha256": "933f5a8ddde6f24463407f342292c243e4762a1953f9b098cb878ecf1e185775" }, "downloads": -1, "filename": "type_constraint-0.0.10.tar.gz", "has_sig": false, "md5_digest": "9f9eea1e0c25b6ebf0b2beb26ed932c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2289, "upload_time": "2015-06-02T09:03:31", "url": "https://files.pythonhosted.org/packages/94/f4/bae034a3321852bdf066bb86513e7b03edc6a3cb9266ec0d21be31b95c43/type_constraint-0.0.10.tar.gz" } ] }