Skip to main content

Turn variables into program arguments. Auto-generates a CLI interface and an API using lmrtfy.de.

Project description

LMRTFY - Badge_BSD3

Linter Documentation

Turn variables into program arguments. Auto-generates a CLI interface and an API using lmrt.fyi.

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, anywhere, just like a regular function.

Offical site

GitHub Repository Badge_BSD3 Badge_Stars

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 possile to use LMRTFY
  • Call deployed function like any other function provided by a local library

!!! warning LMRTFY is currently in an early phase. Things will likely change in future releases.

Quickstart - TL;DR

  1. install with pip install lmrtfy
  2. login/sign up with lmrtfy login
  3. annotate your code's inputs with variable and its outputs with result
  4. deploy the script: 5. lmrtfy deploy examples/deployment/calc_compound_interest.py --local
  5. Use the deployed function (from another terminal, or another computer!): 6. open examples/calling_cloud_functions/call_function.py 7. run python examples/call_deployed_function.py to call the deployed function and get the results.

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!

License

BSD 3-Clause License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lmrtfy-0.0.8.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

lmrtfy-0.0.8-py3-none-any.whl (20.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page