features: ["asciinema"]
🛟 uh, halp?
📦 Install
pip install uh-halp
⚙ Configure
$ uh reverse file.txt
>>> Need a groq key, it'll be saved to ~/.uh-keys: <paste here>
>> Saving groq key to ~/.uh-keys
tac file.txt
▶️ Usage
$ uh check my syslog
tail -f /var/log/syslog
$ uh clean up docker disk space
docker system prune -a
$ uh sync this shit to /home/gaz/project on gaz@server
rsync -avz --progress . gaz@server:/home/gaz/project
$ uh how much space have I got free here?
df -h .
$ uh gimme a socks proxy on 192.168.0.1
ssh -D 8080 username@192.168.0.1
$ uh check if the internet is up
ping -c 3 google.com
$ uh make annoying beeping noises randomly in the background forever
while true; do echo -e "\a"; sleep $((RANDOM % 10)); done &
🗒️ Notes
It currently defaults to Groq. If you want to use something else, open
~/.uh-config and change current and edit the config. If you want
to add your own custom back-end, give the name of a module that has a
query function in it, then fill in the parameters with templates vars
in the example format. Use {key} as one of the params to send the key
wherever you like (postdata, query param, cookie or other header).
Look before you paste. There's no protection against doing things like
$(uh how do I break this computer?). So please don't just execute its
output!
Seems to work well in bash and zsh on Linux and macOS. It's not had much testing elsewhere else. Windows, BSD, Solaris, zOS etc should also work.
⚠️ Disclaimer
If it blows your machine up it's your own fault. Don't run code produced by a language model without reading it.
⚖️ License
WTFPL with one additional clause: don't blame me!
Metadata
Release files for uh-halp 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| uh_halp-0.1.8.tar.gz | 7.8 kB | Without provenance | Details for uh_halp-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| uh_halp-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for uh_halp-0.1.8-py3-none-any.whl |
Total release size: 16.9 kB
Release files / uh_halp-0.1.8.tar.gz
| Download URL | uh_halp-0.1.8.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33206b6f5ae6011501d3eeefcd1706a0f66e6466c37ce7a8a4a37c5deeba85b3
|
|
BLAKE2b-256 checksum How to use checksums |
89916c39df0f9c5850dd1f23d0ee0a906af02b75525e144c288e7952721ae52a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Release files / uh_halp-0.1.8-py3-none-any.whl
| Download URL | uh_halp-0.1.8-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b82694561102d21a5ab68690c0f8e10f6e2cd47f2122dbfbdcfe175d0b2849c6
|
|
BLAKE2b-256 checksum How to use checksums |
8a6b234fd83b16cfd93afa14b32754ecd9d22c364693a57d60c2915f415782fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.3
|
Security for uh-halp 0.1.8
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.