Logo
flag

Rock Solid Python with Python Typing Course

Logo

Please rate the course

0.0
Source:
Category:
Language:
English
Duration:
04:27:21
Number of lessons:
73
Update date:
25/04/2024
Rating:
0.0

Course short description

When Python was originally invented way back in 1989, it was a truly dynamic and typeless programming language. But that all changed in Python 3.5 when type "hints" were added to the language. Over time, amazing frameworks took that idea and ran with it. They build powerful and type safe(er) frameworks. Some of these include Pydantic, FastAPI, Beanie, SQLModel, and many many more. In this course, you'll learn the ins-and-outs of Python typing in the language, explore some popular frameworks using types, and get some excellent advice and guidance for using types in your applications and libraries.


In this course, you will:

  1. Compare popular static languages with Python (such as Swift, C#, TypeScript, and others)
  2. See a exact clone of a dynamic Python codebase along side the typed version
  3. Learn how and when to create typed variables
  4. Understand Python's strict nullability in its type system
  5. Specify constant (unchangeable) variables and values
  6. Reduce SQL injection attacks with LiteralString
  7. Uses typing with Python functions and methods
  8. Use typing with classes and class variables
  9. Work with multiple numerical types with Python's numerical type ladder
  10. Use Pydantic to model and parse complex data in a type strict manner
  11. Create an API with FastAPI that exchanges data with type integrity
  12. Query databases with Pydantic using the Beanie ODM
  13. Create CLI apps using type information to define the CLI interface
  14. Leverage mypy for verifying the integrity of your entire codebase in CI/CD
  15. Add runtime type safety to your application
  16. Marry duck typing and static typing with Python's new Protocol construct
  17. Learn design patterns and guidance for using types in Python code

Write your comment

Logo