wikiglot
Overview
wikiglot parses entries in Wiktionary pages. It is designed to be simple and flexible.
Installing
wikiglot can be installed from source via pip:
pip install git+https://github.com/jolars/wikiglot
Usage
Using wikiglot is simple. Here's an example of how to parse the entry from the Swedish Wiktionary page for "katt" (cat):
from wikiglot import Wiktionary
parser = Wiktionary("sv")
parser.lookup("katt")
You can also parse entries for words in other languages that are available on the Swedish Wiktionary page:
parser.lookup("funicular", "en")
Limitations
wikiglot parses Wiktionary pages one-by-one, which can be slow if you need to look up a large number of words. If that is the case, you might prefer a solution that relies on a downloaded version of Wiktionary.
Contributing
When writing commit messages, please use the conventional commits format.
Versioning
wikiglot uses semantic versioning.
Metadata
Release files for wikiglot 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wikiglot-0.2.1.tar.gz | 154.0 kB | Without provenance | Details for wikiglot-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wikiglot-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for wikiglot-0.2.1-py3-none-any.whl |
Total release size: 236.5 kB
Release files / wikiglot-0.2.1.tar.gz
| Download URL | wikiglot-0.2.1.tar.gz |
|---|---|
| Size | 154.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd96668cc1472d6ab2d339fdb8be9ed88297968c8ab92f3c1c0f824641d98565
|
|
BLAKE2b-256 checksum How to use checksums |
01ec28c7c78b148eb7de96de3a704b129992a453976d31f69954c0d6a80f93a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / wikiglot-0.2.1-py3-none-any.whl
| Download URL | wikiglot-0.2.1-py3-none-any.whl |
|---|---|
| Size | 82.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65d8e799413b87c07c7ef567d1902aa6e1d3f0c8bf81733f43e84b9adc3bdacb
|
|
BLAKE2b-256 checksum How to use checksums |
c8e6171e740cbe723853bf48ab94380f0a840b15790f65783b03a4af776fafdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for wikiglot 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.