ondras / wwwsqldesigner

WWW SQL Designer, your online SQL diagramming tool
https://sql.toad.cz/?keyword=online_library
BSD 3-Clause "New" or "Revised" License
2.86k stars 722 forks source link

Python version to automated sql designs from ORMs #327

Open melquelima opened 11 months ago

melquelima commented 11 months ago

Today we have a few tools to doc apis like faskapi already have sweager on it, but today there is no libraries to automate the orm design tables, imagin just plug the ondrassqldesigner like "pip intall ondras-sqladesigner" and init it like "'ondras..init(app)" and the magic is done, just access "/sqldesign" and all of your orm tables are designed there how amazing it would be, is it possible?

ondras commented 11 months ago

is it possible?

Probably? But the ORM-build process needs to be specific to a particular ORM implementation (and language). And I have no ORM experience, so I cannot really advise on this.

melquelima commented 10 months ago

is there a way to create a version of that code in python? so i can try to create that library

ondras commented 9 months ago

is there a way to create a version of that code in python? so i can try to create that library

Probably? My Python experience is not high. But if you configure your web server to run Python instead of PHP, you can certainly re-implement current backends in Python.