shellescape

Shell escape a string to safely use it as a token in a shell command (backport of cPython shlex.quote for Python versions 2.x & < 3.3)

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install shellescape

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
3.8.1 2020-01-25  
3.4.1 2015-05-13  
3.4.0 2015-05-08  

Issues with this package?

Page last updated 2025-06-27 22:00:18 UTC