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.1a17.tar.gz
(11.3 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.1a17-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file plyrfm-0.0.1a17.tar.gz.
File metadata
- Download URL: plyrfm-0.0.1a17.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
5c1d92cbb4289ec2cc830ac957bbc6baf4d71ffbdece790981cc9548db3a96ce
|
|
| MD5 |
6daf4b5728e869c83422e0d37305af28
|
|
| BLAKE2b-256 |
9c701ea770d4dec9ef59a89ae1c12b0da3219daf46b93cb14caa6f437a37b18c
|
File details
Details for the file plyrfm-0.0.1a17-py3-none-any.whl.
File metadata
- Download URL: plyrfm-0.0.1a17-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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 |
4e65bd073f5f94bd79a0488495bba6bbd111833da82404db95e875e0807cb25f
|
|
| MD5 |
48b3ce85845785aeafd52acc48fd173b
|
|
| BLAKE2b-256 |
0fc669131abd70d723ceca717943922a4d4a24abb04b77d3ea670e478d283da7
|