🐑 Shear: Trim Excess Quotes from your Strings in Python and on the Command Line
Project description
Shear
Trim Excess Quotes from your Strings
features
- works great out of the box
- removes regular quotes like
"
and'
- removes python quotes like
'''
,"""
, andb''
- removes JavaScript quotes like
`
- command line interface included
install
pipenv install shear
or pip3 install shear
usage
python
from shear import shear
string = "`Sheep`"
string = shear(string)
# string is now Sheep instead of `Sheep`
command line interface
string="'Sheep'"
echo $(shear $string)
# string is now Sheep instead of 'Sheep'
support
Post an issue at https://github.com/DanielJDufour/shear/issues or email the package author at daniel.j.dufour@gmail.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shear-0.0.4.tar.gz
(2.5 kB
view hashes)