{ "info": { "author": "Timothy James Dobbins", "author_email": "tmthyjames@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "Welcome to the Cypher. Blog post [here](https://tmthyjames.github.io/tools/Cypher/)\n\n=======================\n\nEasily get music lyrics\n\n\nTo install, use `pip`:\n\n`pip install thecypher`\n\nExample:\n\n```python\n>>> import thecypher as cy\n>>> coasts = cy.get_lyrics('coasts')\n>>> coasts[0]\n{'album': 'Coasts (2016)',\n 'artist': 'coasts',\n 'genre': 'Indie_Pop',\n 'id': 0,\n 'lyric': 'We fell in love',\n 'song': 'Oceans',\n 'year': '2016'}\n```\n\nConvert it to a pandas DataFrame like so:\n\n```python\n>>> import pandas as pd\n>>> coasts_df = pd.DataFrame(coasts)\n>>> coasts_df.head()\n```\n
| \n | album | \nartist | \ngenre | \nid | \nlyric | \nsong | \nyear | \n
|---|---|---|---|---|---|---|---|
| 0 | \nCoasts (2016) | \ncoasts | \nIndie_Pop | \n0 | \nWe fell in love | \nOceans | \n2016 | \n
| 1 | \nCoasts (2016) | \ncoasts | \nIndie_Pop | \n1 | \nRight by the ocean | \nOceans | \n2016 | \n
| 2 | \nCoasts (2016) | \ncoasts | \nIndie_Pop | \n2 | \nMade all our plans | \nOceans | \n2016 | \n
| 3 | \nCoasts (2016) | \ncoasts | \nIndie_Pop | \n3 | \nDown on the sand | \nOceans | \n2016 | \n
| 4 | \nCoasts (2016) | \ncoasts | \nIndie_Pop | \n4 | \nAnd from the tips of your fingers | \nOceans | \n2016 | \n