Lyri
HTTP music dashboard to control playback via playerctl and display lyrics.
Description
Provides a Sanic web application and helper class to manage playback via playerctl.
The web application is hosted using Sanic, which provides endpoints to query player information from playerctl via PyGObject bindings. Lyrics are fetched using syncedlyrics.
Player information is pushed to the client over a WebSocket.
No external JavaScript libraries are requried.
Example
Installation
PyPI
- Install project:
pip install lyri - Run:
lyri
Source
Alternatively, after cloning the repository with: git clone https://github.com/Zedeldi/lyri.git
Build
- Install project:
pip install . - Run:
lyriorsanic lyri.server -H <host> -p <port>
Development
- Install dependencies:
pip install -r requirements.txt - Run:
python -m lyriorsanic lyri.server --dev -H <host> -p <port>
Libraries
- PyGObject - GObject bindings
- Sanic - web framework and server
- syncedlyrics - lyrics fetcher
Credits
- Bootstrap Icons - icons
- Google Fonts - fonts
License
lyri is licensed under the MIT Licence for everyone to use, modify and share freely.
This project is distributed in the hope that it will be useful, but without any warranty.
Donate
If you found this project useful, please consider donating. Any amount is greatly appreciated! Thank you 😃
Metadata
Release files for lyri 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lyri-1.2.1.tar.gz | 14.1 kB | Without provenance | Details for lyri-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lyri-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for lyri-1.2.1-py3-none-any.whl |
Total release size: 28.3 kB
Release files / lyri-1.2.1.tar.gz
| Download URL | lyri-1.2.1.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfa67f2bc7036fc27218f0b7cb10f0cccda5c360fb78641f2d5259e83a2a5549
|
|
BLAKE2b-256 checksum How to use checksums |
80b36c58ab1bff1a393eb7172f839365d19bf72bf7fe7327a83951030f5be7f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.2
|
Release files / lyri-1.2.1-py3-none-any.whl
| Download URL | lyri-1.2.1-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf8bf423abcdecba677a6c278268e746dbd11d7a1a89451d7b254ce149344133
|
|
BLAKE2b-256 checksum How to use checksums |
5a5ee60b1ccc19e3c2f67196b6b4efdff46ee295386f9ab2779e484dd87c129b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.2
|
Security for lyri 1.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.