### Python Setup for Polydev ๐Ÿ #### Keybinds ๐ŸŽฎ You can easily customize the keybinds for your Python projects using Polydev. | Keybind | Action | |---------------------|---------------------------------------------------| | `pr` | Run the Python project in your active terminal | | `pb` | Install dependencies using pip | #### Configuration Example: ```lua require("Polydev").python.setup({ keybinds = { ["pr"] = "PythonRun", -- Run the Python project ["pb"] = "PythonPip" -- Install dependencies using pip } }) ``` --- #### Python Features ๐Ÿš€ Here are some cool features available for Python projects using Polydev: - **Automatic Virtual Environment Creation** ๐Ÿ”ง Each Python project automatically sets up and uses a new virtual environment. You donโ€™t need to worry about environment management. Just install your dependencies with `pip` as needed. - **Dependency Management with Pip** ๐Ÿ“ฆ Need to install Python modules? Simply type the name of the module in the terminal, and Polydev will take care of the installation using `pip`. You can even update `pip` if required, ensuring smooth installation. - **Effortless Dependency Handling** โšก You no longer need to manually activate or deactivate virtual environments. With Polydev, the environment is set up and activated automatically, simplifying your workflow. --- #### File Structure ๐Ÿ“‚ Hereโ€™s the recommended structure for your Python projects using Polydev: | Directory/File Path | Description | |----------------------------|------------------------------------------------------| | `requirements.txt` | File for listing project dependencies | | `setup.py` | Python project setup file | | `tests/` | Folder containing test files | | `venv/` | Virtual environment folder | | `main.py` | Main Python file for your project | #### Example Structure: ```md Projects/ โ””โ”€โ”€ Python/ โ””โ”€โ”€ Project_Name/ โ”œโ”€โ”€ main.py โ”œโ”€โ”€ requirements.txt โ”œโ”€โ”€ setup.py โ”œโ”€โ”€ tests/ โ””โ”€โ”€ venv/ ``` ---