Skip to main content

Interactive fuzzy-searchable unicode table using lotabout/skim

Project description

skim-unicode-table

Interactive fuzzy-searchable Unicode table using lotabout's skim.

Can be used to quickly search for a character and copy it to the clipboard.

Demo video

https://user-images.githubusercontent.com/3827982/127855578-b052bf0b-f4e5-4686-b171-5e5fea784326.mov

Installation

Install via pip:

(NOTE: If prebuilt wheels are not available for your operating system, installation will take a long time and use a lot of space because it has to compile a fork of skim from scratch.)

pip install skim-unicode-table

This will put two scripts into pip's preferred binary directory: skim-unicode-table and skim-unicode-table-xsel. The former just displays the table and prints the selected character and its various names separated by two spaces when the user presses Enter, then exits. The latter also copies the selected character into the clipboard using xsel (check if this is installed!), which might not work on all platforms. If it doesn't work, you can try to build your own script for copying the character into the clipboard using skim-unicode-table.

Optional dependencies

  • atanunq's viu: Required for enlarged character previews like in the demo video above to work. Make sure it can be found from PATH.

Launching in new terminal window

The most common setup will probably be to bind skim-unicode-table-xsel to a hotkey that launches it in a new terminal window. How to do this depends on the specific terminal emulator used (there is no unified CLI, unfortunately).

In gnome-terminal's case, it would be (absolute path in case pip's preferred binary installation folder isn't in PATH for the application that handles hotkeys, commonly the window manager):

gnome-terminal -- /path/to/skim-unicode-table-xsel

Development notes

Why use a forked skim?

fuzzy-matcher (used internally by skim) had default scoring that didn't seem very suitable for this use case, as it kept returning something unexpected as the best match, so I had to tweak it a bit and fork skim so that it uses this modified version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

skim_unicode_table-0.1.21-cp311-cp311-manylinux_2_24_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.24+ x86-64

skim_unicode_table-0.1.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

skim_unicode_table-0.1.21-cp310-cp310-manylinux_2_24_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.24+ x86-64

skim_unicode_table-0.1.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

skim_unicode_table-0.1.21-cp39-cp39-manylinux_2_24_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

skim_unicode_table-0.1.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

skim_unicode_table-0.1.21-cp38-cp38-manylinux_2_24_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

skim_unicode_table-0.1.21-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

skim_unicode_table-0.1.21-cp37-cp37m-manylinux_2_24_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.24+ x86-64

skim_unicode_table-0.1.21-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file skim_unicode_table-0.1.21-cp311-cp311-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp311-cp311-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 fe3d131c25645d7d22c3e99fa2fef7c2d7c959301333747263c99a5755d1298b
MD5 f4447bce1524f4cc26987b7e4c816ac9
BLAKE2b-256 cea91c4697d1392f4fa23a611da4d63ebc5744b27c7999533956333cb21ada1b

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5bd97483b568b5cd25b5ca3941c3825cf04c979d24cde06b2bf8d02d5221f15
MD5 17dfa5751dfebb4b886d01d89f21efc4
BLAKE2b-256 137057606109e73b3679177576d438e9f65e04d6fa237596881f874d249c8245

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp310-cp310-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp310-cp310-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 73695127f022aa2e8aa8409a8ef0466e52dff835be7ebd83f41a53bd4e9f3de0
MD5 866193624daffb4760e228299c0ea168
BLAKE2b-256 8ceeb01dc16cd8918f4f6815c700763db8dd2ce8f587697ff11f71e233e1b6ae

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c67317d365114cf88871e1fc9dbf7ab81d6c4c205b38b7060de318c4e7be008
MD5 dc46244aab636dde18d571f6e1a70059
BLAKE2b-256 bf32fc85074f06d9e930cf42090a2ac410e17cebe8aaaf51188d015542cad9da

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9ef335c6bf5078db49ca15ddb6957d24188dbe92c923cf463ae4f98414aaeac1
MD5 722d8631cf848abe4f9f1a06365fc676
BLAKE2b-256 2e7215df59d70a0763cea52a967df1cb77933fdd5b4a75d15fad1be8d38a5756

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bce090854d9308b91ba351110b74edcca06e9e2dc419ce90ed5511af3fb62c44
MD5 83665e4d96d85fa9f9ef714099bed986
BLAKE2b-256 f50c6e402ca1e4d4057128aab4b721d73453f1b8ac908cb6c126f6f6789294bc

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4190d4683abb9d9643e10b696d9a6872dffb9f9f35cf0489b0e536c0c516f4a5
MD5 73d3eeeb2d7a195e94df03d86dd1e308
BLAKE2b-256 37ae707eb6cac7d5ee60224d39505ec1c0d7d510492929524f3bbbadb6da7336

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 720e9bf5e84a7d238003926d4885f76a437b25083f9a98315dc98f852c5d040c
MD5 af774fb2d4b8fbdeccb69e11f3eb0035
BLAKE2b-256 02b6d47975399800a1c71612634ad1f455ca270b461a7e343d1970a6787dee11

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp37-cp37m-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 c498370243f74b7f01840cf7149c9871fa5027bfd640fe35ba4b54b36c022f83
MD5 cfa95fcb68cffca13bcccdb45ed5cc9f
BLAKE2b-256 dd9bdfcfb09895de0b2b150234175712fd7d64bb26ef3140826485fdbe45574f

See more details on using hashes here.

File details

Details for the file skim_unicode_table-0.1.21-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for skim_unicode_table-0.1.21-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e461bc9933c73df7f74136af55511974ca7c0fb316de47556ecd13b4b64917d1
MD5 e9e84e0553bab61fcad09b896990c993
BLAKE2b-256 ade3698c21a53d60c52af4728fd52b2a688f02f1277bcb2070ef33a77b2a0005

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