Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Psycopg

@psycopg@fosstodon.org
mastodon 4.6.6
  • Open on fosstodon.org

The most popular PostgreSQL adapter for Python

0 Followers
0 Following
11 Posts
Joined December 16, 2022
website:
www.psycopg.org

Posts

Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jul 27, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

Earlier this year, Daniele gave a talk at @pgconfdev@mastodon.social in Vancouver titled "Psycopg: 20 years of mostly friendly coexistence with libpq" ❤️

Two decades of Python and PostgreSQL working together and there are still stories worth telling. The recording is now available to watch online. Link in replies 👇

#PostgreSQL #Python #Psycopg #OpenSource #FOSS #PGConf #DataEngineering

2
1
4
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jul 23, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

We are deeply grateful to @CodeursEnLiberte@framapiaf.org for their generous donation to Psycopg! 🎉

Codeur·euses en Liberté are a French web cooperative with a commitment to open source software. Their support helps us keep Psycopg maintained and freely available to everyone who relies on it.

Psycopg is critical infrastructure for the Python and PostgreSQL ecosystem. If your organisation depends on it, please consider supporting the project. Links in replies 👇

#PostgreSQL #Python #Psycopg #OpenSource

5
1
5
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jul 17, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org
We've launched a GitHub Sponsors page for Psycopg 🐘🐍 Psycopg has been the standard PostgreSQL adapter for Python for 20 years. Your sponsorship goes directly towards maintaining Psycopg 2 and Psycopg 3, and keeping the project active and up to date. Sponsors are also listed on our new sponsors page on the Psycopg website. Links in replies 👇 #PostgreSQL #Python #Psycopg #OpenSource #FOSS #DataEngineering
8
0
15
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jul 09, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

You don't need a NoSQL database if you have PostgreSQL! 💪

Postgres can store unstructured data alongside relational data - just add a JSON or JSONB field!

And here's a secret 🤫 Call register_dumper(dict, JsonDumper) early in your program and every dictionary migrates seamlessly between Python and PostgreSQL

So good it might become the default in Psycopg 3.4. What do you think? Psycopg is your friend of course: check the docs in the comments 👇

#PostgreSQL #Python #Psycopg #JSON #OpenSource

9
1
4
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jun 24, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

New to the Psycopg blog: integrating Psycopg 3 with FastAPI and Pydantic ⚡

Covers dependency injection for DB connections, row factories that map results directly to Pydantic models and tying a connection pool to the application lifecycle. Full working example included - link in comments!

#PostgreSQL #Python #FastAPI #Pydantic #Psycopg #OpenSource #FOSS

2
1
2
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jun 16, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

Python 3.14's coolest feature? t-strings - and Psycopg 3.3 already supports them 😎

Just write t"..." and drop your variables in {braces}. Proper syntax, no SQL injection, dynamic queries and identifiers - all handled. No more counting %s placeholders or juggling param dicts!

Check the link in the comments 👀 #Python #PostgreSQL #Database #Development

fosstodon.org

Fosstodon

22
1
15
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Jun 09, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

Did you know that you can customise the objects returned by a query? 👀

By default Psycopg returns a Python tuple for every Postgres row, but which object it uses is actually under your control.

If you want more flexibility, 'row_factory' and the 'psycopg.rows' module are your friends! 😊

5
0
0
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · May 28, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

Back from @pgconfdev@mastodon.social, full of ideas! 🤗 Great to share our work on Python/PostgreSQL communication with core hackers and imagine how the protocol could evolve: lots of work ahead! 💪 If you'd like to get involved, please consider supporting Psycopg 💛 Link in comments! #pgconfdev #PostgreSQL #Python #Psycopg #libpq #OpenSource #PythonDeveloper #PostgreSQLCommunity #DevConference

12
1
8
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · May 15, 2026
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

We're heading to Vancouver! 🇨🇦

Our maintainer Daniele Varrazzo will be speaking at @pgconfdev@mastodon.social next week, giving a talk on libpq - the PostgreSQL client library at the heart of Psycopg - and how we can help clients get even more out of PostgreSQL

If you're attending, don't miss it. And if you're around, come say hello! 👋

#pgconfdev #PostgreSQL #Python #Psycopg #libpq #OpenSource #DatabaseEngineering #PythonDeveloper #PostgreSQLCommunity #DevConference

4
0
4
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · May 26, 2025
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

Draft of the usage of Python 3.14 template strings in Psycopg 3.3!

https://www.psycopg.org/psycopg3/docs/basic/tstrings.html

Any feedback? Feel free to contribute to the discussion in https://github.com/psycopg/psycopg/discussions/1044

12
1
10
0
Open post
psycopg
Psycopg @psycopg@fosstodon.org · Apr 30, 2025
Psycopg
@psycopg@fosstodon.org

The most popular PostgreSQL adapter for Python

fosstodon.org

PEP 750 just merged to Python 3.14! https://github.com/python/cpython/pull/132662

And yesterday I happened to start working at template strings support in psycopg: https://github.com/psycopg/psycopg/pull/1054

First tests here: https://github.com/psycopg/psycopg/blob/646f2023b24744bd32a96d1a621e8fed8cc48409/tests/test_tstring.py

This is probably the biggest change to happen to the project since its inception! Exciting times! 😃

4
0
2
0

Remote instance

fosstodon.org
Open on original server

Media

313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 20:01:37 UTC