python sdk for plyr.fm - music streaming on AT Protocol
Project description
plyrfm
python sdk for plyr.fm - music on atproto.
install
pip install plyrfm
# or
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.1a6.tar.gz
(6.7 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
File details
Details for the file plyrfm-0.0.1a6.tar.gz.
File metadata
- Download URL: plyrfm-0.0.1a6.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"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 |
587a6b4b4ea494ba4257ce90937070329d8578b7015dc066f3e9ccc1c94f1ee0
|
|
| MD5 |
2b6aa695dc1c026ebfca6a0863769b32
|
|
| BLAKE2b-256 |
e4cdb1ce51a08c20352a1971b18327412d7f70f6b3f14203394a5b1afaa7411c
|
File details
Details for the file plyrfm-0.0.1a6-py3-none-any.whl.
File metadata
- Download URL: plyrfm-0.0.1a6-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"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 |
7236f1d3caf1a7e4acd8fabf677b4a18300951ed8ff90631f086b9458e717e53
|
|
| MD5 |
8f380701eb502c47dac853634b61bca9
|
|
| BLAKE2b-256 |
b717ba00901c0b9e73f7b9d473c105a9ab33deecfe2811ebbf17fa338b5917a6
|