Create your playlist with us!
Project description
playlist-creator
Overview
Our API is was created as part of the course "Introduction to Optimization" with Ariel Rosenfeld at Bar-Ilan University.
You are able to run our API by providing the following as args:
-h, --help show this help message and exit
-s SONGS_PATH, --songs_path SONGS_PATH Path to songs in a directory
-r ARTISTS_LIST, --artists_list ARTISTS_LIST Path to artists file list
-l ALBUMS_LIST, --albums_list ALBUMS_LIST Path to albums file list
-g GENRES_LIST, --genres_list GENRES_LIST Path to genres file list
-d DOWN, --down DOWN Minimum time for playlist
-u UP, --up UP Maximum time for playlist
-m MINIMUM_SONGS, --minimum_songs MINIMUM_SONGS Minimum songs required from input
-c COUNTRY, --country COUNTRY Country name to base playlist on \
SONGS_PATH
Should be a path to songs in the following format: "ARTIST NAME - SONG NAME"
ARTISTS_LIST
txt file like follows:
Elton John
David Bowie
Queen
Pink Floyd
Rod Stewart
Eric Clapton
Prince
John Lennon
Bob Dylan
Led Zeppelin
ALBUMS_LIST
txt file like follows:
After Hours,The Weeknd
Evolve,Imagine Dragons
GENRES_LIST
json file like follows:
{
"pop": 2,
"rock": 1,
"metal": 2
}
The numbers are the number of songs you want from each genre.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file playlist-creator-0.0.1.tar.gz
.
File metadata
- Download URL: playlist-creator-0.0.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
877a36799b4e1bb9f2ac27aa89baf13dc3cf6fd8ffd9d0d8f98e93eab9c0866e
|
|
MD5 |
dcc376882ef93763e1fd8785c851a0fa
|
|
BLAKE2b-256 |
a0ff4b712a92074121117c5b3ad2f72af654b66343473d0c493f55471f4a6632
|