{ "info": { "author": "Peter M. Elias", "author_email": "petermelias@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Mr. Python\n[![Build Status](https://travis-ci.org/petermelias/mrpython.png?branch=master)](https://travis-ci.org/petermelias/mrpython) [![Coverage Status](https://coveralls.io/repos/petermelias/mrpython/badge.png?branch=master)](https://coveralls.io/r/petermelias/mrpython?branch=master) [![Downloads](https://pypip.in/d/mrpython/badge.png)](https://pypi.python.org/pypi/mrpython/) [![Downloads](https://pypip.in/v/mrpython/badge.png)](https://pypi.python.org/pypi/mrpython/)\n\nA collection of functions, decorators and data that don't seem to fit into any of my (or anybody else's) libraries.\n\n## Functions\n* ``` autolog(message, level=logging.DEBUG) ```\n* ``` enum(**enums) ```\n* ``` ip2long(ip) ```\n* ``` long2ip(long) ```\n* ``` to_dict(o, limit=None) ```\n* ``` walker(node, limit=None) ```\n\n## Data\n* STATES (dict)\n* ORDERED_STATES (OrderedDict)\n\n## Interfaces\n* TInterface (only for use with walker)\n\n\n### Instructions for using walker\n\n1. Inherit your walkable nodes from ``` mrpython.TInterface ```\n2. Set the ``` _dict_attrs attribute on all of your nodes to limit the extent to which they walk\n3. Pass one of the nodes to ``` walker(node) ```\n4. Store the resulting dictionary.\n\nIf you want to override the ``` _dict_attrs ``` default limiting, call the ``` to_dict ``` method on your starting node and supply the ``` limit ``` parameter and then pass the resulting dictionary to the ``` walker(node) ``` function.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/petermelias/mrpython", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "mrpython", "package_url": "https://pypi.org/project/mrpython/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mrpython/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/petermelias/mrpython" }, "release_url": "https://pypi.org/project/mrpython/0.0.18/", "requires_dist": null, "requires_python": null, "summary": "Collection of things for Python that dont warrant their own libraries.", "version": "0.0.18" }, "last_serial": 1686034, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "8f11e7170974f659a9fd577e445ab300", "sha256": "9aaac66169a9dade6c7b8275b8bd90a3c40273e29e81a72520b37da658fafd7a" }, "downloads": -1, "filename": "mrpython-0.0.1.tar.gz", "has_sig": false, "md5_digest": "8f11e7170974f659a9fd577e445ab300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2899, "upload_time": "2013-10-16T20:26:59", "url": "https://files.pythonhosted.org/packages/cc/45/733e0df2fe7614a30d4c63da927da38294e2a5183b4402999181ee72e9a1/mrpython-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "9a978e0b54cdfd863a5f0e03f984e0cd", "sha256": "7e3db40a3ae8dd4571276d8e0c899d7c787cf9def6d4ae964e2e129183496a32" }, "downloads": -1, "filename": "mrpython-0.0.10.tar.gz", "has_sig": false, "md5_digest": "9a978e0b54cdfd863a5f0e03f984e0cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3707, "upload_time": "2013-10-25T22:31:03", "url": "https://files.pythonhosted.org/packages/f7/53/8ed3f88c8a16d13d00d576251f682b0cd4978a58093f260fdfb0cb0727e3/mrpython-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "fd720d6e68c4af60aabb91c21f9d11b5", "sha256": "07404c2011a605987cecf5a953c5a737dbf89fa998854fa754c8cee20bbc9454" }, "downloads": -1, "filename": "mrpython-0.0.11.tar.gz", "has_sig": false, "md5_digest": "fd720d6e68c4af60aabb91c21f9d11b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3798, "upload_time": "2013-10-25T22:50:44", "url": "https://files.pythonhosted.org/packages/7e/80/03b393615e77947c7183faa51ebf4e9f3c985d27988e4059c3d57388421b/mrpython-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "1d4439cacb9c60f7df89c1a2ea09bed2", "sha256": "49518eee73826ebfa30f563e499a82bfd985bf64d36bde00b7b5f6535786263a" }, "downloads": -1, "filename": "mrpython-0.0.12.tar.gz", "has_sig": false, "md5_digest": "1d4439cacb9c60f7df89c1a2ea09bed2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3931, "upload_time": "2013-10-25T23:27:07", "url": "https://files.pythonhosted.org/packages/0a/ae/f671cb20a3f9b4866e0d0cdb5c301e129599ff0fcb12abe15f56aa377907/mrpython-0.0.12.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "d6572caf206ed09407e2568606a4db37", "sha256": "a8de347b461cff444deae2a9a7a619deeab957fc02718984dc9221e21c45f2ab" }, "downloads": -1, "filename": "mrpython-0.0.13.tar.gz", "has_sig": false, "md5_digest": "d6572caf206ed09407e2568606a4db37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3982, "upload_time": "2013-10-26T03:43:48", "url": "https://files.pythonhosted.org/packages/b5/c2/dbcdee110da6e91e94921b9e2cde96fbe4eb5479a5d391deb3ef7f9e01c2/mrpython-0.0.13.tar.gz" } ], "0.0.14": [ { "comment_text": "", "digests": { "md5": "a9946df60952a51ed1b3dcfa56fd04e4", "sha256": "a5bb73c46466b793f68451b5f0e25ecb89c0218cf1b78990591219b97e6f7b4e" }, "downloads": -1, "filename": "mrpython-0.0.14.tar.gz", "has_sig": false, "md5_digest": "a9946df60952a51ed1b3dcfa56fd04e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4060, "upload_time": "2013-10-30T00:29:44", "url": "https://files.pythonhosted.org/packages/4e/ec/2bcacfb3922f5fa149ffa45f4f2202f380337f7201fc511f1601f8c4eb75/mrpython-0.0.14.tar.gz" } ], "0.0.15": [ { "comment_text": "", "digests": { "md5": "ce4e0e3d130173e9f9df82b6c6e751d9", "sha256": "28c8703124e13acdf44085c4a073b3c01cc2189e837827f2e6c76adacef13951" }, "downloads": -1, "filename": "mrpython-0.0.15.tar.gz", "has_sig": false, "md5_digest": "ce4e0e3d130173e9f9df82b6c6e751d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3992, "upload_time": "2013-11-05T19:18:13", "url": "https://files.pythonhosted.org/packages/4c/a9/7498801a6495c42cd27e97f599b7f81f65bc42cca3f76e9d15f33d175374/mrpython-0.0.15.tar.gz" } ], "0.0.16": [ { "comment_text": "", "digests": { "md5": "4f627d50d9124947f09733f674181e21", "sha256": "4cc0bd308c95b7d64c7866e9fd2e3de58ca02b4a4f0cd49b9e4a1c15f790bd8a" }, "downloads": -1, "filename": "mrpython-0.0.16.tar.gz", "has_sig": false, "md5_digest": "4f627d50d9124947f09733f674181e21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4298, "upload_time": "2014-04-28T18:54:29", "url": "https://files.pythonhosted.org/packages/08/42/e34ec744d1e4f76c8f17dc1e95759d9df652ee1d7edf2ece3ad9310b3037/mrpython-0.0.16.tar.gz" } ], "0.0.17": [ { "comment_text": "", "digests": { "md5": "f262603db8aa267fa1a9ca0b3e061938", "sha256": "ee3a8d23dd3d12ca16411f9aac81f56ab67d5ec47c69e0acbadb021005fb8693" }, "downloads": -1, "filename": "mrpython-0.0.17.tar.gz", "has_sig": false, "md5_digest": "f262603db8aa267fa1a9ca0b3e061938", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4291, "upload_time": "2014-08-01T06:29:36", "url": "https://files.pythonhosted.org/packages/d2/57/6da73d9734acae88bc9b3a6e385f751430ee2ec1c94e222236a56a8944cc/mrpython-0.0.17.tar.gz" } ], "0.0.18": [ { "comment_text": "", "digests": { "md5": "b9467f765fc9afd43fba123897e85d42", "sha256": "e610acefccbede8a4379c484382597eb6cf5cc53cc967ba569df40b0a7ecc713" }, "downloads": -1, "filename": "mrpython-0.0.18.tar.gz", "has_sig": false, "md5_digest": "b9467f765fc9afd43fba123897e85d42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4494, "upload_time": "2015-08-20T17:22:33", "url": "https://files.pythonhosted.org/packages/ad/f2/d0f5dfd5e5019eae5ff5c7b0da33d6e5403d3b5093c160e69ed76dc160e9/mrpython-0.0.18.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "f0e434e09a9a0b5da7fd5ad73015b3f3", "sha256": "f394f50881285d94d18a094803777a42c8a868dae02c71f5334005c1af4d866a" }, "downloads": -1, "filename": "mrpython-0.0.2.tar.gz", "has_sig": false, "md5_digest": "f0e434e09a9a0b5da7fd5ad73015b3f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3621, "upload_time": "2013-10-18T04:46:52", "url": "https://files.pythonhosted.org/packages/2c/da/ee3ff5d87db567f837a39ad9e1f9f56c1ce076a8d05c205456352e726f70/mrpython-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f69e1e16764d40105a9a8efa919d90a8", "sha256": "0d66321698688e100f669bf3a8d4f6de33ae2b7cd24cd4af2ba55e33317d9d42" }, "downloads": -1, "filename": "mrpython-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f69e1e16764d40105a9a8efa919d90a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3628, "upload_time": "2013-10-18T05:29:13", "url": "https://files.pythonhosted.org/packages/ac/84/1825e3dc23de8b087ecf89ccbd8ffe6df4d108be95ebab5aaa94317f254e/mrpython-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "647106763f48e5cd9fe4f7c44a70fc86", "sha256": "d110fa66102c8a55c04922e82a55e4859a6415a84026ea104b9d95e20ef85f82" }, "downloads": -1, "filename": "mrpython-0.0.4.tar.gz", "has_sig": false, "md5_digest": "647106763f48e5cd9fe4f7c44a70fc86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3672, "upload_time": "2013-10-18T05:40:20", "url": "https://files.pythonhosted.org/packages/b6/22/887c13787a5e4f71817679616a92891517dbcec04ffaeb56c62bbaf5cf64/mrpython-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "3233545c3b0de92a2176df3833fbe5c2", "sha256": "73dbd495178324db7fbb1c4cfd24837b6e3785b0c2551cd351e25f536dd23373" }, "downloads": -1, "filename": "mrpython-0.0.5.tar.gz", "has_sig": false, "md5_digest": "3233545c3b0de92a2176df3833fbe5c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3858, "upload_time": "2013-10-18T20:57:05", "url": "https://files.pythonhosted.org/packages/9d/af/7d2985cb9802319419146d583a2ca320641dfda387b6fbac8beea70d80d8/mrpython-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "efc9983cbebcbfddbd3b7d3c1fbb97b6", "sha256": "98b496238e64694d397daa277fbe302d744cab5b945cd6942c5da8cf4cfb364c" }, "downloads": -1, "filename": "mrpython-0.0.6.tar.gz", "has_sig": false, "md5_digest": "efc9983cbebcbfddbd3b7d3c1fbb97b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3920, "upload_time": "2013-10-19T04:32:47", "url": "https://files.pythonhosted.org/packages/76/45/299c97622550101131c4075ee48102b3d7fb3a5d80df06c2e49715285af5/mrpython-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "195504a5e1c3ddb4eb070f3eb8c05096", "sha256": "4f48aaec3e85897647d1aadcfdcce41fcab5d7cc1cca6eeb63fe246b98e3bc82" }, "downloads": -1, "filename": "mrpython-0.0.7.tar.gz", "has_sig": false, "md5_digest": "195504a5e1c3ddb4eb070f3eb8c05096", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3932, "upload_time": "2013-10-24T22:30:35", "url": "https://files.pythonhosted.org/packages/a0/bb/e0758c274ae40ea8571ab6f6c69dd018e1b09eae004076bee9756235500d/mrpython-0.0.7.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "b8ddf80575f0e49a711973396a0d9787", "sha256": "72c41c3268b8ced1edd7308aa81d83c79b80fe210691457d95663d2293dfdd84" }, "downloads": -1, "filename": "mrpython-0.0.9.tar.gz", "has_sig": false, "md5_digest": "b8ddf80575f0e49a711973396a0d9787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3705, "upload_time": "2013-10-25T22:24:31", "url": "https://files.pythonhosted.org/packages/d3/4b/bfe8e5bb94643605015f3dc2085a841962a3e5354a5fe8570f9c2f97513b/mrpython-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9467f765fc9afd43fba123897e85d42", "sha256": "e610acefccbede8a4379c484382597eb6cf5cc53cc967ba569df40b0a7ecc713" }, "downloads": -1, "filename": "mrpython-0.0.18.tar.gz", "has_sig": false, "md5_digest": "b9467f765fc9afd43fba123897e85d42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4494, "upload_time": "2015-08-20T17:22:33", "url": "https://files.pythonhosted.org/packages/ad/f2/d0f5dfd5e5019eae5ff5c7b0da33d6e5403d3b5093c160e69ed76dc160e9/mrpython-0.0.18.tar.gz" } ] }