Rhino Python Editor - Connect to database

You may want to use sqlite, a file based database.
See