my-cloud-devops-consulting 1.1.202506162320__py3-none-any.whl → 1.1.202506172323__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
app.py CHANGED
@@ -150,15 +150,27 @@ def about():
150
150
  if request.method == 'POST':
151
151
  mood = request.form['mood'].lower()
152
152
  if mood == "excited":
153
- message = "We don’t just build infrastructure — we empower innovation. 💡💕"
153
+ message = " Happy you are Excited We don’t just build infrastructure — we empower innovation. 💡💕"
154
154
  elif mood == "curious":
155
- message = "Explore what makes our infrastructure so powerful! 🔍"
155
+ message = "Hmmmm curiousity is sometime good Explore what makes our infrastructure so powerful! 🔍"
156
156
  else:
157
157
  message = "We’re building something meaningful every day. 🌱"
158
158
 
159
159
  return render_template('about.html', message=message)
160
160
 
161
161
 
162
+ @app.route('/assessment', methods=['GET', 'POST'])
163
+ def assessment():
164
+ result = None
165
+ if request.method == 'POST':
166
+ name = request.form['client_name']
167
+ score = int(request.form['score'])
168
+ if score >= 70:
169
+ result = f"{name} is Cloud Ready ✅"
170
+ else:
171
+ result = f"{name} needs more preparation ❌"
172
+ return render_template('assessment.html', result=result)
173
+
162
174
 
163
175
  if __name__ == '__main__':
164
176
  app.run(debug=True, host='0.0.0.0', port=50)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: my-cloud-devops-consulting
3
- Version: 1.1.202506162320
3
+ Version: 1.1.202506172323
4
4
  Summary: This is my consulting website for Cloud & DevOps services.
5
5
  Home-page: https://github.com/Betrand1999/project-root
6
6
  Author: Betrand Mutagha
@@ -0,0 +1,5 @@
1
+ app.py,sha256=Es_ewSfuHN5ociXgqvyaOstkdQyE71_Urcu6vNajFRY,6438
2
+ my_cloud_devops_consulting-1.1.202506172323.dist-info/METADATA,sha256=jLdXvP2YwZHyfT6hjoTt3nO87S9nDTXynAT_V8KJzQ8,3256
3
+ my_cloud_devops_consulting-1.1.202506172323.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
+ my_cloud_devops_consulting-1.1.202506172323.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
5
+ my_cloud_devops_consulting-1.1.202506172323.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- app.py,sha256=Lnd7ydFcmE1V0nzyTCNVSPcJy9Q0DB2DqTvMk7PiSnM,5967
2
- my_cloud_devops_consulting-1.1.202506162320.dist-info/METADATA,sha256=yL8p_51yiwehsrv8xxYpWkAdeGfAih26ljwiSmuxULg,3256
3
- my_cloud_devops_consulting-1.1.202506162320.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
4
- my_cloud_devops_consulting-1.1.202506162320.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
5
- my_cloud_devops_consulting-1.1.202506162320.dist-info/RECORD,,