Skip to main content

The one-hour-late Deezer CLI.

Project description

Onzr, the one-hour-late Deezer 💜 CLI.

Pronounced onze heure (11 O-Clock à-la-française) 🤡

GitHub Actions Workflow Status PyPI - Version

!!! warning

This project is still at an early stage. It works in its core parts, but
will not meet standard requirements for a decent player.

Requirements

  • Python: 3.11+
  • VLC: we use VLC bindings to play tracks, so this is a strict requirement.

Quick start guide

Onzr is a python package, it can be installed using Pip (or any other package manager you may use):

pip install --user onzr

Once installed the onzr command should be available (if not check your PATH definition). Before using Onzr, you should configure it (once for all):

onzr init

This command will prompt for an ARL token. If you don't know how to find it, please follow this guide.

You may now explore commands and their usage:

onzr --help

Onzr is based on an HTTP client/server architecture, hence, once installed, you should run the server before starting to use it:

onzr serve --log-level error &

In this case, the server is ran as a background job; see the serve command documentation for details about running Onzr server.

Play your first album:

onzr search --artist "Billie Eilish" --ids | \
    head -n 1 | \
    onzr artist --albums --ids - | \
    head -n 1 | \
    onzr album --ids - | \
    onzr add - && \
    onzr play

Aaand, tada 🎉

In this command, we look for the latest Billie Eilish album, add it to the queue and play it instantly!

Documentation

The complete documentation of the project is available at: https://jmaupetit.github.io/onzr/

License

This work is released under the MIT License.

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

onzr-0.4.0.tar.gz (908.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onzr-0.4.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file onzr-0.4.0.tar.gz.

File metadata

  • Download URL: onzr-0.4.0.tar.gz
  • Upload date:
  • Size: 908.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for onzr-0.4.0.tar.gz
Algorithm Hash digest
SHA256 68bed7f3c3acf1cafe43a52df72dfedd96cbe5c0cd1083cec3ec2448176b1340
MD5 dd239aec98c329fd828d01c758aea683
BLAKE2b-256 5d244e62222701ed90bcfa28808b4ea7acc917d4a2145236febb2dcdbdf71b8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for onzr-0.4.0.tar.gz:

Publisher: package.yml on jmaupetit/onzr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file onzr-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: onzr-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for onzr-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fadd57fe953968a5bed4734453f1e4f0adb756d20cb27cc9a48c2710f56c7f2
MD5 3e4b0a4f3a83139dd3c1f86ed9387de0
BLAKE2b-256 31baf954d7885445e64da715facb19c96c820966c8e1203707e7facddc17a235

See more details on using hashes here.

Provenance

The following attestation bundles were made for onzr-0.4.0-py3-none-any.whl:

Publisher: package.yml on jmaupetit/onzr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page