Giter Site home page Giter Site logo

lambda_function's Introduction

Mock Lambda Function

A user can perform following functionalities:

Moorse Code

A user can generate morse code of given string. Following is the payload of request body


 request = {
           "use" : "moorse_code" ,
           "parameters" : {"text":"GEEKS-FOR-GEEKS"} 
           }

Temp Converter

A user can convert temprature from Farenheit to Celsius and vice versa. Following is the payload of request body

From Farenheit to Celsius


request = {
            "use" : "temp_converter" ,
            "parameters" :{"to_temp" : "F",
            "from_temp": "C",
            "temp" : 45 } 
          }

From Celsius to Farenheit


request = { 
            "use" : "temp_converter" ,
            "parameters" :{"to_temp" : "C",
            "from_temp": "F",
            "temp" : 45 } 
          }

Password Strength Checker

A user can check strength of their passwords. Following is the payload of request body

request = {
           "use" : "validate_password",
           "parameters" : {"password" : "qwqertyuu"}
          }

Email Validation

A user can cvalidate email. Following is the payload of request body


request = {
           "use" : "validate_email" ,
           "parameters" : {"email" : "[email protected]" }
          }

String Capitalization

First Letter of word become capitalize. Following is the payload


request = {
            "use" : "capitalize_string" ,
            "parameters" :{"string" : zzzain} 
          }

How to run this repository?

Create Environment

First, create conda environment

conda create -n <name_of_environment> python == 3.10.12
conda activate <name_of_environment>

Clone Repository

git clone https://github.com/Drwaish/lambda_function.git
cd lambda_function
python3 driver.py

lambda_function's People

Contributors

drwaish avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.