News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Python and Sigstore
Seth Larson discusses the implementation of Sigstore in Python, highlighting its benefits for software supply chain security and its integration into CPython's release process. He explains how Sigstore improves upon traditional GPG signatures by providing transparency, ease of use, and better security practices, while also detailing the challenges and future plans for Sigstore adoption i...
https://sethmlarson.dev/python-and-sigstore
Why people still using flask after fastapi release
https://www.reddit.com/r/Python/comments/1g83rjr/why_people_still_using_flask_after_fastapi_release/
Hallo2
Long-Duration and High-Resolution Audio-driven Portrait Image Animation.
https://github.com/fudan-generative-vision/hallo2
zerox
Zero shot pdf OCR with gpt-4o-mini.
https://github.com/getomni-ai/zerox
Django and htmx Tutorial: Easier Web Development
Christopher Trudeau demonstrates how htmx can add dynamic features like lazy loading and search-as-you-type to Django applications with minimal JavaScript. The tutorial showcases htmx's integration with Django, allowing more server-side logic and potentially better performance compared to traditional single-page applications.
https://www.youtube.com/watch?v=i1eMxu_PR5Y
Arch
Arch is an intelligent prompt gateway. Engineered with (fast) LLMs for the secure handling, robust observability, and seamless integration of prompts with APIs - all outside business logic.
https://github.com/katanemo/arch
Kalmangrad
Automated, smooth, N'th order derivatives of non-uniformly sampled time series data.
https://github.com/hugohadfield/kalmangrad
PyData Amsterdam 2024
Talks from PyData Amsterdam 2024 are now available.
https://www.youtube.com/playlist?list=PLGVZCDnMOq0reU2lzNZCn9obkyRVaSnpF
compl-ai
An open-source compliance-centered evaluation framework for Generative AI models.
https://github.com/compl-ai/compl-ai
Austin 3.7 – Python frame stack sampler for CPython
https://github.com/P403n1x87/austin
Tabled
Detect and extract tables to markdown and csv.
https://github.com/VikParuchuri/tabled
Chunkr
Vision model based PDF chunking.
https://github.com/lumina-ai-inc/chunkr
Build your first Web App with Cursor AI, Python, Virtual Machines, and Neon Postgres
Learn how to create a modern web application using Cursor AI, which allows developers to build robust applications by converting English instructions into code. The course covers a wide range of topics, including full-stack web development, integrating with GitHub, building a Python and Django web app, and deploying a production-ready server, all achievable in about 5 hours and at minima...
https://www.youtube.com/watch?v=ESrWYoXZc8s
Can You Get Root With Only a Cigarette Lighter?
The article describes how to gain root access on a Linux system using only a cigarette lighter through electromagnetic fault injection (EMFI) attacks on DRAM. The author demonstrates how precisely timed electromagnetic pulses can flip bits in memory, allowing an attacker to modify critical system data and escalate privileges without traditional software vulnerabilities.
https://www.da.vidbuchanan.co.uk/blog/dram-emfi.html
TEN-Agent
TEN Agent is the world’s first real-time multimodal agent integrated with the OpenAI Realtime API, RTC, and features weather checks, web search, vision, and RAG capabilities.
https://github.com/TEN-framework/TEN-Agent
The Stacktrace Puzzle
Explore how Python stacktraces with chained exceptions can become confusing puzzles and solve a few puzzles of your own.
https://www.bugsink.com/blog/chained-stacktraces-puzzle/
15 Powerful Python Libraries You Should Be Using
In this video, 15 impressive Python libraries are showcased that everyone should know about. Whether for data scientists or backend developers, many of these packages will prove to be very useful.
https://www.youtube.com/watch?v=OiLgG4CabPo
Finstruments - Financial instrument library built with Python
https://github.com/kyleloomis/finstruments
Creating a DType for the Next Generation of Scientific Computing
From no CPython C API experience to shipping a new DType in NumPy 2.0.
https://quansight.com/post/my-numpy-year-creating-a-dtype-for-the-next-generation-of-scientific-computing/
Epic Debugging, Hilarious Outcome
In this episode, an issue with sign-up was explored. What seemed like a minor fix turned into an intense debugging session, delving deeply into the django-allauth package to uncover the underlying problems.
https://www.youtube.com/watch?v=WNnJRAGM2TQ
Solving Sudoku with the Python package resolver
https://github.com/konstin/sudoku-in-python-packaging
This is now valid syntax in Python 3.13!
https://www.reddit.com/r/Python/comments/1gbu1g0/this_is_now_valid_syntax_in_python_313/
git-remote-s3
This library enables to use Amazon S3 as a git remote and LFS server.
https://github.com/awslabs/git-remote-s3
Python Hub Weekly Digest for 2024-10-27
https://pythonhub.dev/digest/2024-10-27/
Should you use uv’s managed Python in production?
The uv package manager can also install Python for you. Should you use this feature in production?
https://pythonspeed.com/articles/uv-python-production/
We’re All Just Looking for Connection
We’ve been working to bring components of Quip’s technology into Slack with the canvas feature, while also maintaining the stand-alone Quip product. Quip’s backend, which powers both Quip and canvas, is written in Python. This is the story of a tricky bug we encountered last July and the lessons we learned along the way about being careful with TCP state.
https://slack.engineering/were-all-just-looking-for-connection/
9 Levels of Asynchronous Programming in Python
In this article, I’ll take you step-by-step through 9 levels from the basics to advanced concurrency techniques. Whether you’re new to async or looking to sharpen your skills, this guide will provide
https://medium.com/techtofreedom/9-levels-of-asynchronous-programming-in-python-3755f80403c9
Deploying (Multiple) Django Apps to a Single Server with Kamal 2
Cory Zue describes migrating two Django apps to a shared Hetzner VPS using Kamal 2, detailing the process of setting up a production Dockerfile, creating a Kamal deploy configuration, and addressing challenges with health checks and Django's security settings. The article highlights the ease of deploying multiple apps on a single server with Kamal 2, resulting in cost savings and improve...
https://www.coryzue.com/writing/kamal-django/
Swarm
Educational framework exploring ergonomic, lightweight multi-agent orchestration. Managed by OpenAI Solution team.
https://github.com/openai/swarm
My first python package got 844 downloads 😭😭
https://www.reddit.com/r/Python/comments/1g3gcz9/my_first_python_package_got_844_downloads/