No project description provided
Project description
GlobalKit 1.0.1
Introduction
GlobalKit is a module that provides alphabets from various languages in different scripts. It can be used for language-related tasks, educational purposes and more.
Installation
Installing module using pip:
pip install GlobalKit
or pip3 install GlobalKit
How to use
GlobalKit contains lots of alphabets (strings) in supported languages: English, Spanish, French, Russian, Ukrainian and numbers.
convert_to_list(string: str)
converts the string
into a list.
check(string: str, *alphabets: str)
verifies if string
is present in any of the specified alphabets
.
Examples:
import GlobalKit as gk
print(gk.english) # Output: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
from GlobalKit import convert_to_list
result_list = convert_to_list('example')
print(result_list) # Output: ['e', 'x', 'a', 'm', 'p', 'l', 'e']
from GlobalKit import check, english, russian_vowels, numbers
result1: bool = check('e', english)
result2: bool = check('1', english, numbers)
result3: bool = check('h', russian_vowels)
print(result1) # Output: True
print(result2) # Output: True
print(result3) # Output: False
Contact
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
GlobalKit-1.0.1.tar.gz
(2.6 kB
view details)
File details
Details for the file GlobalKit-1.0.1.tar.gz
.
File metadata
- Download URL: GlobalKit-1.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b643e15f2033698ad9bf9821080adba20d7a00148be86a7352256b9213c5a69 |
|
MD5 | d973476cc10dc915a3121b1dc31a6aa7 |
|
BLAKE2b-256 | b78ce57004a343558e328596b46ee7da9e98a154247a3dec1fda6cb77f39c8e5 |