Files
fairhopper-sdk/python/README.md
2023-04-23 10:06:25 +02:00

534 B

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