1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
facebookresearch / codellama
Inference code for CodeLlama models
https://github.com/facebookresearch/codellama
PyGraft
Configurable Generation of Schemas and Knowledge Graphs at Your Fingertips.
https://github.com/nicolas-hbt/pygraft
EuroPython 2023 Videos
Here are all the videos for the conference, brought to you by the EuroPython 2023 Team and the EuroPython Society.
https://www.youtube.com/playlist?list=PL8uoeex94UhFcwvAfWHybD7SfNgIUBRo-
neulab / prompt2model
prompt2model - Generate Deployable Models from Natural Language Instructions
https://github.com/neulab/prompt2model
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
19X faster response time
Lincoln Loop optimized a large publishing platform's database performance. Overall, the database performance increased 19 times.
https://lincolnloop.com/insights/optimizing-response-time-19x-faster/
I made a transformer by hand (no training!)
https://vgel.me/posts/handmade-transformer/
Python 3.12.0 release candidate 3 now available
https://pythoninsider.blogspot.com/2023/09/python-3120-release-candidate-3-now.html
llm-guard
The Security Toolkit for LLM Interactions.
https://github.com/laiyer-ai/llm-guard
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