Qt framework for building graphql driven QML applications
Project description
Qt framework for building graphql driven QML applications
Disclaimer
This project is currently under development, and it is not production ready, You can play-around and tell us what is wrong / missing / awesome :smile:.
Features
- object types, for each field there is a corresponding
Property
- enums
- custom scalars
- Unions
- query handlers: queries your server when a component uses this query (or imperatively fetched).
- query updates: fetch the same query multiple times would not instantiate everything from scratch it would compare the current data with data received and emit only the signals that are needed.
- "Qt-native" graphql-transport-ws network manager (supports subscriptions).
Helpers
- generic models that get created from dictionaries (with update, pop, insert implemented by default)
-
Property
classes that are accessible from QML, with dataclasses syntax (using attrs) -
@slot
- decorator to be replaced withQtCore.Slot()
that get types from type hints.
TODO
- Mutations
- Subscriptions
- Migrate to C++
- Fragments?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qtgql-0.112.1.tar.gz
(29.9 kB
view hashes)
Built Distribution
qtgql-0.112.1-py3-none-any.whl
(39.2 kB
view hashes)