1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
roop
one-click deepfake (face swap)
https://github.com/s0md3v/roop
Don’t let yourself be fooled by data drift
The purpose of this post is to demonstrate that not all data drift impacts model performance. Making drift methods hard to trust since they tend to produce a large number of false alarms. To illustrate this point, we will train an ML model using a real-world dataset, monitor the distribution of the model's features in production, and report any data drift that might occur.
https://www.nannyml.com/blog/when-data-drift-does-not-affect-performance-machine-learning-models
PyCon US 2023 Video
Recordings from PyCon US 2023 in Salt Lake City, UT.
https://www.youtube.com/playlist?list=PL2Uw4_HvXqvY2zhJ9AMUa_Z6dtMGF3gtb
Valid Python syntax – by Nobody has time for Python
https://www.bitecode.dev/p/this-is-valid-python-syntax
PyStack
PyStack is a tool that uses forbidden magic to let you inspect the stack frames of a running Python process or a Python core dump, helping you quickly and easily learn what it's doing (or what it was doing when it crashed) without having to interpret nasty CPython internals.
https://github.com/bloomberg/pystack
string2string
String-to-String Algorithms for Natural Language Processing.
https://github.com/stanfordnlp/string2string
threestudio
A unified framework for 3D content generation.
https://github.com/threestudio-project/threestudio
Writing a KVM hypervisor VMM in Python
An experimental VMM for KVM written in Python. This is simply an experimental proof of concept which was hacked together enough to be able to boot OVMF, then install Linux on a disk and boot it.
https://www.devever.net/~hl/kvm
Ruff: A Fast Python Linter
https://lwn.net/Articles/930487/
flood
flood is a load testing tool for benchmarking EVM nodes over RPC
https://github.com/paradigmxyz/flood
Sophia
Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.
https://github.com/kyegomez/Sophia
bigcode-project / starcoder
Home of StarCoder: fine-tuning & inference!
https://github.com/bigcode-project/starcoder
Voyager
An Open-Ended Embodied Agent with Large Language Models.
https://github.com/MineDojo/Voyager
Representing Monetary Values in Python
Understanding how to accurately represent monetary values in Python is crucial for building financial applications, analyzing data, or simply improving your coding skills. This tutorial explores the various techniques and best practices for effectively working with money.
https://www.youtube.com/watch?v=0kzjD6jvfnk
(Failed - but working 100%) Interview challenge
https://www.reddit.com/r/Python/comments/137gvt9/failed_but_working_100_interview_challenge/
Hiera
A Hierarchical Vision Transformer without the Bells-and-Whistles.
https://github.com/facebookresearch/hiera
LangChain Crash Course - Build apps with language models
https://www.youtube.com/watch?v=LbT1yp6quS8
Refactoring a Command Line Shell | Code Roast Part 1
Watch the video to witness the transformation from average to exceptional code in Part 1 of 2 videos.
https://www.youtube.com/watch?v=TDgouhWA13A
Lanarky
Lanarky is an open-source framework to deploy LLM applications in production. It is built on top of FastAPI and comes with batteries included.
https://github.com/ajndkr/lanarky
Python 3.11.4, 3.10.12, 3.9.17, 3.8.17, 3.7.17, and 3.12.0 beta 2 are now available
https://pythoninsider.blogspot.com/2023/06/python-3114-31012-3917-3817-3717-and.html
Chaos Theory: Animated in Python
https://www.reddit.com/r/madeinpython/comments/140k6fk/chaos_theory_animated_in_python/
JupyterLab 4.0 is Here
The Jupyter contributor community is proud to announce JupyterLab 4.0, the next major release of our full-featured development environment. The package is now available on PyPI and conda-forge. You can upgrade by running pip install --upgrade jupyterlab or conda install -c conda-forge jupyterlab.
https://blog.jupyter.org/jupyterlab-4-0-is-here-388d05e03442
Functional Python Programming
https://docs.python.org/3/howto/functional.html
chatdocs
Chat with your documents offline using AI.
https://github.com/marella/chatdocs
aviary
Evaluate multiple LLMs easily.
https://github.com/ray-project/aviary
Olive
Olive is an easy-to-use hardware-aware model optimization tool that composes industry-leading techniques across model compression, optimization, and compilation.
https://github.com/microsoft/Olive
The Many Problems with Celery
The post discusses the challenges and limitations of using Celery, a distributed task queue framework in Python, highlighting issues related to scalability, error handling, and deployment complexities.
https://steve.dignam.xyz/2023/05/20/many-problems-with-celery/
Blazing Fast ETLs with Simultaneous MultiProcessing and MultiThreading
The post delves into the techniques and benefits of using simultaneous multiprocessing and multithreading for ETL (Extract, Transform, Load) processes. It explores how leveraging these parallel processing approaches can significantly improve the performance and efficiency of ETL tasks, resulting in faster data processing and enhanced overall productivity.
https://heyashy.medium.com/blazing-fast-etls-with-simultaneous-multiprocessing-and-multithreading-214865b56516
AutoGPTQ
An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.
https://github.com/PanQiWei/AutoGPTQ
acheong08 / Bard
Python SDK/API for reverse engineered Google Bard
https://github.com/acheong08/Bard