Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Call LiveScript from Python

Project Description

python-livescript lets you call LiveScript code from Python


>>> from livescript import lseval
>>> print lseval('''
      require! 'fs'
      return fs.readdirSync('.')


$ pip install livescript

Returning values

Returning will pass back the output back to Python. Any datatype supported by JSON can be passed back. If you want to return the last statement, you can omit the return statement.

NPM modules

To use modules, simply install them with npm and ensure that the node_modules directory they are installed to is your current working directory. You can use them as usual with require.



Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(84.8 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Jan 4, 2015
(82.9 kB) Copy SHA256 Hash SHA256
Source Jan 4, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting