eval.py

0.4.0 • Public • Published

eval.py

This module is somewhat of a joke... just a simple way to execute arbitrary Python.

var py = require('eval.py')
  , script = py.createScript()

script
  .write('import json')
  .write('print(json.dumps({"foo": "bar"}))')
  .once('data', function(data) {
    console.info(JSON.parse(data).foo); // bar
  })
  .exec()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.4.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.4.0
    0
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i eval.py

Weekly Downloads

0

Version

0.4.0

License

none

Last publish

Collaborators

  • ritch