Python HMAC signing example
Veracode provides a Python library you can use to enable HMAC signing within your application. By default, the Python authentication library assumes you store your API credentials in an API credentials file or pass them as environment variables. Veracode highly recommends you use an API credentials file.
You can download a complete Python code example from GitHub.