Show HN: Sprag – 无需JavaScript的全栈Python框架
Sprag是一个全栈Python框架,开发者只需使用Python编写后端和浏览器端代码,无需单独的前端或API层。该框架将Python编译为JavaScript,将所有功能(状态、操作、实时通信等)集成在一个模型中。目前处于预发布阶段但已可用。
Sprag是一个全栈Python框架,开发者只需使用Python编写后端和浏览器端代码,无需单独的前端或API层。该框架将Python编译为JavaScript,将所有功能(状态、操作、实时通信等)集成在一个模型中。目前处于预发布阶段但已可用。
Anthropic has introduced a 1 million token context window for its Claude Opus 4.6 and Sonnet 4.6 models, representing a significant technical advancement. The company is offering this increased capacity without additional charges to users.
The Servo browser engine is now available as an embeddable library on crates.io. A CLI tool called servo-shot was created to take screenshots of webpages using the new crate. While compiling Servo to WebAssembly isn't feasible, a playground was built for experimenting with html5ever and markup5ever_rcdom crates in WebAssembly.
Google released Gemini 3.1 Flash TTS, a new text-to-speech model that can be directed using detailed prompts. The model is available via the Gemini API and can only output audio files. The prompting system allows for detailed voice direction including accent, style, and emotional tone.
Datasette has replaced its token-based CSRF protection with a new approach using Sec-Fetch-Site headers, inspired by Go 1.25 and research by Filippo Valsorda. This eliminates the need for CSRF tokens in templates and removes related plugin hooks.
SQLite 3.53.0 is a major release with accumulated improvements including ALTER TABLE support for NOT NULL and CHECK constraints, new json_array_insert() function, and CLI enhancements via a new Query Results Formatter library.