Skip to main content

Improving the display of Persian text for Persian speakers

Project description

kivyir | kivy persian | kivy فارسی

The first kivy Persian users for Iranians.

I converted the kivy library into Farsi for Iranians so that Iranians can use it.

کتابخانه کیوی را برای ایرانیان به فارسی تبدیل کردم تا ایرانی ها بتوانند از آن استفاده کنند.

I have added a sample test file so you can understand how to use it.

یک نمونه فایل تست اضافه کردم تا بتوانید نحوه استفاده از آن را بدانید.

Download

You can also install from this repository.

git clone https://github.com/goldaaa/kivyir.git

Then, install the library with

python setup.py install

Importing

Import kivyir commands, menus, and the shell

from kivyir import *        # Line 1 should always be placed

Commands

Commands that can be used

Some changes if needed

from kivyir import ConfigText       # Line 2 should always be placed

ConfigText.base_direction = 'ltr' or 'rtl'
ConfigText.font_name = 'font_name'
ConfigText.file_regular = '{path}/file_regular.ttf'
ConfigText.file_bold = '{path}/file_bold.ttf'
ConfigText.file_italic = '{path}/file_italic.ttf'
ConfigText.file_bolditalic = '{path}/file_bolditalic.ttf'

Custom made

from kivyir import IrLabel, IrTextInput     # Line 3 should always be placed

Sample image tested

If you are interested in financial support, you can send a message through Gmail if you have any questions.

اگر قصد حمایت مالی یا سوال دارید می توانید از طریق جیمیل پیام ارسال کنید.

gmail: goldaaa.program@gmail.com

Telegram group of this project: t.me/kivyiran

github facleaning

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kivyir-0.1.2.tar.gz (103.7 kB view hashes)

Uploaded Source

Built Distributions

kivyir-0.1.2-py3-none-any.whl (102.7 kB view hashes)

Uploaded Python 3

kivyir-0.1.2-py2.py3-none-any.whl (102.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page