News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Django: Introducing Djade, a template formatter
Happy DjangoCon US 2024 to you.
Whilst I am not there, I have adopted the spirit of the season and ...
https://adamj.eu/tech/2024/09/26/django-introducing-djade/
gptme
Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.
https://github.com/ErikBjare/gptme
Python Hub Weekly Digest for 2024-10-13
https://pythonhub.dev/digest/2024-10-13/
ZipNN
A Lossless Compression Library for AI pipelines.
https://github.com/zipnn/zipnn
Dynamiq
Dynamiq is an orchestration framework for agentic AI and LLM applications.
https://github.com/dynamiq-ai/dynamiq
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
Djade
A Django template formatter.
https://github.com/adamchainz/djade
HPy – A better C API for Python
https://hpyproject.org/
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
open-notebooklm
Convert any PDF into a podcast episode!
https://github.com/gabrielchua/open-notebooklm
PyUIBuilder
The Webflow of Python GUIs.
https://github.com/PaulleDemon/PyUIBuilder
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
Python Hub Weekly Digest for 2024-10-06
https://pythonhub.dev/digest/2024-10-06/
streamable
Stream-like manipulation of Python iterables: fluent, typed, lazy, concurrent.
https://github.com/ebonnal/streamable
Scaling AI-Based Data Processing with Hugging Face + Dask
The article demonstrates how to scale AI-based data processing using Hugging Face and Dask, progressing from processing 100 rows locally with pandas to handling 211 million rows across multiple GPUs in the cloud. It showcases the use of Dask for distributed computing, enabling efficient data loading, preprocessing of large datasets, and parallel model inference, with a practical example ...
https://huggingface.co/blog/dask-scaling
Programming and poetry (not Python's tool)
https://zverok.space/blog/2024-10-06-poetry.html
Building internal AI tools with Streamlit
The article explains how to build internal AI tools using Streamlit and PropelAuth for authentication. It walks through setting up secure user authentication and integrating with AI models, making it easier to build AI-driven web apps for internal company use.
https://www.propelauth.com/post/internal-ai-tools-with-streamlit
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
Python 3.13's best new features
https://www.reddit.com/r/Python/comments/1fyeo1g/python_313s_best_new_features/
OpenFreeMap
Free and open-source map hosting solution with custom styles for websites and apps, using OpenStreetMap data.
https://github.com/hyperknot/openfreemap
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/
What Can a Coffee Machine Teach You About Python's Functions?
https://www.thepythoncodingstack.com/p/coffee-machine-python-function-analogy
AlphaChip
An open-source framework for generating chip floorplans with distributed deep reinforcement learning.
https://github.com/google-research/circuit_training
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
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 for Inversive and Hyperbolic Geometry
https://coe.psu.ac.th/ad/invhyper/
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/
Httpdbg – A tool to trace the HTTP requests sent by your Python code
https://github.com/cle-b/httpdbg
How to Use FastAPI for Machine Learning
Learn how to use FastAPI for machine learning. Explore the framework's benefits and why it's popular, and understand how to integrate it into your ML workflows.
https://blog.jetbrains.com/pycharm/2024/09/how-to-use-fastapi-for-machine-learning/