Как я за выходные собрала сервис озвучки книг на FastAPI + Edge TTS + Telegram Mini App Привет, Хабр! Я люблю слушать книги, но...
#python #fastapi #telegram #bot #aiogram #edge #tts #sqlalchemy #postgresql #архитектура #pet-проект
Origin | Interest | Match
Векторный поиск в PostgreSQL: PGVector, SQLAlchemy и FastAPI Реализуем сервис семантического поиска на базе PostgreSQL с расширени...
#PGVector #SQLAlchemy #FastAPI
Origin | Interest | Match
ついにデータベースの部分について学習を開始しました。
しかし、図書館の本の返却期限がきてしまったので、続きは今度借りられる時期になります。
やはりちゃんとした紙なので、読みやすいし進めやすい。
話しを戻してSQLAlchemyとSQLiteについて学習中。
単純にPythonの中でプログラムを打てば、SQLという言語を新たに覚える必要はなさそう。
ただ概念はデータベースそのものなので、CRUDは覚えておきたい。
#Python
#データベース
#プログラム初心者
#非エンジニア
#SQLAlchemy
New dev.to article: “Versioning your database with SQLAlchemy and Alembic.”
Big ah-ha for me: changing your models doesn’t touch the DB until you generate and run a migration, so you can review changes before they hit prod.
dev.to/jcasman/vers...
#python #sqlalchemy #alembic #fastapi
FastAPI Template I’m excited to share my new open-source project: Fastapi-Template It’s designed to give you a solid starting point… The post FastAPI Template appeared first on prodSens.live ...
#Software #fastapi #prodsens #live #python #sqlalchemy
Origin | Interest | Match
@dashdsrdash Oh yeah, I'm not a fan of directly emitting SQL (hi, injection vectors!). Totally willing to wrap the creation of the SQL in a language-specific well-typed abstract syntax tree.
What's biting me in the ORM I'm using is that the ORM has a lot of implicit behavior around class […]
I'm starting to think the real problem I see with most ORM architectures is that SQL is, honestly, a _really_ terse but expressive language in a way.
So when you go trying to wrap it in language-specific helpers, you end up with something remarkably more complex than SQL that your developers […]
The problem with magic is that it both requires deep reading to comprehend it and it fails you when you least expect it to.
We have reflection logic to reflect fields in sqlalchemy models into GraphQL types.
This reflects individual fields but not backfilled relations. Why? Because fuck you is […]
(... this is a sub-toot of sqlalchemy. 😉 )
#sqlalchemy
Gripe:
Shit like this.
It really feels like I average about one "Oh, that's a weird corner case regarding your specific combination of database and feature that we don't auto-support" _per change._
My compatriots in code: if the abstraction is this leaky, maybe it's bad actually?
#sqlalchemy […]
Here I will document my sqlalchemy gripes so I can blog about them later.
Gripe:
Because `MappedAsDataclass` turns your model into a dataclass, you have to care about whether individual entries in the model do or do not have default values because Python doesn't allow a dataclass to have […]
5/ Try pgsqlite v0.0.17 today and make your dev life simpler!
🔗 github.com/erans/pgsqlite
#SQLite #PostgreSQL #OpenSource #ORM #Django #Rails #SQLAlchemy #Ecto
ORM choices are crucial. While Django's ORM offers ease, many prefer SQLAlchemy's power and flexibility. Litestar's Advanced Alchemy leverages SQLAlchemy well, offering robust database interaction for demanding projects. #SQLAlchemy 5/6
Learn how to use SQLAlchemy ORM Events to automate tasks like password hashing, sending emails, and updating timestamps.
#python #learntocode #techcode #sqlalchemy #database #programming #developers
hevalhazalkurt.com/blog/putting...
🧵 Writing DataFrames to SQL
🗄️ Store ingested data in SQL using SQLAlchemy.
Works with PostgreSQL, MySQL, Azure SQL, etc.
#SQLAlchemy #PythonSQL #DataPipelines #ETLTools
This article explains the transaction isolation levels in databases, focusing on how they affect data consistency and concurrency. Check it out!
#python #database #SQLAlchemy #LearnToCode #programming #techblog
hevalhazalkurt.com/blog/the-art...
A deep dive into the hidden complexities of transaction management in SQLAlchemy.
#python #orm #SQLAlchemy #LearnToCode #programming #techblog
hevalhazalkurt.com/blog/explici...
New blog. This time Getting tracks from #Garmin connect to #PostGIS. I present two options with code. www.acgeospatial.co.uk/getting-trac...
Using #geopandas, #sqlalchemy
my brain is leaking... I love a good #database & I'm also doing the #python thing so I thought "let's put them together a bit more, shall we..." After a bit of exploring #sqlalchemy & other python/sql tools, I'm now mostlyin the brain-bleeding "what was I thinking?!?!?" stage of the process. 😱🫣🤕
Postgres support coming to Autosubmit soon 🚀 code & unit tests finished, we are now starting the manual testing & final adjustments to test it on EDITO Model Lab 🤓 github.com/BSC-ES/autos... #autosubmit #SciWorkflows #workflows #postgres #sqlalchemy #python #OpenSource #BSC #EDITO
FastAPI + Keycloak: Простая и безопасная авторизация в веб-пр...
habr.com/ru/companies/amvera/arti...
#keycloak #fastapi #авторизация #базы #данных #python #keycloak #fastapi #веб-разработка #sqlalchemy #2.0
Result Details
Just released pytest-sqlalchemy 0.3.0 - a small collection of @pytest.org fixtures for working with #sqlalchemy:
pypi.org/project/pyte...
This is a bit of a reboot release targeting current versions of python, pytest and sqlalchemy and adding Github Actions, ruff formatting and full test coverage
🎨 #photopalettes #buildinpublic update! 📸
✅ #Linting- #prettier @eslint.org
✅ #Database- @heroku.com #sqlalchemy #alembic
✅ #Logging- @sentry.io
Shout out to Sentry for taking all of 10 minutes to setup backend and frontend!
Palettes: @photopalettes.bsky.social
Alpha: forms.gle/g9bgge628Ed1km5p6
Here is my most recent article: True sqlalchemy unit testing.
#python #pytest #sqlalchemy 🐍
It does work, but is it actually a good technique? Do you have a better one?