pythonhub | Technologies

Telegram-канал pythonhub - PythonHub

1140

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

Subscribe to a channel

PythonHub

Mastering Python Logging Format: A Complete Guide for Developers

Set up Python logging format strings, custom formatters, and structured JSON output with copy-paste code examples for every major use case.

https://middleware.io/blog/python-logging-format/

Читать полностью…

PythonHub

Python Hub Weekly Digest for 2026-05-17

https://pythonhub.dev/digest/2026-05-17/

Читать полностью…

PythonHub

auto-round

A SOTA quantization algorithm for high-accuracy low-bit LLM inference, seamlessly optimized for CPU/XPU/CUDA, with multi-datatype support and full compatibility with vLLM, SGLang, and Transformers.

https://github.com/intel/auto-round

Читать полностью…

PythonHub

Boosting multimodal inference performance by >10% with a single Python dictionary

Multimodal models are promising, but inference engines haven't been optimized for them yet. We profiled SGLang’s scheduler on a multimodal workload and identified an opportunity to replace expensive book-keeping around shared GPU memory with a simple cache lookup. Throughput and latency both improved over 10% on our target workload.

https://modal.com/blog/boosting-multimodal-inference-performance-by-greater-than-10-with-a-single-python-dictionary

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

z-lab / dflash

DFlash: Block Diffusion for Flash Speculative Decoding

https://github.com/z-lab/dflash

Читать полностью…

PythonHub

token-optimizer

Find the ghost tokens. Fix them. Survive compaction. Avoid context quality decay.

https://github.com/alexgreensh/token-optimizer

Читать полностью…

PythonHub

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/

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

Full Python GUI apps in the browser – no JavaScript, no server

https://github.com/pthom/imgui_bundle

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

Python Hub Weekly Digest for 2026-05-10

https://pythonhub.dev/digest/2026-05-10/

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

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/

Читать полностью…

PythonHub

ml-intern

An open-source ML engineer that reads papers, trains models, and ships ML models.

https://github.com/huggingface/ml-intern

Читать полностью…

PythonHub

Wrap Go binaries in Python wheels

https://github.com/simonw/go-to-wheel

Читать полностью…

PythonHub

Pymetrica, a codebase analysis tool

Pymetrica is a static analysis tool that parses Python source code using the AST and evaluates metrics used to assess complexity, maintainability, and architectural stability.

https://github.com/JuanJFarina/pymetrica

Читать полностью…

PythonHub

anthropics / financial-services

https://github.com/anthropics/financial-services

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

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/

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

Behavior-Oriented Concurrency for Python

https://microsoft.github.io/bocpy/

Читать полностью…

PythonHub

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/

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

Rapid-MLX

Run AI on your Mac. Faster than anything else.

https://github.com/raullenchai/Rapid-MLX

Читать полностью…

PythonHub

Do you actually read the source code of libraries you install?

https://www.reddit.com/r/Python/comments/1t7yfuw/do_you_actually_read_the_source_code_of_libraries/

Читать полностью…

PythonHub

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

Читать полностью…

PythonHub

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/

Читать полностью…

PythonHub

honker

SQLite extension + bindings for Postgres NOTIFY/LISTEN semantics with durable queues, streams, pub/sub, and scheduler

https://github.com/russellromney/honker

Читать полностью…

PythonHub

What's new in pip 26.1

pip 26.1 adds support for dependency cooldowns, experimental support for reading/installing from standard lockfiles (pylock.toml), fixes several long-standing limitations of the 2020 resolver, and drops support for Python 3.9.

https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/

Читать полностью…
Subscribe to a channel