Euterpe API
Euterpe is a random and useless but fun project which aims to provide a simple NFC reader triggering Spotify songs.
Setup
Spotify
- Create an
Euterpeapp on Spotify - Get spotify
CLIENT_IDandCLIENT_SECRET
Configure Raspberry
Prerequisites
You must:
- Have a Raspberry Pi setup and configured to be accessible through ssh under
raspberrywith 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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| euterpe-0.2.2.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|