A Subsonic/OpenSubsonic API wrapper for Python.
Project description
Compatiblity
Knuckles only works with servers compatible with the REST API version 1.4.0 onwards (Subsonic 4.2+). It follows strictly the OpenSubsonic API Spec, being fully retro-compatible with the original Subsonic API.
Getting Started
Make It Available
First install the package:
python3 -m pip install knuckles
Or add it to your project:
project = [
"knuckles>=1.1.0"
]
Using It
import knuckles
server = knuckles.Subsonic(
# Adding https:// is done automatically,
# /rest should never be added to the URL
url = "example.com",
user = "kutu",
password = "caisopea",
client = "knuckles client"
)
ping = server.system.ping()
# Print the supported version of the OpenSubsonic REST API
print(ping.version)
Learning More
To start making more complex interactions with the API make use of the API reference. Enjoy coding and good luck!
Acknowledgements
Created with :heart: by Jorge "Kutu" Dobón Blanco.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file knuckles-1.1.8.tar.gz
.
File metadata
- Download URL: knuckles-1.1.8.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1871be4cb944e05e6dcfa87a10d701cc8cd7c64417b9f371a67e371fd9c552ec |
|
MD5 | 29fa26407f684220718ab1873b64c413 |
|
BLAKE2b-256 | 6149754c40fe2226a58c704a41ca65d9486e2375a3aea8d07b11adccadee0c9f |
Provenance
The following attestation bundles were made for knuckles-1.1.8.tar.gz
:
Publisher:
publish.yml
on kutu-dev/knuckles
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
knuckles-1.1.8.tar.gz
- Subject digest:
1871be4cb944e05e6dcfa87a10d701cc8cd7c64417b9f371a67e371fd9c552ec
- Sigstore transparency entry: 149305516
- Sigstore integration time:
- Predicate type:
File details
Details for the file knuckles-1.1.8-py3-none-any.whl
.
File metadata
- Download URL: knuckles-1.1.8-py3-none-any.whl
- Upload date:
- Size: 64.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe77ade9b60a70c9b1f3cdd34d503867d412f8c1ac29c42dfcb014181c3868c |
|
MD5 | 5c62cc69c98c75e42fb798c0e2264577 |
|
BLAKE2b-256 | e4b71bb193cdf989bbcebb8827bcc5ad4d801a05b18b64ef3704a5213b4e9a78 |
Provenance
The following attestation bundles were made for knuckles-1.1.8-py3-none-any.whl
:
Publisher:
publish.yml
on kutu-dev/knuckles
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
knuckles-1.1.8-py3-none-any.whl
- Subject digest:
4fe77ade9b60a70c9b1f3cdd34d503867d412f8c1ac29c42dfcb014181c3868c
- Sigstore transparency entry: 149305519
- Sigstore integration time:
- Predicate type: