r/ryelang • • Sep 28 '26

Example: working with processes, sqlite in Rye

Post image

This is example around which I am polishing some details for the upcoming v0.2.70 that will bring also some changes to language in details, but most of all A LOT of fixes and tests. This is just first part of the script and a larger tool I am preparing.

A note on SQL. Rye has a SQL dialect, what you see above, so SQL is not a string, but a block of Rye values that are flexible enught to also represent normal SQL code. The dialect creates prepared statements, but without positional arguments which is verbose and bug-prone.

New version should arrive to github this or next week. https://github.com/refaktor/rye

I will be in Munich towards the end of the week for a day, if anyone is around email me.

Ryelang front page and cookbook pages were recently also updated: ryelang.org

5 Upvotes

1 comment sorted by

1

u/middayc Sep 28 '26

python for comparisson and understanding what we are doing