{"id":28024414,"url":"https://github.com/talkpython/rock-solid-python-with-type-hints-course","last_synced_at":"2025-05-11T02:10:19.695Z","repository":{"id":226291275,"uuid":"674380948","full_name":"talkpython/rock-solid-python-with-type-hints-course","owner":"talkpython","description":"Rock Solid Python with Type Hints Course Student Materials","archived":false,"fork":false,"pushed_at":"2024-07-08T19:51:00.000Z","size":443,"stargazers_count":15,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-09T00:40:43.320Z","etag":null,"topics":["beanie","best-practices","course","design-patterns","fastapi","pydantic","python","static-typing","tutorial","type-hints"],"latest_commit_sha":null,"homepage":"https://training.talkpython.fm/courses/python-type-hint-course-with-hands-on-examples","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/talkpython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-08-03T20:05:37.000Z","updated_at":"2024-07-08T19:51:03.000Z","dependencies_parsed_at":"2024-03-08T13:01:24.284Z","dependency_job_id":null,"html_url":"https://github.com/talkpython/rock-solid-python-with-type-hints-course","commit_stats":null,"previous_names":["talkpython/rock-solid-python-with-type-hints-course"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talkpython%2Frock-solid-python-with-type-hints-course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talkpython%2Frock-solid-python-with-type-hints-course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talkpython%2Frock-solid-python-with-type-hints-course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/talkpython%2Frock-solid-python-with-type-hints-course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/talkpython","download_url":"https://codeload.github.com/talkpython/rock-solid-python-with-type-hints-course/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253505663,"owners_count":21918942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beanie","best-practices","course","design-patterns","fastapi","pydantic","python","static-typing","tutorial","type-hints"],"created_at":"2025-05-11T02:10:19.240Z","updated_at":"2025-05-11T02:10:19.681Z","avatar_url":"https://github.com/talkpython.png","language":"Python","readme":"# Rock Solid Python with Type Hints Course\n[![](course_image/type-hints.webp)](https://training.talkpython.fm/courses/python-type-hint-course-with-hands-on-examples)\n\n## Course summary\n\nWhen 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.\n\n## What topics are covered\n\nIn this course, you will:\n\n* **Compare popular static languages with Python** (such as Swift, C#, TypeScript, and others)\n* See a exact clone of a **dynamic Python codebase along side the typed version**\n* Learn how and when to **create typed variables**\n* Understand **Python's strict nullability** in its type system\n* Specify **constant** (unchangeable) variables and values\n* Reduce SQL injection attacks with LiteralString\n* Uses **typing with Python functions** and methods\n* Use **typing with classes** and class variables\n* Work with multiple numerical types with **Python's numerical type ladder**\n* Use **Pydantic to model and parse** complex data in a type strict manner\n* **Create an API with FastAPI** that exchanges data with type integrity\n* **Query databases with Pydantic** using the Beanie ODM\n* **Create CLI apps using type information** to define the CLI interface\n* Leverage **mypy for verifying the integrity** of your entire codebase in CI/CD\n* Add runtime type safety to your application\n* **Marry duck typing and static typing** with Python's new Protocol construct\n* Learn **design patterns and guidance** for using types in Python code\n* And lots more, see the full [course outline](https://training.talkpython.fm/courses/python-type-hint-course-with-hands-on-examples#course_outline).\n\n## Learn more\n\nVisit [the course page at Talk Python](https://training.talkpython.fm/courses/python-type-hint-course-with-hands-on-examples) to learn more and take the course!","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalkpython%2Frock-solid-python-with-type-hints-course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalkpython%2Frock-solid-python-with-type-hints-course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalkpython%2Frock-solid-python-with-type-hints-course/lists"}