Skip to main content

ILua

ILua is a feature-packed, portable console and Jupyter kernel for the Lua language.

Features

  • Lua-implementation agnostic
    • Should work with any lua interpreter out of the box
    • Works with Lua5.1-5.3, LuaJIT and even some exotic implementations like GopherLua
  • Code completions
  • Code inspection
    • Retreive function documentation
    • Can even retreive the function source if available (invoked with ??)
  • Pretty-printed results
  • Access last result with _
  • Cross-session execution history
  • Works on Linux and Windows
  • No native dependencies for Lua
  • Python's pip based installation

Project Status

ILua is under heavy development, but I would still really appreciate if you could open an issue about what bothers you, or even send a pull request!

Installation

pip install ilua

# From source
git clone https://github.com/guysv/ilua.git --recurse-submodules
cd ilua
pip install -e . --user
python setup.py install_data -d ~/.local # pip install -e . forgets data_files...

A Bit on ILua's Architecture

As opposed to existing Lua Jupyter kernels which implement the Jupyter protocol in Lua (and depend on lzmq which is a native module), ILua implements the communication with Jupyter in Python, which in turn talks with Lua via named-pipe IPC. This frees ILua from being bounded to a single Lua implementation ABI.

Metadata

Release files for ilua 0.2.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 ilua 0.2.1
File Size Uploaded
ilua-0.2.1.tar.gz 55.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ilua 0.2.1
File Interpreter ABI Platform
ilua-0.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 126.5 kB

Release files / ilua-0.2.1.tar.gz

Download URL ilua-0.2.1.tar.gz
Size 55.9 kB
Tags Source
SHA-256 checksum
How to use checksums
63157ac42ec64b9357c8c3d164df58209c5a9a03f67adc2b6540198e4e4f8ed5
BLAKE2b-256 checksum
How to use checksums
8aa98e4978db963c4be2928b16ea053277bbe0b8e44233caf3ff18d382155cb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release files / ilua-0.2.1-py2.py3-none-any.whl

Download URL ilua-0.2.1-py2.py3-none-any.whl
Size 70.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ac0ebdf2d57426c2fe8f5d82f85e903f980c1b00141b3c6c5b0504d2618beb90
BLAKE2b-256 checksum
How to use checksums
f3597e903126dda656f86520088c5d95e2724682d533bd8a1a496bbbcf90bde2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.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