Unofficial Module and CLI tool to get Malagasy song lyrics from https://tononkira.serasera.org
Project description
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
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
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tononkira-1.1.0.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file tononkira-1.1.0.tar.gz
.
File metadata
- Download URL: tononkira-1.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1814ee582e6f7b4ea597465502b4b6e1090daa4857625636355794c32683d3f4 |
|
MD5 | 9b8779c60aeab4f7800bdd1a2a0d28fa |
|
BLAKE2b-256 | cdc651b64ad0b6711756ce62cbd88fae13f93a1ce51159025d3c6e7fd4571760 |
Provenance
File details
Details for the file tononkira-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: tononkira-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16248dca10605c7511bc9bea20d47e6ed381e997913ba5c46b8c710defe08367 |
|
MD5 | ce21c3db58fb961d68604fdab31c5bb1 |
|
BLAKE2b-256 | 96b5385492f8375af3c8748eb4baa9bc64339ec94ca85cffeda49dd58f69c3d0 |