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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file selo_linku-0.0.1.tar.gz.
File metadata
- Download URL: selo_linku-0.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afb6a0f9148a83ee677c7a63e32b21dfe3d90f8e9b3b9d4597d0f44c835c1ece
|
|
| MD5 |
54b672b3005a804467175a51de4e40fd
|
|
| BLAKE2b-256 |
1b020a7e1efc87194cd829d0b6a151e6dc7a7e2f5657a2fc0905ceaf78f726d1
|
File details
Details for the file selo_linku-0.0.1-py3-none-any.whl.
File metadata
- Download URL: selo_linku-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16fac53b021b73af49f5e7aff07c9797b33b2e89a08808af8442a9cbbffb93f6
|
|
| MD5 |
494463a26e488ea412658d394ad4f7d1
|
|
| BLAKE2b-256 |
6429b42f6468d5dc852538f4b6994864a104dbe0714d125d3a42abf91e9c718e
|