My python program that allows you to use multiple languages in your programs
Class named LangSupport is in lang_support.py file.
Install via pip:
pip install lang_support
main.py file, in tests directory, is an example of use.
To run example:
cd lang_support
py -m tests.main
Import LangSupport class:
import lang_support.lang_support
or
from lang_support.lang_support import LangSupport
Import LangSupportDL class:
import lang_support.lang_support_data_logger
or
from lang_support.lang_support_data_logger import LangSupportDL
generate_translation.py file is a script which read specified language file and generate translation for selected language (deepl package and token needed)
Place DeepL token in data_token.json file (in directory with generate_translation.py file) like below:
{
"deepl-token": "your-token"
}
To run translation generator, enter following commands:
cd lang_support
pip install deepl # if not installed
py -m tests.generate_translation.generate_translation.generate_translation --help
Metadata
Release files for lang-support 1.3.0
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 | |
|---|---|---|---|---|
| lang_support-1.3.0.tar.gz | 5.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lang_support-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / lang_support-1.3.0.tar.gz
| Download URL | lang_support-1.3.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38b90b03982483be3358e6561b7d94d3b5c484da5781a7bf1f8a8f4d9479e7fe
|
|
BLAKE2b-256 checksum How to use checksums |
a6e48434feb964612c9bbd52d7ce134b7cf635283135745b4f9f72e8d78d0997
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / lang_support-1.3.0-py3-none-any.whl
| Download URL | lang_support-1.3.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
464fb6ec8879be0b491aec497df13fb1316b71de4a6e5052bffc0469cf24fe3a
|
|
BLAKE2b-256 checksum How to use checksums |
b7ce696673ecf6dc1bd0c07eec394ee12a88e62af8665525e9f94930a9a7f0b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for lang-support 1.3.0
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.