All Projects → EdwardSeley → Lyrics Corpora

EdwardSeley / Lyrics Corpora

Licence: bsd-3-clause
An unofficial Python API that allows users to create a corpus of lyrical text from their favorite artists and billboard charts

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Lyrics Corpora

Lyrics
📄 Open Lyrics Database
Stars: ✭ 106 (+715.38%)
Mutual labels:  music, lyrics, songs
Lyrics
Music is life. That's why our hearts have beats! This is an android application for all the music lovers who occasionally search for lyrics of various songs. This app makes this process easier and simpler.
Stars: ✭ 17 (+30.77%)
Mutual labels:  lyrics, songs
Alltomp3 App
Download and Convert YouTube, SoundCloud & Spotify in MP3 with full tags (title, artist, genre, cover, lyrics 🔥)
Stars: ✭ 920 (+6976.92%)
Mutual labels:  music, lyrics
React Music Player
🎵 Maybe the best beautiful HTML5 responsive player component for react :)
Stars: ✭ 321 (+2369.23%)
Mutual labels:  music, lyrics
Lyricsx
🎶 Ultimate lyrics app for macOS.
Stars: ✭ 3,251 (+24907.69%)
Mutual labels:  music, lyrics
sabda
📜 lyrics collection
Stars: ✭ 24 (+84.62%)
Mutual labels:  lyrics, songs
Gmusicproxy
Google Play Music Proxy - "Let's stream Google Play Music using any media-player"
Stars: ✭ 316 (+2330.77%)
Mutual labels:  music, songs
Lyrics.ovh
Source of lyrics.ovh and API to search for lyrics of a song
Stars: ✭ 112 (+761.54%)
Mutual labels:  music, lyrics
Ts3audiobot
Advanced Musicbot for Teamspeak 3
Stars: ✭ 397 (+2953.85%)
Mutual labels:  music, songs
Lmms
Cross-platform music production software
Stars: ✭ 5,450 (+41823.08%)
Mutual labels:  music, songs
Cplayer
A beautiful and clean WEB Music Player by HTML5.
Stars: ✭ 556 (+4176.92%)
Mutual labels:  music, lyrics
Openbook
Open source lilypond real book for Jazz musicians
Stars: ✭ 159 (+1123.08%)
Mutual labels:  music, lyrics
Playlistfromsong
Create an offline music playlist from a single song 🎶
Stars: ✭ 128 (+884.62%)
Mutual labels:  music, songs
ludacris
🎶 Get song lyrics. No BS. https://liyasthomas.github.io/ludacris
Stars: ✭ 37 (+184.62%)
Mutual labels:  lyrics, songs
Ytmdl
A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
Stars: ✭ 2,070 (+15823.08%)
Mutual labels:  music, songs
Alonetone
A free, open source, non-commercial home for musicians and their music
Stars: ✭ 270 (+1976.92%)
Mutual labels:  music, songs
Lyricfier
a Spotify Lyrics alternative app | New updates at https://github.com/emilioastarita/lyricfier2 (a faster version in golang)
Stars: ✭ 598 (+4500%)
Mutual labels:  lyrics, songs
Rabbit Lyrics
JavaScript audio and timed lyrics synchronizer.
Stars: ✭ 107 (+723.08%)
Mutual labels:  music, lyrics
Warezz
It's illegal cuz they can't tax you!
Stars: ✭ 386 (+2869.23%)
Mutual labels:  music, songs
Musicrepair
Fixes music metadata and adds album art.
Stars: ✭ 566 (+4253.85%)
Mutual labels:  music, lyrics

Lyrics Corpora

This Python API allows users to create a corpus of lyrical data from their favorite artist, genre, or billboard charts. This API differentiates itself from others similar to it by retrieving lyrics from songs and artists through searches (thereby allowing variation in name) and by allowing users to get collections of music from genres and billboard charts instead of just individual songs or artist discographies.

Install

pip install lyricscorpora

Command Line Interface

(C:\Users\seley\Anaconda3) C:\Users\seley>lyricscorpora --help                                                          
usage: lyricscorpora [-h HELP] [-a ARTIST] [-t TITLE] [-g GENRE] [-gl GENRELIST] [-b BILLBOARDCHART]                                                                                                                                                                          
Get lyrics from your favorite songs, artists, genres, and billboard charts!

optional arguments:                                                                                                       
-h, --help                          Show this help message and exit                                                                   
-a ARTIST, --artist ARTIST          Specify the artist's name                                                                         
-t TITLE, --title TITLE             Specify the song's title                                                                          
-g GENRE, --genre GENRE             Specify the genre of lyrics you would like to receive                                             
-gl, --genrelist                    Returns a list of the available genres to pull from                                    
-b BILLBOARDCHART                   Specify the number of weeks for the billboard charts  

Usage

Getting module

import lyricscorpora as lc

Getting lyrics from a song

song = lc.Song("The Weeknd", "Wicked Games")
lc.get_lyrics(song)
[out]: I left my girl back home...

Getting artist info

artist = lc.Artist("Drake")
albumList = artist.get_album_list()
print(albumList)
[out]: "Room for Improvement (2006)", "Comeback Season (2007)", ... "Scary Hours (2018)"
album = albumList[6]
print(album)
[out]: "Scary Hours (2018)"
songList = album.get_song_list()
print(songList)
[out]: "God's Plan", "Diplomatic Immunity"
song = songList[1]
song.get_lyrics()
[out]: "Yeah they wishin' and wishin' and wishin' and wishin'..."

Getting artist corpus

artist = lc.Artist("Drake")
artist.get_lyrics() #gets the lyrics to every song from every album by the artist
[out]: "You see the difference between me and you..."

Getting lyrics from Billboard charts

billboardChart = lc.Billboard(52) #Gets song information from every song on the charts for the past 52 weeks
songList = billboardChart.get_song_list()
print(songList)
[out]: "Havana, Perfect, Rockstar, .."
song = songList[0]
print(song.get_lyrics)
[out]: "Havana, ooh na-na (ay)"
artist = song.get_artist()
print("Camila Cabello")

Getting lyrics by genre

GENRE_LIST = ["r-b-hip-hop", "country", "rock", "latin", "dance-electronic", "christian", "gospel"]
...
genre = lc.Genre("r-b-hip-hop") #Gets the songs for the genre's top 50 songs for the past 2 years (must be from GENRE_LIST) 
genre.get_artist_list()
[out]: "Bruno Mars & Cardi B", "Miguel", "Chris Brown"...
genre.get_song_list()
[out]: "Finesse (remix)", "Skywalker", "Pills & Automobiles"...

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].