https://github.com/nemika-haj/pyjs
A python library for people who prefer JavaScript's way of handling things
https://github.com/nemika-haj/pyjs
javascript js jspy py pyjs python pythonjs
Last synced: 9 months ago
JSON representation
A python library for people who prefer JavaScript's way of handling things
- Host: GitHub
- URL: https://github.com/nemika-haj/pyjs
- Owner: Nemika-Haj
- License: mit
- Created: 2021-02-22T12:52:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-16T08:40:54.000Z (almost 5 years ago)
- Last Synced: 2025-03-23T19:51:31.027Z (10 months ago)
- Topics: javascript, js, jspy, py, pyjs, python, pythonjs
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **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**
```py
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...!