Formatron
Formatron empowers everyone to control the format of language models' output with minimal overhead.
https://github.com/Dan-wanna-M/formatron
ft_utils
A library of utilities to support efficient, scalable Python development leveraging Free Threaded Python.
https://github.com/facebookincubator/ft_utils
WordLlama
Things you can do with the token embeddings of an LLM.
https://github.com/dleemiller/WordLlama
Deep learning compilers and how the sausage is made
A series of discussions focused on deep learning compilers and machine learning. It covers how deep learning models are optimized and deployed for practical use cases. The content dives into topics relevant for developers and engineers working with AI frameworks and model performance optimization.
https://www.youtube.com/playlist?list=PLaMu-SDt_RB7ImARcTT_Wjypwx2vBIBen
Python in Excel – Available Now
https://techcommunity.microsoft.com/t5/excel-blog/python-in-excel-available-now/ba-p/4240212
Avoid These 7 Common OOP Mistakes in Python
The video discusses common bad practices in Python object-oriented programming and how to avoid them. It covers issues like using classes unnecessarily instead of functions, overusing mixins, and excessive encapsulation, while providing practical examples and alternatives to improve code structure and readability.
https://www.youtube.com/watch?v=yFLY0SVutgM
Injecting syscall faults in Python and Ruby
The post introduces a Python and Ruby library called Cirron that allows developers to inject syscall faults for testing purposes. It demonstrates how to use Cirron to simulate various error conditions, such as disk space issues and network timeouts, by modifying syscall behavior, enabling more robust testing of error handling in software.
https://blog.mattstuchlik.com/2024/09/08/injecting-syscall-faults.html
Python macOS Framework Builds
Building Python with --enable-framework changes some stuff around; should you care?
https://blog.glyph.im/2024/09/python-macos-framework-builds.html
LightAPI
LightApi is a lightweight API framework designed for rapid development of RESTful APIs in Python. It provides a simple and intuitive interface for defining endpoints and handling HTTP requests without the need for complex configuration or dependencies.
https://github.com/iklobato/LightAPI
How We Made Jupyter Notebooks Load 10 Times Faster
When we received feedback our Notebooks UI was taking too long too load, our engineers dove into ways to improve the developer experience — bringing some load times from 30 seconds down to less than one.
https://www.singlestore.com/blog/how-we-made-notebooks-load-10-times-faster/
LibrePythonista allows running IPython code in a LibreOffice spreadsheet
https://github.com/Amourspirit/python_libre_pythonista_ext
peepDB
open-source CLI tool and python library to quickly view MySQL, PostgreSQL, MariaDB database tables.
https://github.com/evangelosmeklis/peepdb
GraalPy – A high-performance embeddable Python 3 runtime for Java
https://www.graalvm.org/python/
What’s New In Python 3.13
This article explains the new features in Python 3.13, compared to 3.12. Python 3.13 will be released on October 1, 2024.
https://docs.python.org/3.13/whatsnew/3.13.html
FARM Stack Course – Full Stack Development with FastAPI, React MongoDB
Learn full stack stack development with the FARM stack. You will learn to quickly create an application using FastAPI, React, and MongoDB.
https://www.youtube.com/watch?v=PWG7NlUDVaA
Some tricks with UV
UV can be seen as an alternative to pip, but that might be a limiting way to think about the tool. Instead of looking at faster builds, which are still super nice, it might also make sense to rethink the stuff that we might be able to do from Python going forward.
https://www.youtube.com/watch?v=jXWIxk2brfk
MiniLang
A type-safe C successor that compiles directly to various platforms.
https://github.com/NICUP14/MiniLang
Rust for the small things? but what about Python?
https://dataengineeringcentral.substack.com/p/rust-for-the-small-things
What do you think about Harvard CS50’s Introduction to Programming with Python – Full University Course?
https://www.reddit.com/r/learnpython/comments/1faltb1/what_do_you_think_about_harvard_cs50s/
FluxMusic
Text-to-Music Generation with Rectified Flow Transformers.
https://github.com/feizc/FluxMusic
Build a Translation Application Using Tkinter and OpenAI
In this tutorial, we'll build a desktop translator application to translate natural language using ChatGPT APIs. We'll be building the UI using the Tkinter library from the Python standard library.
https://www.pythonguis.com/examples/translator-app-tkinter-ai-chatgpt/
ostris / ai-toolkit
Various AI scripts. Mostly Stable Diffusion stuff.
https://github.com/ostris/ai-toolkit
DBOS transact – Ultra-lightweight durable execution in Python
https://github.com/dbos-inc/dbos-transact-py
Python HTTP Clients: Requests vs. HTTPX vs. AIOHTTP
Learn about the differences between Requests, HTTPX, and AIOHTTP, and when to use each library for your Python projects.
https://www.speakeasy.com/post/python-http-clients-requests-vs-httpx-vs-aiohttp
How To Perform Unit Testing in Flask
Learn how to efficiently test your Flask applications using pytest to ensure robust and error-free code.
https://www.digitalocean.com/community/tutorials/unit-test-in-flask
Revival Hijack – PyPI hijack technique exploited in the wild, puts 22K packages at risk
The article discusses a PyPI supply chain attack technique called "Revival Hijack," where attackers can hijack removed packages by re-registering them. JFrog's research team found that this technique could potentially affect 22,000 existing PyPI packages, leading to hundreds of thousands of malicious downloads, and they took proactive measures to protect the PyPI community by safely rese...
https://jfrog.com/blog/revival-hijack-pypi-hijack-technique-exploited-22k-packages-at-risk/
Dante
A zero-setup, easy to use document store for Python.
https://github.com/senko/dante
NestedText
Human readable and writable data interchange format.
https://github.com/KenKundert/nestedtext