Bottle Python Framework
Bottle Python Framework
FRAMEWORK
AHMAD ADIB RIDHWAN BIN ALHISHAM
AHMAD AQIL BIN AZMI
TABLE OF CONTENTS
01 03
Introduction Accessibility
02 04
Features Conclusion
Bottle is a lightweight and simple Python web
INTRODUCTION framework designed for building web applications.
It is known for its minimalist design and ease of
use. Bottle is often considered a micro-framework,
as it has a small codebase and a limited set of
features compared to larger frameworks like
Django or Flask. However, its simplicity and
compactness make it ideal for small to medium-
sized projects where a full-fledged framework
might be overkill.
Situated in single file, Install through global Python User’s Guide available for
50-60kb, not overpacked index, can run with no config basic Python and web
and has essential modules in Python 2.5+ & Python 3 development knowledge
THAT’S ALL!!
How To Create Application
1 2 3
Create Bottle_App folder Open Terminal app, type Add coding to text
in home folder $ nano ~/Bottle_App/hello.py application as following
How To Create Application
import bottle
Coding: from bottle import route, run, Response
@route(‘/’)
def index():
return Response(“<h1>Hello World</h1> <b1>Adib
& Aqil are Python Programmers,.. We can use Bottle
Python Framework now!”)
if __name__ == ‘__main__’
run(host=’0.0.0.0’, port=8000, debug=True,
reloader=True)
How To Create Application
4 5 6
Save, close the project write $cd Bottle_App, then Open browser and type in
and open Terminal App write $python hello.py http://0.0.0.0:8080
The Result
DISCUSSION
Here are some points about advantages and disadvantages of using Bottle Python
Framework
CONCLUSION
In summary, Bottle is a lightweight, efficient,
and easy-to-use Python framework for
building web applications. Its simplicity,
versatility, and performance make it an
attractive choice for developers looking to
create small to medium-sized web projects.
Whether you are a beginner or an
experienced developer, Bottle offers a solid
foundation for building robust and scalable
web applications.
REFERENCES
• https://www.bogotobogo.com/python/Bottle/Python_Bottle_Framework.php
• https://bottlepy.org/docs/dev/
• https://www.geeksforgeeks.org/introduction-to-bottle-web-framework-python/
• https://realpython.com/developing-with-bottle-part-1/
THANKS!
ありがとう
CREDITS: This presentation template was created by
ございます
Slidesgo, incluiding icons by Flaticon, and
infographics & images by Freepik.