Files
vern-nvim/docs/languages/python.md
T
DarthMooMancer 368a5d98f8 chore: organized and optimized startup
docs: updated documentation to be simpler and up to date
2025-05-08 00:35:37 -04:00

1.7 KiB
Raw Permalink Blame History

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

Tree Structure:

Projects/
└── Python/
    └── Project_Name/
        ├── main.py
        ├── requirements.txt
        ├── setup.py
        ├── tests/
        └── venv/