Python Example for migration from JWT

Is there any python example or documentation for the migration from JWT to server-to-server? We have an app that monitors company Zoom data using JWT. We created a server-to-server app instead but getting “invalid_client” errors when trying to access.

I’m looking for a python example or library that wraps the API and supports server to server flow.