🌐
GitHub
github.com › garabik › unicode
GitHub - garabik/unicode: display unicode character properties · GitHub
- apt-get install unicode-data # Debian - dnf install unicode-ucd # Fedora - unicode --download # try to download the file - if you want to see Unicode block information, you also need Blocks.txt file, which you should put into /usr/share/unicode/, ~/.unicode/ or current working directory. - if you want to see UniHan properties, you need also Unihan.txt file which should be put into /usr/share/unicode/, ~/.unicode/ or current working directory. Enter a Python regular expression, hexadecimal number or some characters as an argument.
Author: garabik
🌐
GitHub
gist.github.com › arrowtype › 713dad14fe9a574d58d1aab61ba9b2f0
The basics of working with unicode values in Python · GitHub
It prefers unicodedata2 underlyingly and provides some useful, additional tools, such as .script(char: str) -> str for the Unicode character property Script (https://www.unicode.org/reports/tr24/), and the conversion between Unicode Script codes and OTL script tags: .ot_tags_from_script(script_code: str) -> List[str] ↔ .ot_tag_to_script(tag: str) -> str.
🌐
GitHub
gist.github.com › 78ee02de3d5427ca186c2edd5f2714d5
List of all (non-control) Unicode characters with codepoint and Unicode descriptor (as given by python module "unicodedata"). · GitHub
List of all (non-control) Unicode characters with codepoint and Unicode descriptor (as given by python module "unicodedata"). - gen-unicode-list.py
🌐
GitHub
github.com › nagisa › unicodeblocks
GitHub - nagisa/unicodeblocks: Python module for unicode blocks. · GitHub
A dictionary-like collection of all blocks defined by Unicode. Returns a list of names of blocks in dictionary.
Author: nagisa
🌐
GitHub
github.com › topics › unicode-characters
unicode-characters · GitHub Topics · GitHub
October 12, 2017 - A tiny library for Python text normalisation. Useful for ad-hoc text processing. unicode slugs unicode-characters normalizer normalization ... unicode encoding text character-encoding string-conversion unicode-characters codepoints iconv codepage codepage-tables ... Generated list of Nerd Font to simplify finding characters that look good in text editors and terminal prompt
Author: kumar303
🌐
GitHub
github.com › mathiasbynens › unicode-data
GitHub - mathiasbynens/unicode-data: Python scripts that generate JavaScript-compatible Unicode data · GitHub
I’ll update this repository (and this list) as soon as new Unicode versions are released. I’ve included the Python (v2.7.1) and Bash (v3.2.48) scripts I wrote to generate these files.
Starred by 60 users
Forked by 5 users
Languages: JavaScript
🌐
GitHub
gist.github.com › chris-hailstorm › 4989643
Unicode to ASCII / UTF-8 converter for Python dicts, lists, strings and nested combinations of dicts, lists and strings · GitHub
Unicode to ASCII / UTF-8 converter for Python dicts, lists, strings and nested combinations of dicts, lists and strings - gist:4989643
🌐
GitHub
github.com › rmoehn › py-unicode
GitHub - rmoehn/py-unicode: Guidelines and tools for handling Unicode in Python 2
When dealing with strings and Unicode in Python, there are two types you have to know. str is a plain list of bytes that just happens to be rendered as a string. unicode is a list of Unicode characters.
Author: rmoehn
Find elsewhere
🌐
GitHub
github.com › UWPX › Emoji-List-Parser
GitHub - UWPX/Emoji-List-Parser: A parser for the emoji-test.txt provided by the Unicode Consortium. · GitHub
Python >= 3.0 · pip3 install --user -r requirements.txt · from emoji_parser import EmojiParser url = "https://unicode.org/Public/emoji/12.0/emoji-test.txt" parser = EmojiParser(url) result = parser.parse() As input it takes an url to the emoji-test.txt provided by the Unicode Consortium. Here you find the current emoji-test.txt files for all Unicode versions. One successfully run result will be a list of Emoji objects parsed from the downloaded Unicode 12.0 Emoji list.
Author: UWPX
🌐
GitHub
github.com › topics › unicode-data
unicode-data · GitHub Topics · GitHub
Look up Unicode character name or code point label and search in Unicode character names. This library supports version 16.0 of the Unicode Standard. python unicode unicode-characters characters unicode-data unicode-character-database
🌐
Python documentation
docs.python.org › 3 › howto › unicode.html
Unicode HOWTO — Python 3.14.7 documentation
If you pass a Unicode string as the path, filenames will be decoded using the filesystem’s encoding and a list of Unicode strings will be returned, while passing a byte path will return the filenames as bytes.
🌐
GitHub
github.com › avian2 › unidecode
GitHub - avian2/unidecode: ASCII transliterations of Unicode text - GitHub mirror · GitHub
See unidecode --help for a full list of available options. Nothing except Python itself. Unidecode supports Python 3.7 or later. You need a Python build with "wide" Unicode characters (also called "UCS-4 build") in order for Unidecode to work correctly with characters outside of Basic Multilingual Plane (BMP).
Author: avian2
🌐
GitHub
github.com › fontforge › libuninameslist
GitHub - fontforge/libuninameslist: A library with a large (sparse) array mapping each unicode code point to the annotation data for it provided in http://www.unicode.org/Public/UNIDATA/NamesList.txt
This library is updated for ...slist/files/ is not kept up to date. Nameslist.txt The Unicode consortium provides a file containing annotations on many unicode characters....
Starred by 36 users
Forked by 12 users
Languages: C 99.4% | C 99.4%
🌐
Asmeurer
asmeurer.com › python-unicode-variable-names
Python Unicode Variable Names | A page listing all the Unicode characters that are valid in Python variable names
In Python 2, variable names could only contain the ASCII characters a-z, A-Z, 0-9, and _, but in Python 3, a much larger set of Unicode characters are allowed. The source code for this page is on GitHub, including the script used to generate the character lists.
🌐
GitHub
github.com › topics › unicode
unicode · GitHub Topics · GitHub
emoji linux unicode input i3 x11 character picker smiley rofi emoji-picker wayland kaomoji nerdfonts wofi unicode-picker ... Truly universal encoding detector in pure Python.
🌐
GitHub
github.com › gpoore › unicodetools
GitHub - gpoore/unicodetools: Work with data files in the Unicode Character Database and generate regular expressions · GitHub
This is useful when working with a narrow Python build or a system with a string implementation based on UTF-16. >>> import unicodetools >>> unicodetools.chr_surrogate(0x10FFFF) '\udbff\udfff' >>> unicodetools.ord_surrogate('\udbff\udfff') 1114111 >>> hex(1114111) '0x10ffff' With the interface to the UCD, it is easy to collect a list of all codepoints with a given property.
Author: gpoore
🌐
V4py
v4py.github.io › _sources › unicode.ipynb
Github
The `bin()` function gives you a *string representation* of the\n", "binary form of a number:" ] }, { "cell_type": "code", "execution_count": 1, "id": "90bae101", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'0b1000001'" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "bin(65)" ] }, { "cell_type": "markdown", "id": "b8b1b7cf", "metadata": {}, "source": [ "As you can see, in Python, binary numbers are given a `0b` prefix to\n", "distinguish them from regular (decimal) numbers.
🌐
GitHub
gist.github.com › seanh › 0a56cd528714496625662dd9136d0cd3
Unicode in Python · GitHub
You should always specify an encoding when reading text from file in Python 3. You can use \u2119 to insert any unicode character into a unicode literal by code point.