Logo Lanfrica

AdamMashaka/python-in-swahili

Domaine:

natural language processing

Type de record:

software
Créateur:
Ada
Hôte:
# pyswahili **Pyswahili** is a light weight python library that helps you write your python code in Swahili. **pyswahili** is not a completely independent language but more of a swahili version of **python language**, syntax and language grammar is equivalent to python one with only change of **keywords** from english to swahili. ## Transipiler Transpiler(Pyswahili) translates swahili version of python to english version so that it can be intepreted by the `python Intepreter`. ## Pyswahili File extension ? There is no official extension for pyswahili, so for now **.py** is fine. ## What can you do with pyswahili ? Similar to Python, Pyswahili supports both modes; the Read-evaluate-print(**Repl**) loop and `Script mode`. Repl enable you to interactively execute pyswahili code line by line without requiring to write a complete program while on other side **Script mode** requires you to write your Pyswahili code on a file and run it as whole. ## Getting started To get started using Pyswahili you might need to either **clone** or **manually download** the repository and then use `pip` command to install the package just as shown below. ```bash pip install pyswahili ``` ### Linux users It might require admistrator priveledge to install so use **sudo** during the installation. #### Directly from github[Linux] ```bash $ git clone Kalebu/pyswahili $ cd pyswahili $ sudo pip3 install -e pyswahili ``` #### Using pip[Linux] ```bash $ pip3 install pyswahili ``` ### Window Users If you're a Windows user, I would recommed running command prompt(cmd) with admistrator priveledge during the installation. #### Directly from github[Window] ```bash $ git clone Kalebu/pyswahili $ cd pyswahili $ pip install -e pyswahili ``` #### Using pip[Window] ```bash $ pip install pyswahili ``` ## REPL MODE Now that the pyswahili package is installed, we can start playing with it, To involve repl just run **pyswahili** without any …

Languages

Licenses