Skip to content

#Python

Dec 5Sat
  1. uv Releases76

    uv 0.13.13 released

    uv 0.13.13 adds the Pyodide 2026 target triple and improves hints for PEP 723 inline metadata. Its preview features support selecting a proxy upstream index via a URL, configuring proxy indexes with environment variables, and preserving upstream URLs in uv.lock. This release also fixes issues involving signing credential requests, credential redaction in logs, and the re-resolution of platform dependencies.

    Why it matters: The release notes also cover Pyodide targets, proxy indexes and lockfile handling, and list fixes such as credential redaction to help maintainers assess the impact of upgrading.

Dec 4Fri
  1. Hugging Face Transformers91

    Hugging Face Transformers releases v5.26.0

    Hugging Face Transformers v5.26.0 released with support for Qwen4, Qwen4 MoE, Molmo3, WeatherNext 2, and Liquid Codec. The release also updates the Hub kernels integration, fixes several Attention issues, and includes breaking changes such as the RotaryEmbedding and Indexer refactors.

    Why it matters: The release notes bring together new model integrations, kernel compatibility adjustments, and breaking changes, helping users assess upgrade requirements and migration impact.

  2. The Hacker News79

    Eight malicious PyPI packages use Python dependencies to unlock hidden malware

    A malware campaign targeting PyPI involved eight packages. The attackers used Python dependencies already loaded by victims to generate decryption keys, bypassing static analysis and sandbox detection. The malicious code could be concealed by splitting it across packages and achieve persistence through .pth files, then execute subsequent code from memory on Linux. The article also mentions a recent campaign that used stolen GitHub tokens to implant credential stealers in large numbers of code repositories.

    Why it matters: The article examines how DevGating uses dependencies in real development environments to trigger layered payloads, and explains the blind spots in PyPI supply-chain detection through cross-package splitting and persistence mechanisms.

Dec 3Thu
  1. CSO Online85

    Django releases security updates for seven vulnerabilities and urges upgrades

    Django developers have released security updates addressing seven vulnerabilities, including two high-severity flaws, and urged users to upgrade to 6.1.4, 6.0.11 or 5.2.20, depending on their version series. CVE-2026-124827 affects RasterField and could allow arbitrary file writes under certain configurations, potentially leading to remote code execution. CVE-2026-132092 could result in SQL injection. After upgrading, users should also clear affected caches and check their application configuration, filesystem permissions, logs and credentials.

    Same story in Top Picks: “Django releases security versions 6.1.4, 6.0.11, and 5.2.20”

  2. OpenAI Python SDK62

    OpenAI Python SDK v3.63.0 released

    OpenAI Python SDK v3.63.0 adds support for monthly spending limits on project API keys. The release also clarifies blocking agent context compression, environment file uploads, and model examples. Details: github.com/openai/openai-pyth…

  3. arXiv cs.AI59

    spectroxide: An open-source code package for computing cosmic microwave background spectral distortions

    Researchers have released spectroxide, a package for computing cosmic microwave background spectral distortions under arbitrary heating and photon injection. The package contains around 12,000 lines of Rust code, a Python interface, and more than 950 automated tests. It can model evolution from z ~ 5 × 10^6 to the present and is validated against analytic limits, published spectral lines, and Green's function tables.

Dec 2Wed
  1. The Hacker News76

    Django releases 6.1.4, 6.0.11 and 5.2.20 to fix Django4Shell remote code execution vulnerability

    Django maintainers released 6.1.4, 6.0.11 and 5.2.20, fixing seven security vulnerabilities including CVE-2026-124827. Django4Shell has a CVSS score of 9.0 and can enable arbitrary file writes through a GeoDjango RasterField path, potentially leading to remote code execution.

    Same story in Top Picks: “Django releases security versions 6.1.4, 6.0.11, and 5.2.20”

  2. Deepgram73

    Deepgram Flux TTS tutorial: Turn an RSS feed into a multi-voice podcast

    Deepgram demonstrates how to use Flux TTS to turn an RSS or Atom feed with full article text into a multi-voice podcast, using an open-source Python pipeline to automatically generate, publish, and check the audio.

    Why it matters: The article provides a complete workflow covering RSS fetching, script generation, segment-by-segment synthesis, Nova-3 playback review, and deployment, and uses real costs to show the operating expenses of this type of podcast.

  3. OSChina Open Source China87

    Astral releases ty 1.0, a Rust-based Python type checker

    Astral has officially released ty 1.0, a Rust-based Python type checker and language server that has been widely deployed by OpenAI. Benchmarks show that ty leads in speed on command-line checking and editor diagnostics across most projects, with 14 false positives and 13 false negatives recorded. The release also provides migration features including automatic fixes, suppression comments, and diagnostic baselines.

    Same story in Top Picks: “Astral releases ty 1.0, a Python type checker”

  4. arXiv cs.AI64

    From verification failures to reusable guidance for coding agents

    The paper studies how to turn expert diagnoses of verification failures into reusable guidance for coding agents, combining the executable language definition of the K framework with specification construction, proof repair, and sufficiency-auditing workflows. On HumanEval, which contains 164 Python programming tasks, the semantic and procedural suite achieved a final AI audit pass of 164/164 after two targeted repair rounds. For 12 sets of manually reviewed normal and defective packages, the audit identified every defect and accepted every normal package.

  5. arXiv cs.CL61

    GT-FENG proposes a general theory of factual evaluation and normative grounding in language models

    GT-FENG proposes a framework for evaluating the contextual correctness of language models, preserving matching rules, and comparing attribution changes across nested reference sets. In Medicaid answers from nine models, as the reference set expanded, the share of incorrect answers attributable only to other states fell from 58.6% to 33.1%; 10.3 percentage points of the decline exceeded the change observed when answers were shuffled across states. The authors also released gtfeng, an open-source Python package implementing the framework. The paper is available at arxiv.org/abs/2611.18279.

  6. uv Releases68

    uv 0.13.12 released

    uv 0.13.12 updates its hosted CPython 3.11 through 3.16 builds to include OpenSSL 3.5.10. The release also improves version-range coverage and exclusion warnings for dynamic local packages, fixes shell quoting for version specifiers in the documentation, and provides prebuilt binaries for multiple platforms along with a verification method using GitHub Artifact Attestations.

  7. Simon Willison78

    Astral releases ty 1.0, its Python type checker

    Astral has released version 1.0 of its Python type checker, ty, and now recommends it for production use. ty has become OpenAI's default and most widely deployed type checker, covering millions of lines of critical Python code. After migration, median speed increased 24x, while peak memory usage fell by 73%. ty includes built-in Django support, but django-types must also be installed.

    Same story in Top Picks: “Astral releases ty 1.0, a Python type checker”

  8. Astral Blog85

    Astral releases ty 1.0, a Python type checker

    Astral has released ty 1.0, a Python type checker and language server written in Rust, saying it has become OpenAI's default and widely deployed type checker. Benchmarks show that ty was the fastest on 16 of 18 ecosystem projects and that its language server was the fastest on 14 of 17 projects in editor tests.

    Why it matters: The release notes also provide ecosystem benchmarks, type inference examples, and migration guidance to help assess the adoption cost of ty 1.0 in existing Python projects.

Dec 1Tue
  1. arXiv cs.LG56

    Splytters: A Python open-source library for adversarial data splits

    Splytters is an open-source Python library for non-random data splitting, offering a unified scikit-learn-compatible interface. It includes 31 splitting algorithms and difficulty rankers covering three objectives: adversarial, overlapping, and balanced splits. The library supports text, image, audio, and tabular data; the paper reports that adversarial splits can produce harder test sets than random splits across multiple tasks.

  2. arXiv cs.CL69

    CodeSpecBench: Benchmarking LLMs for executable behavioral specification generation

    CodeSpecBench is a benchmark for generating executable behavioral specifications, using executable Python functions to evaluate the correctness and completeness of LLMs' descriptions of program behavior. The researchers evaluated 15 advanced LLMs on the benchmark and found a marked performance drop on repository-level tasks, where the best model achieved a pass rate of only 20.2%. Specification generation was also substantially more difficult than code generation.

  3. arXiv cs.CL47

    Wowool: A high-throughput deterministic symbolic NLP engine with multi-language C-ABI and Project Panama FFM interoperability

    Wowool is introduced as a high-throughput, deterministic symbolic language processing engine designed to address the cost, latency, and output uncertainty of large language models in regulated settings. Its architecture includes a C++ core, a shared-memory blackboard, finite-state transducers, and a declarative rule language, with support for Python and Java integration. The system runs on standard processors and is intended for information extraction and local processing of sensitive text.

  4. arXiv cs.AI48

    CodeArtist: Can code carry artistic style? Executable programs as transferable art

    The paper introduces CodeArtist, a Python-based painting engine that encapsulates artistic styles such as palettes, brushstrokes, and textures as reusable modules, decoupled from scene content and motion. Experiments across scenes and models show that the method can preserve style consistency, enable sharing between models, and improve continuously through modular updates.

  5. arXiv cs.AI52

    GraphCodeBERT improves cross-language code clone retrieval through data-flow alignment and hard-negative mining

    The paper proposes a modified GraphCodeBERT that combines soft data-flow alignment with reliability-filtered hard-negative mining for code clone retrieval across Java, Python, and Go. Across six directed retrieval settings, the combined configuration achieved a mean reciprocal rank of 0.814, compared with 0.731 for the matched GraphCodeBERT baseline. Removing alignment reduced the score to 0.786, while replacing hard negatives with random negatives reduced it to 0.772. The evaluation also covers retrieval depth, perturbation tolerance, mining contamination, and indexing cost.

  6. arXiv cs.CL72

    Undercurrent: An open-source, production-grade activation probing library for live LLM inference

    Undercurrent is an open-source Python library licensed under Apache-2.0 that runs activation probes during LLM generation. It uses YAML to specify tensors, layers, and token positions, and supports inline probing with timeouts and failure fallback, as well as asynchronous queues with overflow policies. It also provides adapters for Hugging Face Transformers and vLLM, along with benchmarks.

  7. OpenAI Python SDK68

    OpenAI Python SDK v3.61.0 released

    OpenAI Python SDK v3.61.0 has been released, deprecating Evals and saved prompt references. The release fixes an issue where WebSocket connections did not follow changes to the module base URL, addresses checks after browser cancellation callbacks, improves chunked verification of webhook signatures, and updates several dependencies.

  8. Astral Blog71

    How Python package maintainers can use wheel variants to distribute builds for different environments

    Astral explains how Python package maintainers can use wheel variants to distribute builds for different GPU architectures and CPU instruction sets under the same version, with the installer automatically selecting a compatible wheel based on the user's environment.

    Why it matters: The article connects hardware compatibility, provider plugins, variant.json metadata, and dependency markers into an end-to-end workflow, helping maintainers assess implementation paths for multi-environment builds and the installer's selection logic.

Nov 30Mon
  1. JetBrains Open Source46

    Keeping AI coding agents on a short leash with TDD

    A livestream on December 2 will demonstrate how to use TDD, PyCharm, and JetBrains Air to keep an AI coding agent in check by defining correctness first and then reviewing the Python code it generates. The workflow includes writing tests with PyCharm's pytest support, having the agent implement them, and troubleshooting issues with nearly 100% test coverage, static type checking, built-in inspections, the test runner, and the debugger.

    Keep Your AI Coding Agent on a Short Leash with TDD
  2. arXiv cs.AI46

    From domain knowledge to composable reactive code: LLM-assisted scenario-based programming

    The study evaluates scenario-based programming (SBP) as a way to convey domain knowledge to LLMs and as an extension target for reactive systems. Using the Taki card game as an example, the LLM generated Python players from progressively enriched SBP knowledge. All evaluated strategies ran to completion, with no runtime errors, deadlocks, or draws observed. With richer knowledge, the win rate against a fixed random SBP baseline increased from 59.4% to 62.5%.

  3. arXiv cs.CL57

    Bundesrecht: An open resource for processing German statutory references

    Bundesrecht provides a software library and structured corpus for processing references to German federal laws, with support for parsing, normalizing, and locating statutory references. The authors evaluated the parser and normalizer on 2,944 annotated references and compared them with existing systems, achieving the best results in terms of maximum field-level F1 scores. The resource is available on PyPI and covers the end-to-end process from raw reference strings to parsed and located statutory provisions.

  4. arXiv cs.LG71

    spotforecast2-safe short-term load forecasting challenge results for safety-critical environments under the EU AI Act

    The spotforecast2-safe pipeline outperformed the official ENTSO-E day-ahead forecasting baseline in a 41-day live challenge on aggregated German transmission-grid load. The report compares the deterministic, low-cost, and auditable local model macl2l with pretrained foundation models containing more than 100 million parameters, and releases the challenge implementation, team submissions, and archived leaderboard.

  5. arXiv cs.LG64

    pyconformal: Exact and fast conformal prediction for tabular data and time series

    The paper introduces pyconformal, an MIT-licensed package that implements around 30 conformal methods through a unified interface. The authors audited 13 Python and R packages and found around 30 faults, with some default configurations failing to achieve their target coverage. Benchmarks show that Venn-Abers calibration takes 0.37 seconds for one million points, while conformal predictive intervals take 0.01 seconds.

Nov 26Thu
  1. arXiv cs.LG62

    Hyrax: An extensible framework for ML experimentation and unsupervised discovery in the era of Rubin, Roman, and Euclid

    The authors introduce Hyrax, an open-source, modular, GPU-enabled Python framework covering data acquisition, training, inference, and experiment comparison for machine learning in astronomy. Hyrax supports multimodal datasets, integrated vector-database similarity search, and exploration of two- and three-dimensional latent spaces.

  2. arXiv cs.LG60

    BayesFlow 2 provides multi-backend amortized Bayesian inference in Python

    The paper introduces BayesFlow Version 2, a Python library for general-purpose amortized Bayesian inference. The software supports posterior, likelihood, and ratio estimation; provides multiple deep learning backends, generative networks, and high-level interfaces; and adds hyperparameter optimization, design optimization, and multilevel modeling capabilities. The authors evaluate its workflow through a dynamic-system parameter estimation case study and comparisons with similar software.

  3. arXiv cs.LG57

    A graphical criterion for linear causal bounds gives a single linear programming solvability condition

    Alexis Bellot's paper "A Graphical Criterion for Linear Causal Bounds" studies bounds on causal effects and counterfactuals in the presence of unobserved confounding. For graphs in which each confounding component contains at most two hidden causes, the paper gives necessary and sufficient conditions under which the exact bound equals the optimum of a single linear program for all strictly positive input probability tables. It also implements the Python package partialid, which calculates exact bounds from combined assumptions, queries, and data.

Nov 25Wed
  1. arXiv cs.LG56

    qshap: Fast R² Shapley decomposition for gradient-boosted trees

    The paper introduces qshap, a tool for R and Python that performs Shapley decomposition of R² for gradient-boosted decision trees to quantify feature contributions to model performance. qshap supports xgboost, lightgbm, and catboost through a unified tree representation and an efficient C++ backend, and provides a specialized backend for oblivious trees with symmetric structures to accelerate computation.

  2. uv Releases82

    uv 0.13.10 released

    uv 0.13.10 has been released with a fix for GHSA-vjvj-3m3f-fgmm. The release strengthens consistency checks between dependency requirements and locked package versions in uv.lock, and updates hosted CPython and GraalPy builds. It also previews support for using proxy indexes through reversible artifact URLs. Details: github.com/astral-sh/uv/relea…

    Why it matters: This release also addresses GHSA-vjvj-3m3f-fgmm and strengthens uv.lock validation. Users upgrading should pay attention to dependency-lock consistency and interpreter information.