Clean Architecture in Python

Clean Architecture in Python

Gain insights into clean architecture using Python. Delve into layered systems, design efficient applications, and integrate web components, error handling, and databases with test-driven development practices.

Beginner

50 Lessons

6h 35min

Certificate of Completion

Gain insights into clean architecture using Python. Delve into layered systems, design efficient applications, and integrate web components, error handling, and databases with test-driven development practices.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

25 Playgrounds
6 Quizzes

This course includes

25 Playgrounds
6 Quizzes

Course Overview

Clean architecture is a software design methodology that separates the processes of an application into discrete steps instead of presenting them as “spaghetti code.” With the versatility of Python, software engineers can build performant, modular applications quickly using the Flask framework. This course will help you build better applications using the principles of clean architecture. You’ll start with an introduction to data flow in clean systems and learn about the advantages of layered architectures...Show More

TAKEAWAY SKILLS

Python

Programming Language

Clean Architecture

What You'll Learn

Learn the importance and principles of clean architecture.

Design and build applications using the principle of layering functional components.

Understand external connectivity using the Flask Python framework.

Learn to integrate both structured and unstructured data with Postgres and MongoDB.

What You'll Learn

Learn the importance and principles of clean architecture.

Show more

Course Content

1.

Get Started

Get familiar with clean architecture principles and their application in Python.
2.

A Day in the Life of a Clean System

Solve challenges with data flow, loose coupling, and testability in clean architecture.
3.

Components of Clean Architecture

Break apart the components of clean architecture to enhance software design, hierarchy, and communication.
4.

A Simple Coding Example

Find out about implementing clean architecture in Python with a room rental project.
5.

Add a Web Application

Take a closer look at building and testing HTTP endpoints in Flask for web applications.
6.

Error Management

9 Lessons

Implement robust error management, request validation, structured responses, and filtering in Clean Architecture.
7.

Integration with a Real External System Postgres

9 Lessons

Practice using PostgreSQL for repositories, enhancing decoupling, integration tests, and database orchestration.
8.

Integration with a Real External System MongoDB

4 Lessons

Learn how to use MongoDB integration with Docker, configuration, and testing in clean architecture.
9.

Run a Production-ready System

5 Lessons

Walk through setting up a production-ready web system with PostgreSQL, Docker, and Nginx.
10.

Appendix

1 Lesson

Go hands-on with setting up a Flask application, including configuration and resource links.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Evan Dunbar

ML Engineer

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath