Skip to main content

sentence-menu

A command-line fuzzy command-menu keyed with full sentences which runs command.

This is unreviewed AI-generated code. It will likely become more reviewed if anyone uses it.

Motivation

I want to find snippets to do things based on what I have done before. I use the snippet framework I wrote, zshnip, but sometimes I want to be lazy and use full sentences.

Alternatives

navi is a menuing system with fuzzy search and tags which focuses on commands to run, but focuses on cheat sheet files (supporting several). I dislike editing files and if I have to edit a file to add a command I often won't do it.

fzf provides a fuzzy menu but is more a command line tool to build thigns than a complete solution.

rofi is another fuzzy menuing system designed for gui environments. It can automatically search your path for commands. Most desktop environments, like KDE or Gnome, provide some sort of fuzzy search.

I also sometimes use Obsidian to keep track of commands related to a topic. This can work well, but not for things I want to run quickly. I have a shortcut to popup Obsidian. You could use emacs org-mode for similar purposes.

You could also use an LLM.

Installation

pipx install sentence-menu

Usage

Interactively add a command: sentence-menu add

Interactively edit an entry: sentence-menu edit

Run a command: sentence-menu

Print a command to standard out: sentence-menu echo

About me

I am @readwithai. I make lots of small tools like this. I also make tools for reading with and without AI.

Metadata

Release files for sentence-menu 1.0.0

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

Source distribution (sdist)

Source distribution for sentence-menu 1.0.0
File Size Uploaded Provenance Actions
sentence_menu-1.0.0.tar.gz 3.5 kB Without provenance Details for sentence_menu-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sentence-menu 1.0.0
File Interpreter ABI Platform Actions
sentence_menu-1.0.0-py3-none-any.whl Python 3 none any Details for sentence_menu-1.0.0-py3-none-any.whl

Total release size: 7.5 kB

Release files / sentence_menu-1.0.0.tar.gz

Download URL sentence_menu-1.0.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3ac00a21efced07ccc79d26e462730ecc0e7a136822809b0a25a0f5cca46d2cd
BLAKE2b-256 checksum
How to use checksums
291b7d13c9e43585c7452c720f9b7d67a33881750fceb0c846ca20945597cdef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / sentence_menu-1.0.0-py3-none-any.whl

Download URL sentence_menu-1.0.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed43427b78c16a132af77b190919eeb305ac75d5c5bf9ffee6eaafcaaaf6b5d2
BLAKE2b-256 checksum
How to use checksums
73ab66e1f59c32903d6320576f2e032416a633dcfb244710f8d4f8f7f72fa605
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for sentence-menu 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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