Skip to main content

utf-cli

PyPI - Version PyPI - Python Version

Like a mashup of https://unicode.party/ and https://utf8.xyz/ but it's completely local in your terminal!

typing "sparkles" and copying sparkles character

Installation

pipx install utf-cli

Usage

Run utf:

utf

Then:

  1. Type your query
  2. Hit Enter, Tab, or the down arrow key to select the first result
  3. Use Tab or arrow keys to move between results
  4. 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.

Release files for utf-cli 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utf-cli 0.3.3
File Size Uploaded
utf_cli-0.3.3.tar.gz 378.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for utf-cli 0.3.3
File Interpreter ABI Platform
utf_cli-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 743.5 kB

Release files / utf_cli-0.3.3.tar.gz

Download URL utf_cli-0.3.3.tar.gz
Size 378.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8f3cbb1258aa76e6b18c94c7e4d221951fa193629409bba7673e3a848f7cd680
BLAKE2b-256 checksum
How to use checksums
fc9dbfbd48466efb17d6f24c6fb4472e4b9c5bbc4f65511b20c206fc3a73248e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.2

Release files / utf_cli-0.3.3-py3-none-any.whl

Download URL utf_cli-0.3.3-py3-none-any.whl
Size 365.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b11c90cd7cef2494319e91a25e4db39fe02bf9ad37660e90a80f4ddf9fefda1
BLAKE2b-256 checksum
How to use checksums
26826638ccd48ffbaf6c518f1a625fb3e5dcc51fa03c08e42fc120646f3c486b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.2

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page