Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use it with python as backend #58

Open
odmivolsi opened this issue Aug 25, 2020 · 5 comments
Open

Can I use it with python as backend #58

odmivolsi opened this issue Aug 25, 2020 · 5 comments

Comments

@odmivolsi
Copy link

The project that I'm developing uses flask framework in python for back-end. Powder uses node. So is there any way i can use powder in my project

@jaruba
Copy link
Owner

jaruba commented Aug 25, 2020

You can download the binary version from the releases page, then run the Powder Web binary from your python app. If you listen to the output of the Powder Web app, it will print a Master Key. You can then use that Master Key (which changes every time you run Powder Web) with the Web API.

Here are also the command line arguments that it supports.

@cddharthsingh
Copy link

I didn't quite understand what did you actually mean by Binary File, Can you please provide a link and steps to integrate binary file with the python app. And is the process of setting up the server same for both node and python version?

@odmivolsi
Copy link
Author

@jaruba hey man

@odmivolsi
Copy link
Author

@jaruba im facing the same issue man. Please help me out here

@jaruba
Copy link
Owner

jaruba commented Sep 4, 2020

@cddharthsingh @odmivolsi

I guess I wasn't clear enough. You can't run Node.js in Python, obviously, so you will need to run Powder Web separately (or run it's executable from inside Python, your choice) then you can use the Web API to communicate with it.

By "Binary File", I mean the executable, you need to download the version of Powder Web for your OS (Win, Linux or OSX) from the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants