Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.83 KB

1_python_frameworks.md

File metadata and controls

55 lines (33 loc) · 1.83 KB

Intro to Python Web Development

Reading

Watch

Learning Outcomes

  • What is web development with Python?
  • What Python tools and frameworks are commonly used for web development?
  • How to set up a Python development environment
  • How to set up a basic Flask web application
  • Handling web requests with server routes

Python Development

  • python versions
  • pip
  • environment versioning

Python web frameworks

Flask

Flask is a lightweight web framework optimal for building small, simple web applications or for prototyping ideas quickly. Flask supports core web server functionality such as routing & request handling, templating, static files, and database integration.

Django

Django is a full-featured web framework designed to help developers build large, complex data-drive web applications as quickly as possible. It includes a powerful ORM (Object-Relational Mapper) for working with databases, a template engine for rendering HTML, and support for web sockets.

Django has a large community of 3rd-party tools to support caching, request handling, background operations, authentication, and other essential functionality.

Async Frameworks

A number of asynchronous Python-based web framework can handle multiple requests concurrently, similar to a Node.js application. Some widely used async frameworks are:

Flask Intro

Installation

App Structure

Routes

Templates