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-/
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-/
jamesg.blog
Designing data loaders in Python classes | James' Coffee Blog
TL;DR: 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…
Prettypretty
Prettypretty helps build awesome terminal user interfaces in Python. Notably, it incorporates a powerful and general color library.
https://github.com/apparebit/prettypretty
Prettypretty helps build awesome terminal user interfaces in Python. Notably, it incorporates a powerful and general color library.
https://github.com/apparebit/prettypretty
GitHub
GitHub - apparebit/prettypretty: Hello pretty 🌸 pretty, awesome terminal colors you have there!
Hello pretty 🌸 pretty, awesome terminal colors you have there! - apparebit/prettypretty
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
The simplest way to set up a React.js frontend and a Django REST API backend.
https://www.youtube.com/watch?v=Az1BosALarw
YouTube
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
✍️ Written guide here: https://www.photondesigner.com/articles/use-react?ref=yt
💡Generate UI (for free) here with Photon Designer: https://app.photondesigner.com/?ref=pd-site-landing…
✍️ Written guide here: https://www.photondesigner.com/articles/use-react?ref=yt
💡Generate UI (for free) here with Photon Designer: https://app.photondesigner.com/?ref=pd-site-landing…
👍1
`bytes`: The Lesser-Known Python Built-In Sequence • And Understanding UTF-8 Encoding
The
https://www.thepythoncodingstack.com/p/bytes-python-built-in-unicode-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
Thepythoncodingstack
`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
❤1
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
Omost is a project to convert LLM's coding capability to image generation (or more accurately, image composing) capability.
https://github.com/lllyasviel/Omost
GitHub
GitHub - lllyasviel/Omost: Your image is almost there!
Your image is almost there! Contribute to lllyasviel/Omost development by creating an account on GitHub.
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
https://progscrape.com/blog/2024-06-06/cloud-performance-on-a-toy-computer-from-python-to-rust
progscrape
progscrape: "progscrape blog" search results
Technology news about "progscrape blog" from Hacker News, Reddit, and other programming sites.
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
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
wickstrom.tech
Statically Typed Functional Programming with Python 3.12
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
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
Seismometer
Predictive model evaluation with a focus on healthcare.
https://github.com/epic-open-source/seismometer
Predictive model evaluation with a focus on healthcare.
https://github.com/epic-open-source/seismometer
GitHub
GitHub - epic-open-source/seismometer: AI model evaluation with a focus on healthcare
AI model evaluation with a focus on healthcare. Contribute to epic-open-source/seismometer development by creating an account on GitHub.
awesome-llm-apps
Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models.
https://github.com/Shubhamsaboo/awesome-llm-apps
Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models.
https://github.com/Shubhamsaboo/awesome-llm-apps
GitHub
GitHub - Shubhamsaboo/awesome-llm-apps: Collection of awesome LLM apps with AI Agents and RAG using OpenAI, Anthropic, Gemini and…
Collection of awesome LLM apps with AI Agents and RAG using OpenAI, Anthropic, Gemini and opensource models. - Shubhamsaboo/awesome-llm-apps
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/
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/
Python⇒Speed
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.
👍1
llm-regression
Exploring the classical regression capabilities of LLMs.
https://github.com/AlexIoannides/llm-regression
Exploring the classical regression capabilities of LLMs.
https://github.com/AlexIoannides/llm-regression
GitHub
GitHub - AlexIoannides/llm-regression: Exploring the classical regression capabilities of LLMs.
Exploring the classical regression capabilities of LLMs. - AlexIoannides/llm-regression
Cant decide between flask, django ninja or fastAPI for sideproject
https://www.reddit.com/r/Python/comments/1dgbq1e/cant_decide_between_flask_django_ninja_or_fastapi/
https://www.reddit.com/r/Python/comments/1dgbq1e/cant_decide_between_flask_django_ninja_or_fastapi/
Reddit
From the Python community on Reddit
Explore this post and more from the Python community