{ "info": { "author": "Philipp A.", "author_email": "flying-sheep@web.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "===============\r\nUnicode Numbers\r\n===============\r\n\r\nThe ucnum program is a command line utility which allows you to convert decimal, octal, hexadecimal, and binary numbers; Unicode character and block names; and HTML/XHTML character entity names and numbers into one another. It can be used as an on-line special character reference for Web authors.\r\n\r\nThis version is a (blind) reimplementation of the original unum Perl utility by Gisle Aas (https://www.fourmilab.ch/webtools/unum/) in Python. It was written because it will stay up-to-date via Python\u2019s own unicodedata updates. It has a few minor discrepancies:\r\n\r\n1. The octal syntax 077 is not accepted: Use 0o77 instead.\r\n2. Character information tables also contain the unicode block.\r\n3. The regular expression flavour is Python\u2019s.\r\n4. The HTML escapes argument form is not accepted yet (see \u201cTODO\u201d).\r\n5. Name aliases (e.g. for control characters) are not supported yet.\r\n\r\nArguments\r\n=========\r\n\r\nThe command line may contain any number of the following forms of I:\r\n\r\n123\r\n\tDecimal number.\r\n\r\n0o371\r\n\tOctal number preceded by \u201c0o\u201d.\r\n\r\n0x1D351\r\n\tHexadecimal number preceded by \u201c0x\u201d. Letters may be upper or\r\n\tlower case, but the \u201cx\u201d must be lower case.\r\n\r\n0b110101\r\n\tBinary number.\r\n\r\nb=block\r\n\tUnicode character blocks matching block are listed.\r\n\tThe block specification may be a regular expression.\r\n\tFor example, \u201cb=greek\u201d lists all Greek character blocks\r\n\tin Unicode.\r\n\r\nc=char...\r\n\tThe Unicode character codes for the characters \u201cchar...\u201d are printed.\r\n\tIf the first character is not a decimal digit and the second not an\r\n\tequal sign, the \u201cc=\u201d may be omitted.\r\n\r\nh=entity\r\n\tList all HTML/XHTML character entities matching entity, which may\r\n\tbe a regular expression. Matching is case-insensitive, so\r\n\t\u201ch=alpha\u201d finds both \u201cΑ\u201d and \u201cα\u201d.\r\n\r\nl=block\r\n\tList all Unicode blocks matching block and all characters\r\n\twithin each block; \u201cl=goth\u201d lists the Gothic block\r\n\tand the 32 characters it contains.\r\n\r\nn=name\r\n\tList all Unicode character whose names match name, which may be\r\n\ta regular expression. For example, \u201cn=telephone\u201d finds the five\r\n\tUnicode characters for telephone symbols.\r\n\r\nTODO\r\n====\r\n\r\nThe following argument form is not yet accepted:\r\n\r\n'&#number;&#xhexnum;...'\r\n\tList the characters corresponding to the specified HTML/XHTML\r\n\tcharacter entities, which may be given in either decimal or\r\n\thexadecimal. Note that the \u201cx\u201d in XHTML entities must be lower case.\r\n\tOn most Unix-like operating systems, you'll need to quote the argument\r\n\tso the ampersand, octothorpe, and semicolon aren't interpreted by the\r\n\tshell.\r\n\r\nOutput\r\n======\r\n\r\nFor number or character arguments, the value(s) are listed in all of the input formats, save binary::\r\n\r\n\tOctal Decimal Hex HTML Character Block Unicode\r\n\t 0o46 38 0x26 & & Basic Latin AMPERSAND\r\n\r\n\r\nIf the terminal font cannot display the character being listed, the \u201cCharacter\u201d field will contain whatever default is shown in such circumstances. Control characters are shown as a Python hexadecimal escape.\r\n\r\nUnicode blocks are listed as follows::\r\n\r\n\t Start End Unicode Block\r\n\t 0x2460 - 0x24ff Enclosed Alphanumerics\r\n\t0x1d400 - 0x1d7ff Mathematical Alphanumeric Symbols\r\n\t0x1f100 - 0x1f1ff Enclosed Alphanumeric Supplement", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/flying-sheep/ucnum", "keywords": "unicode", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "ucnum", "package_url": "https://pypi.org/project/ucnum/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ucnum/", "project_urls": { "Homepage": "http://github.com/flying-sheep/ucnum" }, "release_url": "https://pypi.org/project/ucnum/1.1/", "requires_dist": null, "requires_python": null, "summary": "Unicode helper and search utility", "version": "1.1" }, "last_serial": 1272358, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "ebbd0b58ba63a0bfd0143c0de74c4b9b", "sha256": "0f0d16d64103dd7bc5ce418162532812aa6e95c1835d2af8a4134524a45c7508" }, "downloads": -1, "filename": "ucnum-1.0.tar.gz", "has_sig": false, "md5_digest": "ebbd0b58ba63a0bfd0143c0de74c4b9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4052, "upload_time": "2014-10-11T20:54:35", "url": "https://files.pythonhosted.org/packages/0e/f9/a63fe4a89c31202c364f2ca4344695c2946609d874e4cea0bab0597ed8e1/ucnum-1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "d67f0e2e203e39df140f70cb2046193d", "sha256": "f9e251ddc1ec93ee9219b9d45894551bae7fb5cdbfcf0b098fd4da629dab5a4b" }, "downloads": -1, "filename": "ucnum-1.1.tar.gz", "has_sig": false, "md5_digest": "d67f0e2e203e39df140f70cb2046193d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3899, "upload_time": "2014-10-16T10:00:13", "url": "https://files.pythonhosted.org/packages/be/73/159b12e7c1dc4617b6b60ce9792dd62dc4115e94b2af16fa98e6a77bb637/ucnum-1.1.tar.gz" } ], "1.1": [] }, "urls": [] }