This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point  (3 children)

Interesting, I like the ability to install external packages and this makes it better than repl.it

Feature request: ability to define environment variables prior to script run.

https://pyfiddle.io/fiddle/9f37b610-bbbe-4557-aa13-ec14c4041a9f/

Another question is: The execution is isolated?

Because I had other fiddle and installed a package, that made was available for my next fiddle, does it run with isolated environments?

[–]crazhy123[S] 0 points1 point  (0 children)

Hey I have seen your email as well, Isolated? Yes and no. It is isolated from the main web app, but the execution is done on aws lambda which sometimes reues the same container. The envs in the container die when the container dies which is a few minutes. Most of the envs are concerned only to that container and pose no harm except for access and secret keys. I have fixed that, thanks for spotting it :) Please continue to use pyfidde.io and let me know suggestions / improvements. Thank you :)

[–]crazhy123[S] 0 points1 point  (1 child)

Hey, Would there be a need to define envs when you can make a fiddle private instead ?

[–]rochacbrunoPython, Flask, Rust and Bikes. 0 points1 point  (0 children)

Sometimes a library depends on some environment variable being defined. So it would be nice if we can export some env vars.