PyJS
Ever wanted to use JS functions in Python? Now you can! PyJS provides you with a lot of functions from JavaScript. The library is still being worked on, and any contributions are welcome.
Installation
Use python -m pip install Python.js
Example
from PyJS import * # you may want to do this so you don't have to add PyJS. in front of every function.
string = "I wonder how many characters this string is..."
console.log(f"\"{string}\" is {string.length} characters long!")
And much more!
Documentation
Coming soon...!
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Python.js-1.2.0.tar.gz
(3.5 kB
view details)
File details
Details for the file Python.js-1.2.0.tar.gz.
File metadata
- Download URL: Python.js-1.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d69a5d71c14f6c0f584772e23644ee44f5eb77afc16d426a0f1488a184b8c2c
|
|
| MD5 |
883c5d7150dbb7eb99da1074a9f84380
|
|
| BLAKE2b-256 |
ffaebbb9f64bd80fc20371e9e6a08a837ce622b396ad7f86ae3e1f056ddd9910
|