A basic Python module that brings the attributes and methods of a Javascript array to Python.
Project description
js-array
Basic Python module that brings the attributes and methods of a Javascript array to Python.
Usage
Example usage:
from jsarray import JSArray
array = JSArray(range(10))
(
array
.map(lambda item: item**2)
.filter(lambda item: item % 2 == 0)
.for_each(print)
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
js-array-0.0.1.tar.gz
(2.1 kB
view hashes)