Right now there are different instructions for each CI provider and for most them a cumbersome process of running Python scripts is used.
Ideally there should be a dockerhub image port/inject-data (or similar) that packages python and the scripts for getting a token. Then each CI system should use the same image. People could also do custom integrations with just docker and no knowledge (or installation) of Python
See examples of other companies (e.g. snyk, trivy etc)