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

Dependencies

  • None

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
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 2026-09-03 15:01:30 UTC