How to Design a REST API That Doesn’t SUCK
Learn 6 essential tips for designing a great REST API that even big companies often overlook. From following standards and maintaining consistency to writing clear documentation and simplifying integration, this video covers everything you need to create user-friendly and efficient APIs. Don't miss out on the key strategies for improving your API design!
https://www.youtube.com/watch?v=SjUQLryotAk
Fast(er)API: Optimizing Processing Time
A few simple tips to make your REST API go faster.
https://fabridamicelli.github.io/posts/2023-07-13-optimize-fastapi.html
Abstract interpretation in the Toy Optimizer
In this blog post, I’m going to write a small abtract interpreter for the Toy IR and then show how we can use it to do some simple optimizations.
https://bernsteinbear.com/blog/toy-abstract-interpretation/
Treescope: Interactive HTML visualization library for Python neural networks
https://github.com/google-deepmind/treescope
MobileLLM
MobileLLM Optimizing Sub-billion Parameter Language Models for On-Device Use Cases. In ICML 2024.
https://github.com/facebookresearch/MobileLLM
kaskade
kaskade is a text user interface for kafka, which allows you to interact and consume topics from your terminal in style!
https://github.com/sauljabin/kaskade
Resource management and generators in Python
The article explores resource management and cleanup behavior in Python generators, highlighting unexpected issues when generators are not fully consumed. It demonstrates various scenarios, including the use of context managers and the finally clause, to ensure proper cleanup and resource management in generator functions.
https://samgeo.codes/python-generator-cleanup/
snakers4 / silero-vad
Silero VAD: pre-trained enterprise-grade Voice Activity Detector
https://github.com/snakers4/silero-vad
Finding Simple Rewrite Rules for the JIT with Z3
https://www.pypy.org/posts/2024/07/finding-simple-rewrite-rules-jit-z3.html
A helper for LLM SDKs
LLMEasyTools generates tool schemas and executes function calls received from the LLM.
https://github.com/zby/LLMEasyTools
Korvus
Korvus is a search SDK that unifies the entire RAG pipeline in a single database query. Built on top of Postgres with bindings for Python, JavaScript, Rust and C.
https://github.com/postgresml/korvus
PyTorch Lightning: A Comprehensive Hands-On Tutorial
This comprehensive, hands-on tutorial teaches you how to simplify deep learning model development with PyTorch Lightning. Perfect for beginners and experienced developers alike, it covers environment setup, model training, and practical examples.
https://www.datacamp.com/tutorial/pytorch-lightning-tutorial
A Python Epoch Timestamp Timezone Trap
This is an article about a Python epoch timestamp timezone trap. It discusses how epoch timestamps can be tricky to work with in Python, especially when dealing with timezones. The author provides a few tips for avoiding the trap.
https://nerderati.com/a-python-epoch-timestamp-timezone-trap/
flpc: Probably the fastest regex library for Python. Made with Rust 🦀 and PyO3
https://www.reddit.com/r/Python/comments/1dv811q/flpc_probably_the_fastest_regex_library_for/
Annotated area charts with plotnine
The plotnine
visualisation library brings the Grammar of Graphics to Python. This post walks through the process of creating a customised, annotated area chart of coal production data.
https://nrennie.rbind.io/blog/plotnine-annotated-area-chart
PDF-Extract-Kit
A Comprehensive Toolkit for High-Quality PDF Content Extraction.
https://github.com/opendatalab/PDF-Extract-Kit
Mypy 1.11 Released
Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes.
https://mypy-lang.blogspot.com/2024/07/mypy-111-released.html
Transcribing Audio with Python on Your Local Machine
If you don't want to pay for a service to transcribe your audio, you can generate it easily on your own machine with a little setup. Here's how.
https://www.jeremymorgan.com/tutorials/generative-ai/how-to-transcribe-audio
Python Practical Package Packing 2024
https://matt.sh/python-project-structure-2024
MervinPraison / PraisonAI
PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration. Chat with your ENTIRE Codebase.
https://github.com/MervinPraison/PraisonAI
Build a search index in Python
How can search engines be so fast? While there are many parts of a search system, one of the key concepts to know is the inverted index.
https://jamesg.blog/2024/07/16/build-a-search-index/
exo
Run your own AI cluster at home with everyday devices.
https://github.com/exo-explore/exo
AI Dialer
A full stack app for interruptible, low-latency and near-human quality AI phone calls built from stitching LLMs, speech understanding tools, text-to-speech models, and Twilio’s phone API.
https://github.com/akiani/aidialer
vectorlite
A fast and tunable vector search extension for SQLite.
https://github.com/1yefuwang1/vectorlite
Click: Build Your Own Command Line Interface Tool
This video provides a tutorial on creating a Command Line Interface (CLI) tool in Python using the Click package. The project involves building a simple note-taking tool with functionalities to write, read, update, and delete notes. Additionally, it explores some lesser-known features of Click that enhance tool functionality.
https://www.youtube.com/watch?v=FWacanslfFM