11# Python Bluefin Pro SDK
22
3- ## Install the SDK
3+ ## Install the SDK
44We will soon be publishing the library to a public repository on PyPI. For now, you can pull the code with github as sumbodule
55and install it locally. To do this, run the following commands:
6- ``` bash
7- git submodule add git@github.com:fireflyprotocol/pro-sdk.git submodules/pro-sdk
6+ ``` bash
7+ git submodule add git@github.com:fireflyprotocol/pro-sdk.git submodules/pro-sdk
88```
99
10- NOTE: Due to a limitation you need to use python version ` 3.12 ` or older.
10+ NOTE: Due to a limitation you need to use python version ` 3.13 ` or older.
1111then using pip, install the SDK locally here is example pip requirements.txt contents:
1212``` text
1313./submodules/pro-sdk/python/sdk
@@ -32,12 +32,12 @@ requirements:
3232# install poetry if needed.
3333pipx install poetry
3434
35- # Set it to use python3.12 (making sure you have python 3.12 installed).
36- # If you don't have python 3.12 installed, you can use pyenv to install it:
37- # pyenv install 3.12
35+ # Set it to use python3.13 (making sure you have python 3.13 installed).
36+ # If you don't have python 3.13 installed, you can use pyenv to install it:
37+ # pyenv install 3.13
3838
3939# From the `python` directory, run the following commands:
40- python3.12 -m venv .venv
40+ python3.13 -m venv .venv
4141source .venv/bin/activate
4242poetry install
4343```
@@ -64,6 +64,6 @@ openapi-generator generate -i ../../resources/bluefin-api.yaml -c config.yaml -g
6464This will:
6565
66661 . Use the OpenAPI spec from `` ../../resources/bluefin-api.yaml ``
67- 2 . Apply configuration from `` config.yaml ``
67+ 2 . Apply configuration from `` config.yaml ``
68683 . Generate a Python client
69694 . Output the generated code to the `` src `` directory
0 commit comments