Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you use Starlark inside Python? We have a rules engine where we'd like the rules themselves to be maintained outside the regular codebase, but we'd rather not invent a new DSL for them.



Yes, you can try these bindings:

- https://github.com/caketop/python-starlark-go

- https://github.com/inducer/starlark-pyo3

(I haven't tried them myself)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: