Skip to main content

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


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)

Uploaded source

Built Distribution

js_array-0.0.1-py3-none-any.whl (2.2 kB view hashes)

Uploaded py3

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