{ "info": { "author": "Pradipta Bora", "author_email": "pradd@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet" ], "description": "PyLyrics: A Pythonic Implementation of lyrics.wikia.com\r\n-------------------------------------------------------\r\n\r\n|Build Status| |Latest Version| |License|\r\n\r\nPyLyrics is a python module to get Lyrics of songs from\r\nlyrics.wikia.com. It has support for getting albums of a singer and\r\nsongs from an album from which lyrics can be accessed.\r\n\r\nInstallation\r\n~~~~~~~~~~~~\r\n\r\nInstallation is done using pip.\r\n\r\n::\r\n\r\n pip install PyLyrics\r\n\r\nUsage\r\n~~~~~\r\n\r\nPyLyrics provides various lyrics.wikia.com methods by using many layers\r\nof Abstraction. Firstly there are 3 core classes which define most of\r\nthe return values of PyLyrics:\r\n\r\n1. Track: Returned in Album Track searches and contains methods to get\r\n lyrics of the track\r\n2. Album: Returned from Artist album searches and contains methods to\r\n get tracks\r\n3. Artist: Returned from Artist searches and contains methods to get\r\n Albums\r\n\r\nSome examples are shown below on usage:\r\n\r\nSearch for a Artist and list Albums\r\n'''''''''''''''''''''''''''''''''''\r\n\r\n.. code:: python\r\n\r\n from PyLyrics import *\r\n\r\n albums = PyLyrics.getAlbums(singer='Eminem')\r\n for a in albums:\r\n print (a) #Each album printed is a Album Object\r\n\r\nList all tracks of an Album\r\n'''''''''''''''''''''''''''\r\n\r\nYou need to pass a Album Object into the function. This step is required\r\nto prevent errors and to ensure result\r\n\r\n.. code:: python\r\n\r\n from PyLyrics import *\r\n\r\n albums = PyLyrics.getAlbums(singer='Eminem')\r\n myalbum = albums[4] #Select your album based on Index\r\n\r\n tracks = myalbum.tracks() #or PyLyrics.getTracks(myalbum)\r\n for track in tracks:\r\n print (track) #Each track is a track object\r\n print (track.getLyrics()) #Get the lyrics\r\n\r\nGet Lyrics of a song\r\n''''''''''''''''''''\r\n\r\nThere are two ways to do this. Either you can pass the name of the\r\nsinger and the song name to the main function or use the bound method\r\n``getLyrics()`` of the track object received as shown in the previous\r\nexample.\r\n\r\n.. code:: python\r\n\r\n from PyLyrics import *\r\n\r\n print(PyLyrics.getLyrics('Taylor Swift','Blank Space')) #Print the lyrics directly\r\n\r\nVersion 1.1\r\n~~~~~~~~~~~\r\n\r\nFixed a lot encoding errors and inconsistency\r\n\r\nAbout\r\n~~~~~\r\n\r\nCreated by Pradipta (geekpradd), Copyright 2015.\r\n\r\n.. |Build Status| image:: http://img.shields.io/travis/geekpradd/PyLyrics/master.svg?style=flat-square\r\n :target: https://travis-ci.org/geekpradd/PyLyrics\r\n.. |Latest Version| image:: http://img.shields.io/pypi/v/PyLyrics.svg?style=flat-square\r\n :target: https://pypi.python.org/pypi/PyLyrics/\r\n.. |License| image:: https://img.shields.io/pypi/l/PyLyrics.svg?style=flat-square\r\n :target: https://pypi.python.org/pypi/PyLyrics/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/geekpradd/PyLyrics", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "PyLyrics", "package_url": "https://pypi.org/project/PyLyrics/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/PyLyrics/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/geekpradd/PyLyrics" }, "release_url": "https://pypi.org/project/PyLyrics/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Pythonic Implementation of lyrics.wikia.com", "version": "1.1.0" }, "last_serial": 1649175, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "23bd09b22cdbc60e8161f907297407f5", "sha256": "46709ff2cfb89eddf0f8794864017f701e8b521fb04c9578e113f4d48370261b" }, "downloads": -1, "filename": "PyLyrics-1.0.0.tar.gz", "has_sig": false, "md5_digest": "23bd09b22cdbc60e8161f907297407f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3368, "upload_time": "2015-02-23T09:16:23", "url": "https://files.pythonhosted.org/packages/42/be/1b95a422a226e75437a1bcdde91719213cb774f8bea8e2509c756b009990/PyLyrics-1.0.0.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "d1d6648f43e60a6eb2d939eb1fcd60cc", "sha256": "17b71e9315115ae76360f1315e45be6c92928c9f25959eb20c5af073ffc3cbcd" }, "downloads": -1, "filename": "PyLyrics-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d1d6648f43e60a6eb2d939eb1fcd60cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3539, "upload_time": "2015-02-23T10:45:53", "url": "https://files.pythonhosted.org/packages/68/13/1c0a921aa1dcee9260a828deb9e7527b9aa62c33035b2c8b1f775de32845/PyLyrics-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "1f3c997edeba149a8fb2b861cbad89c3", "sha256": "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" }, "downloads": -1, "filename": "PyLyrics-1.1.0.zip", "has_sig": false, "md5_digest": "1f3c997edeba149a8fb2b861cbad89c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7027, "upload_time": "2015-07-25T12:36:18", "url": "https://files.pythonhosted.org/packages/9d/74/8e92322cb1425739849eb719c3b5d8ca05a6b1f027829fd56b4db7c4b7c7/PyLyrics-1.1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1f3c997edeba149a8fb2b861cbad89c3", "sha256": "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" }, "downloads": -1, "filename": "PyLyrics-1.1.0.zip", "has_sig": false, "md5_digest": "1f3c997edeba149a8fb2b861cbad89c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7027, "upload_time": "2015-07-25T12:36:18", "url": "https://files.pythonhosted.org/packages/9d/74/8e92322cb1425739849eb719c3b5d8ca05a6b1f027829fd56b4db7c4b7c7/PyLyrics-1.1.0.zip" } ] }