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
Metadata
Release files for shear 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shear-0.0.4.tar.gz | 2.5 kB | Without provenance | Details for shear-0.0.4.tar.gz |
Release files / shear-0.0.4.tar.gz
| Download URL | shear-0.0.4.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e36e479d9fc2f9cd31b99ef9f44ddc70b08373d0744b23dea3ddf14ddb76bd2
|
|
BLAKE2b-256 checksum How to use checksums |
9d449264aacf2ae59639166d839c942d6ff006a17488dbd2275ce271039c2002
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|
Security for shear 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.