Wiker
library for wikipedia text dataset collection
Installation
pip install wiker
Quickstart
from wiker import Wiker
wk = Wiker(lang='uz', first_article_link="Turkiston")
wk.run(scrape_limit=50)
Another methods
from wiker import Wiker
wk = Wiker(lang='uz', first_article_link="Turkiston")
wk.reader() # read the pre_urls.txt file and return the result as a list
wk.read_url_count() # The number of all links that read the pre_urls.txt file
wk.extra_file_writer() # if the pre_urls.txt file is empty, the function writes first_article_link to the file
wk.scraper() # Get all articles from links in pre_urls.txt file
wk.text_cleaner() # clean up the html and other tags in the retrieved articles
wk.next_urls() # get links for further scraping
wk.dir_scanner() # scan the "data" folder to count files
wk.cleaned_text_writer(text_dict=wk.text_cleaner()) #
wk.post_url_writer(url_list=wk.scraper().keys()) # writing the name of the saved articles to the file
wk.pre_url_writer(url_list=wk.next_urls()) # write names in next_urls to files for next process
Metadata
Release files for wiker 0.0.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 |
|---|---|---|---|---|
| wiker-0.0.1.tar.gz | 4.5 kB | Without provenance | Details for wiker-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wiker-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for wiker-0.0.1-py3-none-any.whl |
Total release size: 9.4 kB
Release files / wiker-0.0.1.tar.gz
| Download URL | wiker-0.0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97d9ae5df053d2bf8e3062a19c898535ce4908d12a4588f5bc8c54b96ac168aa
|
|
BLAKE2b-256 checksum How to use checksums |
787426c285aceac675e39aa5fbf0537b8848d926b91e774a6f6650f143107eb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Release files / wiker-0.0.1-py3-none-any.whl
| Download URL | wiker-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd81dd51da506cc5b23cd14f42b2eab1c096bb679dc79402e6fa705cd9963110
|
|
BLAKE2b-256 checksum How to use checksums |
241c94cd5bb252b81a9e8a048fd850ab237cb757252014120624fea75e405e62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.7
|
Security for wiker 0.0.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.