pyscript
1.0.6 • Public • Published Pyscript
A JavaScript library that includes functions that act as close as possible to the Python counterparts
Usage
Downloading the code:
Import everything as a name you picked (preferably Pyscript
)
import * as Pyscript from "./path/to/pyscript";
console.log(Pyscript);
or import specific functions
import { range } from "./path/to/pyscript";
console.log(range(10, 20, 2));
Using the package:
Install using npm:
npm install pyscript
Install using yarn:
yarn add pyscript
Usage:
I have no idea why it's like this. I'm a noob.
import { Pyscript } from "pyscript";
console.log(Pyscript);
Contributing
Shoot us a pull request and we will review changes right away
If something doesn't work as intended for you Python programmers feel free to open an issue.
License
This bad crappy code is licensed under the MIT license thingy
Disclaimer
This code is crappy and some things in Python just can't be implemented into JavaScript :'(
Package Sidebar
Install
Weekly Downloads