my-cloud-devops-consulting 1.1.202506150009__py3-none-any.whl → 1.1.202506152242__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 +7 -11
- {my_cloud_devops_consulting-1.1.202506150009.dist-info → my_cloud_devops_consulting-1.1.202506152242.dist-info}/METADATA +1 -1
- my_cloud_devops_consulting-1.1.202506152242.dist-info/RECORD +5 -0
- my_cloud_devops_consulting-1.1.202506150009.dist-info/RECORD +0 -5
- {my_cloud_devops_consulting-1.1.202506150009.dist-info → my_cloud_devops_consulting-1.1.202506152242.dist-info}/WHEEL +0 -0
- {my_cloud_devops_consulting-1.1.202506150009.dist-info → my_cloud_devops_consulting-1.1.202506152242.dist-info}/top_level.txt +0 -0
app.py
CHANGED
@@ -146,21 +146,17 @@ def logout():
|
|
146
146
|
# My added route
|
147
147
|
@app.route('/about')
|
148
148
|
def about():
|
149
|
-
|
149
|
+
mood = "excited"
|
150
|
+
if mood == "excited":
|
151
|
+
message = "We don’t just build infrastructure — we empower innovation. 💡💕"
|
152
|
+
elif mood == "curious":
|
153
|
+
message = "Explore what makes our infrastructure so powerful! 🔍"
|
154
|
+
else:
|
155
|
+
message = "We’re building something meaningful every day. 🌱"
|
150
156
|
return render_template('about.html', message=message)
|
151
157
|
|
152
|
-
@app.route('/test')
|
153
|
-
def test():
|
154
|
-
# return "Test route is working!" # This shows in the browser
|
155
|
-
return redirect(url_for('about', custom_message="Hello from /test!"))
|
156
158
|
|
157
159
|
|
158
|
-
@app.route('/new')
|
159
|
-
def new():
|
160
|
-
fisrt_name = "betrand".title()
|
161
|
-
last_name = "mutagha".upper()
|
162
|
-
return f"{fisrt_name} {last_name}"
|
163
|
-
|
164
160
|
|
165
161
|
if __name__ == '__main__':
|
166
162
|
app.run(debug=True, host='0.0.0.0', port=50)
|
@@ -0,0 +1,5 @@
|
|
1
|
+
app.py,sha256=yHZBP7By1FHUSfoMlR0KFUMQwyXtP0Vt6WxEdWUYCKE,5845
|
2
|
+
my_cloud_devops_consulting-1.1.202506152242.dist-info/METADATA,sha256=jjLtN1RTdMkDUiJQB4I3uFy1Ch0vf9bCBG5vEPePxAI,3256
|
3
|
+
my_cloud_devops_consulting-1.1.202506152242.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
my_cloud_devops_consulting-1.1.202506152242.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
+
my_cloud_devops_consulting-1.1.202506152242.dist-info/RECORD,,
|
@@ -1,5 +0,0 @@
|
|
1
|
-
app.py,sha256=p9Xr1QdVOXUAsDaSHPuRfMdeyog4nSqzLKx-U1BKzms,5917
|
2
|
-
my_cloud_devops_consulting-1.1.202506150009.dist-info/METADATA,sha256=3a4LOcoTYhVCk2H0X-TEus8BhSvi-a-ycAGAmNRR3Es,3256
|
3
|
-
my_cloud_devops_consulting-1.1.202506150009.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
my_cloud_devops_consulting-1.1.202506150009.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
-
my_cloud_devops_consulting-1.1.202506150009.dist-info/RECORD,,
|
File without changes
|