{"library":"spyder","title":"Spyder","type":"library","description":"Spyder is the Scientific Python Development Environment, a powerful open-source Integrated Development Environment (IDE) written in Python, for Python. It is designed for scientists, engineers, and data analysts, offering a unique blend of advanced editing, analysis, debugging, and profiling functionalities with capabilities for data exploration, interactive execution, deep inspection, and visualization. Spyder is actively developed with continuous releases, with the current version being 6.1.4. [3, 15, 16, 23]","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install spyder"],"cli":{"name":"spyder","version":"usage: spyder [options] files"}},"imports":["from spyder.api.plugins import SpyderPluginV2","from spyder.plugins.editor.api import EditorExtension","import spyder"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://www.spyder-ide.org/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/spyder/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"# Save this file as 'hello_spyder.py' and run it in the Spyder IDE\n\nimport numpy as np\nimport matplotlib.pyplot as plt\n\ndef generate_and_plot_data():\n    \"\"\"Generates some sample data and plots it.\"\"\"\n    x = np.linspace(0, 10, 100)\n    y = np.sin(x) + np.random.normal(0, 0.1, 100)\n\n    print(f\"Generated {len(x)} data points.\")\n    print(f\"Mean of y: {np.mean(y):.2f}\")\n\n    plt.figure()\n    plt.plot(x, y, label='Sine wave with noise')\n    plt.xlabel('X-axis')\n    plt.ylabel('Y-axis')\n    plt.title('Sample Data Plot')\n    plt.legend()\n    plt.grid(True)\n    plt.show()\n\nif __name__ == '__main__':\n    generate_and_plot_data()\n    # You can inspect 'x' and 'y' in Spyder's Variable Explorer after running this.","lang":"python","description":"This quickstart demonstrates a typical workflow within the Spyder IDE. Users write Python code in the Editor pane, which can then be executed. The output (e.g., print statements) appears in the IPython Console, and variables (like `x` and `y`) can be interactively inspected and modified in the Variable Explorer. Plots generated (e.g., with Matplotlib) will appear in the Plots pane. To run this, simply save it as a .py file in Spyder's editor and press F5. [5, 9, 10, 15]","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}