Skip to main content

A bare-bones Shazam CLI client

Project description

shaq

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shaq-0.0.1rc0.tar.gz
  • Upload date:
  • Size: 4.8 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.1rc0.tar.gz
Algorithm Hash digest
SHA256 52cdd5bd059a85b7e2da29e2ad49f7bbf8d83e5e8d3f71aec782cad2d3e95b13
MD5 462c1f14588b08149d61b79036079023
BLAKE2b-256 49401741fe02f50a17a7b44401c49ebe9b5e4c4fa401ca7d3618469f87a35d07

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shaq-0.0.1rc0-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.1rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 9cc3dd386a42a8c553a9521b28f13c83741912f7aa7f9ea30f6e8c3003c8ceae
MD5 e9ad7693b828fcf9b52e26fe716f976f
BLAKE2b-256 72091b841fdbc447b1f185c05bc78baf1e03e535b92c64ee0c0905c4e4230cf6

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