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

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.1rc1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

shaq-0.0.1rc1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file shaq-0.0.1rc1.tar.gz.

File metadata

  • Download URL: shaq-0.0.1rc1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for shaq-0.0.1rc1.tar.gz
Algorithm Hash digest
SHA256 32aa72fe68c3f27b05c2e342c83fb6cbb4238370357e6a87b60bc394b36bf198
MD5 cd6d35f2d08e09ff4f55a5e151b207fd
BLAKE2b-256 c63a7077b8eefc609021dd1c7be49c69b4907675ff04a483d4758f4ce198e764

See more details on using hashes here.

Provenance

File details

Details for the file shaq-0.0.1rc1-py3-none-any.whl.

File metadata

  • Download URL: shaq-0.0.1rc1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for shaq-0.0.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e1bbd9ac18819049e360f48abbe15746c54e90b0d313dd2e5ef3ddfc7705345
MD5 e83998572f804230d946185da965ffae
BLAKE2b-256 e11a3452b47a02eb58f7a8cfaeb7253f2d7923f8cc7a07322bcbc8d3df48ee15

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