MLAlchemy icon indicating copy to clipboard operation
MLAlchemy copied to clipboard

Love this project, and wanted to ask about some things related...

Open jeremy-donson opened this issue 8 years ago • 1 comments

Hello Sir!

What I like about this project is that it uses sqlalchemy as a means to stay dbms-agnostic.

What I was looking for instead was a tool to generate schemas (tables and relationships), and perhaps some random sample data, from a yaml file.

Note that php 👎 supports this through doctrine, http://doctrine.readthedocs.io/en/latest/en/manual/yaml-schema-files.html

And pypi has pyrseas https://pythonhosted.org/Pyrseas/ but this is only postgres specific.

I see no reason to avoid leveraging the power of sqlalchemy instead. Thoughts?

jeremy-donson avatar Dec 09 '17 02:12 jeremy-donson

I originally wrote MLAlchemy to be a reusable component within Statik, which does pretty much what you're asking (and more), except that it uses SQLAlchemy with an in-memory SQLite database.

Perhaps with a bit of tweaking one could repurpose Statik to use any SQLAlchemy-supported backend? 😀

thanethomson avatar Dec 20 '17 08:12 thanethomson