Skip to main content

Spotify Connect client (protobuf 6.x compatible fork of librespot-python)

Project description

pyfreedom

librespot-python 的 protobuf 6.x 兼容分支。

解决的问题

原版 librespot 的 _pb2.py 由 protoc 3.x 生成,强制依赖 protobuf==3.20.1。这与 pywidevine、votify 等需要 protobuf>=6.x 的工具冲突,无法共存于同一 Python 环境。

pyfreedom 用 protoc 33.4 重新生成了全部 35 个 proto 文件,兼容 protobuf 6.x。

安装

pip install pyfreedom

与 pywidevine 共存(不再需要独立 venv):

pip install pyfreedom pywidevine

使用

from pyfreedom.core import Session
from pyfreedom.audio.format import SuperAudioFormat

与原版的区别

librespot pyfreedom
protobuf ==3.20.1 >=6.0
pywidevine 共存 冲突 兼容
功能 相同 相同
import name librespot pyfreedom

许可证

Apache-2.0(继承自原项目)

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

pyfreedom-0.1.0.tar.gz (72.0 kB view details)

Uploaded Source

Built Distribution

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

pyfreedom-0.1.0-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

Details for the file pyfreedom-0.1.0.tar.gz.

File metadata

  • Download URL: pyfreedom-0.1.0.tar.gz
  • Upload date:
  • Size: 72.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for pyfreedom-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0351e6d4c20da273fb0239fbc934a8512d0ca400c7f79a0e55c46d23257f7178
MD5 c7690634014384020526f18c66bb8c18
BLAKE2b-256 e2c7f55c6ffe37722badc00c27b0f80f13e06547c76e1bc15a38f094a192bf55

See more details on using hashes here.

File details

Details for the file pyfreedom-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyfreedom-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 105.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for pyfreedom-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 227c110450c59d2125a814802a99b2f0cba15c7879a94e284990e83f2a607c1b
MD5 5980412e73c15fb9889112f3d88dc319
BLAKE2b-256 b555cbf8e4d54024defeea721ee52a14dd28b11080987ce480d22c74865752e0

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