A library that add to python some js functions.
Project description
JsToPy
A library that add to python some js functions.
Installation
pip3 install JsToPy or pip3 install --user JsToPy
Why JsToPy?
JsToPy makes JavaScript code using in Python.
JS code:
var this = require("a-lib");
var nums = [];
nums.length = 10;
nums.fill("Foobar");
console.log(nums);
Using JsToPy:
import JsToPy
this = require("a-lib");
nums = [];
nums.number = 10;
nums.fill("js in python");
console.log(nums);
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
JsToPy-0.1.5.tar.gz
(2.2 kB
view details)
File details
Details for the file JsToPy-0.1.5.tar.gz.
File metadata
- Download URL: JsToPy-0.1.5.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34d8518cf3347442c7066d51f99c4dda9d0e012f3b2cc3b6f00fc25deb43096f
|
|
| MD5 |
17c0858c18751ecfaee982632432403e
|
|
| BLAKE2b-256 |
b02a48837e9c2259e0cdeef53b9a433c9239e0fbbcd4c3f44462aba2769428d2
|