Files
fairhopper-sdk/python
2023-04-23 11:48:11 +02:00
..
2023-04-21 17:56:35 +02:00
2023-04-23 11:48:11 +02:00
2023-04-23 11:48:11 +02:00
2023-04-23 10:06:25 +02:00

FairHopper Python SDK

Requirements:

  • Python 3.10+

Setting up environment

Project uses Poetry, ultimate dependency management software for Python.

Install Poetry:

pip install poetry

Install virtual environment:

poetry install

Running demo

Check demo.py for usage example.

Edit demo.py and configure FairHopper Game host settings:

FAIRHOPPER_HOST = "http://127.0.0.1:8010"

Activate environment and run example:

poetry shell
python demo.py