News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
llm-regression
Exploring the classical regression capabilities of LLMs.
https://github.com/AlexIoannides/llm-regression
Let’s optimize! Running 15× faster with a situation-specific algorithm
Sometimes the best way to speed up your algorithm is to adjust it to the specifics of your data.
https://pythonspeed.com/articles/lets-optimize-median-local-threshold/
groqbook
Generate entire books in seconds using Groq and Llama3.
https://github.com/Bklieger/groqbook
Python at the Speed of Julia
The article explores achieving Python's ease of use with Julia's speed, illustrating how to optimize Python code using Julia for high-performance computing tasks. It provides examples and insights on integrating both languages to enhance computational efficiency without sacrificing Python's simplicity.
https://glassnotebook.io/r/dxJTYbJBmPR1X3NQUfwXB/99_python_at_the_speed_of_julia.jl
Cloud Performance on a "Toy" Computer: From Python to Rust
https://progscrape.com/blog/2024-06-06/cloud-performance-on-a-toy-computer-from-python-to-rust
ChatTTS
ChatTTS is a generative speech model for daily dialogue.
https://github.com/2noise/ChatTTS
`bytes`: The Lesser-Known Python Built-In Sequence • And Understanding UTF-8 Encoding
The bytes
data type looks a bit like a string, but it isn't a string. Let's explore it and also look at the main Unicode encoding, UTF-8.
https://www.thepythoncodingstack.com/p/bytes-python-built-in-unicode-utf-8-encoding
Prettypretty
Prettypretty helps build awesome terminal user interfaces in Python. Notably, it incorporates a powerful and general color library.
https://github.com/apparebit/prettypretty
Designing data loaders in Python classes
If you are designing an API that loads data into a standard format, consider the from and to syntax to describe data loaders. from data loaders should read data and serialise it into a class for processing, and to data loaders should convert data to another format, or save data to disk.
https://jamesg.blog/2024/06/04/python-dataloaders-/
What are the best Python projects you've worked on?
https://www.reddit.com/r/Python/comments/1d9r9xa/what_are_the_best_python_projects_youve_worked_on/
cachebox
The fastest caching Python library written in Rust.
https://github.com/awolverp/cachebox
Python's many command-line utilities
https://www.pythonmorsels.com/cli-tools/
FineWeb: decanting the web for the finest text data at scale
The article introduces FineWeb, a Hugging Face project aimed at extracting high-quality text data from the web at scale. It highlights the methodology and tools used to ensure the gathered data is of the finest quality for training AI models, emphasizing the importance of clean and relevant text data for machine learning applications.
https://huggingface.co/spaces/HuggingFaceFW/blogpost-fineweb-v1
Zango
Build microservices as tenants on a Django monolith. Avoid the infra & operational overheads. Scale effortlessly.
https://github.com/Healthlane-Technologies/Zango
The State of Django 2024
Discover the Django framework's popularity through statistics and learn the latest trends in Django development for 2024.
https://blog.jetbrains.com/pycharm/2024/06/the-state-of-django/
Vista
A Generalizable World Model for Autonomous Driving.
https://github.com/OpenDriveLab/Vista
awesome-llm-apps
Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models.
https://github.com/Shubhamsaboo/awesome-llm-apps
Seismometer
Predictive model evaluation with a focus on healthcare.
https://github.com/epic-open-source/seismometer
Statically Typed Functional Programming with Python 3.12
The article demonstrates how to use Python 3.12's new type alias and union type syntax to define a simple expression-based language with dataclasses, and then implements an evaluator function using pattern matching to evaluate expressions in that language.
https://wickstrom.tech/2024-05-23-statically-typed-functional-programming-python-312.html
Omost
Omost is a project to convert LLM's coding capability to image generation (or more accurately, image composing) capability.
https://github.com/lllyasviel/Omost
Rio
WebApps in pure Python. No JavaScript, HTML and CSS needed.
https://github.com/rio-labs/rio
How to use React with Django (in 10 mins)
The simplest way to set up a React.js frontend and a Django REST API backend.
https://www.youtube.com/watch?v=Az1BosALarw
Mesop
Build delightful web apps quickly in Python.
https://github.com/google/mesop
Next-generation web framework Teo, supports Node.js, Python and Rust
https://teodev.io
ToonCrafter
A research paper for generative cartoon interpolation.
https://github.com/ToonCrafter/ToonCrafter
modelscope / FunClip
Open-source, accurate and easy-to-use video speech recognition & clipping tool, LLM based AI clipping intergrated.
https://github.com/modelscope/FunClip
Build Interactive Data Apps of Scikit-learn Models Using Taipy
A low-code data pipeline interface to compare various models.
https://taipy.io/blog/build-interactive-data-apps-of-scikit-learn-models-using-taipy
HolmesGPT
The Open Source DevOps Assistant - solve problems twice as fast with an AI teammate.
https://github.com/robusta-dev/holmesgpt/
smbclient-ng
A fast and user friendly way to interact with SMB shares.
https://github.com/p0dalirius/smbclient-ng
Mesop – Open-source Python UI framework
https://google.github.io/mesop/