Python library for interacting with sona Linku (the lipu Linku API)
Project description
seloLinkuPason
Python API wrapper for sona Linku
selo Linku Pason is an unoficial API wrapper for lipu Linku. lipu Linku is an open-source, collabarative toki pona dictionary. Please note that this code is awful and very much uncommented. This was made in an afternoon and is not intended to be used for anything serious, it’s just for fun. I am not affiliated with the Linku team, full credit goes to them for making such an awesome tool, and making it free for anyone to use.
Instalation
To install, run:
pip install selo-linku
Usage
Import:
import selo_linku as selo
linku = selo.apiv1()
You can use .reload() to reload cache data:
linku.reload()
You can use .getwordfromtp() to get a word object from it's toki pona spelling:
toki = linku.getwordfromtp(word="toki", sandbox=True)
print(toki.name)
> toki
print(toki.definitions['en'])
> communicate, say, think; conversation, story; language
You can find more info at the docs
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
Built Distribution
Hashes for selo_linku-0.0.1-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 16fac53b021b73af49f5e7aff07c9797b33b2e89a08808af8442a9cbbffb93f6 |
|
| MD5 | 494463a26e488ea412658d394ad4f7d1 |
|
| BLAKE2b-256 | 6429b42f6468d5dc852538f4b6994864a104dbe0714d125d3a42abf91e9c718e |