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 details)
Built Distribution
File details
Details for the file js-array-0.0.1.tar.gz
.
File metadata
- Download URL: js-array-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3118155afe0125e76b47377f21e87a768576dda55f43d9047c7f5b9973e730 |
|
MD5 | b04e15c7fc10e9c2629cfe27a34df806 |
|
BLAKE2b-256 | 52d1b677a4c550fe6ce5c776ff6d9ab820dd9502babe82cd989ecf9b6795e344 |
File details
Details for the file js_array-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: js_array-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff514515dbafb01a2cb896e3133804a1539e6cf18ee9f97e6dde2300b6c99c16 |
|
MD5 | 91ab93e745671372b390316eb31fb470 |
|
BLAKE2b-256 | 174b68211f0cab849ccbd16bd6eef59af5055820394262a67d1a2afcdf3e064c |