{ "info": { "author": "Jeff Hinrichs", "author_email": "jeffh@dundeemt.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "Dirty Hungarian Phrasebook\n==========================\n``dhp`` is a library of snippets almost guaranteed to get you into trouble.\n\nI obtained it from a vendor, on the corner, outside of PyCon.\n\nActually, this is a growing repository of routines that I find helpful from time to time. I think you might too.\n\n\nExample Phrasebook Contents\n---------------------------\nSee the `Full Documentation `_ for a complete listing.\n\n**dhp.doq**\n\n * **DOQ** Data Object Query mapper. Query simple data sources with an ORM like style.\n\n ::\n\n from dhp.doq import DOQ\n\n doq = DOQ(data_objects=data_source)\n for rec in doq.filter(occupation='Publisher'):\n print(rec)\n\n\n**dhp.structures**\n\n * **DictDot** - subclasses Python's built-in dict object and offers attribute access to the dictionary.\n\n ::\n\n from dhp.structures import DictDot\n\n my_dict = {'hovercraft': 'eels', 'speed': 42}\n dicdot = DictDot(my_dict)\n assert dicdot.hovercraft == 'eels'\n assert dicdot.speed == 42\n\n\n**dhp.test**\n\n * **tempfile_containing** - generate a temporary file that contains indicated contents and returns the filename for use. When finished the tempfile is removed.\n\n::\n\n from dhp.test import tempfile_containing\n\n contents = 'I will not buy this record, it is scratched.'\n with tempfile_containing(contents) as fname:\n do_something(fname)\n\n**dhp.xml**\n\n * **xml_to_dict** - parse any ugly xml to a python dictionary.\n\n::\n\n from dhp.xml import xml_to_dict\n\n xml = 'eels'\n xml_to_dict(xml)\n\n {'vehicle': {'@type':'Hovercraft',\n 'cargo':'eels',\n 'filled': None}\n }\n\n\nSupports\n--------\nTested on Python 2.7, 3.2, 3.3, 3.4\n\n.. image:: https://drone.io/bitbucket.org/dundeemt/dhp/status.png\n :target: https://drone.io/bitbucket.org/dundeemt/dhp/latest\n :alt: Build Status\n\n.. image:: https://readthedocs.org/projects/dhp/badge/?version=v0.0.15\n :target: http://dhp.readthedocs.org/en/v0.0.15/?badge=v0.0.15\n :alt: Documentation Status\n\nRequirements\n------------\nNone.\n\nInstallation\n------------\nMake sure to get the latest version.\n\n pip install dhp\n\nDocumentation\n--------------\n`Full Docs `_", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/dundeemt/dhp", "keywords": "phrasebook hungarian", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "dhp", "package_url": "https://pypi.org/project/dhp/", "platform": "any", "project_url": "https://pypi.org/project/dhp/", "project_urls": { "Homepage": "https://bitbucket.org/dundeemt/dhp" }, "release_url": "https://pypi.org/project/dhp/0.0.15/", "requires_dist": null, "requires_python": "", "summary": "A collection of handy modules, almost guaranteed to get you into trouble.", "version": "0.0.15" }, "last_serial": 2152947, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "18c7843b4a439407e2539125160a7117", "sha256": "1284c55c6ea0e28548ce229761272eeac1adf8d8b87a445bfa800ae658a26cea" }, "downloads": -1, "filename": "dhp-0.0.1.tar.gz", "has_sig": false, "md5_digest": "18c7843b4a439407e2539125160a7117", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2125, "upload_time": "2014-05-02T17:03:19", "url": "https://files.pythonhosted.org/packages/25/ad/4a5ec9163331e8e7b7f22cf6dd8baa2150463d514371cb489eae991bfed5/dhp-0.0.1.tar.gz" } ], "0.0.10": [ { "comment_text": "", "digests": { "md5": "0c19e1828f3b64a7646439f77762b3dc", "sha256": "0ecc79e022d6b3048c321c2f035209f483c54073c8d8dd5e81bb03a61afbf743" }, "downloads": -1, "filename": "dhp-0.0.10.tar.gz", "has_sig": false, "md5_digest": "0c19e1828f3b64a7646439f77762b3dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5820, "upload_time": "2015-09-22T04:10:19", "url": "https://files.pythonhosted.org/packages/15/46/fe8b74ccc7d9fcc37029c41f0e5db6ac53de244646032dd316c108e4dcad/dhp-0.0.10.tar.gz" } ], "0.0.11": [ { "comment_text": "", "digests": { "md5": "b97c6313bc360ed325f0310f146896a6", "sha256": "539a438cbb08dbec31295e0fdc7bd3139be65b709f29f6da61e3f3ad38da9c8b" }, "downloads": -1, "filename": "dhp-0.0.11.tar.gz", "has_sig": false, "md5_digest": "b97c6313bc360ed325f0310f146896a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10999, "upload_time": "2015-09-23T12:04:25", "url": "https://files.pythonhosted.org/packages/77/8d/44f693944d3a44fab1e71a25b4d3ee9c15ff78ead2addf8f51a7dc157ee8/dhp-0.0.11.tar.gz" } ], "0.0.12": [ { "comment_text": "", "digests": { "md5": "fde9b4977cd2634e573d8f7b98544b5f", "sha256": "69d22701edaefbaf4bc0f9819eac8ed16f60b625a1a247daf17e525a6102a765" }, "downloads": -1, "filename": "dhp-0.0.12.tar.gz", "has_sig": false, "md5_digest": "fde9b4977cd2634e573d8f7b98544b5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12615, "upload_time": "2015-09-28T04:04:32", "url": "https://files.pythonhosted.org/packages/d4/d8/68ee9b98517eab7969cd3c1b3f6f01d5e825f5a3034991c52bb7c772e1c5/dhp-0.0.12.tar.gz" } ], "0.0.13": [ { "comment_text": "", "digests": { "md5": "6bc92df20624cf7219fa8230d1f9bcfa", "sha256": "c2720480b84629db4f8005b775c14e9f0b6f5dc47ce87d13513724465e50b90c" }, "downloads": -1, "filename": "dhp-0.0.13.tar.gz", "has_sig": false, "md5_digest": "6bc92df20624cf7219fa8230d1f9bcfa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14481, "upload_time": "2015-12-20T21:07:28", "url": "https://files.pythonhosted.org/packages/9a/ca/b5e6ccc4903d567283bf59aafce26e8c1a8c42b2f835dce6563967e3a901/dhp-0.0.13.tar.gz" } ], "0.0.14": [ { "comment_text": "", "digests": { "md5": "657aa3f18a75c8c9a39d803c1f5abca1", "sha256": "c01dd4253981df615ce9f5816a26d8fa2d6e120370674f7463e8573956a054af" }, "downloads": -1, "filename": "dhp-0.0.14.tar.gz", "has_sig": false, "md5_digest": "657aa3f18a75c8c9a39d803c1f5abca1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14913, "upload_time": "2016-02-05T20:44:24", "url": "https://files.pythonhosted.org/packages/1a/86/d61a7f60bee3348bc67bd5531e2103135993ca770239dff85d5848d25c14/dhp-0.0.14.tar.gz" } ], "0.0.15": [ { "comment_text": "", "digests": { "md5": "1aee07598ca543fee738426f174f747b", "sha256": "d0904932a6b0a0fe8268f543799ecd8186af10a045299b90da07913e39351a31" }, "downloads": -1, "filename": "dhp-0.0.15.tar.gz", "has_sig": false, "md5_digest": "1aee07598ca543fee738426f174f747b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17332, "upload_time": "2016-06-06T12:19:56", "url": "https://files.pythonhosted.org/packages/66/e0/d1e2114b4914d7de3a1692d17c603ad0f1ab31635610a5d40d70d15fe27e/dhp-0.0.15.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "10fb3a5c62fdfb25c113b095fc5835ea", "sha256": "6715e42f5f6f696cf557d92af403dc507d891cc7afebfed0aedc7d6b89d2da58" }, "downloads": -1, "filename": "dhp-0.0.2.tar.gz", "has_sig": false, "md5_digest": "10fb3a5c62fdfb25c113b095fc5835ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2973, "upload_time": "2014-05-04T22:51:34", "url": "https://files.pythonhosted.org/packages/4a/0a/e35ddb9e12741a1a355fb402d158c56a8bedbfbbf46d7d73354c053824c4/dhp-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "3d086b7866439eb72a9c819d30579e62", "sha256": "f2ca28a7cfb969d19c9ec91fec83bfe439c5fba910dbaca34a53495e2ec5de8c" }, "downloads": -1, "filename": "dhp-0.0.3.tar.gz", "has_sig": false, "md5_digest": "3d086b7866439eb72a9c819d30579e62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3277, "upload_time": "2014-05-08T23:55:43", "url": "https://files.pythonhosted.org/packages/2b/8a/58c7145ca10ff31b2d9759a45523fafc48383f0970f3b56a58c4f370fa2e/dhp-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "eb26ddd76fafcbf917fe2afc43bcedff", "sha256": "adb2402b10cc88c3fb13965670ffe4e78fc986b5278368080e01a7d8d48e6e05" }, "downloads": -1, "filename": "dhp-0.0.4.tar.gz", "has_sig": false, "md5_digest": "eb26ddd76fafcbf917fe2afc43bcedff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3250, "upload_time": "2014-05-09T15:39:14", "url": "https://files.pythonhosted.org/packages/2c/a6/bb2f897ccbf4a68f461333037af1bc6c4ffbfccc44082d6a1db1a8e268ab/dhp-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "eb483a84bdbccacb74b68786c8d4f07e", "sha256": "6d9649c7e5c3b3e6bbd2d7838ea2a78225597f5da9f0a650272710ce4ad8d953" }, "downloads": -1, "filename": "dhp-0.0.5.tar.gz", "has_sig": false, "md5_digest": "eb483a84bdbccacb74b68786c8d4f07e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3525, "upload_time": "2014-05-24T04:13:49", "url": "https://files.pythonhosted.org/packages/49/22/61e5e7d84a44b93809c87fb31433b49e55c4453f77a132c50cf4396db31d/dhp-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "ec6c5c83c974e13bd873bc3067e4b483", "sha256": "4057b2bae81b1cd843b2478f4035f7862b6688bf7709e93cf7faa270ef278d97" }, "downloads": -1, "filename": "dhp-0.0.6.tar.gz", "has_sig": false, "md5_digest": "ec6c5c83c974e13bd873bc3067e4b483", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4100, "upload_time": "2015-06-27T18:21:37", "url": "https://files.pythonhosted.org/packages/51/8f/c114acc15e80dea1877bc53c418721f75f1a1a5939217157b6543e90d80f/dhp-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "d19498d4558965c3eaacbb9f73920175", "sha256": "11578e76540f3b0764cb39d221f49a243d801d314005e2713840023389e1c203" }, "downloads": -1, "filename": "dhp-0.0.7.tar.gz", "has_sig": false, "md5_digest": "d19498d4558965c3eaacbb9f73920175", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5031, "upload_time": "2015-08-20T00:43:27", "url": "https://files.pythonhosted.org/packages/07/61/a45a54acd5ba3cec5b00926d862d29c906e47d95b874225e4b569593fec0/dhp-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "9859d7e0f4832d2ed3e8e8b308e45d71", "sha256": "4f339473dcc04ad9272bb617603ee16adbe2ae98c8b737fa0a3b079d6ce12fa5" }, "downloads": -1, "filename": "dhp-0.0.8.tar.gz", "has_sig": false, "md5_digest": "9859d7e0f4832d2ed3e8e8b308e45d71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5306, "upload_time": "2015-08-23T15:24:19", "url": "https://files.pythonhosted.org/packages/81/77/569f2a65fe560440c0145769c735b778e5a7011af5c1642524c639f0d780/dhp-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "d087005ea2c1bab459e61f921a39f363", "sha256": "d43ead391b6cfce598b6d7efa7c75f2a1d8560b5ac432e7ac0166c90b795ef7c" }, "downloads": -1, "filename": "dhp-0.0.9.tar.gz", "has_sig": false, "md5_digest": "d087005ea2c1bab459e61f921a39f363", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5320, "upload_time": "2015-08-24T01:04:27", "url": "https://files.pythonhosted.org/packages/cc/17/cc15a3f98f750e4e7b6b37bbe8e869f1de2acf7531ba62f0d155bcf34142/dhp-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1aee07598ca543fee738426f174f747b", "sha256": "d0904932a6b0a0fe8268f543799ecd8186af10a045299b90da07913e39351a31" }, "downloads": -1, "filename": "dhp-0.0.15.tar.gz", "has_sig": false, "md5_digest": "1aee07598ca543fee738426f174f747b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17332, "upload_time": "2016-06-06T12:19:56", "url": "https://files.pythonhosted.org/packages/66/e0/d1e2114b4914d7de3a1692d17c603ad0f1ab31635610a5d40d70d15fe27e/dhp-0.0.15.tar.gz" } ] }