• Stars
    star
    9
  • Rank 1,939,727 (Top 39 %)
  • Language
    Python
  • License
    MIT License
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple python wrapper for https://tononkira.serasera.org

tononkira

Unofficial Module and CLI tool to get Malagasy song lyrics from https://tononkira.serasera.org

INSTALLATION

pip install tononkira

USAGE

MODULE

from tononkira import Tononkira 

tononkira = Tononkira()

print(tononkira.get("Ampy anahy")) 

CLI TOOL

image

ADVANCE USAGE

from tononkira import Tononkira 

tononkira = Tononkira()

# global search
res = tononkira.search("Ambondrona") 
print(res[:2])

# specific search by artist
res = tononkira.search_by(artist="LJO") 
print(res[:2])

# specific search by title
res = tononkira.search_by(title="Donia") 
print(res[:2])

# specific search by lyrics
res = tononkira.search_by(lyrics="tia anao aho") 
print(res[:2])

# specific search by title and lyrics
res = tononkira.search_by(title="Ngoma", lyrics="Mena masoandro") 
print(res[:2])

OUTPUT

[
{'title': 'Ajanony any', 'artist': 'AmbondronA', 'url': 'https://tononkira.serasera.org/hira/ambondrona/ajanony-any-1'},
{'title': 'ALEO ALOHA', 'artist': 'AmbondronA', 'url': 'https://tononkira.serasera.org/hira/ambondrona/aleo-aloha'}
]
...
[
{'title': 'Aya', 'artist': 'LJo', 'url': 'https://tononkira.serasera.org/hira/ljo/aya'},
{'title': 'Ino tianô ?', 'artist': 'LJo', 'url': 'https://tononkira.serasera.org/hira/ljo/ino-tian-'}
]
...
[
{'title': 'Donia', 'artist': 'Lion Hill', 'url': 'https://tononkira.serasera.org/hira/lion-hill/donia'},
{'title': 'RABODONIARIVO', 'artist': "Jonny R'afa", 'url': 'https://tononkira.serasera.org/hira/jonny-rafa/rabodoniarivo'}
]
...
[
{'title': '#586# [Feat. Mr Sayda]', 'artist': '306 BUK', 'url': 'https://tononkira.serasera.org/hira/306-buk/586-feat.-mr-sayda-1'},
{'title': "'Lay andro hodianao", 'artist': 'Mr Sayda (Misié Sayda)', 'url': 'https://tononkira.serasera.org/hira/mr-sayda-misi-sayda/lay-andro-hodianao'}
]
...
[
{'title': 'Ngoma', 'artist': 'Shyn', 'url': 'https://tononkira.serasera.org/hira/shyn-1/ngoma-1'}, 
{'title': 'Ngoma (feat Denise)', 'artist': 'Shyn', 'url': 'https://tononkira.serasera.org/hira/shyn-1/ngoma-feat-denise'}
]

from tononkira import Tononkira 

tononkira = Tononkira()

res = tononkira.fetch("https://tononkira.serasera.org/hira/ambondrona/aleo-aloha") 
print(res)

OUTPUT


ALEO ALOHA (Ambondrona)
----------------------

toa ts aritro iany
ny iandry anao
niezaka iany aho fa toa
...

More Repositories

1

Asterisk-VoiP

C'est un projet concernant l'installation et configuration de serveur VoIP , ainsi qu'un serveur vocal Interactif
PHP
10
star
2

Akory

A simple typewriter effect command written in bash
Shell
7
star
3

RECRSI-Flutter

Une application mobile pour gérer une boutique. Livraison, Commande, Stock, Statistique, QRCode, ...
Dart
5
star
4

Shared-Server

Projet pour le Concours Interne à l'ESTI pour les L1
CSS
3
star
5

persistent-paste

quick paste your passwords or others text EVERYWHERE
kvlang
2
star
6

tononkira-bot

Python
2
star
7

SESAMEtask

"Un code source d'un petit programme réalisé sous python pour la génération de la tache en AtriUM de SESAME"
Python
2
star
8

aloe_minimal

32-bits working version for ALOE
kvlang
2
star
9

smoovka

Statistics on Linux work sessions from a main computer. Ideal for cybercafes and businesses that need session management.
1
star
10

Seven-Optica

Logiciel de vente et facturation d'une boutique
CSS
1
star
11

Ma-Super-Petite-Copine

IA, BOT, Assistante Virtuelle, Passe temps, telles sont les mot qui definissent "Ma Super Petite Copine"
1
star
12

decoupage-sous-reseau

simple script pour le decoupage d'un réseau local
Python
1
star
13

Grosse-tete--2D-Game-Pascal

un mini projet sur la base de programmation en pascal. Ceci est un Jeu qui tire sur des têtes qui tombent
Pascal
1
star
14

Linkedin-Bot

Python
1
star
15

chiffrement-affine

Un petit permettant de faire une cryptage, Crypter-Decrypter une phrase en utilisant le chiffrement affine y = ax + b
Python
1
star
16

Rafaleo

Rafaleo is an open-source tool to generate fake data in your database used for load testing.
Go
1
star
17

ping_stat

Go
1
star
18

QPC-SESAME

Un logiciel permettant de realiser un question pour un champion
Python
1
star
19

leboncoin

Python
1
star
20

Ampalibe_MVC_Template

Implementing MVC pattern for Ampalibe framework
Python
1
star
21

chiffre-en-lettre

petite programme pour convertir une somme(nombre) en lettre (fr)
Python
1
star
22

Help-My-Flowers

un projet pour asssurer les survie des plantes
Python
1
star