en
Feedback
PythonHub

PythonHub

Open in Telegram

News & links about Python programming. https://pythonhub.dev/

Show more
2 528
Subscribers
+124 hours
+107 days
+3630 days
Posts Archive
Fast Mesh Booleans in Python Learn how to perform fast mesh boolean operations in Python. Union, intersection, and difference at interactive speed on million-polygon meshes. One pip install, NumPy arrays in and out. https://polydera.com/tutorials/fast-mesh-booleans-in-python

bluerock Runtime visibility for Python MCP servers. Captures tool calls, session lifecycle, module imports (SHA-256), and subprocess execution as structured NDJSON. No code changes. Apache 2.0 https://github.com/bluerock-io/bluerock

Using Bag-of-Words With PyCharm Let's unpack how the bag-of-words model works, explore the techniques it uses to convert text into numerical representations, and look at where it fits relative to more modern NLP approaches. https://blog.jetbrains.com/pycharm/2026/04/using-bag-of-words-with-pycharm/

z-lab / dflash DFlash: Block Diffusion for Flash Speculative Decoding https://github.com/z-lab/dflash

foundry Ship full-stack agentic systems the way they're meant to be built - production-ready, secure by default, with the developer experience modern Python deserves. https://github.com/promptise-com/foundry

token-optimizer Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay. https://github.com/alexgreensh/token-optimizer

Behavior-Oriented Concurrency for Python https://microsoft.github.io/bocpy/

What’s the simplest way to distribute a Python app to normal users? https://www.reddit.com/r/learnpython/comments/1t7y5m7/whats_the_simplest_way_to_distribute_a_python_app/

lightning PyPI Compromise: A Bun-Based Credential Stealer in Python The post describes a PyPI supply-chain compromise in lightning 2.6.2/2.6.3, where importing the package silently downloads Bun and runs an obfuscated JavaScript credential stealer. It also says the payload steals GitHub, cloud, and other secrets, then uses any captured credentials to spread further and commit exfiltrated data back into victim repos. https://snyk.io/blog/lightning-pypi-compromise-bun-based-credential-stealer/

Full-Text Search with DuckDB The post shows how DuckDB’s full-text search extension can index a large email corpus and run BM25-ranked keyword search directly in SQL, without needing a separate search engine. It also walks through practical preprocessing and filtering steps, then demonstrates conjunctive queries that return only documents matching all search terms. https://peterdohertys.website/blog-posts/full-text-search-w-duckdb.html

How we rebuilt search ranking at Faire with deep learning From XGBoost to deep learning: a two-year rebuild of Faire’s ranking stack. https://craft.faire.com/how-we-rebuilt-search-ranking-at-faire-with-deep-learning-14f080679c83

Full Python GUI apps in the browser – no JavaScript, no server https://github.com/pthom/imgui_bundle

Rapid-MLX Run AI on your Mac. Faster than anything else. https://github.com/raullenchai/Rapid-MLX

Datanomy Datanomy is a terminal-based tool for inspecting and understanding data files. It provides an interactive view of your data's structure, metadata, and internal organization. https://github.com/raulcd/datanomy

Python Hub Weekly Digest for 2026-05-10 https://pythonhub.dev/digest/2026-05-10/

Databases Were Not Designed For This The post defines defensive databases as systems designed to protect data from buggy, noisy, or autonomous applications through safeguards such as idempotency, auditability, soft deletes, controlled writes, and strict permissions. As AI agents and distributed services generate more unpredictable traffic, data stores must actively preserve integrity rather than assuming every client behave... https://arpitbhayani.me/blogs/defensive-databases

Choosing a Python Logging Library in 2026 Compare Pythons standard logging module structlog and Loguru with real benchmarks OpenTelemetry integration paths and frameworkspecific guidance for Django FastAPI and Flask. https://www.dash0.com/guides/python-logging-libraries

Easily Stream LLM Responses with Django-Bolt and PydanticAI A guide showing how easy it is to start using django-bolt and PydanticAI agents together. https://www.caktusgroup.com/blog/2026/04/27/django-bolt-easy-pydanticai-streaming/

Single file Python CLIs when do you split, when do you keep it monolithic? https://www.reddit.com/r/Python/comments/1t0crw2/single_file_python_clis_when_do_you_split_when_do/