I have web application which made by symfony2(php framework)
So there is mysql database handled by doctrine2 php source code.
Now I want to control this DB from python script.
Of course I can access directly to DB from python.
However, it is complex and might break the doctrine2 rule.
Is there a good way to access database via php doctrine from python??
You can try the Django ORM or SQL Alchemy but the configuration of the models have to be done very carefully. Maybe you can write a parser from Doctrine2 config files to Django models. If you do, open source it please.
How to access doctrine database made by php from python