You can install GQL 3 and all the extra dependencies using pip:
pip install --pre gql[all]
Please note that the following documentation describes the current version which is currently only available as a pre-release and needs to be installed with “–pre”
After installation, you can start using GQL by importing from the top-level
GQL supports multiple transports to communicate with the backend. Each transport can necessitate specific dependencies. If you only need one transport you might want to install only the dependency needed for your transport, instead of using the “all” extra dependency as described above, which installs everything.
If for example you only need the AIOHTTPTransport,
which needs the
aiohttp dependency, then you can install GQL with:
pip install --pre gql[aiohttp]
The corresponding between extra dependencies required and the GQL transports is:
It is also possible to install multiple extra dependencies if needed
Reporting Issues and Contributing¶
Please visit the GitHub repository for gql if you’re interested in the current development or want to report issues or send pull requests.
We welcome all kinds of contributions if the coding guidelines are respected. Please check the Contributing file to learn how to make a good pull request.