[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐑 Shear: Trim Excess Quotes from your Strings in Python and on the Command Line

License

Notifications You must be signed in to change notification settings

DanielJDufour/shear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shear logo

features

📦   works great out of the box
✂️   removes regular quotation marks like " and '
🐍   removes python quotation marks like ''', """, and b''
⚡   removes JavaScript quotation marks 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

About

🐑 Shear: Trim Excess Quotes from your Strings in Python and on the Command Line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published