ukrainian
ukrainian
This repository consists of Python scripts that generate learning aides for learning Ukrainian. I currently have three available scripts. Each has a separate function.
*_get-table.py
This first script gets tables from http://lcorp.ulif.org.ua/dictua/ for each word available on the website. Once run, it will start downloading the tables from the website and searching for the additional words. The program requires you to have Google Chrome and to download the associated Google Chrome driver. You must put the driver in the ../tools directory. There are OS dependencies when using the Selenium/Chrome Driver combination. I have only tested this on MacOS Sierra, MacOS Catalina, and CentOS 8.0. I cannot ensure that it will work on other operating systems.
The get-table script uses a very "hacky" method to pull the table from lcorp.ulif.org/. If anyone is having issues pulling from an ASPX server due to the VIEWSTATE and EVENTVALIDATION fields in the request, then this is the best work-around I was able to find. Keep in mind that my method is very slow - it pulls tables at a rate of about 4 per minute. Since I pulled >260,000 tables, this was a total of 45 machine-days of runtime.
read_html.py
The second script reads the tables that are downloaded from the first script. The script parses through the unpredictable tables and handles several different exceptions. The script deals with encoding issues as well. The table values are stored as dictionaries in JSON format.
daily_article.py
The third script generates a website with a daily article. The website pulls the main article of the day from https://ua.korrespondent.net/ and adds the accents from the dictionaries generated in the read_html.py script.
Metadata
Release files for ukrainian 0.0.3
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 |
|---|---|---|---|---|
| ukrainian-0.0.3.tar.gz | 4.6 kB | Without provenance | Details for ukrainian-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ukrainian-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for ukrainian-0.0.3-py3-none-any.whl |
Total release size: 9.9 kB
Release files / ukrainian-0.0.3.tar.gz
| Download URL | ukrainian-0.0.3.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52f52816c971f422e2e5d1f0b01ee8b74484b1121e6b6a94054cf81b1effef2d
|
|
BLAKE2b-256 checksum How to use checksums |
4b2a42d06c5e5b507c412b04471eb65b4b3c90e33b54bd12ac48d89d99a7088f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3
|
Release files / ukrainian-0.0.3-py3-none-any.whl
| Download URL | ukrainian-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f27f68a1895a61bc43653d6ff730fa5fcfff2b959f9decca4a38ad18df1511b
|
|
BLAKE2b-256 checksum How to use checksums |
86a04a8a8d56462510696debbc3f5f1226c4c61101b3cab87424ce0a7c4d24f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3
|
Security for ukrainian 0.0.3
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.