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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shaq-0.0.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for shaq-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fa187a7153b5984a7bdf0bd4682755573e8fb94e5452fee8cbf778834b0796b0
MD5 081ddd56becdf8335b876fd32e38c928
BLAKE2b-256 13950a4efee53a8fa2a7599088106d312c98b3b3dd3a5bb0af6689aa4eedbb3b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: shaq-0.0.3-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.3

File hashes

Hashes for shaq-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0ae5d9019b4ad29dbeb9c05114d36ee77cb8a5e8c731c039948d4ad48267aac9
MD5 d5df09a455bde9f8fbc0caf7927b09b2
BLAKE2b-256 e978aadbc522b59bcce8baad0a19a699eea547ae5a025452c05a63455f37836c

See more details on using hashes here.

Provenance

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