Skip to main content

spotify_tracks_archiver

PyPi codecov pre-commit.ci status

A way to back up your "Liked Songs" library from Spotify to a JSON file.

Set up

  1. Set up a virtualenv and install this project into it.

    python -m pip install spotify_tracks_archiver
    
  2. Create an app at https://developer.spotify.com/dashboard/applications and save the Client ID and Client Secret into a file called .env like this (or set them as individual environmental variables):

    CLIENT_ID="..."
    CLIENT_SECRET="..."
    
  3. Run spotify_tracks_archiver --print-secrets --dry-run and authenticate. This should print your Refresh Token and save it to your .env file (or set it as an environmental variable):

    ...
    REFRESH_TOKEN="..."
    
  4. You're done, execute spotify_tracks_archiver and pipe it into a file and/or automate the process on some CI (example on GitHub Actions).

Metadata

Release files for spotify-tracks-archiver 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spotify-tracks-archiver 1.0.4
File Size Uploaded Provenance Actions
spotify_tracks_archiver-1.0.4.tar.gz 9.9 kB Without provenance Details for spotify_tracks_archiver-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for spotify-tracks-archiver 1.0.4
File Interpreter ABI Platform Actions
spotify_tracks_archiver-1.0.4-py3-none-any.whl Python 3 none any Details for spotify_tracks_archiver-1.0.4-py3-none-any.whl

Total release size: 18.6 kB

Release files / spotify_tracks_archiver-1.0.4.tar.gz

Download URL spotify_tracks_archiver-1.0.4.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d29bf2338173952c187ef767120642d22163c43ae18267f892611191579180f7
BLAKE2b-256 checksum
How to use checksums
5c89f459cac246327032b2126f0aef5e9f980218c104e25a3423486cd32c16da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / spotify_tracks_archiver-1.0.4-py3-none-any.whl

Download URL spotify_tracks_archiver-1.0.4-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fae44415ef1e1a5b1541fc2f0eb8bc07cd66e91fa446bf659ffb6e820affbcc3
BLAKE2b-256 checksum
How to use checksums
3df49b615fd0b7720025cb7190a1b68777af3b36d95dc75460a70da6dc9d6e2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for spotify-tracks-archiver 1.0.4

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.

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files No provenance

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