Skip to main content

A bare-bones Shazam CLI client

Project description

shaq

CI PyPI version

A bare-bones CLI client for Shazam.

shaq in action

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?

Shazam, Shazaam, Kazaam, Shaquille O'Neal.

Project details


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.5.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

shaq-0.0.5-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file shaq-0.0.5.tar.gz.

File metadata

  • Download URL: shaq-0.0.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for shaq-0.0.5.tar.gz
Algorithm Hash digest
SHA256 35369afdf0701161dec13bf642878583b478c178cd17a484f2c8d5f2f313569e
MD5 a1af66b6c53419e63c899161c6b3708d
BLAKE2b-256 4663073da64c82a13f72f4daa53fc7ba87ec53604c41548500d579213073e6a3

See more details on using hashes here.

File details

Details for the file shaq-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: shaq-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for shaq-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3f3e6f8aedb2f987d14f2063e7060804373cc6116bdfef7c6b271d28ffb784ba
MD5 48f3c391cce3b23d7bc8e07ee674c254
BLAKE2b-256 74a5a4cf14f3de4f15950ad0566ecb64969c40a6d0985dbf892247e7e83c5ae5

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