Discover a method for statically checking Python dictionaries to ensure they contain all the required keys, improving code reliability and preventing runtime errors. This blog post provides a solution for enhancing the robustness of your Python projects.
https://lukeplant.me.uk/blog/posts/statically-checking-python-dicts-for-completeness/
https://lukeplant.me.uk/blog/posts/statically-checking-python-dicts-for-completeness/
Luke Plant's home page
Statically checking Python dicts for completeness
A Pythonic way to ensure that your statically-defined dicts are complete, with full source code.
❤1
CLI tool for developing and profiling GPU kernels locally. Just write, test, and profile GPU code from your laptop.
https://github.com/Herdora/chisel
https://github.com/Herdora/chisel
GitHub
GitHub - Herdora/kandc: The profiler that gives a unified view of your entire stack - from PyTorch down to GPU
The profiler that gives a unified view of your entire stack - from PyTorch down to GPU - Herdora/kandc
❤2
Delve into the world of asynchronous programming in Python with a focus on asyncio protocols, understanding how they enable efficient and scalable network applications. This article offers insights into building responsive and concurrent systems using asyncio.
https://jacobpadilla.com/articles/asyncio-protocols
https://jacobpadilla.com/articles/asyncio-protocols
Jacob Padilla
Making a Simple HTTP Server with Asyncio Protocols
Learn how to build a fast, minimal HTTP server using asyncio.Protocol, complete with routing, parsing, and response handling from scratch!
👍2
A fully open source framework for creating RL training swarms over the internet.
https://github.com/gensyn-ai/rl-swarm
https://github.com/gensyn-ai/rl-swarm
GitHub
GitHub - gensyn-ai/rl-swarm: A fully open source framework for creating RL training swarms over the internet.
A fully open source framework for creating RL training swarms over the internet. - gensyn-ai/rl-swarm
Optimize your Dockerized Flask or Django applications by switching from pip to uv for faster and more efficient Python package management. This guide provides a step-by-step approach to streamlining your development workflow.
https://nickjanetakis.com/blog/switching-pip-to-uv-in-a-dockerized-flask-or-django-app
https://nickjanetakis.com/blog/switching-pip-to-uv-in-a-dockerized-flask-or-django-app
Nick Janetakis
Switching pip to uv in a Dockerized Flask / Django App — Nick Janetakis
I noticed about a 10x speed up across a number of projects, we'll avoid using a venv and run things as a non-root user too.
Daytona is a Secure and Elastic Infrastructure for Running AI-Generated Code
https://github.com/daytonaio/daytona
https://github.com/daytonaio/daytona
GitHub
GitHub - daytonaio/daytona: Daytona is a Secure and Elastic Infrastructure for Running AI-Generated Code
Daytona is a Secure and Elastic Infrastructure for Running AI-Generated Code - daytonaio/daytona
A collaborative note taking, wiki and documentation platform that scales. Built with Django and React.
https://github.com/suitenumerique/docs
https://github.com/suitenumerique/docs
GitHub
GitHub - suitenumerique/docs: A collaborative note taking, wiki and documentation platform that scales. Built with Django and React.
A collaborative note taking, wiki and documentation platform that scales. Built with Django and React. - GitHub - suitenumerique/docs: A collaborative note taking, wiki and documentation platform ...
This article gives an early look at Astral's new static type checker, Red Knot, and documents the process of compiling and running this work-in-progress tool. The author, Michael Jurasovic, even uses it on several large codebases to test its speed against mypy.
https://jurasofish.github.io/a-very-early-play-with-astrals-red-knot-static-type-checker.html
https://jurasofish.github.io/a-very-early-play-with-astrals-red-knot-static-type-checker.html
Michael Jurasovic's Weblog
A Very (!) Early Play With Astral's Red Knot Static Type Checker
This is a casual look at a WIP piece of software that I know nothing about - don't draw too many conclusions from this. Astral is doing The Lord's work with python tooling. Ruff is a joy to use for both formatting and linting. And the newer uv has breathed…
🔥3
This blogpost from marimo explains how their notebook file format, which stores notebooks as Python programs instead of JSON, makes them more reusable, version-friendly, and testable. The format is designed to treat notebooks as proper software artifacts, overcoming the limitations of traditional .ipynb files.
https://marimo.io/blog/python-not-json
https://marimo.io/blog/python-not-json
marimo.io
Reinventing notebooks as reusable Python programs
Designing a Python notebook that blends the best parts of interactive computing with the sanity of code
Fully local web research and report writing assistant
https://github.com/langchain-ai/local-deep-researcher
https://github.com/langchain-ai/local-deep-researcher
GitHub
GitHub - langchain-ai/local-deep-researcher: Fully local web research and report writing assistant
Fully local web research and report writing assistant - langchain-ai/local-deep-researcher
This piece provides a guide to building a Retrieval-Augmented Generation (RAG) system using Anthropic's Claude, PostgreSQL, and Python on AWS. The tutorial walks through setting up the necessary PostgreSQL extensions and using Amazon Bedrock to create an application that generates more accurate AI responses.
https://www.tigerdata.com/blog/building-a-rag-system-with-claude-postgresql-python-on-aws
https://www.tigerdata.com/blog/building-a-rag-system-with-claude-postgresql-python-on-aws
Tiger Data Blog
Building a RAG System With Claude, PostgreSQL & Python on AWS
A walkthrough of building a RAG system using Anthropic Claude and PostgreSQL on Amazon Bedrock to make your AI app responses more accurate and context-aware.
👍2
Agent S: an open agentic framework that uses computers like a human
https://github.com/simular-ai/Agent-S
https://github.com/simular-ai/Agent-S
GitHub
GitHub - simular-ai/Agent-S: Agent S: an open agentic framework that uses computers like a human
Agent S: an open agentic framework that uses computers like a human - simular-ai/Agent-S
Lightweight Pandas monkey-patch that adds async support to map, apply, applymap, aggregate, and transform, enabling seamless handling of async functions with controlled max_parallel execution.
https://github.com/telekinesis-inc/aiopandas
https://github.com/telekinesis-inc/aiopandas
GitHub
GitHub - telekinesis-inc/aiopandas: Lightweight Pandas monkey-patch that adds async support to map, apply, applymap, aggregate…
Lightweight Pandas monkey-patch that adds async support to map, apply, applymap, aggregate, and transform, enabling seamless handling of async functions with controlled max_parallel execution. - te...
Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient models with minimal overhead.
https://github.com/PrunaAI/pruna
https://github.com/PrunaAI/pruna
GitHub
GitHub - PrunaAI/pruna: Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient…
Pruna is a model optimization framework built for developers, enabling you to deliver faster, more efficient models with minimal overhead. - PrunaAI/pruna
A simple tool that let's you explore different possible paths that an LLM might sample.
https://github.com/willkurt/token-explorer
https://github.com/willkurt/token-explorer
GitHub
GitHub - willkurt/token-explorer: A simple tool that let's you explore different possible paths that an LLM might sample.
A simple tool that let's you explore different possible paths that an LLM might sample. - willkurt/token-explorer
2X faster ASGI web framework for python, offering high-level development, low-level performance.
https://github.com/raceychan/lihil
https://github.com/raceychan/lihil
GitHub
GitHub - raceychan/lihil: 2X faster ASGI web framework for python, offering high-level development, low-level performance.
2X faster ASGI web framework for python, offering high-level development, low-level performance. - raceychan/lihil
👍1