Provide a reactivity system similar to Vue.js for Python.
Project description
Provide a reactivity system similar to Vue.js for Python.
Getting Started
Please follow the documentation at pyreactivity.jianmu.org
Supported features
-
ref
function -
computed
function -
reactive
function -
effect
function -
watch
function -
watch_effect
(watchEffect
) function -
is_ref
(isRef
) function -
is_computed_ref
(isComputedRef
) function -
unref
function -
deep_unref
(deepUnref
) function -
is_reactive
(isReactive
) function -
to_raw
(toRaw
) function -
deep_to_raw
(deepToRaw
) function -
mark_raw
(markRaw
) function - serializable by
json.dumps()
andjson.dump()
Contributing
PyReactivity is an open-source project and welcomes any contributions. If you have any issues or suggestions, feel free to raise them in the Github Issues.
Acknowledgments
PyReactivity is inspired by Vue.js and its implementation also references the source code of Vue.js. Thanks to the Vue.js team for their selfless dedication.
This documentation also heavily references the documentation of Vue.js, thanks to the document writers of Vue.js for their selfless dedication.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyreactivity-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047bda8ea6f8753c609b484d84b2d3c85cdd541075e2b5bd99c20a9cb3fc8fa1 |
|
MD5 | 659f32fe2da6b2ed55c34d936a7bf8d4 |
|
BLAKE2b-256 | 1336bb51bd29bd6bef8cb04a11fe088df3ff1f8283b777ca8d9ecf81d40ca653 |