microsoft / LLMLingua
To speed up LLMs' inference and enhance LLM's perceive of key information, compress the prompt and KV-Cache, which achieves up to 20x compression with minimal performance loss.
https://github.com/microsoft/LLMLingua
Python-Redlines
Docx tracked change redlines for the Python ecosystem.
https://github.com/JSv4/Python-Redlines
4 Tips for Building a Production-Ready FastAPI Backend
This video talks about 4 things that you typically won’t find in most FastAPI tutorials online. These tips are really useful, especially if you want to create a backend that’s used in a production setting.
https://www.youtube.com/watch?v=XlnmN4BfCxw
friuns2 / Leaked-GPTs
Leaked GPTs Prompts Bypass the 25 message limit or to try out GPTs without a Plus subscription.
https://github.com/friuns2/Leaked-GPTs
phidata
Build Autonomous Assistants using LLM function calling.
https://github.com/phidatahq/phidata
7 Python Memory Optimization Tricks To Enhance Your Code’s Efficiency
https://medium.com/techtofreedom/7-python-memory-optimization-tricks-to-enhance-your-codes-efficiency-5ef65bf415e7?sk=df088bcfb5315fe1fca54d22dc57a1bb
Memory Optimization Techniques for Python Developers
https://www.reddit.com/r/Python/comments/19789aq/memory_optimization_techniques_for_python/
Introduction to Polars
The article provides an overview of the Polars DataFrame library, highlighting its goal to offer a lightning-fast DataFrame library that optimizes queries, handles large datasets, and maintains a consistent and predictable API. It compares Polars to other solutions and introduces its design choices, making it a compelling option for high-performance data manipulation and analysis in Python.
https://pbpython.com/polars-intro.html
cumulo-autumn / StreamDiffusion
StreamDiffusion: A Pipeline-Level Solution for Real-Time Interactive Generation
https://github.com/cumulo-autumn/StreamDiffusion
Spot the bug in this Python code (2023)
https://dwrodri.gitlab.io/can-you-spot-the-bug-in-this-python-code/
surya
Accurate line-level text detection and recognition (OCR) in any language.
https://github.com/VikParuchuri/surya
Python Hub @ Whatsapp
Join Python Hub Whatsapp Channel
https://whatsapp.com/channel/0029VaJrpbhKWEKiXQ2tOT0q
How We Executed a Critical Supply Chain Attack on PyTorch
https://johnstawinski.com/2024/01/11/playing-with-fire-how-we-executed-a-critical-supply-chain-attack-on-pytorch/
Python Packaging, One Year Later: A Look Back at 2023 in Python Packaging
https://chriswarrick.com/blog/2024/01/15/python-packaging-one-year-later/
Running Python on air-gapped systems
How to reproducibly run python code on a system with no internet access.
https://iahmed.me/post/python-air-gapped/
The curious case of Pydantic and the 1970s timestamps
https://dev.arie.bovenberg.net/blog/pydantic-timestamps/
Performance Analysis of Python's Dict() and {}
https://madebyme.today/blog/python-dict-vs-curly-brackets/
DataMapPlot
Creating beautiful plots of data maps.
https://github.com/TutteInstitute/datamapplot
Synchronized in Python
In Java, you can make a variable thread safe by just adding the synchronized keyword. Is there anything that can achieve the same results in Python?
https://thiagowfx.github.io/2024/01/synchronized-in-python/
UIs with Python – Use PyQt5 to Create a Music Player
Learn how to create UIs with Python by creating a Modern Music Player with the PyQt5 framework. Some of the features of the app are: Beautiful and modern user interface, Playlists and favorite songs functionalities, Custom context menus for different pages and Background slideshow for every song.
https://www.youtube.com/watch?v=DjutoyfCl2c
Eschewing black box API calls
https://rednafi.com/misc/eschewing_black_box_api_calls/
selfextend
An implementation of Self-Extend, to expand the context window via grouped attention
https://github.com/sdan/selfextend
Best practices to protect your Flask applications
Learn to secure your Flask applications effectively with our expert hands-on tutorial. Enhance security for your projects in just a few steps!
https://escape.tech/blog/best-practices-protect-flask-applications/
Marimo – an open-source reactive notebook for Python
https://github.com/marimo-team/marimo
crewAI
Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://github.com/joaomdmoura/crewAI