python sdk for plyr.fm - music streaming on AT Protocol
Project description
plyrfm
python sdk for plyr.fm - music on atproto.
quickstart
requires uv. lists recent tracks:
uv run --with plyrfm python -c "
from plyrfm import PlyrClient
client = PlyrClient()
for t in client.list_tracks(limit=5):
print(f'{t.id}: {t.title} by {t.artist}')
"
install
uv add plyrfm
usage
from plyrfm import PlyrClient
# public operations (no auth needed)
client = PlyrClient()
tracks = client.list_tracks()
track = client.get_track(42)
# authenticated operations
client = PlyrClient(token="your_token")
my_tracks = client.my_tracks()
client.upload("song.mp3", "My Song")
client.download(42)
CLI
# set token once
export PLYR_TOKEN="your_token"
# list public tracks
plyrfm list
# list your tracks
plyrfm my-tracks
# upload
plyrfm upload track.mp3 "Song Title"
# download
plyrfm download 42
auth
get a developer token at plyr.fm/portal -> "developer tokens"
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
plyrfm-0.0.1a19.tar.gz
(12.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
plyrfm-0.0.1a19-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file plyrfm-0.0.1a19.tar.gz.
File metadata
- Download URL: plyrfm-0.0.1a19.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31cb537dc874a136a97c44347a8d59b863c0a9d538e50183de9c72d572e5346b
|
|
| MD5 |
ec92d0c1dfa3f6a142045c1aa5276aec
|
|
| BLAKE2b-256 |
5ba04b4b1a66af7a968b834f9183cda986eb303126ade43316b9571327e624d1
|
File details
Details for the file plyrfm-0.0.1a19-py3-none-any.whl.
File metadata
- Download URL: plyrfm-0.0.1a19-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7da8339c6f51fe90ba206d666173c7e14996fa10c69e0e0fd949d056fda916c3
|
|
| MD5 |
2975361eb729dbc707ee863c053470d1
|
|
| BLAKE2b-256 |
6acb264e4f0473b6a75ef936bef76e2ec7f6a95c802f256b029378a859da690f
|