Tag

virtualenv

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Dec 3, 2024 · Information Security

Python Security Risks: Unsafe Use of Download Folders, $PYTHONPATH, and pip

The article explains how careless use of Python's import system, the $PYTHONPATH environment variable, and running pip from the Downloads directory can create serious security vulnerabilities, and provides concrete examples and safe‑practice recommendations for developers.

PYTHONPATHPythoncode execution
0 likes · 7 min read
Python Security Risks: Unsafe Use of Download Folders, $PYTHONPATH, and pip
Python Programming Learning Circle
Python Programming Learning Circle
Nov 7, 2024 · Backend Development

9 Best Practices for Enterprise Python Development

This article presents nine essential best‑practice steps for building robust, maintainable Python backend applications, covering virtual environments, dependency management, logging, configuration files, testing, asynchronous I/O, Docker containerization, CI/CD automation, and ORM usage with a practical Flask example.

Best PracticesCI/CDDocker
0 likes · 11 min read
9 Best Practices for Enterprise Python Development
DevOps Engineer
DevOps Engineer
Sep 8, 2024 · Fundamentals

Overview of Python Packaging Authority (PyPA) Tools and Their Relationships

PyPA, the Python Packaging Authority, oversees key tools such as pip, setuptools, packaging, wheel, virtualenv, twine, and build, each serving distinct roles in package installation, creation, distribution, and environment isolation, with pyproject.toml coordinating their interactions to streamline Python development workflows.

PyPAPythonSetuptools
0 likes · 6 min read
Overview of Python Packaging Authority (PyPA) Tools and Their Relationships
Test Development Learning Exchange
Test Development Learning Exchange
Aug 26, 2023 · Fundamentals

Understanding Python Virtual Environments: pythonvenv, virtualenv, and conda with API Automation Example

This article explains the concept and importance of Python virtual environments, compares three popular tools—pythonvenv, virtualenv, and conda—provides step‑by‑step commands for creating and activating environments on different operating systems, and includes a practical API automation code example demonstrating their use.

API automationCondaPython
0 likes · 4 min read
Understanding Python Virtual Environments: pythonvenv, virtualenv, and conda with API Automation Example
Python Programming Learning Circle
Python Programming Learning Circle
Aug 22, 2023 · Information Security

Avoid Security Risks When Running Python Scripts from the Downloads Folder and Using $PYTHONPATH

Running Python scripts from the Downloads folder or misusing $PYTHONPATH can expose your system to malicious code takeover, as demonstrated by examples where attacker‑placed pip.py or modules hijack execution; the article explains the risks and recommends safe practices like using virtualenv and proper path management.

Best PracticesPYTHONPATHPath Hijacking
0 likes · 9 min read
Avoid Security Risks When Running Python Scripts from the Downloads Folder and Using $PYTHONPATH
Test Development Learning Exchange
Test Development Learning Exchange
Jul 4, 2023 · Operations

Python Tools for Interface Automation: Albumentations, MonkeyType, Bleach, Plotnine, Returns, ipdb, and Virtualenv

This article introduces several powerful Python libraries—Albumentations for image augmentation, MonkeyType for type inference, Bleach for HTML sanitization, Plotnine for data visualization, Returns for exception handling, ipdb for interactive debugging, and Virtualenv for environment isolation—detailing their use cases and providing example code for interface automation.

AutomationImage AugmentationLibraries
0 likes · 14 min read
Python Tools for Interface Automation: Albumentations, MonkeyType, Bleach, Plotnine, Returns, ipdb, and Virtualenv
Test Development Learning Exchange
Test Development Learning Exchange
Jun 24, 2023 · Fundamentals

Overview of Python Package Management Systems

This article provides a comprehensive overview of Python package management tools—including PyPI, setuptools, pip, virtualenv, and conda—explaining their purposes, core features, and basic usage commands for creating, sharing, and managing Python packages and environments.

CondaPythonSetuptools
0 likes · 5 min read
Overview of Python Package Management Systems
Python Programming Learning Circle
Python Programming Learning Circle
May 15, 2023 · Fundamentals

10 Practical pip Commands and Tips for Managing Python Packages

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, checking for updates, handling compatibility, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers efficiently manage their packages.

Command LineDependencyInstallation
0 likes · 7 min read
10 Practical pip Commands and Tips for Managing Python Packages
Python Programming Learning Circle
Python Programming Learning Circle
Nov 9, 2022 · Fundamentals

10 Practical pip Tips for Efficient Python Package Management

This article introduces ten useful pip techniques—including installation, upgrading, version-specific installs, uninstalling, inspecting package details, checking for conflicts, using domestic mirrors, downloading without installing, and batch installing from requirements files—to help Python developers manage packages more effectively.

Command LineDependencyInstallation
0 likes · 7 min read
10 Practical pip Tips for Efficient Python Package Management
Python Programming Learning Circle
Python Programming Learning Circle
Jul 29, 2022 · Backend Development

Using Tox for Python Package Testing and Continuous Integration

This article introduces Tox as a virtualenv manager and command‑line testing tool for Python, explains how to install it, set up a simple project with test and setup files, configure tox.ini, run tests across multiple Python versions, and customize environments for advanced usage.

AutomationContinuous IntegrationTesting
0 likes · 7 min read
Using Tox for Python Package Testing and Continuous Integration
Python Programming Learning Circle
Python Programming Learning Circle
Jul 22, 2022 · Fundamentals

Getting Started with pip: Installing and Managing Python Packages

This tutorial introduces pip, the standard Python package manager, and walks through installing, upgrading, searching, and uninstalling packages, using requirements files for reproducible environments, and explores alternative tools like Conda, Pipenv, and Poetry for dependency management.

DependencyPython packagespackage-management
0 likes · 16 min read
Getting Started with pip: Installing and Managing Python Packages
Ops Development Stories
Ops Development Stories
Jun 28, 2022 · Backend Development

Mastering Pipenv: Simplify Python Dependency and Virtual Environment Management

This guide explains what Pipenv is, how to install it, its advantages and drawbacks, and provides step‑by‑step instructions for creating virtual environments, managing packages, sharing projects with a team, and integrating Pipenv into PyCharm.

Pythondependency managementpackage management
0 likes · 7 min read
Mastering Pipenv: Simplify Python Dependency and Virtual Environment Management
Ops Development Stories
Ops Development Stories
May 18, 2022 · Fundamentals

Master Python Version Management with pyenv and virtualenv: A Complete Guide

This article explains why managing multiple Python interpreter and package versions is essential, introduces pyenv as a solution, and provides step‑by‑step instructions for installing pyenv, configuring environment variables, using its commands, and leveraging the pyenv‑virtualenv plugin for isolated virtual environments.

DevOpsPythonenvironment-management
0 likes · 7 min read
Master Python Version Management with pyenv and virtualenv: A Complete Guide
Python Programming Learning Circle
Python Programming Learning Circle
Apr 19, 2022 · Fundamentals

An Introduction to Anaconda, Conda, Pip, and Virtualenv: Installation and Management Guide

This comprehensive guide explains what Anaconda is, compares it with Conda, Pip, and Virtualenv, and provides step‑by‑step installation instructions for macOS, Windows, and Linux, along with detailed commands for managing environments, packages, and updates using conda and pip.

AnacondaCondaEnvironment Setup
0 likes · 19 min read
An Introduction to Anaconda, Conda, Pip, and Virtualenv: Installation and Management Guide
Python Programming Learning Circle
Python Programming Learning Circle
Mar 9, 2022 · Information Security

Why Using $PYTHONPATH Is Unsafe and How to Secure Python Execution

The article explains how using the $PYTHONPATH environment variable and running Python from the Downloads folder can expose systems to code injection attacks, demonstrates exploit examples, and provides safe practices such as using virtualenv and proper path handling to protect Python execution.

Code InjectionPYTHONPATHPath Hijacking
0 likes · 7 min read
Why Using $PYTHONPATH Is Unsafe and How to Secure Python Execution
IT Services Circle
IT Services Circle
Feb 20, 2022 · Fundamentals

Using trypackage: A Command-Line Tool for Quick Python Package Trials

The article introduces trypackage, a lightweight Python CLI utility that automatically creates a temporary virtual environment, installs a specified package, launches an interactive shell with the package pre‑imported, and offers various options for Python version, shell type, persistence, and configuration.

CLIPythonpackage testing
0 likes · 6 min read
Using trypackage: A Command-Line Tool for Quick Python Package Trials
Python Programming Learning Circle
Python Programming Learning Circle
Jan 8, 2022 · Fundamentals

Python Package Management and Virtual Environment Tools Overview

This article provides a comprehensive guide to Python package management and virtual environment tools, covering pip, easy_install, virtualenv, venv, pipenv, pyenv, and autoenv, with installation commands, usage tips, and best‑practice recommendations for developers.

Pythonpackage managementpipenv
0 likes · 11 min read
Python Package Management and Virtual Environment Tools Overview
Python Programming Learning Circle
Python Programming Learning Circle
Nov 11, 2021 · Backend Development

Managing Python Development Environments with pyenv, pipenv, and autoenv

This guide explains how to install, configure, and use pyenv, pipenv, and autoenv to create flexible, accelerated Python development environments, covering installation commands, shell configuration, plugin management, virtual environment handling, and common usage examples.

Pythonautoenvdevelopment tools
0 likes · 9 min read
Managing Python Development Environments with pyenv, pipenv, and autoenv
Python Programming Learning Circle
Python Programming Learning Circle
Jul 20, 2021 · Fundamentals

A Comprehensive Guide to Using Pipenv for Python Dependency and Virtual Environment Management

This article introduces pipenv, explains its concepts, installation methods, virtual environment creation, package management, and commands for handling dependencies, generating Pipfiles, and removing environments, providing a comprehensive tutorial for Python developers in practice.

dependency managementenvironmentpipenv
0 likes · 11 min read
A Comprehensive Guide to Using Pipenv for Python Dependency and Virtual Environment Management
Test Development Learning Exchange
Test Development Learning Exchange
Mar 11, 2019 · Backend Development

How to Generate requirements.txt Using pip freeze and pipreqs

This guide explains two methods for creating a Python project's requirements.txt file—using pip freeze within a virtualenv and using the pipreqs tool to automatically scan source code—highlighting their commands, advantages, and the need for manual verification of the generated dependencies.

Pythondependency managementpip
0 likes · 3 min read
How to Generate requirements.txt Using pip freeze and pipreqs