# spoppy Lightweight Spotify Command-Line interface for Linux [](https://travis-ci.org/sindrig/spoppy)
## Requirements
Python 2.7 or Python 3.3+
See requirements.txt for required python packages. They will be automatically installed when you install via pip.
You will need a Spotify Premium account and a Spotify username (if you signed up via Facebook you can [follow the instructions here](https://community.spotify.com/t5/Help-Accounts-and-Subscriptions/How-do-i-find-my-username-when-using-Facebook-login/td-p/859795) to get your username).
You will need libspotify, pyaudio or pyalsaaudio, and libffi-dev installed.
You will either need to install pyaudio or alsaaudio by (pyaudio instructions [Here](https://people.csail.mit.edu/hubert/pyaudio/) and pyalsaaudio instructions [here](http://larsimmisch.github.io/pyalsaaudio/pyalsaaudio.html#installation)).
Use your distribution’s package manager for libffi-dev (f.x. apt-get install libffi-dev).
To install libspotify, see [Pyspotify installation](https://pyspotify.mopidy.com/en/latest/installation/#install-from-source). (Archives are available at [libspotify-archive](https://mopidy.github.io/libspotify-archive/)), thanks to the great guys at [Mopidy](https://www.mopidy.com/)!.
For DBus integration you’ll need python-dbus and python-gobject2. Use your distribution’s package manager. Spoppy will work without these packages but won’t expose it’s DBus procedures.
## Installation
pip install spoppy
To install globally you will probably need superuser privileges.
After installation run spoppy in your terminal and you’re all set!
## Screenshots
### Top menu  ### Playlist overview  ### Playlist  ### Player view  ### Player operations  ### Search results  ### Certain artists can be banned  ### Operations on a specific song 
## Development
Create a virtualenv (python 2.7 or python 3.3+)
Clone this project
Activate your virtualenv
Install requirements (pip install -r requirements.txt)
Run python scripts/spoppy (you will be asked for username/password)
## DBus integration
Run make install_dbus
Make sure you have python-gobject2 installed
Symlink gi (and possibly glib) to your virtualenv (that is, if you’re not installing globally!)
The service will be available at “/com/spoppy” (f.x. qdbus com.spoppy /com/spoppy com.spoppy.PlayPause)
## Debugging
To enable verbose logging, set the SPOPPY_LOG_LEVEL environment variable to ‘DEBUG’.
## Testing
make test
Metadata
Release files for spoppy 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spoppy-2.4.0.tar.gz | 40.1 kB | Without provenance | Details for spoppy-2.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spoppy-2.4.0-py3-none-any.whl | Python 3 | none | any | Details for spoppy-2.4.0-py3-none-any.whl |
Total release size: 77.4 kB
Release files / spoppy-2.4.0.tar.gz
| Download URL | spoppy-2.4.0.tar.gz |
|---|---|
| Size | 40.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
beea965614bb2a0de7e98d95e20b10687521e2913f77c37cb9669085224e29b1
|
|
BLAKE2b-256 checksum How to use checksums |
e3a12d34bc8c8a43c3f2c02cdc998ebb5fd937c2c33e86f06381b3a77099fdf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / spoppy-2.4.0-py3-none-any.whl
| Download URL | spoppy-2.4.0-py3-none-any.whl |
|---|---|
| Size | 37.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e6d69696e8fd6fb0ce1f3cda7c6f067b4b1b8bcdfd9dc0a658a52a2c792ac10
|
|
BLAKE2b-256 checksum How to use checksums |
a47a9b11f5866ecc38963508ed706c819b290c5390d1392f082a1ba7d93d2ec6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for spoppy 2.4.0
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.