A user can perform following functionalities:
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"}
}
A user can convert temprature from Farenheit to Celsius and vice versa. Following is the payload of request body
request = {
"use" : "temp_converter" ,
"parameters" :{"to_temp" : "F",
"from_temp": "C",
"temp" : 45 }
}
request = {
"use" : "temp_converter" ,
"parameters" :{"to_temp" : "C",
"from_temp": "F",
"temp" : 45 }
}
A user can check strength of their passwords. Following is the payload of request body
request = {
"use" : "validate_password",
"parameters" : {"password" : "qwqertyuu"}
}
A user can cvalidate email. Following is the payload of request body
request = {
"use" : "validate_email" ,
"parameters" : {"email" : "[email protected]" }
}
First Letter of word become capitalize. Following is the payload
request = {
"use" : "capitalize_string" ,
"parameters" :{"string" : zzzain}
}
First, create conda environment
conda create -n <name_of_environment> python == 3.10.12
conda activate <name_of_environment>
git clone https://github.com/Drwaish/lambda_function.git
cd lambda_function
python3 driver.py