-
### Question
I would like to convert some built-in types to numpy dtype instances in order to save some memory, numpy fields are part of msgspec struct. Is it possible to do in msgspec? Should i use …
-
Today I stumbled upon this library for doing json encoding/decoding in Python. Rewriting our message handling to use it could have many benefits, most importantly making it easier to document what the…
-
### Description
for example
```python
import msgspec
msgspec.convert(b'qq', type=str, strict=False)
class S(msgspec.Struct):
hash: bytes
content: str
msgspec.convert({'hash…
-
I ran a cProfile session and found that half of the time is spent within the JSON loads.
While a quick replacement of json with orjson brings improvements, if we could switch to msgspec we could se…
-
### Question
HI. Is it possible to dynamically create a struct from an unknown JSON schema? I mean, the user will inform me the way he wants the struct to be created, and I will create a Struct from …
-
### Summary
I was playing around with [hypothesis](https://hypothesis.readthedocs.io/) and noticed that it can't create strategies when there are constraints on the fields. So, I'm proposing that `po…
-
Hi, as someone who's been looking for a clean async actor-like approach in python, tractor looks amazing!
I just started looking at the docs and code, but noticed the actor cluster / process pool e…
-
Currently there is no clean way (using standard internal Falcon methods) to validate and decode incoming data within the Request stream in a single step. This can matter because libraries such as [Pyd…
-
### Description
Validating a field annotated as `Type[X]` (or derivatives e.g. `List[Type[X]]`) ignores `X`; it just validates that the input is a type, not a subclass of `X`.
MCVE:
```py
class …
-
Design and develop a Python API for generating Mosaic specifications. Similar in spirit to [Vega-Altair](https://altair-viz.github.io/), the Python API should enable programmatic construction of a Mos…