News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
tsellm
Use LLMs in your SQLite queries.
https://github.com/Florents-Tselai/tsellm
7 Functional Programming Techniques Every Developer Should Know
This video explores 7 functional programming techniques and demonstrate their functionality. Despite Python not being a purely functional language, embracing these techniques can greatly enhance your Python skills.
https://www.youtube.com/watch?v=Rp9Ha0rVM1w
A Complete Guide to Pytest Fixtures
In this tutorial, I'll guide you through the ins and outs of Pytest fixtures. You'll learn how to create fixtures, parameterize them for flexibility, and leverage their power to create efficient, reliable, and maintainable unit tests.
https://betterstack.com/community/guides/testing/pytest-fixtures-guide/
Official PyTorch Documentary: Powering the AI Revolution
The film reveals the true story behind PyTorch's creation, highlighting the contributions of its dedicated developers. It showcases the strength of the PyTorch community, aiming to inspire further contributions and recognition of its importance in the open source world.
https://www.youtube.com/watch?v=rgP_LBtaUEc
Optimize scheduling and routing in Python: a new open source solver Timefold
Solve the Vehicle Routing Problem, Maintenance Scheduling, Employee Scheduling, etc in Python.
https://timefold.ai/blog/new-open-source-solver-python
OpenContracts
Mass document analytics platform based on LlamaIndex, Pgvector, React and Django.
https://github.com/JSv4/OpenContracts
Python Hub Weekly Digest for 2024-06-30
https://pythonhub.dev/digest/2024-06-30/
Django: Introducing django-harlequin, a launcher for Terminal-based SQL IDE Harlequin
Harlequin is a Terminal-based SQL IDE by Ted Conbeer.
It is pretty popular, with over 2,500 GitHub ...
https://adamj.eu/tech/2024/05/07/django-harlequin/
TokenCost
Easy token price estimates for 400+ LLMs.
https://github.com/AgentOps-AI/tokencost
Do These 5 Things if You Don’t Want to Write Crappy Code
In this video, I'll share 5 key things you should do to avoid writing crappy code. These tips, drawn from my own experience, will help you write clean code.
https://www.youtube.com/watch?v=vhdUyGs_f6c
django-render
Build fast, user-friendly applications with Django and React.
https://github.com/kaedroho/django-render
AI-Math-Notes
AI Math Notes is an interactive drawing application that allows users to draw mathematical equations on a canvas. Once an equation is drawn, the application uses a multimodal LLM to calculate and display the result next to the equals sign.
https://github.com/ayushpai/AI-Math-Notes
Semantic search with Django, PostgreSQL, & pgvector
In this talk we will see how to add semantic search functionality to an existing Python-based web project, in particular Django, with data storage on PostgreSQL.
https://www.youtube.com/watch?v=4hl8LpDKRMw
Boosting AI with Python: Using Click, Jinja2, and GPT Libraries
This talk explores enhancing AI projects using Python with tools like Click CLI for command-line interfaces, Jinja2 for dynamic content generation, and GPT libraries for language model integration. Attendees will see a practical project demonstration and gain skills to build functional AI applications, along with opportunities to connect with other Python developers.
https://www.youtube.com/watch?v=XNLbpgpfwrQ
Amphi
Open-Source Python ETL. Extract, transform and load data with low-code. Generate native Python code you can deploy anywhere.
https://github.com/amphi-ai/amphi-etl
Reladiff
High-performance diffing of large datasets across databases.
https://github.com/erezsh/reladiff
Detecting hallucinations in large language models using semantic entropy
https://www.nature.com/articles/s41586-024-07421-0
Before moving from Java to Python, what does Python lack that Java has? ( Think about enterprise application)
https://www.reddit.com/r/learnpython/comments/1d9mc9e/before_moving_from_java_to_python_what_does/
Build Full Stack Web Apps in Pure Python with Reflex - No Javascript Required
The video demonstrates building a full stack web application using only Python with Reflex, bypassing the need for HTML, CSS, and JavaScript. It covers creating interfaces, adding features like user authentication and data storage, managing data efficiently, and customizing design with Radix UI for a seamless development experience.
https://www.youtube.com/watch?v=ITOZkzjtjUA
The basics of async/await
Learn the basics of create and running asynchronous tasks
https://www.pynerds.com/asyncawait-in-python/
hftbacktest
A high-frequency trading and market-making backtesting tool in Python and Rust, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books, with real-world crypto market-making examples for Binance Futures
https://github.com/nkaz001/hftbacktest
How to Move From pandas to Polars
Considering replacing pandas with Polars? Learn how to make the switch, what to keep in mind, and how PyCharm can help.
https://blog.jetbrains.com/pycharm/2024/06/how-to-move-from-pandas-to-polars/
Django Enhancement Proposal 14: Background Workers
As of today, DEP-14 has been approved �
The DEP was written and stewarded by Jake Howard. A very ...
https://www.djangoproject.com/weblog/2024/may/29/django-enhancement-proposal-14-background-workers/
Aurora
Aurora is a static site generator implemented in Python.
https://github.com/capjamesg/aurora
Parsing Python ASTs 20x Faster with Rust
The post describes how the integration of Rust can significantly speed up the parsing of Python Abstract Syntax Trees (ASTs). By rewriting critical components in Rust, the process can be made up to 20 times faster compared to the original Python implementation, offering substantial performance improvements for developers working with ASTs in Python.
https://www.gauge.sh/blog/parsing-python-asts-20x-faster-with-rust
NumPy 2.0.0
NumPy 2.0.0 is the first major release since 2006. It is the result of 11 months of development since the last feature release and is the work of 212 contributors spread over 1078 pull requests. It contains a large number of exciting new features as well as changes to both the Python and C APIs.
https://github.com/numpy/numpy/releases/tag/v2.0.0
textual-serve
Serve Textual apps locally.
https://github.com/Textualize/textual-serve
A beautiful Python monstrosity
Creating performance tests for Python Morsels exercises is a frequent annoyance
I loathe writing ...
https://treyhunner.com/2024/06/a-beautiful-python-monstrosity/
Introduction to Machine Learning: Why There Are No Programmed Answers
Home
Table of Contents
Introduction to Machine Learning: Why There Are No Programmed ...
https://pyimagesearch.com/2024/05/06/introduction-to-machine-learning-why-there-are-no-programmed-answers/
Ruff: Internals of a Rust-backed Python linter-formatter - Part 1
Ruff is an extremely fast Python linter written in Rust, deriving its speed from parsing Python code and implementing linting rules natively in Rust rather than Python. The article provides insights into Ruff's internals, including its initial implementation using RustPython's parser, the evolution to a hand-written recursive descent parser, and its caching and parallelization mechanisms.
https://compileralchemy.substack.com/p/ruff-internals-of-a-rust-backed-python