🪷 Sathi Language — Nepali-Inspired Programming Language 🇳🇵
Sathi Language is a Nepali-inspired programming language that blends creativity, culture, and code — written in Python and designed to make programming feel natural, human, and expressive.
🚀 Installation
Install Sathi Language from PyPI:
pip install sathi-lang
To check if it’s installed correctly:
sathi --help
🧠 Quick Example
Create a file called hello.sathi:
sathi yo ho naam = "Sathi"
sathi bhana naya "Namaste, " + naam
sathi dohoryau 3 choti
sathi bhana sangai "Hello "
sathi bhana naya "World!"
sathi sakkyo
Then run it:
sathi hello.sathi
Output:
Namaste, Sathi
Hello World!
Hello World!
Hello World!
✨ Core Syntax
| Purpose | Syntax | Description |
|---|---|---|
| Declare variable | sathi yo ho x = 10 |
Assigns a value |
sathi bhana "text" |
Prints text | |
| Print (newline) | sathi bhana naya "text" |
Prints with newline |
| Print (inline) | sathi bhana sangai "text" |
Prints on same line |
| Condition | sathi bhane x > 5 / sathi natra |
If / else |
| Loop | sathi dohoryau 3 choti |
Repeat 3 times |
| Function | sathi kam gar greet(name) |
Define a function |
| Return | sathi farki x + y |
Return a value |
| End block | sathi sakkyo |
Close if, loop, or function |
| Math | joda(a,b), ghatau(a,b), guna(a,b), bhaag(a,b) |
add/subtract/multiply/divide |
| Wait | sathi parkha 2 |
Wait 2 seconds |
| Comment | # comment |
Inline comments |
🧮 Example with Function
sathi kam gar add(a,b)
sathi farki joda(a,b)
sathi sakkyo
sathi yo ho result = sathi gara add(5,10)
sathi bhana "Sum: " + str(result)
Output:
Sum: 15
🪄 About Sathi
“Sathi” (साथी) means friend in Nepali — this language is built to make coding feel friendly and approachable, like having a companion that speaks your language.
- Built with ❤️ by Nirajan Ghimire
- Website: https://www.nirajang.com.np/sathi
- GitHub: https://github.com/nirajang20/Sathi-Language
- LinkedIn: https://www.linkedin.com/in/nirajang/
📦 Version History
| Version | Highlights |
|---|---|
| 1.0.0 | Initial release |
| 1.1.0 | Minor syntax cleanup |
| 1.2.1 (Current) | New syntax keywords (naya, sangai, dohoryau, sakkyo, farki), updated interpreter, and improved expression support |
🧩 License
MIT License
© 2025 Nirajan Ghimire
“Code with culture — build with Sathi.” 🌸
Metadata
Release files for sathi-lang 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sathi_lang-1.2.1.tar.gz | 5.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sathi_lang-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.3 kB
Release files / sathi_lang-1.2.1.tar.gz
| Download URL | sathi_lang-1.2.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98efcd8ce994bca391c6d10450acd1976b49a73ef74019b4e3b32cd6143620fb
|
|
BLAKE2b-256 checksum How to use checksums |
96aadcf251ba89eb332f9f4714e632fa59d7dd03c636518174687348059ea583
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Release files / sathi_lang-1.2.1-py3-none-any.whl
| Download URL | sathi_lang-1.2.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c8e9848a45f71f24aa7683fa2a136ea7af4d1cfe3a4ff4df6b2d2117395a696
|
|
BLAKE2b-256 checksum How to use checksums |
203d81e512a704be73486b3771d5d52d4a7362358cb17cf458c2dcf8528f160e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|