- Notifications
You must be signed in to change notification settings - Fork15
PyScript wrapper for Reacthttps://github.com/pyscript/pyscript
License
NotificationsYou must be signed in to change notification settings
Py4Js/pyscript-react
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
PyScript-React integratesPyScript library into react components. Making it easier to use inside your react projects 😊
Required by whole library: react, prop-types
Required by PyScriptProvider, and PyScriptProviderZustandWrapper: react-helmet-async
Required by PyScriptProviderZustandWrapper: zustand
yarn add pyscript-react# installation with yarn (preferred node package manager)npm i pyscript-react# installation with npmpnpm add pyscript-react# installation with pnpm
<PyScriptProvider><PyScript>display("Hello world!")</PyScript></PyScriptProvider>
<PyScriptProvider><PyScriptsource="/folium_map.py",output="folium"generateOutputTagpyConfigProps={{type:"json",packages:newSet(["folium"]),}}/></PyScriptProvider>
# folium_map.pyfromfoliumimportMapvariable=Map(location=[45.5236,-122.6750])display(variable,target="folium")
we are working on it... 🐢
Look here:CONTRIBUTING.md
About
PyScript wrapper for Reacthttps://github.com/pyscript/pyscript
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.