Wiktionary Term Fetcher
This is the repository of a library to fetch all the available nouns, adjectives or verbs from either Wikidata or Wiktionary, in different languages.
-
When this library is used in Wikidata mode (default since version 0.2.0), the Wikidata SPARQL query endpoint is used to fetch
-
When this library is used in Wiktionary mode (deprecated since version 0.2.0), standard Wiktionary API is used. Some false positives (words which are not of the required type) can be included.
In both cases, the generated file uses UTF-8 encoding, and it stores each word in a single line.
Usage
The allowed parameters are these:
# wiktionary-fetcher --help
usage: wiktionary-fetcher [-h] [--lang LANG] [--terms {nouns,verbs,adjectives}]
[--fetcher {wikidata,wiktionary}]
output
Wiktionary term fetcher
positional arguments:
output Output file. If the name is '-', standard output will
be used
optional arguments:
-h, --help show this help message and exit
--lang LANG Language to be queried from. In Wikidata mode, any
valid shortcut can be used. In Wiktionary mode,
shortcuts for some common languages (en, es, ca, de,
fr) are accepted. In this last mode, you can also use
any valid language name being used in English
Wiktionary (for instance, 'French' or 'Basque').
(default: en)
--terms {nouns,verbs,adjectives}
Terms type to be queried from either Wikidata or
Wiktionary (default: nouns)
--fetcher {wikidata,wiktionary}
Which fetcher should be used (default: wikidata)
Usual patterns are
wiktionary-fetcher --lang en --terms verbs english_verbs.txt
wiktionary-fetcher --lang Japanese --terms nouns japanese_nouns.txt
Metadata
Release files for wiktionary-term-fetcher 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 |
|---|---|---|---|---|
| wiktionary_term_fetcher-0.2.1.tar.gz | 16.3 kB | Without provenance | Details for wiktionary_term_fetcher-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wiktionary_term_fetcher-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for wiktionary_term_fetcher-0.2.1-py3-none-any.whl |
Total release size: 34.6 kB
Release files / wiktionary_term_fetcher-0.2.1.tar.gz
| Download URL | wiktionary_term_fetcher-0.2.1.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46efaaedcf6c81a7a9f672aeda64e266daf56c567d850a5fa562becf1fef3709
|
|
BLAKE2b-256 checksum How to use checksums |
84b9444a25ba7e1590fb1f6b543b203cc37488562e1a1b1fe9d68acf4f13e11a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / wiktionary_term_fetcher-0.2.1-py3-none-any.whl
| Download URL | wiktionary_term_fetcher-0.2.1-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc8f57ffa802d719c5901255a5f53b0306ea3cfd1eafcde492245abbc1c5ec09
|
|
BLAKE2b-256 checksum How to use checksums |
7837d0d70d4974c29d0e2595156429bc3576e3360fd3249e72caaca01927c69e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for wiktionary-term-fetcher 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.