My blog post about separating Pydantic from the domain layer blew up today. Almost 2k visitors in just one day!! Who would’ve ever dreamed that?
#pydantic #fastapi #python #python3 #pythonprogramming #webdevelopment #softwareengineering
My blog post about separating Pydantic from the domain layer blew up today. Almost 2k visitors in just one day!! Who would’ve ever dreamed that?
#pydantic #fastapi #python #python3 #pythonprogramming #webdevelopment #softwareengineering
With the rising popularity of FastAPI and Pydantic, it's becoming increasingly important to protect a clean domain, free from third-party tools. I wrote an article to help you with that.
https://coderik.nl/posts/keep-pydantic-out-of-your-domain-layer/
#fastapi #pydantic #softwaredevelopment #python #cleancode #architecturepatterns #pythonprogramming
Нагрузочное тестирование на Python и Locust с запуском на CI/CD
Разбираемся, как организовать нагрузочное тестирование на Python с Locust — с сидинговыми сценариями , кастомными API-клиентами на HTTPX, конфигурацией через Pydantic и автоматическим запуском в GitHub Actions . Всё — на практике, с архитектурой, фреймворком и публикацией отчётов в GitHub Pages.
https://habr.com/ru/articles/929136/
#нагрузка #нагрузочное_тестирование #нагрузочные_тесты #python #locust #тестирование_производительности #cicd #github_actions #httpx #pydantic
Šimon Podhajský presents the talk "Pydantic, Everywhere, All at Once" to a packed room at the EuroPython 2025 conference.
https://ep2025.europython.eu/session/pydantic-everywhere-all-at-once
If you ever ask why it’s worth updating #Python dependencies from time to time, #Pydantic serves as a nice example with the performance boost introduced. I actually could see it, given the complexity of models I deal with on a daily basis.
> Recent memory usage optimizations are most relevant for projects with lots of models, particularly those with nested/reused models. In these cases, you can expect a 2-5x reduction in memory usage.
#DailyPythonista
https://pydantic.dev/articles/pydantic-v2-11-release
"Loading Pydantic models from JSON without running out of memory"