1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Asyncio Coroutines Faster Than Threads!?
In this tutorial, you will discover whether coroutines really are faster than threads, or not, given a suite of benchmarks.
https://superfastpython.com/asyncio-coroutines-faster-than-threads/
Show HN: Magentic – Use LLMs as simple Python functions
https://github.com/jackmpcollins/magentic
Python 3.12
https://www.python.org/downloads/release/python-3120/
Keep content managers’ Django admin access up-to-date with role-based permissions
https://406.ch/writing/keep-content-managers-admin-access-up-to-date-with-role-based-permissions/
OpenBMB / ChatDev
Create Customized Software using Natural Language Idea (through LLM-powered Multi-Agent Collaboration)
https://github.com/OpenBMB/ChatDev
rustworkx
A high performance Python graph library implemented in Rust.
https://github.com/Qiskit/rustworkx
Flask 3.0.0 Released
https://www.reddit.com/r/Python/comments/16w97i6/flask_300_released/
Medical_Intake
Automated pipeline for medical intake, diagnosis, tests, etc.
https://github.com/daveshap/Medical_Intake
Python Hub Weekly Digest for 2023-10-01
https://pythonhub.dev/digest/2023-10-01/
Simulate the Monty Hall problem in Python
Use Python to solve this classic probability puzzle that has stumped mathematicians and Nobel Prize winners!
https://www.dataschool.io/python-probability-simulation/
Compiling ML models to C for fun
ML models can be compiled to graphs, which can be traversed to perform forward and backward passes. This approach can improve performance and make it easier to debug ML models.
https://bernsteinbear.com/blog/compiling-ml-models/
Django 5.0 alpha 1 released
https://www.djangoproject.com/weblog/2023/sep/18/django-50-alpha-1-released/
QuasiQueue
QuasiQueue is a MultiProcessing library for Python that makes it super easy to have long running MultiProcess jobs. QuasiQueue handles process creation and cleanup, signal management, cross process communication, and all the other garbage that makes people hate dealing with multiprocessing.
https://github.com/tedivm/quasiqueue
Building RAG-based LLM Applications for Production (Part 1)
In this guide, we will learn how to develop and productionize a retrieval augmented generation (RAG) based LLM application, with a focus on scale, evaluation and routing.
https://www.anyscale.com/blog/a-comprehensive-guide-for-building-rag-based-llm-applications-part-1
Speeding up Floyd-Steinberg dithering: an optimization exercise
A worked out example: optimizing low-level code to get significant performance and memory improvements.
https://pythonspeed.com/articles/optimizing-dithering/
Who's using asyncio?
https://www.reddit.com/r/Python/comments/16ureyk/whos_using_asyncio/
SeaGOAT
local-first semantic code search engine.
https://github.com/kantord/SeaGOAT
PyMilo
PyMilo provides a way to export pre-trained machine learning models. This makes it possible to use the models in other environments, transfer them across different platforms, and share them with others.
https://github.com/openscilab/pymilo
78% MNIST accuracy using GZIP in under 10 lines of code.
https://jakobs.dev/solving-mnist-with-gzip/
What mistakes do bad python developers make?
https://www.reddit.com/r/learnpython/comments/16x5oun/what_mistakes_do_bad_python_developers_make/
pythex
pythex is a quick way to test your Python regular expressions.
https://pythex.org/
Building A RisingWave Connector for Django ORM
Ever wanted to connect a streaming database to Django ORM. Learn how with Django and RisingWave.
https://bas.codes/posts/django-risingwave
KillianLucas / open-interpreter
OpenAI's Code Interpreter in your terminal, running locally
https://github.com/KillianLucas/open-interpreter
PyLLMCore
A pythonic library providing light-weighted interface with LLMs
https://github.com/paschembri/py-llm-core
Temporian
Temporian is a Python library for feature engineering and data augmentation of temporal data (e.g. time-series, transactions) in machine learning applications.
https://github.com/google/temporian
EvoDiff
Generation of protein sequences and evolutionary alignments via discrete diffusion models.
https://github.com/microsoft/evodiff
HTTP-Shell
MultiPlatform HTTP Reverse Shell.
https://github.com/JoelGMSec/HTTP-Shell
Logparser
Logparser provides a machine learning toolkit and benchmarks for automated log parsing, which is a crucial step for structured log analytics
https://github.com/logpai/logparser
Why Are There So Many Python Dataframes?
This post explores the proliferation of Python dataframes, dissecting the reasons behind their prevalence in data science and analysis, shedding light on the various libraries and frameworks that contribute to their abundance.
https://ponder.io/why-are-there-so-many-python-dataframes/
vpselector
Visual Pandas Selector: Visualize and interactively select time-series data.
https://github.com/manumerous/vpselector