Emoji searcher for use with fzf
Project description
emoji fzf
Small utility for manipulating emojis via
fzf's --preview
hook!
Depends on fzf being installed to the system (integrates via bash alias/ function rather than using fzf bindings or whatnot).
Use it
To use with fzf's preview browser, you'll need to install fzf, see instructions: https://github.com/junegunn/fzf#installation
pip install emoji-fzf
# if you aren't installing to a virtual env, you may need to add this to path
# (if it wasn't already) to access the tool
export PATH=$PATH:~/.local/bin
# add me to your ~/.bashrc or ~/.zshrc or whatnot
alias emoj="emoji-fzf preview | fzf --preview 'emoji-fzf get --name {1}' | cut -d \" \" -f 1 | emoji-fzf get"
# to copy to xclip system keyboard (on mac use pbcopy) after selecting
emoj | xclip -selection c
Devlopment/testing
This uses a Dockerfile to keep the test build environment relatively clean and locked. The full test infrastructure is:
- Docker container, based on buildpack Debian jessie image
- tox-conda, which enables us to install any python version available on conda channels (here just a few since the supported list is relatively small)
- tox to run the tests + build checks
- black formatting check
- check-wheel-contents and isort for more styling/idiomatic usage checks
To run the test suite in docker just as CI does:
# build the image and tag it as 'emoji-fzf'
docker build -t emoji-fzf --build-arg "UID=$(id -u)" -f Dockerfile
# from this repo root, mount the cwd into the container and run tox
docker run -v $(pwd):/mnt/workspace -t emoji-fzf bash -c "cd /mnt/workspace && tox"
Project details
Release history Release notifications | RSS feed
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 Distribution
Close
Hashes for emoji_fzf-0.2.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94240f5733de84f953199e41091225642c72966e48e767046374af7d38979f8e |
|
MD5 | f97c40aaa74539dcfe374b3ad3cb9129 |
|
BLAKE2b-256 | 1df5261c8e3f3a817b5128d111ac132a32b5b221a792a676013ff655c8590aac |