sqlite-utils 4.0 introduces database schema migrations, nested transactions, and compound foreign key support. The release also includes breaking changes like improved upsert handling, stricter db.query() behavior, and automatic CSV type detection.
#python
30 items
PEP 836 proposes adding a supported Just-In-Time (JIT) compiler to CPython, the standard Python implementation. It outlines a gradual, multi-phase approach to integrate a JIT to improve performance while maintaining compatibility and maintainability. The goal is to make Python significantly faster by compiling bytecode to machine code at runtime.
PriceProbe is a zero-dependency Python tool for tracking competitor prices. It allows users to monitor pricing changes without external libraries, making it lightweight and easy to integrate into existing workflows.
LangChain's Deep Agent Code Capabilities enable developers to build agentic systems in Python by combining LLM reasoning with code execution, offering tools for agent orchestration, tool integration, and memory management within the LangChain ecosystem.
TradeGrub Charts is a trading charting platform that supports in-browser Python and Pine Script for custom indicators and strategy development, allowing users to run code directly in the browser without backend servers.
GP-Elite is a pure-Python symbolic regression tool that rediscovered Kepler's third law using only eight data points. The project demonstrates how genetic programming can discover physical laws from minimal data without external dependencies beyond NumPy.
Axelrod is a Python library designed for conducting research on the Iterated Prisoner's Dilemma, allowing users to simulate and analyze strategies in repeated game theory scenarios.
PyCanopy is a spatial query layer built on top of Polars, offering geospatial capabilities that aim to compete with DuckDB and SedonaDB. It brings spatial join, spatial indexing, and geometric operations into the Polars ecosystem.
Power House is an open-source toolkit written in Rust and Python that enables the creation and verification of verifiable computation artifacts, helping developers build trust in software outputs through cryptographic proofs.
Toolnexus is a Python framework that enables integration of MCP, agent skills, and A2A protocols for use with any large language model.
Craig, a former IBM software engineer, created Ox, an AI agent that reviews code changes before they are committed (via CLI or GitHub PRs) to catch and fix technical debt early. Built to adapt to a repository's conventions and learn over time, it aims to prevent the expected surge in tech debt from AI-generated code by offering contextual fixes for authors or reviewers.
Telnyx offers a Python SDK for phone number carrier and line type lookups. The Number Lookup API returns real-time information such as the carrier name, line type (e.g., mobile, landline, VoIP), and country code. This can be used for validating numbers, routing calls, or detecting fraud in applications.
DProvenanceKit is a Python toolkit that tracks execution provenance for AI systems, recording how data flows through models and pipelines to improve transparency, debugging, and auditability of AI workflows.
A new lightweight VM approach enables running 1,500 real applications on a single machine without a traditional kernel, supporting languages from Python to Node.js. The article challenges conventional server architecture by demonstrating that a "second runtime" can handle real-world workloads more efficiently than containerized or virtualized environments.
The article describes building a distributed context system for a Wool platform using Python, drawing inspiration from the movie Fear and Loathing in Las Vegas. It covers challenges like context propagation across services, managing async flows, and ensuring data consistency in a distributed architecture.
This is a GitHub repository for "Python Koans," a project that uses a test-driven approach to teach Python programming through a series of failing unit tests that the learner fixes. The repository has been forked and maintained by various contributors, with the original project by Greg Malcolm.
Trail of Bits has contributed post-quantum cryptography (PQC) support to CPython's hashlib and ssl modules, enabling Python developers to experiment with quantum-resistant algorithms like ML-KEM (FIPS 203) and ML-DSA (FIPS 204). The implementation uses the liboqs library and is scheduled for inclusion in Python 3.15, though it remains experimental and not ready for production use.
Translatable is a Python library providing ORM-agnostic internationalization (i18n) support by storing translations in JSON columns, allowing developers to handle multilingual content without database schema changes.
Memray is an open-source memory profiler for Python developed by Bloomberg. It allows developers to track memory allocations in Python code and extensions, offering features like flame graphs, statistical summaries, and real-time memory monitoring to help diagnose memory usage and leaks.
CmdBox is a CLI tool for saving and running parameterized shell commands using named variables (e.g., <host>), supporting nested commands, tag-based organization, stored execution context per command, multi-line script templates, and sharing via import/export. Written in Python, it is installable via pip as cmdbox-cli and works on Linux, macOS, and Windows.
Telnyx provides a Python-based AI customer churn predictor that uses machine learning to identify customers likely to leave, allowing businesses to take proactive retention measures.
The author documents a process for auditing all locally installed Python packages by reviewing their source code, dependencies, and metadata to identify security risks and maintenance issues.
Stephen Gruppetta breaks down the core components of an AI agent, covering its anatomy and how these elements work together in practice using Python.
A Python-based micro-temporal transaction velocity baseline filter has been built to analyze time-series data for detecting transaction velocity patterns and anomalies.
A new Python package called sfpy-asm version 0.1.1 provides an experimental bridge for using GCC and GAS inline assembly directly within Python code, allowing low-level assembly operations to be integrated into Python scripts.
Better Graphs is an open-source project that teaches good Matplotlib visualization practices to both AI agents and humans. It includes agent instructions, a tutorial blog, and opinionated default styles (minerva.mplstyle), aiming to produce cleaner, more professional plots inspired by Tufte's design principles.
Holoso is a new open-source HLS tool that translates idiomatic Python into synthesizable Verilog for FPGAs. It is vendor-agnostic (supports Lattice ECP5) and handles floating-point operations, targeting applications like Kalman filters and PID controllers, addressing shortcomings the author found in existing Python-based HLS solutions.
Pystd is a proposed Python standard library alternative that aims to provide similar functionality while drastically reducing compile time. By reimplementing core modules more efficiently, it could significantly speed up Python builds and development workflows.
Uv-matrix is a compact tool that runs matrix tests for Python projects using Astral uv. It is designed to simplify and speed up testing across multiple environments by leveraging uv's package management.
A Python code example from Telnyx demonstrates an outbound hold agent that pauses an AI runtime while waiting on hold.