Diversify
The Project
Diversify is a playlist generator based on the Spofity WEB API and the Spotipy module that aims to use concepts of AI to suggest playlists based on musical preferences between multiple people.
Goals
The goal is to use AI algorithms to generate a spotify playlist based on a user's preference and a friend of his choice. Currently the script will use a genetic algorthm to generate the playlists but this may improve in the future.
How to install
- First you need to get your spotify API key and save it to the .env file.
- Go to spotify application web page,
- login with your spotify account and create a new app
- put whatever name you'd like on the project info and say no to commercial integration
- click on edit settings and whitelist https://edujtm.github.io/diversify/redirect
- get your client ID and client secret (by clicking show client secret)
- put them on a config.ini file and move it to
$HOME/.config/diversify/ - run
pip install diversify - run
diversify --helpto see if everything went ok.
How to run
$ diversify login
$ diversify playlist PLAYLIST NAME
How to contribute
- This project uses poetry for dependency management
- Clone this repo:
git clone https://github.com/edujtm/diversify.git cd diversifyandpoetry install- Then run
poetry shell
Metadata
Release files for diversify 0.1.1
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 |
|---|---|---|---|---|
| diversify-0.1.1.tar.gz | 13.4 kB | Without provenance | Details for diversify-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| diversify-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for diversify-0.1.1-py3-none-any.whl |
Total release size: 29.0 kB
Release files / diversify-0.1.1.tar.gz
| Download URL | diversify-0.1.1.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9db4921bef4a05d979965493d93ecd807fef6cc60e8affce2f4ee458e5536e7c
|
|
BLAKE2b-256 checksum How to use checksums |
cb1c17257eca3719908c49d2c26349af91045044cf2eb79984179a4cfa9be56a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.9 Linux/5.4.0-58-generic
|
Release files / diversify-0.1.1-py3-none-any.whl
| Download URL | diversify-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00a6ab94ffa7991786cc832b75371752f4370bc63351007cf0799b0dc750f4be
|
|
BLAKE2b-256 checksum How to use checksums |
ef624e000bebcc15a0d7f53f1746f9ae9273c981d93adc229e5199f8aca379ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.6.9 Linux/5.4.0-58-generic
|
Security for diversify 0.1.1
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.