{"library":"spreadmagic","title":"SpreadMagic","type":"library","description":"SpreadMagic is a Python package that provides a magic command for Jupyter and Google Colab to execute Python code in code cells using PyScript within an iframe, enabling interactive spreadsheet-like outputs. Current version 2.6.1, actively maintained.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spreadmagic"],"cli":null},"imports":["from spreadmagic import load_spreadmagic","load_spreadmagic()"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/uniras/SpreadMagic","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spreadmagic/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spreadmagic import load_spreadmagic\nload_spreadmagic()\n%%spread\nimport pandas as pd\ndf = pd.DataFrame({'A': [1, 2], 'B': [3, 4]})\ndf","lang":"python","description":"Load the magic command and use %%spread to display a DataFrame as an interactive spreadsheet in Jupyter/Colab.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}