Skip to main content

OmiLang Logo

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)

Source distribution for omilang 1.5.1
File Size Uploaded
omilang-1.5.1.tar.gz 90.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omilang 1.5.1
File Interpreter ABI Platform
omilang-1.5.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.5.1 This release

2 release files

1.5.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page