| Download Link: https://github.com/DirkJanJansen/Pandora ERP Application in PyQt5 and PostgreSQL relational database system. Python3 powered. Interface: Sqlalchemy-Core. Modules: Inventory, Sales, Purchase, Manufactory, Employees, Calculation, Accountancy (portal), Payroll administration, Management modules for inventory control and financial control with graphs are included. For documentation and database structure see Documentation directory. For instructions, installation and several screenshots see Installation directory. |
https://github.com/DirkJanJansen/Pandora/blob/master/invoerI... What the heck is this supposed to be? Are you really creating a database table and then a connection, and executing that in the middle of some random code? You really need to separate this out. And this is not a cherrypicked complaint, this is the first file I randomly clicked in the repo.
https://github.com/DirkJanJansen/Pandora/search?q=create_eng... This looks like you're creating a new engine anywhere you need database access. This is NOT how you use SQLAlchemy. Create a database.py file that contains a SINGLE create_engine function, and define all your tables in one place. This code looks like a real mess.
Don't take this as a personal attack. We all had to start somewhere. But this is not something I'd call top quality or really even quality.