News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
HomeHarvest
Python package for real estate scraping, supporting Zillow, Realtor.com & Redfin.
https://github.com/ZacharyHampton/HomeHarvest
ludwig-ai / ludwig
Low-code framework for building custom LLMs, neural networks, and other AI models
https://github.com/ludwig-ai/ludwig
How to add serverless functions to Django in 6 minutes (with HTMX and AWS Lambda)
This article discusses the integration of serverless functions with Django, highlighting how developers can leverage the benefits of serverless computing for specific tasks in a Django application. It explores the advantages of serverless architecture and provides practical insights for implementation.
https://www.photondesigner.com/articles/serverless-functions-django
Why does Python Code Run Faster in a Function?
https://www.reddit.com/r/Python/comments/16mskc9/why_does_python_code_run_faster_in_a_function/
Litestar
Litestar is a powerful, flexible yet opinionated ASGI framework, focused on building APIs, and offers high-performance data validation and parsing, dependency injection, first-class ORM integration, authorization primitives, and much more that's needed to get applications up and running.
https://github.com/litestar-org/litestar
Pyflyby
A set of productivity tools for Python.
https://github.com/deshaw/pyflyby
Processing a 250 TB dataset with Coiled, Dask, and Xarray
The authors successfully processed 250TB of geospatial cloud data in 20 minutes using Xarray, Dask, and Coiled, highlighting the challenges and optimizations involved, all while keeping the cost at approximately $25. This achievement demonstrates the feasibility of large-scale data processing, exposes scalability issues, and explores cost-efficient strategies for such tasks.
https://blog.coiled.io/blog/coiled-xarray.html
Add database search with Django and HTMX
We'll create a fast and simple database search using Django and HTMX. It's easy and fast to do with HTMX. There'll be 6 steps.
https://www.photondesigner.com/articles/database-search-django-htmx
Towards a new SymPy: Part 1 - Outline
This first post will outline the structure of the foundations of a computer algebra system (CAS) like SymPy, describe some problems SymPy currently has and what can be done to address them. Then subsequent posts will focus in more detail on particular components and the work that has been done and what should be done in the future.
https://oscarbenjamin.github.io/blog/czi/post1.html
How to Use Apple Vision Framework via PyObjC for Text Recognition
THis article discusses how to use the Vision framework via PyObjC, which allows you to use Objective-C frameworks from Python. The Vision framework is a machine learning framework that can be used to perform tasks such as face detection, object detection, and text recognition.
https://yasoob.me/posts/how-to-use-vision-framework-via-pyobjc/
The easy way to concurrency and parallelism with Python stdlib
https://www.bitecode.dev/p/the-easy-way-to-concurrency-and-parallelism
Prompt flow
Build high-quality LLM apps - from prototyping, testing to production deployment and monitoring.
https://github.com/microsoft/promptflow
WhatsApp-Llama
Finetune a LLM to speak like you based on your WhatsApp Conversations.
https://github.com/Ads-cmu/WhatsApp-Llama/
How We're Building AI Search Engines using LLM Embeddings
Demo and explanation of how to use the Python sentence-transformers library to generate, store, and query LLM embeddings using the Django ORM and pgvector. This video demonstrates a prototype application that enables "AI-powered search" for job descriptions using an unstructured, English-language description of a job seeker.
https://www.youtube.com/watch?v=ZCPUmC37HLU
When to use classes in Python? When you repeat the same functions
In this article, we look at another heuristic for using classes in Python, with examples from real-world code, and some things to keep in mind.
https://death.andgravity.com/same-functions
Galactic
Galactic provides cleaning and curation tools for massive unstructured text datasets. It's designed to help you curate fine-tuning datasets, create document collections for retrieval-augmented generation (RAG), and even perform deduplication of web-scale datasets for LLM pre-training. This
https://github.com/taylorai/galactic
PYOBD
Open source obd2 car diagnostics program.
https://github.com/barracuda-fsh/pyobd
Shshsh is a bridge connects Python and shell
https://github.com/zqqqqz2000/shshsh
Python Hub Weekly Digest for 2023-09-24
https://pythonhub.dev/digest/2023-09-24/
Medusa
Simple Framework for Accelerating LLM Generation with Multiple Decoding Heads.
https://github.com/FasterDecoding/Medusa
blip-caption
Generate captions for images with Salesforce BLIP.
https://github.com/simonw/blip-caption
Deploying Django with Kamal (mrsk)
If you just want to deploy containers on a remote machine, Kamal might be a nice addition to your toolbelt. It automates many common steps when deploying containers to one or more remote machines, without introducing the complexity of something like Kubernetes or having to use a managed service.
https://anthonynsimon.com/blog/kamal-deploy/
How the Python Dataframe Interchange Protocol Makes Life Better
In this article, we answer three questions about the Python Dataframe Interchange Protocol: What it is + what problems it solves; how it works; and how extensively it's been adopted.
https://ponder.io/how-the-python-dataframe-interchange-protocol-makes-life-better/
FlagOpen / FlagEmbedding
Open-source Embeddings
https://github.com/FlagOpen/FlagEmbedding
Show HN: Kr8s a batteries-included Python client library for Kubernetes
https://github.com/kr8s-org/kr8s
Vector Embeddings Tutorial – Create an AI Assistant with GPT-4 & Natural Language Processing
Learn about vector embeddings and how to use them in your machine learning and artificial intelligence projects. Learn how to create an AI assistant with vector embeddings.
https://www.youtube.com/watch?v=yfHHvmaMkcA
Is FastAPI overtaking popularity from Django?
https://www.reddit.com/r/Python/comments/16f9ou2/is_fastapi_overtaking_popularity_from_django/
pai
A Python REPL with a built in AI agent and code generation.
https://github.com/AlexWiles/pai
Introducing flake8-logging
This article introduces flake8-logging, a Flake8 plugin that helps you to improve the logging in your Python code. Flake8 is a linter that checks Python code for errors and style violations. flake8-logging extends Flake8 by adding rules for checking logging code.
https://adamj.eu/tech/2023/09/07/introducing-flake8-logging/
Visualizing the CPython Release Process
https://sethmlarson.dev/security-developer-in-residence-weekly-report-9