Skip to content

feature: Add native Python signature API - #506

Merged
ZwFink merged 2 commits into
mainfrom
feat/python-native-signatures
Jul 28, 2026
Merged

feature: Add native Python signature API#506
ZwFink merged 2 commits into
mainfrom
feat/python-native-signatures

Conversation

@ZwFink

@ZwFink ZwFink commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Changes the interface from:

mod.get_function("plus1", restype=proteus.i32, argtypes=[proteus.i32])

to

mod.get_function("plus1", signature=proteus.i32(proteus.i32))

to simplify the interface and bring it more inline with e.g., Numba

@ZwFink
ZwFink force-pushed the feat/python-native-signatures branch from 172621a to bfa17c8 Compare July 27, 2026 22:17
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ZwFink
ZwFink requested a review from davidbeckingsale July 28, 2026 00:15
@ZwFink
ZwFink merged commit 523c1fd into main Jul 28, 2026
61 checks passed
@ZwFink
ZwFink deleted the feat/python-native-signatures branch July 28, 2026 16:40
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.

1 participant