Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python - Bottle Web Framework
Rating: 4.2 out of 5(137 ratings)
18,344 students

Python - Bottle Web Framework

A micro web framework to rule them all.
Last updated 9/2018
English

What you'll learn

  • They will fully understand how to write webapps in the bottle framework in python.

Course content

1 section13 lectures2h 3m total length
  • Part 18:56

    Explore the Balto framework for web apps, build a hello world app with routes, views, and templates, and learn to pass data to templates.

  • Part 26:39

    In part 2 of the Bottle web framework course, learn to enforce authorization in web requests and customize responses for access denial and not found cases.

  • Part 37:46

    Explore using decorators to handle get and post requests in a Bottle web framework, return 200 responses, and compare different approaches to interacting with a web page.

  • Part 45:19

    Create a wiki page route that reads request data, handles page and section specifics, and uses default values when queries are missing, showing how inputs affect output.

  • Part 53:06

    showing how changing the configuration automatically loads the class to pick up the changes in the Bottle web framework.

  • Part 625:00

    Create a Bottle web app to query an inventory database of devices, filter by criteria, and render templates to display results.

  • Part 74:49

    Explore how to expose files and force the browser to download a chosen file from the current directory by matching filenames.

  • Part 819:29

    implement a file upload flow in a Bottle web app with an upload form and extension checks. list uploads, load files from the upload folder, and view them in the browser.

  • Part 94:14

    Learn to implement a cookie-based page view counter in the Python Bottle framework, using a count route that reads cookies, increments, and displays the per-user page load.

  • Part 105:24

    Explore flexible, customizable actions for routes using decorators and specifications, handle undefined routes, and express actions through a form or a spreadsheet.

  • Part 1118:05

    Explore how to implement login-based access and session handling in a Bottle web app, including authentication flows and response logic. Understand how cookies and sequential steps control user interaction.

  • Part 1210:54

    Explore how cookies affect authentication and access control, revealing risks of weak keys and signed cookies. Learn to verify integrity with secrets and hashing.

  • Part 133:35

    Learn the proper way to run a bottle web framework app in production, using a base setup to serve requests efficiently and improve performance.

Requirements

  • Python
  • Bottle

Description

Welcome,

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.

  • Routing: Requests to function-call mapping with support for clean and dynamic URLs.

  • Templates: Fast and pythonic built-in template engine and support for mako, jinja2 and cheetah templates.

  • Utilities: Convenient access to form data, file uploads, cookies, headers and other HTTP-related metadata.

  • Server: Built-in HTTP development server and support for paste, bjoern, gae, cherrypy or any other WSGI capable HTTP server.

Bottle is a versatile web framework which is used by small and big companies to create API-s and other web services that provide functionality to their infrastructure. In this course we will go through the whole documentation and I will show you what can and cannot be done with the Bottle Web Framework. Starting from the fundations, we will cover basic building blocks, then build on those for more advanced control flow, and data structures. Finally by the end of this course you will be able to use the framework to build blazing fast API-s and web applications which can serve you well and easy to maintain.

Happy Coding!

Cheers,

Daniel

Who this course is for:

  • anyone interessted in learning advanced techniques in python