unicode-inspect
Inspect Unicode characters and display tables with code points, names (character concepts), glyphs, and encodings (UTF‑8/16/32) in hexadecimal and bits.
Local installation
pip install -e .
Requirements: Python >= 3.8
CLI usage
unicode-inspect "A€😀"
Example output (default table format):
╒══════════════╤═══════════════════════════════════════════╤════════════════════════╤═══════════╤══════════════╤════════════════════════════════════════════════════╕
│ Code point │ Character concept (Unicode name) │ Visual representation (glyph) │ Decimal │ UTF-8 (hex) │ UTF-8 (bit) │
├──────────────┼───────────────────────────────────────────┼────────────────────────┼───────────┼──────────────┼────────────────────────────────────────────────────┤
│ U+0041 │ LATIN CAPITAL LETTER A │ A │ 65 │ 41 │ 01000001 │
│ U+20AC │ EURO SIGN │ € │ 8364 │ E2 82 AC │ 11100010 10000010 10101100 │
│ U+1F600 │ GRINNING FACE │ 😀 │ 128512 │ F0 9F 98 80 │ 11110000 10011111 10011000 10000000 │
╘══════════════╧═══════════════════════════════════════════╧════════════════════════╧═══════════╧══════════════╧════════════════════════════════════════════════════╛
Change format
unicode-inspect "€" --format markdown
unicode-inspect "€" --format csv
unicode-inspect "€" --format json
Add an additional encoding (besides UTF-8)
unicode-inspect "€" --encoding utf-16-le
Notes
- Control, surrogate, or unassigned characters are shown with a placeholder
␣in the glyph column. - UTF-8 is always displayed; the
--encodingoption adds columns for a second encoding. - Use
--no-headerfor compact script-friendly tables.
License
MIT
Metadata
Release files for unicode-inspect 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unicode_inspect-0.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unicode_inspect-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / unicode_inspect-0.1.0.tar.gz
| Download URL | unicode_inspect-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8282898fea6b595f8dd19bbec1c8e9ed266195eba5cc7cbdcb01bc97d38e5c59
|
|
BLAKE2b-256 checksum How to use checksums |
af3a0b69b14c50e7826240313a456ee64545eba13fed03354d22a505c5c2764b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / unicode_inspect-0.1.0-py3-none-any.whl
| Download URL | unicode_inspect-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e23aef04b16613ace7f795eabc59a6587e1255cdbb8cbfc0c79c70afc307256
|
|
BLAKE2b-256 checksum How to use checksums |
d9b719d9d4c44018afe2abe42c559087cc9859ff361d09575696a33649796ca9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|