A bare-bones Shazam CLI client
Project description
shaq
A bare-bones CLI client for Shazam.
Installation
shaq
is available via pip
or pipx
:
pip install shaq
pipx install shaq
If you run into installation errors, make sure that you have PortAudio installed. On Debian-based systems:
sudo apt install -y portaudio19-dev
shaq
is also available on the Arch User Repository as shaq
.
Usage
Detect by listening to the system microphone:
# shaq listens for 10 seconds by default
shaq --listen
# tell shaq to listen for 15 seconds instead
shaq --listen --duration 15
Detect from an audio file on disk:
# shaq truncates the input to 10 seconds
shaq --input obscure.mp3
# ...which can be overriden
shaq --input obscure.mp3 --duration 15
See shaq --help
for more options.
The name?
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 Distribution
shaq-0.0.2.tar.gz
(5.1 kB
view details)
Built Distribution
shaq-0.0.2-py3-none-any.whl
(5.8 kB
view details)
File details
Details for the file shaq-0.0.2.tar.gz
.
File metadata
- Download URL: shaq-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e6467716e487158ee3b9542b73608a15aad68df47da04c9b54a32d461510133 |
|
MD5 | fa768b626a30326e112ab591a759f603 |
|
BLAKE2b-256 | dad66779f02ee3d9c4b1ce5cc60233e04515c0c1fd5cbf01b8224bc4408a192b |
File details
Details for the file shaq-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: shaq-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e87539a2ca932a250bc99138b9afdfbbc69f9dc938e039c4307417cfc61abd |
|
MD5 | cc35d8b1663ca20ebd3b01e1258d07a1 |
|
BLAKE2b-256 | 030891368e201065c88671a79ae9b65694ced9d0c9ddd7bebbf7bc5c0f79be95 |