No project description provided
Project description
utf-cli
Like a mashup of https://unicode.party/ and https://utf8.xyz/ but it's completely local in your terminal!
Installation
pipx install utf-cli
Usage
Run utf
:
utf
Then:
- Type your query
- Hit Enter, Tab, or the down arrow key to select the first result
- Use Tab or arrow keys to move between results
- Hit Enter to copy the character
To copy the Python code point escape sequence (e.g. \u2728
or \U00002728
) hit the c
key.
To copy the HTML escape entity for a character (e.g. ©
) hit the h
key.
To copy the name for a character (e.g. Sparkling Heart
) hit the n
key.
Note that the mouse works also:
- Clicking on a result will also copy the character.
- Scrolling should work as expected
Features
Before you start typing a query, a default character list will show up. The default characters are commonly searched for characters (by Trey's best guess of what's common).
The utf
program will keep track of every time you search for a character.
The characters you search for most often will show up near the beginning of the default character list.
License
This package is distributed under the terms of the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file utf_cli-0.3.3.tar.gz
.
File metadata
- Download URL: utf_cli-0.3.3.tar.gz
- Upload date:
- Size: 378.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f3cbb1258aa76e6b18c94c7e4d221951fa193629409bba7673e3a848f7cd680 |
|
MD5 | 115b2b8cecded7b857d87b9d56ad1c98 |
|
BLAKE2b-256 | fc9dbfbd48466efb17d6f24c6fb4472e4b9c5bbc4f65511b20c206fc3a73248e |
File details
Details for the file utf_cli-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: utf_cli-0.3.3-py3-none-any.whl
- Upload date:
- Size: 365.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b11c90cd7cef2494319e91a25e4db39fe02bf9ad37660e90a80f4ddf9fefda1 |
|
MD5 | 8ee64bba9f4ec4485ce03f6a9b525360 |
|
BLAKE2b-256 | 26826638ccd48ffbaf6c518f1a625fb3e5dcc51fa03c08e42fc120646f3c486b |