Skip to main content

spotify-album-cards

PyPI Changelog Tests License

Create printable and scannable cards for albums on Spotify. Print these images, and scan them with your Spotify app to open up the album.

Installation

Install this tool using pip:

pip install spotify-album-cards

Create a Spotify app here. Set the redirect URI to be http://127.0.0.1:9090.

Create a .env file containing your Spotify app's Client ID, Client Secret and redirect URI as follows:

SPOTIFY_CLIENT_ID='your-spotify-client-id'
SPOTIFY_CLIENT_SECRET='your-spotify-client-secret'
SPOTIFY_REDIRECT_URI=http://127.0.0.1:9090

Usage

spotify-album-cards provides two commands that are meant to be run in order.

get-albums

Downloads all albums from your Spotify account, outputting a csv file.

Usage:

spotify-album-cards get-albums -o albums.csv

Once downloaded, manually edit the resulting csv file to only include rows for albums that you would like to generate prints for.

generate-prints

Generates images from an albums csv file. Currently creates images suitable for printing on 4x6 paper, with up to six albums per card.

Usage:

spotify-album-cards generate-prints -i albums.csv -o prints

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd spotify-album-cards
python -m venv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for spotify-album-cards 0.0.2

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-album-cards 0.0.2
File Size Uploaded Provenance
spotify-album-cards-0.0.2.tar.gz 8.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for spotify-album-cards 0.0.2
File Interpreter ABI Platform
spotify_album_cards-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / spotify-album-cards-0.0.2.tar.gz

Download URL spotify-album-cards-0.0.2.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
97a151e1d21867595d3544a5ba2185047466add951589571a52c4db0f08009ea
BLAKE2b-256 checksum
How to use checksums
6fa027bb725b81b9a459890539dc267971a5bedd3588b8112e2cab7fbabc0876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

Release files / spotify_album_cards-0.0.2-py3-none-any.whl

Download URL spotify_album_cards-0.0.2-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
070db23f7e708ee74eef71032ccb09c665ddf04e1173ddf8c6678d704489268a
BLAKE2b-256 checksum
How to use checksums
f27845b759142f98bb5aa9fe66a178234a998e19f3443e642078101c8d696640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

Security for spotify-album-cards 0.0.2

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

0.0.2 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