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!

Python wrapper for Vagalume API

Project Description

# python-vagalume

A simple Python client for Vagalume API. Also a command-line utility to search
song lyrics and translations.

## Install

$ pip install vagalume

## Usage

You can use it from the **command line**:

$ vagalume lyric 'radiohead' 'there, there'

With the -t flag, you can find translations (by default to pt-br):

$ vagalume lyric 'radiohead' 'there, there' -t

But is possible to define another language supported by API ('fr', 'en', 'pt-br', 'pt', 'nl', 'de', 'jp', 'it' or 'es'):

$ vagalume lyric 'radiohead' 'there, there' -t es

Also, you can use the **module** on your own code:

from vagalume import lyrics

artist_name = 'radiohead'
song_name = 'there, there'

result = lyrics.find(artist_name, song_name)

if result.is_not_found():
print 'Song not sound'

translation = result.get_translation_to('pt-br')
if not translation:
print 'Translation not found'
print translation.lyric

Release History

This version
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
(4.0 kB) Copy SHA256 Hash SHA256
Source None Mar 14, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting