diversify-0.1.1
توضیحات
A small playlist generator for spotify
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | diversify-0.1.1 |
| نام | diversify |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eduardo Macedo |
| ایمیل نویسنده | eduzemacedo@hotmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/diversify/ |
| مجوز | MIT |
# Diversify
## The Project
Diversify is a playlist generator based on the [Spofity WEB API](https://developer.spotify.com/web-api/) and the [Spotipy module](http://spotipy.readthedocs.io/en/latest/)
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](https://developer.spotify.com/dashboard/),
- 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](config.ini.example) file and move it to `$HOME/.config/diversify/`
- run `pip install diversify`
- run `diversify --help` to see if everything went ok.
## How to run
```
$ diversify login
$ diversify playlist PLAYLIST NAME
```
## How to contribute
- This project uses [poetry](https://python-poetry.org/) for dependency management
- Clone this repo: `git clone https://github.com/edujtm/diversify.git`
- `cd diversify` and `poetry install`
- Then run `poetry shell`
نیازمندی
| مقدار | نام |
|---|---|
| >=1.19.2,<2.0.0 | numpy |
| >=1.1.2,<2.0.0 | pandas |
| >=2.16.0,<3.0.0 | spotipy |
| >=7.1.2,<8.0.0 | click |
| >=3.6.2,<4.0.0 | aiohttp |
| >=0.4.3,<0.5.0 | colorama |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl diversify-0.1.1:
pip install diversify-0.1.1.whl
نصب پکیج tar.gz diversify-0.1.1:
pip install diversify-0.1.1.tar.gz