Installation#
Installation and configuration of the SynMax/Hyperion API Client:
Installation#
pip install --upgrade synmax-api-python-client
Requirements#
Before you install the client, make sure you have Python 3.10+ and pip installed.
Jupyter Notebooks#
If you are using Jupyter Notebooks, please install the nest_asyncio package in order for async to work correctly:
!pip install nest_asyncio
To use the package, simply import it in your Python project and apply the patch.
import nest_asyncio
nest_asyncio.apply()
Note
In Python versions <3.10 you need to call apply()
before importing nest_asyncio and in Python 3.10+ you call it after importing nest_asyncio.