Omi Programming Language
An interpreted programming language built with Python
Fork of GlowLang
Documentation · Discussions · VS Code Extension
Quick Start
Requires Python >= 3.11
Install from PyPI
pip install omilang
Install from source
git clone https://github.com/OmiLang/Omi.git
cd Omi
pip install -e .
Launch interactive console:
omi
OmiShell >>>
Run a file:
OmiShell >>> run example.omi
or
omi run example.omi
Hello World
print("Hello, World!")
println("Hello, World!")
output("Hello,", "World!")
Example
func<int> factorial(n<int>):
if n <= 1: return 1
return n * factorial(n - 1)
end
// Factorial from 1 to 6
for i = 1 to 6:
println(factorial(i))
end
@import "omi:system" as sys
@set sys.username as user
func<void> greet(name<string>):
println("Hello, " + name + "!")
return
end
var<string> name = user
greet(name)
Metadata
Release files for omilang 1.5.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 | Provenance | Actions |
|---|---|---|---|---|
| omilang-1.5.1.tar.gz | 90.1 kB | Without provenance | Details for omilang-1.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| omilang-1.5.1-py3-none-any.whl | Python 3 | none | any | Details for omilang-1.5.1-py3-none-any.whl |
Total release size: 216.7 kB
Release files / omilang-1.5.1.tar.gz
| Download URL | omilang-1.5.1.tar.gz |
|---|---|
| Size | 90.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca1d8c1223e8060e62a49dcae644631fd8b4540fa16750be59ef228ce7402cb2
|
|
BLAKE2b-256 checksum How to use checksums |
36cb48723667c5754d990427089bcb4f16244bb9ba1d4bd5c02d0cfd38681fc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / omilang-1.5.1-py3-none-any.whl
| Download URL | omilang-1.5.1-py3-none-any.whl |
|---|---|
| Size | 126.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f130c6e565dd003bb22b9b5479d761e868a06721dc9e8513a566406bd6b461d1
|
|
BLAKE2b-256 checksum How to use checksums |
2770dff706dceb385168888c27da60445ba223e02eb01ea9bba73f470caa51b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Security for omilang 1.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.