Skip to main content

A python library for people who prefer JavaScript's way of handling things.

Project description

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...!

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

Python.js-1.2.0.tar.gz (3.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page