LabKey's Python APIs allow you to query, insert and update data on a LabKey Server from Python.
Detailed documentation is available on GitHub:
Premium Resources AvailableSubscribers to premium editions of LabKey Server can can use the example code in these topics to learn more:
Learn more about premium editions