fructose
LLM calls as strongly-typed functions.
https://github.com/bananaml/fructose
Speed up Django’s collectstatic command with Collectfasta
The post introduces Collectfasta, an updated fork of Collectfast designed to enhance the performance of Django's collectstatic command. By optimizing the repository and improving performance, Collectfasta offers faster execution and efficiency compared to the standard Django command, providing a valuable tool for developers seeking enhanced performance in their Django projects.
https://jasongi.com/2024/03/04/speed-up-djangos-collectstatic-command-with-collectfasta/
Python Gevent in practice: common pitfalls to keep in mind
Learn more about the common pitfalls of using the asynchronous Python library, Gevent, and how to resolve them in this article.
https://upsun.com/blog/python-gevent-best-practices/
We Hacked Google A.I. for $50,000
This article discusses the author's experience of participating in a hacking event in Las Vegas where vulnerabilities were discovered, leading to the successful hacking of Google. Despite the initial achievement, the Google VRP team extended the competition deadline to encourage more creative findings, highlighting the ongoing challenges and opportunities in the realm of cybersecurity
https://www.landh.tech/blog/20240304-google-hack-50000
Parsing URLs in Python
https://tkte.ch/articles/2024/03/15/parsing-urls-in-python.html
openllmetry
Open-source observability for your LLM application.
https://github.com/traceloop/openllmetry
Using LLMs to Generate Fuzz Generators
The post explores the effectiveness of Large Language Models (LLMs) in generating fuzz drivers for library API fuzzing. It discusses the challenges and benefits of LLM-based fuzz driver generation, highlighting its practicality, strategies for complex API usage, and areas for improvement based on a comprehensive study and evaluation.
https://verse.systems/blog/post/2024-03-09-using-llms-to-generate-fuzz-generators
Doubiiu / DynamiCrafter
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
https://github.com/Doubiiu/DynamiCrafter
Get started with conda environments
This post explains the benefits of virtual environments and how to use virtual environments in conda.
https://www.dataschool.io/intro-to-conda-environments/
I made a YouTube downloader with Modern UI | PyQt6 | PyTube | Fluent Design
https://www.reddit.com/r/Python/comments/1b66726/i_made_a_youtube_downloader_with_modern_ui_pyqt6/
How fast can we process a CSV file
The article explores the speed of processing CSV files, highlighting the use of PyArrow to enhance CSV reading speed significantly. It compares different methods like pandas with C engine, pure Python looping, and pandas with PyArrow engine, showcasing the efficiency of PyArrow in processing CSV files faster and more effectively
https://datapythonista.me/blog/how-fast-can-we-process-a-csv-file
I hate typing out every 'self.x = x' line in an __init__ method. Is this alternative acceptable?
https://www.reddit.com/r/Python/comments/1b5bc8g/i_hate_typing_out_every_selfx_x_line_in_an_init/
Combining Rust and Python: The Best of Both Worlds?
This video shows you how to seamlessly integrate Rust with Python using Pyo3. This library allows you to write Python modules with Rust. This means that we get the speed and safety of Rust along with Python's easy-to-use features!
https://www.youtube.com/watch?v=lyG6AKzu4ew
An extremely modern and configurable Python project template
https://www.reddit.com/r/Python/comments/1b4qwds/an_extremely_modern_and_configurable_python/
Understanding Context Manager and its Syntastic Sugar
https://bjoernricks.github.io/posts/python/context-manager/
ibis-project / ibis
the portable Python dataframe library
https://github.com/ibis-project/ibis
Large Language Models On-Device with MediaPipe and TensorFlow Lite
The article discusses the release of the experimental MediaPipe LLM Inference API, enabling Large Language Models (LLMs) to run fully on-device across platforms. This transformative capability addresses the significant memory and compute demands of LLMs, which are over a hundred times larger than traditional on-device models, achieved through optimizations like new ops, quantization, cac...
https://developers.googleblog.com/2024/03/running-large-language-models-on-device-with-mediapipe-andtensorflow-lite.html
Insecurity and Python pickles
https://lwn.net/SubscriberLink/964392/498a12fe44f51139/
Create A Machine Learning Powered NCAA Bracket
Dive into the fascinating world of machine learning and AI as we guide you through developing a model designed to predict NCAA tournament outcomes. From initial setup to final predictions, we’ll cover everything you need to create your own powerhouse model.
https://www.youtube.com/watch?v=cHtAEWkvSMU
GGUF, the long way around
This is an article about GGUF, a file format used for machine learning models. It discusses what machine learning models are and how they are produced.
https://vickiboykis.com/2024/02/28/gguf-the-long-way-around/
JSON Serialization
https://www.reddit.com/r/Python/comments/1bfs8cy/json_serialization/
EvalPlus
EvalPlus for rigourous evaluation of LLM-synthesized code.
https://github.com/evalplus/evalplus
Analyzing "Sorting a million 32-bit integers in 2MB of RAM using Python"
SummaryWe are going to revisit Guido's famous "Sorting a million 32-bit integers in 2MB of RAM ...
https://www.bitecode.dev/p/analyzing-sorting-a-million-32-bit
FujiwaraChoki / MoneyPrinter
Automate Creation of YouTube Shorts using MoviePy.
https://github.com/FujiwaraChoki/MoneyPrinter
6 ways to improve the architecture of your Python project (using import-linter)
The article discusses six ways to enhance the architecture of Python projects, focusing on maintaining clear dependency relationships between packages and modules to avoid tangled inter-module dependencies. It addresses challenges like high architectural understanding costs for newcomers and reduced development efficiency due to difficulties in locating code within large projects.
https://www.piglei.com/articles/en-6-ways-to-improve-the-arch-of-you-py-project/
Create a quiz app in 6 minutes with HTMX and Django
This guide shows you how to build a simple quiz application using Django and HTMX in 6 minutes. HTMX is great for creating dynamic web applications without writing JavaScript.
https://www.photondesigner.com/articles/quiz-htmx
django-admin-shellx
A Django Admin Web Shell using Xterm.js and Django Channels.
https://github.com/adinhodovic/django-admin-shellx
kserve / kserve
Standardized Serverless ML Inference Platform on Kubernetes
https://github.com/kserve/kserve
Python environment management using JupyterLab Desktop CLI
The article discusses Python environment management using the JupyterLab Desktop CLI, which offers various commands and options to manage Python environments efficiently within the application. It covers setting up the JupyterLab Desktop CLI, creating new Python environments, and utilizing bundled environment installers or downloading packages from the registry to enhance the development...
https://blog.jupyter.org/python-environment-management-using-jupyterlab-desktop-cli-e57485c9287c