Peter Bierma

Results 89 issues of Peter Bierma
trafficstars

Allow chaining of routes, like so: ```py @get("/") @query("hello", str) async def something(hello: str): ... @something.post @body("a", str) async def something(hello: str, a: str): ... ```

good first issue
feature
api

### Use case JSON keys tend to be in camelCase, as it originates from JavaScript, while Python attributes are expected to be in snake_case, per PEP 8. It would be...

enhancement

I've been trying to integrate FTXUI into Python, through [scikit-build-core](https://scikit-build-core.readthedocs.io/). `CMakeLists.txt` looks like this: ```cmake cmake_minimum_required(VERSION 3.15...3.26) project(${SKBUILD_PROJECT_NAME} LANGUAGES C CXX) # Source code file(GLOB lumberjack_C_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src/_lumberjack/*.c ) file(GLOB lumberjack_CXX_SRC...

### Is there an existing proposal for this? - [X] I have searched the existing proposals ### Is your feature request related to a problem? Python comes with several built-in...

enhancement

## Description `ReactDOM.render` is deprecated as of React 18 (see [here](https://react.dev/blog/2022/03/08/react-18-upgrade-guide#deprecations)), and removed in React 19 (see [here](https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-reactdom-render)). This switches to the alternative, `ReactDOM.createRoot(...).render()`. ## Checklist Please update this checklist...

blocked

And a lot of other things... Closes #186, #118, #190, #51, #89, #83

### Description: As of now, we use [uJSON](https://github.com/ultrajson/ultrajson) for JSON parsing. Unfortunately, they've basically marked it as security-only, which isn't a great look for view.py. The obvious, drop-in replacement for...

improvement
complex
c api

### Proposal: For batteries-detachable purposes, view.py should support responses from [FastUI](https://github.com/pydantic/FastUI). This will likely be similar to how ReactPy is implemented when #118 is done. Basically: ```py from view import...

feature
api
delayed