Skip to main content

Improving the display of Persian text for Persian speakers

Project description

kivy persian

The first kivy Persian users.

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 install this from pypi.

pip install kivyir

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 *
config = Config()
config.change(
    direction='ltr',
    font_name='Sahel',
    file_regular='{path}.ttf',
    file_bold='{path}.ttf',
    file_italic='{path}.ttf',
    file_bolditalic='{path}.ttf'
)

Custom made

from kivyir import IrLabel, IrTextInput

Sample image tested

Install the required package

kivy
facleaning

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

gmail: goldaaa.program@gmail.com

github kivy persian

If you Arab speaking friends need to use it, let me know so that I can apply it for you too.

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.5.tar.gz (104.4 kB view hashes)

Uploaded Source

Built Distributions

kivyir-0.1.5-py3-none-any.whl (103.5 kB view hashes)

Uploaded Python 3

kivyir-0.1.5-py2.py3-none-any.whl (103.5 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