Skip to main content

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)

Source distribution for tonie_sync 0.1.20
File Size Uploaded
tonie_sync-0.1.20.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tonie_sync 0.1.20
File Interpreter ABI Platform
tonie_sync-0.1.20-py3-none-any.whl Python 3 none any Details

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}

Release history Release notifications | RSS feed

This release

0.1.20 This release

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page