3 ms·
In python there is lithops, which provides nice Executor primitives that can run on a wide range of cloud services (AWS lambda, GCF etc.) https://github.com/li
by tomnicholas1 2y ago
In python there is lithops, which provides nice Executor primitives that can run on a wide range of cloud services (AWS lambda, GCF etc.)
https://github.com/lithops-cloud/lithops https://github.com/lithops-cloud/lithops
- nilamo 2y agoOmg the Python code examples are center aligned. But it looks sweet
- pjc50 2y agoThat's extremely funny in the one language that cares about alignment. (& the argument that I keep using against significant whitespace, which is that all sorts of other tools assume it can mess around with it with no downsides)
- Izkata 2y agoPeople should probably click before downvoting... this is what it looks like in the README: from lithops import FunctionExecutor def hello(name): return f'Hello {name}!' with FunctionExecutor() as fexec: f = fexec.call_async(hello, 'World') print(f.result()) If you copy/paste it the indentation is correct, it's just the display formatting for some reason.