mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#fastapi

6 posts5 participants0 posts today
Andrii Kuznietsov<p>🛢️🐍 <a href="https://social.kyiv.dcomm.net.ua/tags/SQLModel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQLModel</span></a> - бібліотека для взаємодії з <a href="https://social.kyiv.dcomm.net.ua/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> базами даних через <a href="https://social.kyiv.dcomm.net.ua/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> об'єкти. Розроблена командою <a href="https://social.kyiv.dcomm.net.ua/tags/FastAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FastAPI</span></a> для спрощення роботи з реляційними БД.</p><p>Ключові можливості:<br>• Інтуїтивний синтаксис на основі Python типів<br>• Повна сумісність з FastAPI та Pydantic<br>• Автоматична генерація SQL схем</p><p>⚡️ Технології: Python, SQLAlchemy, Pydantic<br>🛠 Платформа: Cross-platform</p><p>🔗 <a href="https://github.com/fastapi/sqlmodel" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/fastapi/sqlmodel</span><span class="invisible"></span></a></p>
PostgreSQL<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/FastAPI" target="_blank">#FastAPI</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/PostgreSQL" target="_blank">#PostgreSQL</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Python" target="_blank">#Python</a><br><br><a href="https://www.freelancer.com/projects/python/python-fastapi-39646145.html" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=PostgreSQL" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=1FpuEYzSH40Hr6qDahXYwppIkQy&amp;interestId=PostgreSQL" rel="nofollow noopener" target="_blank">Match</a>
PostgreSQLBuilding Neurostash - I How I’m architecting and building a scalable, multi-tenant document processing system. The Problem That Started It All We've all been there—drowning in documents sca...<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/rag" target="_blank">#rag</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/fastapi" target="_blank">#fastapi</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/python" target="_blank">#python</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/aws" target="_blank">#aws</a><br><br><a href="https://dev.to/devunderdog/building-neurostash-i-1h0o" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=PostgreSQL" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=DDWedD5wc4We1qPY7pwIpuT28ky&amp;interestId=PostgreSQL" rel="nofollow noopener" target="_blank">Match</a>
Erik<p>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.</p><p><a href="https://coderik.nl/posts/keep-pydantic-out-of-your-domain-layer/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">coderik.nl/posts/keep-pydantic</span><span class="invisible">-out-of-your-domain-layer/</span></a></p><p><a href="https://mastodon.social/tags/fastapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fastapi</span></a> <a href="https://mastodon.social/tags/pydantic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pydantic</span></a> <a href="https://mastodon.social/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwaredevelopment</span></a> <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/cleancode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cleancode</span></a> <a href="https://mastodon.social/tags/architecturepatterns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>architecturepatterns</span></a> <a href="https://mastodon.social/tags/pythonprogramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pythonprogramming</span></a></p>
Habr<p>[Перевод] SonarQube: базовая настройка и анализ качества кода с помощью FastAPI</p><p>Ошибки в коде— не всегда вопрос невнимательности. Часто они кроются в архитектурных решениях, устаревших практиках и банальном отсутствии инструментов контроля качества. В этой статье — практический разбор того, как настроить и использовать SonarQube с FastAPI, чтобы находить баги, уязвимости и «запахи» ещё до запуска приложения. Разберёмся, как выглядит процесс статического анализа кода на практике, как развернуть SonarQube через Docker и интегрировать его в рабочий цикл через CI/CD.</p><p><a href="https://habr.com/ru/companies/otus/articles/929746/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">habr.com/ru/companies/otus/art</span><span class="invisible">icles/929746/</span></a></p><p><a href="https://zhub.link/tags/sast" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sast</span></a> <a href="https://zhub.link/tags/sonarqube" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sonarqube</span></a> <a href="https://zhub.link/tags/%D1%81%D1%82%D0%B0%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D0%B0%D0%BD%D0%B0%D0%BB%D0%B8%D0%B7_%D0%BA%D0%BE%D0%B4%D0%B0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>статический_анализ_кода</span></a> <a href="https://zhub.link/tags/FastAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FastAPI</span></a> <a href="https://zhub.link/tags/%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0_SonarQube" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>настройка_SonarQube</span></a> <a href="https://zhub.link/tags/docker" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>docker</span></a></p>
Emelia 👸🏻<p>Over the past few days in the small moments when I've been able to work I've been experimenting with porting Hasher-Matcher-Actioner from Flask to FastAPI, and I now have it mostly working with an existing database.</p><p>It's been interesting working with python because I don't work with it much, but FastAPI still feels very much like Express in terms of how things are written — lots of building your own framework essentially, instead of "here's the given path", which can be daunting.</p><p>I still need to work out Alembic and migrations, but I have it working against an existing database with the same schema. Also need to figure out building CLI tools that accompany the server, where flask has that built-in</p><p><a href="https://hachyderm.io/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://hachyderm.io/tags/FastAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FastAPI</span></a></p>
PostgreSQL<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Amazon" target="_blank">#Amazon</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Web" target="_blank">#Web</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Services" target="_blank">#Services</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/FastAPI" target="_blank">#FastAPI</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/JavaScript" target="_blank">#JavaScript</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/OAuth" target="_blank">#OAuth</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/PHP" target="_blank">#PHP</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/PostgreSQL" target="_blank">#PostgreSQL</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/Python" target="_blank">#Python</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/SendGrid" target="_blank">#SendGrid</a><br><br><a href="https://www.freelancer.com/projects/fastapi/Enhancing-Debugging-FastAPI-Backend.html" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=PostgreSQL" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=XL0MTtBUpiHktKCPPnRi1b8Yb1U&amp;interestId=PostgreSQL" rel="nofollow noopener" target="_blank">Match</a>
PostgreSQLUnderstanding Async Context Managers in Python When working with asynchronous code in Python, you're probably familiar with async def , await , and maybe even tools like aiohttp or asyncpg . Bu...<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/python" target="_blank">#python</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/fastapi" target="_blank">#fastapi</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/learning" target="_blank">#learning</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/async" target="_blank">#async</a><br><br><a href="https://dev.to/hevalhazalkurt/understanding-async-context-managers-in-python-1928" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=PostgreSQL" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=FuTGiMCwI4FtupjEtyzhbQHtpp2&amp;interestId=PostgreSQL" rel="nofollow noopener" target="_blank">Match</a>
Paolo Melchiorre<p>Sebastián Ramírez (tiangolo) is presenting the keynote "Behind the scenes of FastAPI and friends for developers and builders" closing the second day of EuroPython 2025 in Prague. ⚡</p><p><a href="https://ep2025.europython.eu/session/behind-the-scenes-of-fastapi-and-friends-for-developers-and-builders" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ep2025.europython.eu/session/b</span><span class="invisible">ehind-the-scenes-of-fastapi-and-friends-for-developers-and-builders</span></a></p><p><a href="https://fosstodon.org/tags/EuroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EuroPython</span></a> <a href="https://fosstodon.org/tags/EuroPython2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EuroPython2025</span></a> <a href="https://fosstodon.org/tags/FastAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FastAPI</span></a> </p><p>CC <span class="h-card" translate="no"><a href="https://fosstodon.org/@tiangolo" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tiangolo</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@europython" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>europython</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@FastAPI" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>FastAPI</span></a></span></p>
Paolo Melchiorre<p>Šimon Podhajský presents the talk "Pydantic, Everywhere, All at Once" to a packed room at the EuroPython 2025 conference.</p><p><a href="https://ep2025.europython.eu/session/pydantic-everywhere-all-at-once" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ep2025.europython.eu/session/p</span><span class="invisible">ydantic-everywhere-all-at-once</span></a></p><p><a href="https://fosstodon.org/tags/EuroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EuroPython</span></a> <a href="https://fosstodon.org/tags/EuroPython2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EuroPython2025</span></a> <a href="https://fosstodon.org/tags/Pydantic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pydantic</span></a> <a href="https://fosstodon.org/tags/FastAPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FastAPI</span></a> </p><p>CC <span class="h-card" translate="no"><a href="https://fosstodon.org/@europython" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>europython</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@FastAPI" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>FastAPI</span></a></span> <span class="h-card" translate="no"><a href="https://fosstodon.org/@pydantic" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>pydantic</span></a></span></p>
PostgreSQLBuilding a Movie Recommender API with FastAPI and Machine Learning Ever wondered how Netflix suggests movies you might like? Let’s build a simple yet powerful movie recommendation system using Fa...<br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/machine-learning" target="_blank">#machine-learning</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/movie-recommendation" target="_blank">#movie-recommendation</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/postgresql" target="_blank">#postgresql</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/python" target="_blank">#python</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/fastapi" target="_blank">#fastapi</a><br><br><a href="https://medium.com/@priyadharsank2005/building-a-movie-recommender-api-with-fastapi-and-machine-learning-4bcb0b61086f?source=rss------machine_learning-5" rel="nofollow noopener" target="_blank">Origin</a> | <a href="https://awakari.com/sub-details.html?id=PostgreSQL" rel="nofollow noopener" target="_blank">Interest</a> | <a href="https://awakari.com/pub-msg.html?id=IyXSjafaF2CPwIxmsNLUKDTwSwa&amp;interestId=PostgreSQL" rel="nofollow noopener" target="_blank">Match</a>
Habr<p>Как «взломать» сайт Мосбиржи и получать лучшие BID и OFFER в Excel — без подписок, с помощью Python и API брокера</p><p>Excel - главный рабочий инструмент многих частных инвесторов. Здесь ведутся портфели, стратегии и мониторинг котировок. Но получить от Московской биржи лучшие цены на покупку (BID) и продажу (OFFER) из стакана прямо в таблицу - задача не из простых. Даже платная подписка на сайт биржи не даёт получать котировки в Excel напрямую.</p><p>Но слово «взлом» в названии статьи - это художественное преувеличение. Мы не будем нарушать никаких законов или пытаться обойти защиту биржи и вообще даже не дышим в сторону серверов Мосбиржи. Однако голь на выдумки хитра - построим элегантное решение с помощью официального API от любого брокера.</p><p>Идея проста: создать локальный сервер-прокладку, который Excel сможет опрашивать через веб-запросы. Сервер будет обращаться к API брокера, получать данные стакана и возвращать их в понятном для себя XML формате прямо в вашу таблицу, в ячейке которой будет отображена нужная цифра.</p><p>Фактически по такой схеме можно получать любые параметры с биржи и видеть их в своём локальном Microsoft Excel или его свободном аналоге LibreOffice Calc. Весь код представлен на GitHub.</p><p><a href="https://habr.com/ru/articles/927238/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/927238/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/%D0%BA%D0%BE%D1%81%D0%BC%D0%BE%D1%82%D0%B5%D0%BA%D1%81%D1%82" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>космотекст</span></a> <a href="https://zhub.link/tags/%D0%BC%D0%BE%D1%81%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%B0%D1%8F_%D0%B1%D0%B8%D1%80%D0%B6%D0%B0" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>московская_биржа</span></a> <a href="https://zhub.link/tags/%D0%BA%D0%BE%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D0%B8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>котировки</span></a> <a href="https://zhub.link/tags/fastapi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fastapi</span></a></p>

Rack Root update: tonight I finally got the search page working and passing parameters the way I need it to. There's a search box in the top right hand corner that will take in a given string and (eventually) go ask the API for objects that match the search terms.

This took a while to put together since entering a search term will redirect you to `/search?q=foo` and that renders properly the first time. With Vuetify however, if you enter another search term while on that page, the app sees you're already on `/search` and doesn't update the values on the page, even though the search parameter is different.

The solution was thankfully found in a GitHub issue (linked below) where other people were looking for the same kind of functionality. This also taught me about the Navigation Guards that Vue/Vuetify come with to handle page navigation/movements. The app knows when you're on the same page and will make decisions based on that.

During my testing I just echoed the search parameter back to the user, but now that the hard part is done, I just need to write the API for it and render that on the frontend. Surely there won't be any complications with asking the API for multiple different objects back... that'll really test my database and python skills.

github.com/vuejs/router/issues

Прощай, reCAPTCHA! Как я защитил формы входа с помощью бесплатной и невидимой CAPTCHA от Cloudflare

Привет, Хабр! На связи разработчик Peakline — аналитической платформы для Strava. Сегодня я хочу поделиться опытом внедрения Cloudflare Turnstile в веб-приложение на FastAPI. Это решение позволило мне отказаться от назойливых CAPTCHA, улучшить пользовательский опыт и при этом надежно защитить формы регистрации и входа от ботов.

habr.com/ru/articles/925310/

ХабрПрощай, reCAPTCHA! Как я защитил формы входа с помощью бесплатной и невидимой CAPTCHA от CloudflareПривет, Хабр! На связи разработчик Peakline — аналитической платформы для Strava. Сегодня я хочу поделиться опытом внедрения Cloudflare Turnstile в веб-приложение на FastAPI. Это решение позволило мне...

[Перевод] Настройка среды разработки: VSCode, Docker для Python-проектов. Debug внутри контейнера

В этой статье мы подробно рассмотрим процесс установки и настройки всех необходимых инструментов для эффективной разработки Python-приложений с использованием FastAPI, Docker и Docker Compose. Вы узнаете, как создать изолированную среду для вашего проекта, настроить отладку и обеспечить бесперебойную работу вашего приложения.

habr.com/ru/articles/925374/

ХабрНастройка среды разработки: VSCode, Docker для Python-проектов. Debug внутри контейнераВ этой статье мы подробно рассмотрим процесс установки и настройки всех необходимых инструментов для эффективной разработки Python-приложений с использованием FastAPI, Docker и Docker Compose. Вы...