Skip to main content

A simple tool to set environment variables before running a command

Project description

pysetenv is a simple Python-based program to allow users to set environment variables before executing a command. While it’s cross-platform, it’s primarily designed to be used on Windows, where cmd.exe makes this considerably more difficult than on POSIX systems.


pysetenv is designed as a support package to help authors of other Python packages create command-line strings like you’d expect from sh or the env command. Generally, pysetenv will only be installed on Windows systems, with POSIX systems using sh or env. For example, in your, you would write:

    # ...


This project is licensed under the BSD 3-clause license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysetenv, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pysetenv-0.1.1-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pysetenv-0.1.1.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page