LabKey's Python APIs allow you to query, insert and update data on a LabKey Server from Python.
A good way to get started with writing a Python script to access data is to view that data in LabKey, then select
(Export) > Script > Python and
Export Script. This starter script will show you the correct call to APIWrapper to get you started with a basic select.
Detailed documentation is available on GitHub: