Skip to main content

No project description provided

Project description

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.

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

utf_cli-0.3.2.tar.gz (378.4 kB view details)

Uploaded Source

Built Distribution

utf_cli-0.3.2-py3-none-any.whl (364.9 kB view details)

Uploaded Python 3

File details

Details for the file utf_cli-0.3.2.tar.gz.

File metadata

  • Download URL: utf_cli-0.3.2.tar.gz
  • Upload date:
  • Size: 378.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.2

File hashes

Hashes for utf_cli-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e01da2e49c035556af674f37115b1152761c20d45e19e62fcb480dbd73c7f9df
MD5 51beb0a6f1793c9b5a4d299902d15f9a
BLAKE2b-256 a71e31f0d5d5295e5c1d31043c7a5a2fe38d7cc98bf2c08ee207b042287b1207

See more details on using hashes here.

File details

Details for the file utf_cli-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: utf_cli-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 364.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.2

File hashes

Hashes for utf_cli-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6c1f15141c4891cb1517f6fce26444956f4efb5fa33089b93e3d0dd5af926c3
MD5 7dc554aff5754a22f601615a0f277538
BLAKE2b-256 d2d1cae822687751a73cd7b8e82ad938d4acf47d120ab9ecb09696b70de0bfa8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page