SAPB1 and django integration
you can load the DI API dll with pywin32 to python.
You can get the company object and query, add, and modify whatever you need.
Issue with Django (and Flask) might be, that it is loading multiple threads, and therefore be not very efficient (compared to DI Server). Be sure to share one connection.
im working on a new project where by i wish to be able to build a django project around an existing SAPB1 application that is in production. My goal of doing so is to be able to extract certain information from SAP database and sync them with my django database as well as write certain things into the SAP database from my django program. An example is , i would wish to generate a payment voucher from my program , and write it into the SAP data base. 
Is there a suitable API for such a task? I have done certain research and it seems like my client's SAPB1 does not have python RFC feature. A possible alternative would be the DI API , however most materials are written in c# which is not my expertise , therefore would love to hear your advise! 
thanks!