pycapnp
pycapnp copied to clipboard
Cap'n Proto serialization/RPC system - Python bindings
This PR adds macos arm64 Apple Silicon to CI. - Added missing python 3.10 metadata to setup.py We need to tell CMAKE to use arm64 as well as the wheel...
I am working on pycapnp client and server applications in Docker, and tried to dockerize the calculator example. When creating containers for both the calculator_client.py and calculator_server.py and launching them...
For struct field names capnproto does not allow lower_case_with_underscores but recommends camelCase (mixedCase in [pep8](https://www.python.org/dev/peps/pep-0008/#descriptive-naming-styles): "Cap'n Proto declaration names should use camelCase and must not contain underscores. (Code generators may...
Since there is no movement in https://github.com/capnproto/pycapnp/pull/260, I decided to pick up that pull request and fix remaining CI issues.
Hello, if my understanding is correct, in #285 the `from_bytes()` signature was changed so it now returns a context manager, requiring users to update their usage, ie: ```python addressBook =...
Is it not possible to proxy-chain requests returning (at least) struct responses? i.e. `client proxy.rpc() server.rpc()` Please see attached [test code](https://github.com/capnproto/pycapnp/files/9092404/test.zip) to better understand issue and reproduce. Commented-out lines from...
I believe the way to timeout requests with C++ RPC is via `kj::Timer::timeoutAt` and `kj::Timer::timeoutAfter`. We seem to only have `kj::Timer::afterDelay` wrapped. Relevant code: - [timer.h](https://github.com/capnproto/capnproto/blob/4ef6b8701f2f0cc2d0fe9ac795229b7218d977ab/c%2B%2B/src/kj/timer.h#L65) - [capnp.pyx](https://github.com/capnproto/pycapnp/blob/e93b0452cc5c1d1fe47e4adf5799deaf7198a671/capnp/lib/capnp.pyx#L1821)
It is not clear whether a promise is cancelled and/or destroyed when all references to a promise (outside of the library's internals) go out of scope. I had presumed that...
I want to be able to define the capnp definitions at run time. It seems that `.load` won't accept anything but a real file due to this exception: ``` if...
I got a schema file in capnp language. But I don't know how to compile it to python file like what I did in C++.