News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Open Source Load Testing with Locust: 13 years, 60 million downloads later
https://www.reddit.com/r/Python/comments/1i8xdsb/open_source_load_testing_with_locust_13_years_60/
Push notifications without a mobile app: an experiment (with Django)
The article explores the use of web push notifications combined with Progressive Web Apps (PWAs) as an alternative to mobile apps for enhancing user engagement. It provides implementation guidance, UX design considerations, and a live demo, showcasing the feasibility of delivering seamless notifications without requiring dedicated mobile apps.
https://david.guillot.me/en/posts/tech/web-push-notifications-an-experiment/
Enigma Cipher Machine: An Object Oriented Python Implementation
https://christopherchmielewski.xyz/blog/2025-01-23-enigma-oo-implementation.html
microsoft / PromptWizard
Task-Aware Agent-driven Prompt Optimization Framework
https://github.com/microsoft/PromptWizard
Kiln
Rapid AI Prototyping and Dataset Collaboration Tool.
https://github.com/Kiln-AI/Kiln
Embedding Python in Rust (for tests)
The article discusses embedding Python in Rust for testing purposes, using PyO3 to create a test runner that executes Python tests and exposes Rust functions to Python code. It covers building Python from source, setting up a Rust project with PyO3, running Python code within Rust, and demonstrates how to create complex interfaces between Rust and Python, including handling dynamic types.
https://www.enterprisedb.com/blog/embedding-python-rust-tests
Coconut
Training Large Language Model to Reason in a Continuous Latent Space.
https://github.com/facebookresearch/coconut
stable-codec
A family of state-of-the-art Transformer-based audio codecs for low-bitrate high-quality audio coding.
https://github.com/Stability-AI/stable-codec
Leviathan
A lightning-fast Zig-powered event loop for Python's asyncio.
https://github.com/kython28/leviathan
Genesis-Embodied-AI / Genesis
A generative world for general-purpose robotics & embodied AI learning.
https://github.com/Genesis-Embodied-AI/Genesis
The “Active Enum” Pattern
Enums are objects, why not give them attributes?
https://blog.glyph.im/2025/01/active-enum.html
Caching with Redis and Django!
In this video, we'll learn about caching and how to setup and use Redis in a Django application. We'll touch upon invalidation strategies with Django signals, and the pros/cons of caching.
https://www.youtube.com/watch?v=5W2Yff00H8s
Dyana
A sandbox environment designed for loading, running and profiling a wide range of files, including machine learning models, ELFs, Pickle, Javascript and more.
https://github.com/dreadnode/dyana
nautechsystems / nautilus_trader
A high-performance algorithmic trading platform and event-driven backtester
https://github.com/nautechsystems/nautilus_trader
Python Hub Weekly Digest for 2025-01-19
https://pythonhub.dev/digest/2025-01-19/
Ruff: Python linter and code formatter written in Rust
https://github.com/astral-sh/ruff
I Created ErisForge, a Python Library for Abliteration of LLMs
https://github.com/Tsadoq/ErisForge
bytedance / monolith
A Lightweight Recommendation System
https://github.com/bytedance/monolith
Django & Redis - Vary Headers to Control Caching Behavior
In this video, we'll learn about caching with Vary Headers, allowing pages to be cached where the content depends on some dynamic data, for example an authenticated user or a language.
https://www.youtube.com/watch?v=iUn8go-XZNw
Bitcoin Price Patterns: A Time Series Analysis in Python
Learn how to analyze and predict Bitcoin prices using time series analysis in Python.
https://www.datacamp.com/blog/python-bitcoin
self-adaptive-llms
A Self-adaptation Framework that adapts LLMs for unseen tasks in real-time!
https://github.com/SakanaAI/self-adaptive-llms
Agent Recipes
Explore common agent recipes with ready to copy code to improve your LLM applications.
https://www.agentrecipes.com/
KenobiDB
KenobiDB is a document-based data store abstraction built on Python’s sqlite3, offering a simple and efficient way to manage JSON-like data.
https://patx.github.io/kenobi/
TangoFlux
Super Fast and Faithful Text to Audio Generation with Flow Matching.
https://tangoflux.github.io
Catching memory leaks with your test suite
If you have a good test suite, you may be able use pytest fixtures to identify memory and other resource leaks.
https://pythonspeed.com/articles/identifying-resource-leaks-with-pytest/
OpenBMB / MiniCPM-o
MiniCPM-o 2.6: A GPT-4o Level MLLM for Vision, Speech and Multimodal Live Streaming on Your Phone
https://github.com/OpenBMB/MiniCPM-o
Django vs. FastAPI, An Honest Comparison
The post provides an in-depth comparison of Django and FastAPI, highlighting their distinct approaches. Django excels as an all-inclusive, beginner-friendly framework with robust tools and structure, while FastAPI offers modern features, flexibility, and better async support, catering to experienced developers seeking full control. The choice depends on project requirements and desired d...
https://www.david-dahan.com/blog/comparing-fastapi-and-django
uv-migrator
A tool for migrating to the Python uv project.
https://github.com/stvnksslr/uv-migrator
How to Code with AI in 2025 (For Non-Coders)
The video demonstrates how beginners can use AI to code in Python, covering setup and three projects: data scraping, bulk image editing, and creating a data dashboard.
https://www.youtube.com/watch?v=zSlkAO9jB8I
Complex Django filters with Subquery
https://www.better-simple.com/django/2025/01/01/complex-django-filters-with-subquery/