The Python SDK is distributed by pypi. To get started, add it as a dependency by installing it via pip:
pip install target-python-sdk
The open sourced code can be found at https://github.com/adobe/target-python-sdk