Skip to content

Conversation

@aborgna-q
Copy link
Collaborator

This PR organizes the single-file python bindings into submodules, and adds types and some Protocols so we can re-enable the mypy checks.

I tried to stay close to the original code in #3, but some changes were required (sorry if I went overboard with it).
I haven't re-exported everything from the root, we can do that if needed for backwards compatibility.
Some structs have been renamed to avoid everything being called JeffSomething.

This code is still based on the pycapnp library, which is a bit deficient on wheels availability. It also requires us # type: ignoreing every import from the schema.

I'll follow up with another PR trying out alternatives for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants