Install the Python SDK and create your first transaction.
This guide walks you through installing the Blnk Python SDK, initializing the client, and creating your first transaction.By the end, you’ll have a working connection to Blnk and be ready to build financial products from your Python application.
1
Install the SDK
Install the SDK in your project. Requires Python 3.10 or later.
pip install blnk-python
For local development from source:
pip install .
2
Create a sample script
Create a main.py file as shown below to create your first transaction with the SDK.
Make sure you have a running Blnk Core instance. Set the URL and API key as environment variables in your project.
We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.To ask questions or discuss issues, please contact us or join our Discord community.