Skip to content

Commit 5904ffd

Browse files
committed
تصویریں
1 parent 381219b commit 5904ffd

36 files changed

Lines changed: 7 additions & 922 deletions

README.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,15 @@
11
# UrduPython
2-
> Ever had that random thought of programming in Urdu? Well, you're at the right place.
3-
4-
Programming Language in Urdu, based on Python - اردو میں کوڈ لکھیں
2+
Write simple Python in Urdu.
53

64
## Pre-requisites
75
- Python 3+
86
- Pip
97
- (optional but recommended) Virtual environment, like ```conda``` or ```virtualenv```
108

119
## How to Install
12-
### Pip
13-
If you've installed ```pip```, you can install UrduPython from [Test PyPI](https://test.pypi.org/project/urdupython/) using the following command:
14-
```
15-
pip install -i https://test.pypi.org/pypi/ --extra-index-url https://pypi.org/simple urdupython
16-
```
17-
18-
### Source
1910
1. Download this repo as a ZIP, or clone it via Git.
2011
2. Open the repo's folder in your Terminal.
21-
3. Run ```pip install -e .```
12+
3. Run ```pip install -r requirements.txt```
2213

2314
## How to Use
2415
1. Create a new file in a folder.
@@ -32,7 +23,7 @@ The mappings are as following:
3223
| ```elif``` | ورنہاگر|
3324
| ```else``` | ورنہ|
3425
| ```while``` | جبتک|
35-
| ```for``` | جو|
26+
| ```for``` | ہر|
3627
| ```in``` | اندر|
3728
| ```input``` | داخله|
3829
| ```break``` | توڑ|
@@ -78,25 +69,19 @@ would be
7869
```
7970
لکھو ("Hello world!")
8071
```
81-
There are many more sample codes available [here](./urdupython/samples)
8272

8373
3. Open a Terminal in the folder of this file.
84-
4. Run the code in one command: ```urdupython <NAME_OF_YOUR_FILE>```
74+
4. Run the code in one command: ```python urdu_python__ply.py <NAME_OF_YOUR_FILE>```
8575

86-
For more help, run ```urdupython --help```. For better understanding, do run the sample code files in the "samples" folder.
76+
For more help, run ```python urdu_python__ply.py --help```. For better understanding, do run the sample code files in the "samples" folder.
8777

8878
## Guide
8979
### For macOS
9080
Use TextEdit (default text editor) to write Urdu code. Activate right-to-left typing through Menu: Format->Text->Writing Direction->Right-to-Left
9181

92-
### For Windows
82+
### For Linux/Windows
9383
Download and install Notepad++. Right click and activate RTL (Right-to-left).
9484

95-
### For Linux
96-
Open gEdit (or any similar text-editing program), and start coding right away.
97-
9885
## Tests
9986
### Platform(s) tested on
100-
- macOS Big Sur 11.1
101-
- Termux (Android)
102-
- Ubuntu 20.04.3 LTS
87+
macOS Big Sur 11.1

build/lib/urdupython/__init__.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

build/lib/urdupython/filters/__init__.py

Whitespace-only changes.

build/lib/urdupython/filters/pycnnun.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

build/lib/urdupython/filters/unidecoder.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

build/lib/urdupython/languages/__init__.py

Whitespace-only changes.

build/lib/urdupython/languages/hi/__init__.py

Whitespace-only changes.

build/lib/urdupython/languages/hi/hi_native.lang.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

build/lib/urdupython/languages/ur/__init__.py

Whitespace-only changes.

build/lib/urdupython/languages/ur/ur_native.lang.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)