{ "info": { "author": "Diego Teixeira", "author_email": "diegoteixeir4@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities" ], "description": "# python-vagalume\n\nA simple Python client for Vagalume API. Also a command-line utility to search\nsong lyrics and translations.\n\n## Install\n\n $ pip install vagalume\n\n## Usage \n\nYou can use it from the **command line**:\n\n $ vagalume lyric 'radiohead' 'there, there'\n \nWith the -t flag, you can find translations (by default to pt-br):\n\n $ vagalume lyric 'radiohead' 'there, there' -t\n\nBut is possible to define another language supported by API ('fr', 'en', 'pt-br', 'pt', 'nl', 'de', 'jp', 'it' or 'es'):\n\n $ vagalume lyric 'radiohead' 'there, there' -t es\n\nAlso, you can use the **module** on your own code:\n\n```python\nfrom vagalume import lyrics\n\nartist_name = 'radiohead'\nsong_name = 'there, there'\n\nresult = lyrics.find(artist_name, song_name)\n\nif result.is_not_found():\n print 'Song not sound'\nelse:\n print result.song.name\n print result.artist.name\n print\n print result.song.lyric\n print\n \n translation = result.get_translation_to('pt-br')\n if not translation:\n print 'Translation not found'\n else:\n print translation.name\n print translation.lyric\n```", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/diegoteixeir4/python-vagalume", "keywords": "vagalume song lyric translation", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "vagalume", "package_url": "https://pypi.org/project/vagalume/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vagalume/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/diegoteixeir4/python-vagalume" }, "release_url": "https://pypi.org/project/vagalume/0.0.5/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper for Vagalume API", "version": "0.0.5" }, "last_serial": 2005979, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "0236840c34b3507434565fb72faa922f", "sha256": "b67ad9ad5845c4d350d5529515be0ec1817cf2d8d9a7ce142961ec87a282a51d" }, "downloads": -1, "filename": "vagalume-0.0.5.tar.gz", "has_sig": false, "md5_digest": "0236840c34b3507434565fb72faa922f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3991, "upload_time": "2016-03-14T15:01:18", "url": "https://files.pythonhosted.org/packages/dd/f8/9e0dd547b28a8ceb26b6d4252221191e857ecb6fd99ac5d3164f011d3a82/vagalume-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0236840c34b3507434565fb72faa922f", "sha256": "b67ad9ad5845c4d350d5529515be0ec1817cf2d8d9a7ce142961ec87a282a51d" }, "downloads": -1, "filename": "vagalume-0.0.5.tar.gz", "has_sig": false, "md5_digest": "0236840c34b3507434565fb72faa922f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3991, "upload_time": "2016-03-14T15:01:18", "url": "https://files.pythonhosted.org/packages/dd/f8/9e0dd547b28a8ceb26b6d4252221191e857ecb6fd99ac5d3164f011d3a82/vagalume-0.0.5.tar.gz" } ] }