{ "info": { "author": "Armin Ronacher", "author_email": "armin.ronacher@active-4.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: PHP", "Programming Language :: Python" ], "description": "// The Unicode Nazi //\n\n Once enabled the unicode nazi will complain whenever something is not\n purely unicode or bytestring. It's annoying as hell and only useful\n when porting over libraries from Python 2 to Python 3. It has a huge\n runtime impact on performance and will also complain about most of the\n stuff in the Python standard library.\n\n - usage:\n\n >>> import unicodenazi\n >>> 'foo' == u'foo'\n __main__:1: UnicodeWarning: Implicit conversion of str to unicode\n True\n\n - how to disable it again:\n\n >>> unicodenazi.disable()\n\n - and here is how to enable:\n\n >>> unicodenazi.enable()\n\n - if you want to enable it only for a given block:\n\n >>> unicodenazi.disable()\n >>> with unicodenazi.blockwise(enabled=True):\n ... assert 'foo' == u'foo'\n ... \n __main__:2: UnicodeWarning: Implicit conversion of str to unicode\n\n The reverse works too of course.\n\nThe module can be used from a command line:\n\n $ python -municodenazi your_script.py [script_args..]", "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/mitsuhiko/unicode-nazi", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "unicode-nazi", "package_url": "https://pypi.org/project/unicode-nazi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/unicode-nazi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/mitsuhiko/unicode-nazi" }, "release_url": "https://pypi.org/project/unicode-nazi/1.1/", "requires_dist": null, "requires_python": null, "summary": "Annoying helper module that finds unicode/bytestring comparisions and other problems.", "version": "1.1" }, "last_serial": 801219, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "97366a81eaf4f0c3cbf405a24172834a", "sha256": "5c47275de67ae6bdfc5ca10c2ffbce57d269c6498b572f04350f9b2e898e2522" }, "downloads": -1, "filename": "unicode-nazi-1.0.tar.gz", "has_sig": false, "md5_digest": "97366a81eaf4f0c3cbf405a24172834a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1908, "upload_time": "2011-01-22T16:37:49", "url": "https://files.pythonhosted.org/packages/97/57/610d12c4386f7fca0287ea628d35b67cab1ea10e18521a04e891e51bf3cd/unicode-nazi-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "f9b3d2c25c7887df643e67e2c8d99c45", "sha256": "5be37c62cfa750d0a58693d9c63b6e95f6932675e3939c4cdd60151631ac04fc" }, "downloads": -1, "filename": "unicode-nazi-1.1.tar.gz", "has_sig": false, "md5_digest": "f9b3d2c25c7887df643e67e2c8d99c45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2229, "upload_time": "2011-01-23T13:56:07", "url": "https://files.pythonhosted.org/packages/66/4f/70344391454973af0fcc70bcea02e9f78ead8e82b5ea82b0d01eb0ea753f/unicode-nazi-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f9b3d2c25c7887df643e67e2c8d99c45", "sha256": "5be37c62cfa750d0a58693d9c63b6e95f6932675e3939c4cdd60151631ac04fc" }, "downloads": -1, "filename": "unicode-nazi-1.1.tar.gz", "has_sig": false, "md5_digest": "f9b3d2c25c7887df643e67e2c8d99c45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2229, "upload_time": "2011-01-23T13:56:07", "url": "https://files.pythonhosted.org/packages/66/4f/70344391454973af0fcc70bcea02e9f78ead8e82b5ea82b0d01eb0ea753f/unicode-nazi-1.1.tar.gz" } ] }