This project is a demo of Coldbrew, a library that lets you run Python in JavaScript, that demonstrates how Coldbrew can be used to port a Python library to JavaScript.
In this particular project, Coldbrew is used to port the Star Wars API's Python Library, swapi-python, to JavaScript in just a few lines.
The only requirements for this project, like Coldbrew itself, are bash, git, Python and Docker.
Various, but not all, features of Coldbrew are demonstrated in this project. Here is a list of some of the features this demo project utilizes:
-
Building a Custom Coldbrew Python Environment —
-
Using a Third-Party Module —
-
Using Bridge Variables —
-
Automatic Style Tranformation (Snake Case to Camel Case) —
-
HTTP/HTTPS Access in Python —
-
Shrinking the Bundle Size to Save Space —
The main repository for this project can be found on GitLab. The GitHub repository is only a mirror. Pull requests are welcome on GitLab.
You can contact us at [email protected].
This repository is licensed under the license found here.
