Tonie Sync
A package to sync Spotify playlists to creative tonies.
This package is not affiliated with Spotify or Tonies. It uses the Spotify and Tonie APIs to sync playlists to creative tonies. The package is intended for personal use only. Use at your own risk.
The package is heavily inspired by spoonie.
Installation
pip install tonie-sync
This package requires these additional dependencies:
- ffmpeg
Usage
from tonie_sync import SyncService
query = "https://youtu.be/Zd7jSXbsDVE?si=Fo5sOzyPhsQxEQPz"
creative_tonie_name = "My Creative Tonie"
sync_service = SyncService() # Create a new SyncService instance with settings from environment variables
sync_service.sync(query=query, creative_tonie_name=creative_tonie_name) # Sync the Spotify playlists to the creative tonies
Environment Variables
| Environment Variable | Description | Example Value |
|---|---|---|
| SPOTIFY_CLIENT_ID | Spotify account username | 123456789 |
| SPOTIFY_CLIENT_SECRET | Spotify account password | this_is_very_secret |
| TONIE_USERNAME | Tonie account email | my_email@provider.com |
| TONIE_PASSWORD | Tonie account password | another_secret |
| TONIE_HOUSEHOLD | Name of the Tonie household | My Household |
| TARGET_DIRECTORY | Path to the local data directory | ./.local |
Metadata
Release files for tonie_sync 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tonie_sync-0.1.20.tar.gz | 13.3 kB | Without provenance | Details for tonie_sync-0.1.20.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tonie_sync-0.1.20-py3-none-any.whl | Python 3 | none | any | Details for tonie_sync-0.1.20-py3-none-any.whl |
Total release size: 28.4 kB
Release files / tonie_sync-0.1.20.tar.gz
| Download URL | tonie_sync-0.1.20.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c168eae7982ea456a64ec5b4c87fbcec41bdaf880e5bb79e594ec9d5c5dd94e
|
|
BLAKE2b-256 checksum How to use checksums |
0248cbf44d70abe8141a4d0d89b34de04e9ccc3bc8e33a31315815bb6b6bcf07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}
|
Release files / tonie_sync-0.1.20-py3-none-any.whl
| Download URL | tonie_sync-0.1.20-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dafd29f63ea88b3e0172f2c9e147fbd4a652262d576e4835b3c81060887375f
|
|
BLAKE2b-256 checksum How to use checksums |
e63788705af54c3969478bbba1c107cf77ae408a9578bab03f3d63856812e9fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}
|
Security for tonie_sync 0.1.20
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.