1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Profiling your Numba code
Learn how to use the Profila profiler to find performance bottlenecks in your Numba code.
https://pythonspeed.com/articles/numba-profiling/
Getting Started With CUDA for Python Programmers
In this tutorial, Jeremy Howard demystifies CUDA programming for NVIDIA GPUs, particularly focusing on its accessibility when combined with PyTorch. The hands-on tutorial, conducted in a Colab notebook, guides viewers through practical examples, starting with simple tasks like converting an RGB image to grayscale, and progressing to more advanced topics like matrix multiplication. The em...
https://www.youtube.com/watch?v=nOxKexn3iBo
Real Case usage of Python Metaclasses
Three examples applying Python Metaclasses
https://dev.to/anbagu/real-case-of-python-metaclass-application-2pj8
Codemodder – A new codemod library for Java and Python
https://codemodder.io/
SGLang
SGLang is a structured generation language designed for large language models (LLMs). It makes your interaction with LLMs faster and more controllable.
https://github.com/sgl-project/sglang
scrapscript.py
The article introduces a small, pure, functional, content-addressable, network-first programming language designed to create small, shareable programs. It discusses the language's features and its implementation, highlighting its purpose and the collaborative effort behind its development. The article provides insights into the motivation and design principles of Scrapscript, as well as ...
https://bernsteinbear.com/blog/scrapscript/
Performance of Vector Databases
The talk explores the role of vector databases in enhancing AI applications like Retrieval-Augmented Generation (RAG), focusing on high-dimensional embeddings crucial for machine learning. Egor Romanov delves into creating a Postgres provider integrated with pgvector, utilizing a Python performance evaluation framework to simulate similarity search tests and unveil latent performance pot...
https://www.youtube.com/watch?v=-MYYB0QjV6I
hummingbot / hummingbot
Open source software that helps you create and deploy high-frequency crypto trading bots
https://github.com/hummingbot/hummingbot
The Scary Thing About Automating Deploys
The article from Slack Engineering discusses the fear of breaking production that holds many teams back from automating their deployments. It emphasizes the importance of understanding how deployment monitoring differs from normal monitoring and the iterative approach taken to ease these fears, ultimately leading to successful automated deployments. The article provides insights into the...
https://slack.engineering/the-scary-thing-about-automating-deploys/
TaskingAI
The open source platform for AI-native application development.
https://github.com/TaskingAI/TaskingAI
The Cowboy Coder's Handbook: Unlocking the Secrets to Job Security by Writing Code Only You Can Understand!
https://www.reddit.com/r/Python/comments/19etjtd/the_cowboy_coders_handbook_unlocking_the_secrets/
InstantID
Zero-shot Identity-Preserving Generation in Seconds.
https://github.com/InstantID/InstantID
FastHX
FastAPI and HTMX, the right way.
https://github.com/volfpeter/fasthx
NVIDIA / GenerativeAIExamples
Generative AI reference workflows optimized for accelerated infrastructure and microservice architecture.
https://github.com/NVIDIA/GenerativeAIExamples
Python Hub Weekly Digest for 2024-01-28
https://pythonhub.dev/digest/2024-01-28/
Python HTTP library 'urllib3' now works in the browser
https://github.com/urllib3/urllib3/releases/tag/2.2.0
Python Hub Weekly Digest for 2024-02-04
https://pythonhub.dev/digest/2024-02-04/
Python packaging must be getting better - a datapoint
I “pip install”ed my app on Windows and everything just worked. Something is going right.
https://lukeplant.me.uk/blog/posts/python-packaging-must-be-getting-better-a-datapoint/
finagg
A Python package for aggregating historical data from popular and free financial APIs, and for transforming that data into features for AI/ML.
https://github.com/theOGognf/finagg
Method chaining in Pandas
What is method chaining in Pandas? How does it work, and how can you use it?
https://www.youtube.com/watch?v=39MEeDLxGGg
wafer
Wafer is a simple but effective web application firewall (WAF) fuzzing tool.
https://github.com/sysdig/wafer
Ollama releases Python and JavaScript Libraries
https://ollama.ai/blog/python-javascript-libraries
Python-Type-Challenges
Master Python typing (type hints) with interactive online exercises!
https://github.com/laike9m/Python-Type-Challenges
Python types have an expectations problem
sgorawski/python-types-have-an-expectations-problem-ea71a8645ce8">sgorawski/python-types-have-an-expectations-problem-ea71a8645ce8" rel="nofollow">https://medium.com/@sgorawski/python-types-have-an-expectations-problem-ea71a8645ce8
Simple Google Sign-in with Django
We'll add Google sign-in to Django in the simplest possible way (No Django-all-auth or Django-social-auth or any other big packages).
https://www.youtube.com/watch?v=NM9BE0iUB5Q
Python Data Analysis and Visualization Course – Astronomical Data
Learn data analysis, data visualizations, and image processing techniques using real-world astronomical data. The course offers a practical, hands-on approach to simplifying complex concepts in data analysis, making it great for beginners.
https://www.youtube.com/watch?v=H9KefzbryEw
django-webhook
Outgoing Django webhooks triggered on model changes.
https://github.com/danihodovic/django-webhook
Building a priority-expiry LRU cache without heaps or trees in Python
Learn how to implement a least recently used cache with priorities and expiry, using only the Python standard library.
https://death.andgravity.com/lru-cache
Applio
Ultimate voice cloning tool, meticulously optimized for unrivaled power, modularity, and user-friendly experience.
https://github.com/IAHispano/Applio
Lamport's Bakery Algorithm, Demonstrated in Python
https://github.com/Dicklesworthstone/bakery_algorithm