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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shaq-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1a665790875034f96d48d6fb8be74111ad33c7c26880d3e29226aade1738481d
MD5 332d801c9ce56160c6c6882f6d0557eb
BLAKE2b-256 3efb355500c2ca01faa1479c93e618f36c99dc8237cd2fc05c917e385f9e3c86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shaq-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3830cc62f6fae5e02277e3472057fac171f579bc028f092354f12ea2ef175ed
MD5 e7b76a2d26929189e5a781f9b3aabab0
BLAKE2b-256 87154265907e97ba42e743a31b13c6b5e5382a242895010864619c446ff8af4d

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