1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
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/
BlendSQL
Unified dialect for orchestrating SQLite logic and LLM reasoning.
https://github.com/parkervg/blendsql
The GIL can now be disabled in Python's main branch
https://github.com/python/cpython/pull/116338
Deploying Django Apps in Kubernetes
Learn you can optimize Django deployments seamlessly in a Kubernetes environment, whether you are a Django developer or a Kubernetes enthusiast.
https://blog.jetbrains.com/pycharm/2024/03/deploying-django-apps-in-kubernetes/
mit-han-lab / efficientvit
EfficientViT is a new family of vision models for efficient high-resolution vision.
https://github.com/mit-han-lab/efficientvit
pfl
Python framework for Private Federated Learning simulations.
https://github.com/apple/pfl-research
Intro to DSPy: Goodbye Prompting, Hello Programming!
How the DSPy framework solves the fragility problem in LLM-based applications by replacing prompting with programming and compiling.
https://towardsdatascience.com/intro-to-dspy-goodbye-prompting-hello-programming-4ca1c6ce3eb9
flect
A pure Python full-stack web apps framework inspired by Next.js.
https://github.com/Chaoyingz/flect
Machine Learning in 2024 – Beginner's Course
This machine learning course is created for beginners who are learning in 2024. The course begins with a Machine Learning Roadmap for 2024, emphasizing career paths and beginner-friendly theory. Then it the course moves on to hands-on practical applications and a comprehensive end-to-end project using Python.
https://www.youtube.com/watch?v=bmmQA8A-yUA
How to Write a (Lisp) Interpreter (In Python) (2010)
https://www.norvig.com/lispy.html
Graphinate. Data to Graphs.
Graphinate is a python library that aims to simplify the generation of Graph Data Structures from Data Sources.
https://github.com/erivlis/graphinate
SymPy: Symbolic Mathematics in Python
https://www.sympy.org/en/index.html
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
lllyasviel / stable-diffusion-webui-forge
https://github.com/lllyasviel/stable-diffusion-webui-forge
Cadwyn
Production-ready community-driven modern Stripe-like API versioning in FastAPI.
https://github.com/zmievsa/cadwyn
Bython: Python with braces. Because Python is awesome, but whitespace is awful
https://pypi.org/project/Bython/
From Beeps to Toots: Reviving Pagers with Python and Mastodon
The article showcases a unique application of Python programming by connecting pagers with Mastodon, blending the reliability of pagers with modern social media interactions. It highlights the versatility of Python in bridging analog devices like pagers with digital platforms, demonstrating the enduring relevance of traditional communication methods in today's digital age.
https://finnley.dolphinhome.net/2024/02/25/from-beeps-to-toots-reviving-pagers-with-python-and-mastodon/
Hatchet
A Distributed, Fault-Tolerant Task Queue.
https://github.com/hatchet-dev/hatchet
Bonito
A lightweight library for generating synthetic instruction tuning datasets for your data without GPT.
https://github.com/BatsResearch/bonito
Building an LLM fine-tuning Dataset
The video shares insights on building a comprehensive dataset for AI model training using Reddit comments, highlighting challenges such as working with large datasets and filtering out low-quality comments. The creator discusses methods like loading, sorting, and filtering data to create training samples and models, emphasizing the abundance of comments available for analysis and the pro...
https://www.youtube.com/watch?v=pCX_3p40Efc
NVIDIA / trt-llm-rag-windows
A developer reference project for creating Retrieval Augmented Generation (RAG) chatbots on Windows using TensorRT-LLM
https://github.com/NVIDIA/trt-llm-rag-windows
Python Hub Weekly Digest for 2024-03-10
https://pythonhub.dev/digest/2024-03-10/
ok-robot
An open, modular framework for zero-shot, language conditioned pick-and-drop tasks in arbitrary homes.
https://github.com/ok-robot/ok-robot
Dependency Injection Explained in 7 Minutes
This video explains why dependency injection is a game-changer for your coding projects. Creating loosely coupled code is key to making the code more flexible and more maintainable. This is all possible through the implicit use of dependencies.
https://www.youtube.com/watch?v=DpMGEhwuuyA