Automatic async to sync code conversion
The article describes how Psycopg 3 implemented an automatic conversion system to generate synchronous Python code from asynchronous code, reducing code duplication and maintenance efforts. The process involves using Abstract Syntax Trees (AST) to transform async code into equivalent sync code, with custom transformations and helper functions to handle complex cases.
https://www.psycopg.org/articles/2024/09/23/async-to-sync/
The article describes how Psycopg 3 implemented an automatic conversion system to generate synchronous Python code from asynchronous code, reducing code duplication and maintenance efforts. The process involves using Abstract Syntax Trees (AST) to transform async code into equivalent sync code, with custom transformations and helper functions to handle complex cases.
https://www.psycopg.org/articles/2024/09/23/async-to-sync/
www.psycopg.org
Automatic async to sync code conversion — Psycopg
Python adapter for PostgreSQL
Python Tutorial: Build a Course Platform with Django, HTMX, TailwindCSS and Cloudinary
Learn how to build a Course Platform from scratch. Host video-based courses, manage thumbnails, restrict access to confirmed emails only, optimize thumbnails, customize the Django admin and much more.
https://www.youtube.com/watch?v=I_IchaIdmnA
Learn how to build a Course Platform from scratch. Host video-based courses, manage thumbnails, restrict access to confirmed emails only, optimize thumbnails, customize the Django admin and much more.
https://www.youtube.com/watch?v=I_IchaIdmnA
YouTube
Python Tutorial: Build a Course Platform with Django, HTMX, TailwindCSS and Cloudinary.
🚀 Sign up for Cloudinary for free right now: https://cld.media/cfe 🚀
Learn how to build a Course Platform from scratch. Host video-based courses, manage thumbnails, restrict access to confirmed emails only, optimize thumbnails, customize the Django admin…
Learn how to build a Course Platform from scratch. Host video-based courses, manage thumbnails, restrict access to confirmed emails only, optimize thumbnails, customize the Django admin…
When should you upgrade to Python 3.13?
Python 3.13 will be out October 1, 2024—but should you switch to it immediately?
And if ...
https://pythonspeed.com/articles/upgrade-python-3.13/
Python 3.13 will be out October 1, 2024—but should you switch to it immediately?
And if ...
https://pythonspeed.com/articles/upgrade-python-3.13/
Python⇒Speed
When should you upgrade to Python 3.13?
Python 3.13 is out—when should you switch to using it?
open-notebooklm
Convert any PDF into a podcast episode!
https://github.com/gabrielchua/open-notebooklm
Convert any PDF into a podcast episode!
https://github.com/gabrielchua/open-notebooklm
GitHub
GitHub - gabrielchua/open-notebooklm: Convert any PDF into a podcast episode!
Convert any PDF into a podcast episode! Contribute to gabrielchua/open-notebooklm development by creating an account on GitHub.
Langfun
Langfun, powered by PyGlove, makes working with language models (LM) more intuitive by treating language as functions. Using Object-Oriented Prompting, it enables users to prompt LLMs with objects and types, enhancing control and simplifying agent development.
https://github.com/google/langfun
Langfun, powered by PyGlove, makes working with language models (LM) more intuitive by treating language as functions. Using Object-Oriented Prompting, it enables users to prompt LLMs with objects and types, enhancing control and simplifying agent development.
https://github.com/google/langfun
GitHub
GitHub - google/langfun: OO for LLMs
OO for LLMs. Contribute to google/langfun development by creating an account on GitHub.
Numpy QuadDType: Quadruple Precision for Everyone
Introducing the new data-type for Numpy providing cross-platform support of quadruple precision.
https://labs.quansight.org/blog/numpy-quaddtype-blog
Introducing the new data-type for Numpy providing cross-platform support of quadruple precision.
https://labs.quansight.org/blog/numpy-quaddtype-blog
labs.quansight.org
Numpy QuadDType: Quadruple Precision for Everyone
Introducing the new data-type for Numpy providing cross-platform support of quadruple precision.
AlphaChip
An open-source framework for generating chip floorplans with distributed deep reinforcement learning.
https://github.com/google-research/circuit_training
An open-source framework for generating chip floorplans with distributed deep reinforcement learning.
https://github.com/google-research/circuit_training
GitHub
GitHub - google-research/circuit_training
Contribute to google-research/circuit_training development by creating an account on GitHub.
What Can a Coffee Machine Teach You About Python's Functions?
https://www.thepythoncodingstack.com/p/coffee-machine-python-function-analogy
https://www.thepythoncodingstack.com/p/coffee-machine-python-function-analogy
Thepythoncodingstack
What Can A Coffee Machine Teach You About Python's Functions?
Let me tell you about one of my favourite analogies
What I’ve Learned in the Past Year Spent Building an AI Video Editor
Kirk Kaiser spent a year developing an AI video editor using LLMs and Diffusion models to enhance video workflows. His journey explored the intersection of AI and video editing, aiming to create dynamic, generative tools for customizable content.
https://www.makeartwithpython.com/blog/a-year-of-showing-up/
Kirk Kaiser spent a year developing an AI video editor using LLMs and Diffusion models to enhance video workflows. His journey explored the intersection of AI and video editing, aiming to create dynamic, generative tools for customizable content.
https://www.makeartwithpython.com/blog/a-year-of-showing-up/
Make Art with Python
What I’ve Learned in the Past Year Spent Building an AI Video Editor
Lessons from An Unexpected Year in AI
The Ultimate Guide to Error Handling in Python
I often come across developers who know the mechanics of Python error handling well, yet when I ...
https://blog.miguelgrinberg.com/post/the-ultimate-guide-to-error-handling-in-python
I often come across developers who know the mechanics of Python error handling well, yet when I ...
https://blog.miguelgrinberg.com/post/the-ultimate-guide-to-error-handling-in-python
Miguelgrinberg
The Ultimate Guide to Error Handling in Python
I often come across developers who know the mechanics of Python error handling well, yet when I review their code I find it to be far from good. Exceptions in Python is one of those areas that have a…
OpenFreeMap
Free and open-source map hosting solution with custom styles for websites and apps, using OpenStreetMap data.
https://github.com/hyperknot/openfreemap
Free and open-source map hosting solution with custom styles for websites and apps, using OpenStreetMap data.
https://github.com/hyperknot/openfreemap
GitHub
GitHub - hyperknot/openfreemap: Free and open-source map hosting solution with custom styles for websites and apps, using OpenStreetMap…
Free and open-source map hosting solution with custom styles for websites and apps, using OpenStreetMap data - hyperknot/openfreemap
Dynamiq
Dynamiq is an orchestration framework for agentic AI and LLM applications.
https://github.com/dynamiq-ai/dynamiq
Dynamiq is an orchestration framework for agentic AI and LLM applications.
https://github.com/dynamiq-ai/dynamiq
GitHub
GitHub - dynamiq-ai/dynamiq: Dynamiq is an orchestration framework for agentic AI and LLM applications
Dynamiq is an orchestration framework for agentic AI and LLM applications - dynamiq-ai/dynamiq
Building an image search engine on Postgres
This post demonstrates how to build a basic image search engine using Postgres, CLIP (a pre-trained AI model), and the pgvector extension. It explains the process of generating embeddings for images and text, storing them in Postgres, and performing similarity searches using both image and text queries1
https://tembo.io/blog/image-search
This post demonstrates how to build a basic image search engine using Postgres, CLIP (a pre-trained AI model), and the pgvector extension. It explains the process of generating embeddings for images and text, storing them in Postgres, and performing similarity searches using both image and text queries1
https://tembo.io/blog/image-search
tembo.io
Building an image search engine on Postgres | Tembo
Search images with text and existing images using Postgres.