Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pythonic Implementation of

Project Description

PyLyrics is a python module to get Lyrics of songs from It has support for getting albums of a singer and songs from an album from which lyrics can be accessed.


Installation is done using pip.

pip install PyLyrics


PyLyrics provides various methods by using many layers of Abstraction. Firstly there are 3 core classes which define most of the return values of PyLyrics:

  1. Track: Returned in Album Track searches and contains methods to get lyrics of the track
  2. Album: Returned from Artist album searches and contains methods to get tracks
  3. Artist: Returned from Artist searches and contains methods to get Albums

Some examples are shown below on usage:

Search for a Artist and list Albums

from PyLyrics import *

albums = PyLyrics.getAlbums(singer='Eminem')
for a in albums:
    print (a) #Each album printed is a Album Object

List all tracks of an Album

You need to pass a Album Object into the function. This step is required to prevent errors and to ensure result

from PyLyrics import *

albums = PyLyrics.getAlbums(singer='Eminem')
myalbum = albums[4] #Select your album based on Index

tracks = myalbum.tracks() #or PyLyrics.getTracks(myalbum)
for track in tracks:
    print (track) #Each track is a track object
    print (track.getLyrics()) #Get the lyrics

Get Lyrics of a song

There are two ways to do this. Either you can pass the name of the singer and the song name to the main function or use the bound method getLyrics() of the track object received as shown in the previous example.

from PyLyrics import *

print(PyLyrics.getLyrics('Taylor Swift','Blank Space')) #Print the lyrics directly

Version 1.1

Fixed a lot encoding errors and inconsistency


Created by Pradipta (geekpradd), Copyright 2015.

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.0 kB) Copy SHA256 Hash SHA256
Source None Jul 25, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate