semvec/pypi-packages huggingface dataset:
facleaning 0.1.0
Improved display of Farsi text
License: MIT
Requires Python: >=3.5
Keywords: facleaning persian farsi iran

# facleaning

Improved display of persian text

Download
--------

Installation through pypi.

    pip install facleaning --user

You can also install from this repository.

    git clone https://github.com/goldaaa/facleaning.git

Then, install the library with

    python setup.py install


Importing
---------

Import kivyir commands, menus, and the shell

    from facleaning import cleaning
    from facleaning.LanguageCheck import reverse_parse, find_text, fa, en
 

Commands
--------

Commands that can be used

    from facleaning.LanguageCheck import reverse_parse, find_text, fa, en
    
    text = 'این متن توسط goldaaa برای تست نوشته شده است'

    reverse_parse(text, search='fa')  # جستجوی کلمه های فارسی برای تغییر جهت کلمه

    reverse_parse(text, search='en')  # جستجوی کلمه های انگلیسی برای تغییر جهت کلمه
    
    
    # Search for other items requested via regex to change the direction of the word 
    # جستجوی سایر موارد خواسته شده از طریق regex برای تغییر جهت کلمه
    reverse_parse(
        text=text,
        search=lambda word: find_text(word, "[A-Z a-z 1-9 ۱-۹]"),
        reverse_text=True
    )
    
    test_fa = (
        'lang fa word (تست): ', fa('تست'),
        '| lang fa word (goldaaa): ', fa('goldaaa')
    )
    test_en = (
        'lang en word (تست): ', en('تست'),
        '| lang en word (goldaaa): ', en('goldaaa')
    )


    from facleaning import cleaning
    cleaning(
        text=text,
        lang='fa',                  # language fa or ar
        reverse_text=False,         # Change the direction of the entire text | تغییر جهت کل متن
        reverse_other_char=True,    # Change direction of signs | تغییر جهت علامت ها
    )


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 facleaning](https://github.com/goldaaa/facleaning)
pyqode3.python 3.2.4
Adds python support to pyqode.core
License: MIT
Keywords: CodeEdit PySide PyQt code editor widget python

.. image:: https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png


About
-----

This is a fork of PyQode, which is now developed as the editor component for Rapunzel_ and OpenSesame_. The original PyQode repository (<= v2) is no longer maintained.

*pyqode.python* adds **python** support to `pyQode` (code completion,
calltips, ...).

.. _OpenSesame: https://osdoc.cogsci.nl/
.. _Rapunzel: https://rapunzel.cogsci.nl/

Features:
---------

* calltips mode (using `Jedi`)
* code completion provider (using `Jedi`)
* code folding mode
* auto indent mode
* on the fly code checkers (frosted (fork of PyFlakes), PEP8)
* a customisable python specific syntax highlighter
* a pre-configured QPythonCodeEdit (with the corresponding Qt Designer plugin)
* automatic PEP8 formatting

License
-------

pyQode is licensed under the **MIT license**.

Requirements
------------

pyqode.python depends on the following libraries:

- python 2.7 or python 3 (>= 3.2)
- pyqode.core
- jedi
- pep8
- frosted
- docutils
- autopep8