pyreactivity

Provide a reactivity system similar to Vue.js for Python.


Keywords
reactivity, vue, vuejs
License
Apache-2.0
Install
pip install pyreactivity==0.0.6

Documentation

Provide a reactivity system similar to Vue.js for Python.

pyversions version license last-commit commit-activity CI

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() and json.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.