Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.



Project details

Release history Release notifications

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
livescript-1.0.0-py2.py3-none-any.whl (84.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jan 4, 2015
livescript-1.0.0.tar.gz (82.9 kB) Copy SHA256 hash SHA256 Source None Jan 4, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page