ascii
ascii is small CLI tool to display information on the ASCII characters as a table.
If called with no options it will display the decimal value, hexadecimal value and name in 2 sets of columns (0-127 in the first and 128-255 in the second).
ASCII Code Points
┏━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Dec ┃ Hex ┃ Name ┃ Dec ┃ Hex ┃ Name ┃
┡━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ 00 │ 0x00 │ Null │ 128 │ 0x80 │ Padding Character │
│ 01 │ 0x01 │ Start Of Heading │ 129 │ 0x81 │ High Octet Preset │
│ 02 │ 0x02 │ Start Of Text │ 130 │ 0x82 │ Break Permitted Here │
│ 03 │ 0x03 │ End Of Text │ 131 │ 0x83 │ No Break Here │
│ 04 │ 0x04 │ End Of Transmission │ 132 │ 0x84 │ Index │
│ 05 │ 0x05 │ Enquiry │ 133 │ 0x85 │ Next Line │
│ 06 │ 0x06 │ Acknowledge │ 134 │ 0x86 │ Start Of Selected Area │
│ 07 │ 0x07 │ Alert │ 135 │ 0x87 │ End Of Selected Area │
│ 08 │ 0x08 │ Backspace │ 136 │ 0x88 │ Character Tabulation Set │
│ 09 │ 0x09 │ Character Tabulation │ 137 │ 0x89 │ Character Tabulation With Justification │
│ 10 │ 0x0A │ Line Feed │ 138 │ 0x8A │ Line Tabulation Set │
...
│ 127 │ 0x7F │ Delete │ 255 │ 0xFF │ Latin Small Letter Y With Diaeresis │
└─────┴──────┴─────────────────────────────┴─────┴──────┴────────────────────────────────────────────┘
If passed with the flag --aliases then the table will be displayed with a row for each character including a list of its aliases.
ASCII Code Points
┏━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Dec ┃ Hex ┃ Name ┃ Aliases ┃
┡━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ 00 │ 0x00 │ Null │ NUL │
│ 01 │ 0x01 │ Start Of Heading │ SOH │
│ 02 │ 0x02 │ Start Of Text │ STX │
│ 03 │ 0x03 │ End Of Text │ ETX │
│ 04 │ 0x04 │ End Of Transmission │ EOT │
│ 05 │ 0x05 │ Enquiry │ ENQ │
│ 06 │ 0x06 │ Acknowledge │ ACK │
│ 07 │ 0x07 │ Alert │ BEL │
│ 08 │ 0x08 │ Backspace │ BS │
│ 09 │ 0x09 │ Character Tabulation │ Horizontal Tabulation, HT, TAB │
│ 10 │ 0x0A │ Line Feed │ New Line, End Of Line, LF, NL, EOL │
...
│ 255 │ 0xFF │ Latin Small Letter Y With Diaeresis │ │
└─────┴──────┴───────────────────────────────────────┴───────────────────────────────────────────────┘
It also supports highlighting a specific item by passing the number to highlight either as a decimal of a hexadecimal number.
You can also control the style of the table with the following options
--style = The style of the text
--title-style = The style of the table title
--header-style = The style of the table header
--highlight-style = The style of the highlighted row
See the Rich dcoumentation for details on how to specify a style.
Uses the rich library for the fancy table formattting.
The aliases are taken from the NameAliases.txt file provided as part of the Unicode UCD
and is © 2020 Unicode®, Inc.
Metadata
Release files for rich-ascii 0.2.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 | Provenance | |
|---|---|---|---|---|
| rich-ascii-0.2.0.tar.gz | 10.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rich_ascii-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.9 kB
Release files / rich-ascii-0.2.0.tar.gz
| Download URL | rich-ascii-0.2.0.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3065444d070a366acf8e07aadb947cd72f9ddb6a90d79cb2632881bf96f3565
|
|
BLAKE2b-256 checksum How to use checksums |
339457635d994eabbc46d9711961b719c3bf86836deb0c14ba1050f5ec3521cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.5 Linux/5.10.102.1-microsoft-standard-WSL2
|
Release files / rich_ascii-0.2.0-py3-none-any.whl
| Download URL | rich_ascii-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71fa9d18ef63b9ffbeb247373ff405ee22b43f699730d0687658fb5f94d8367c
|
|
BLAKE2b-256 checksum How to use checksums |
ce93c1c43b9578009a2824598cf8df75fd7c24bf7a656db8e453ca1392ed408a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.5 Linux/5.10.102.1-microsoft-standard-WSL2
|
Security for rich-ascii 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.