This package lets you use Javascript like objects in python.
Project description
Javascript.py
This package lets you use javascript like objects in python.
Installation
Stable version:
pip install javascript.py
Working version:
pip install git+https://github.com/CodeWithSwastik/javascript-py
Example Usage
from javascript import console, Array
array = Array([1,2,3])
console.log(array.find(lambda x: x > 2))
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
javascript.py-1.0.3.tar.gz
(1.6 kB
view details)
File details
Details for the file javascript.py-1.0.3.tar.gz
.
File metadata
- Download URL: javascript.py-1.0.3.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.10.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 192d5efd48c8ce8fcd28b04c87c203758a409f563412271d9634f83b3c62b567 |
|
MD5 | c264f61545c9b12d50c31130d9024c00 |
|
BLAKE2b-256 | daed39de8eeb3343c1d77714009c396fe4c3f946264321cf12befac6d1baedfe |