Skip to main content

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


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.1a9.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plyrfm-0.0.1a9-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file plyrfm-0.0.1a9.tar.gz.

File metadata

  • Download URL: plyrfm-0.0.1a9.tar.gz
  • Upload date:
  • Size: 6.8 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

Hashes for plyrfm-0.0.1a9.tar.gz
Algorithm Hash digest
SHA256 88e8da766ee0069e41d4f090c84d68bd64f6ed968ae08f9701ce098e5a014884
MD5 ed811f2795b3f3b6ab6bfec07d26ae60
BLAKE2b-256 a0aa3ef04835f62834f9fbb38d5a54cec966d881f3f6bf60fd9df1d8a9200e89

See more details on using hashes here.

File details

Details for the file plyrfm-0.0.1a9-py3-none-any.whl.

File metadata

  • Download URL: plyrfm-0.0.1a9-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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

Hashes for plyrfm-0.0.1a9-py3-none-any.whl
Algorithm Hash digest
SHA256 1a0d8c01922ce2a52346f7647af29371eef59b9d1e0460f31fd784626c47d972
MD5 25544c1c8a67bc916d49a4af1426e014
BLAKE2b-256 ac8fa90b8746968a360d1ea6e6a2be4223d5a6d02c1a3fe7de789ea06373df1b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page