Skip to main content

Portable Lua kernel for Jupyter

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ilua-0.2.1.tar.gz (55.9 kB view details)

Uploaded Source

Built Distribution

ilua-0.2.1-py2.py3-none-any.whl (70.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ilua-0.2.1.tar.gz.

File metadata

  • Download URL: ilua-0.2.1.tar.gz
  • Upload date:
  • Size: 55.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ilua-0.2.1.tar.gz
Algorithm Hash digest
SHA256 63157ac42ec64b9357c8c3d164df58209c5a9a03f67adc2b6540198e4e4f8ed5
MD5 a831bc81f2329d42d4dad691ff327a13
BLAKE2b-256 8aa98e4978db963c4be2928b16ea053277bbe0b8e44233caf3ff18d382155cb8

See more details on using hashes here.

File details

Details for the file ilua-0.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ilua-0.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 70.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for ilua-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ac0ebdf2d57426c2fe8f5d82f85e903f980c1b00141b3c6c5b0504d2618beb90
MD5 3bb954936cbe91305ac0b6118e64809c
BLAKE2b-256 f3597e903126dda656f86520088c5d95e2724682d533bd8a1a496bbbcf90bde2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page