Skip to main content

Euterpe API

CI

Euterpe is a random and useless but fun project which aims to provide a simple NFC reader triggering Spotify songs.

Setup

Spotify

  • Create an Euterpe app on Spotify
  • Get spotify CLIENT_ID and CLIENT_SECRET

Configure Raspberry

Prerequisites

You must:

  • Have a Raspberry Pi setup and configured to be accessible through ssh under raspberry with a sudoer user
  • A RC522 card connected on the Raspberry
  • Ensure it's connected to a speaker

RC522 setup

Here is a wiring plan of the RC522 card on your Raspberry Alt text

Install Raspotify

  • Installation
> cd ansible
> ansible-playbook -i inventory/realm euterpe.yml --diff

Run it!

  • Start the API
> uvicorn euterpe.api:app --reload
  • Run the server
> python euterpe/cli.py server run

Metadata

Release files for euterpe 0.2.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 euterpe 0.2.2
File Size Uploaded
euterpe-0.2.2.tar.gz 4.3 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / euterpe-0.2.2.tar.gz

Download URL euterpe-0.2.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
83b52d3a865e2119406b7789a710b7060cf9b16050d2fd2624f53c69a65702e1
BLAKE2b-256 checksum
How to use checksums
419605812b3be89b92305c8e57ec1d4acc5ed27054c24f8b8f35f64c72f9b751
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / euterpe-0.2.2-py3-none-any.whl

Download URL euterpe-0.2.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f78f153b97f804e66fcd67a854e55a16aef2d2d612cfc6836d43b0233e31ca8
BLAKE2b-256 checksum
How to use checksums
bc0ffc27e339c19e64be877634ad46ad94d96bd612bdadef42ba29be676b7f0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.2.2 This release

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