The official documentation can be found here: Documenation¶
LMRTFY stands for Let Me Run That For You.
✅ Create functions that run in the cloud, on your servers or even on your laptop.
✅ Call them from code that runs somewhere else, just like a regular function.
✅ Share functions with friends and colleagues, track their usage and monetize their usage.
✅ Works with Python, but more languages will be added in the future.
Introduction¶
LMRTFY is a tool to share scripts via the cloud. Your scripts can run on your laptop, on your server or in the cloud. You and everybody you shared your deployed script with can call the function straight from their own code using the lmrtfy package
We strive to provide a frictionless developer experience:
- Change as little code as possible to use LMRTFY
- Call deployed function like any other function provided by a local library
Quickstart - TL;DR¶
- install with
pip install lmrtfy - login/sign up with
lmrtfy login - annotate your code's inputs with
variableand its outputs withresult - deploy the script:
lmrtfy deploy examples/deployment/calc_compound_interest.py --local
- Use the deployed function (from another terminal, or another computer!):
- open
examples/calling_cloud_functions/call_function.py - run
python examples/call_deployed_function.pyto call the deployed function and get the results.
- open
As you can see in step 5, it's as simple as calling a regular function from any other library you have installed locally.
Examples¶
The examples are provided in the examples/ directory. They are work in progress. As lmrtfy
matures, more and more examples will be added.
If you miss an example for a specific use case, please let us know, and we will add one!