martinadamsdev opened a new issue, #418: URL: https://github.com/apache/casbin-rs/issues/418
## Summary Would there be interest in Python bindings for casbin-rs using [PyO3](https://github.com/PyO3/pyo3)? ## Motivation - The existing pure-Python [pycasbin](https://github.com/casbin/pycasbin) works well, but a Rust-backed binding would offer significantly better enforcement throughput for high-traffic services. - PyO3 + maturin makes it straightforward to publish a `pip install`-able wheel to PyPI. - Other Rust projects (e.g., pydantic-core, ruff, polars) have demonstrated this pattern successfully. ## Rough Scope 1. A PyO3 wrapper around the core `casbin` API — `Enforcer`, model/policy loading, `enforce()`, RBAC role management. 2. Publish to PyPI with pre-built wheels for Linux / macOS / Windows via maturin + GitHub Actions. ## Questions for the Community - Is this something people would find useful? - Should it live in this repo (as a workspace crate) or in a separate repo? - Which subset of the API would be most valuable to expose first? - Anyone interested in collaborating on this? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
