Skip to content

Porting the Star Wars API Python Library to JavaScript with Coldbrew

License

Notifications You must be signed in to change notification settings

plasticityai/coldbrew-star-wars-api-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bb8

Coldbrew Demo: Star Wars API

pipeline status

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.

Demo

How to Build

How to Use

Various Features of Coldbrew Demonstrated

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:

  1. Building a Custom Coldbrew Python Environment

  2. Using a Third-Party Module

  3. Using Bridge Variables

  4. Automatic Style Tranformation (Snake Case to Camel Case)

  5. HTTP/HTTPS Access in Python

  6. Shrinking the Bundle Size to Save Space

Contributing

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

LICENSE and Attribution

This repository is licensed under the license found here.

Icon made by Those Icons from www.flaticon.com is licensed by CC 3.0 BY

About

Porting the Star Wars API Python Library to JavaScript with Coldbrew

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages