X7ROOT File Manager
Current Path:
/opt/gsutil/third_party/charset_normalizer
opt
/
gsutil
/
third_party
/
charset_normalizer
/
π
..
π
.codecov.yml
(128 B)
π
.coveragerc
(32 B)
π
.github
π
.gitignore
(1.69 KB)
π
.readthedocs.yaml
(400 B)
π
CHANGELOG.md
(18.08 KB)
π
CODE_OF_CONDUCT.md
(3.28 KB)
π
CONTRIBUTING.md
(3.64 KB)
π
LICENSE
(1.04 KB)
π
MANIFEST.in
(196 B)
π
README.md
(12.7 KB)
π
SECURITY.md
(201 B)
π
UPGRADE.md
(768 B)
π
bin
π
build-requirements.txt
(449 B)
π
charset_normalizer
π
data
π
dev-requirements.txt
(464 B)
π
docs
π
setup.cfg
(1.99 KB)
π
setup.py
(808 B)
π
tests
Editing: UPGRADE.md
Guide to upgrade your code from v1 to v2 ---------------------------------------- * If you are using the legacy `detect` function, that is it. You have nothing to do. ## Detection ### Before ```python from charset_normalizer import CharsetNormalizerMatches results = CharsetNormalizerMatches.from_bytes( 'ζ沑ζεζ¨οΌη£η £ηεͺζ―δΈδΊζΆι΄γ'.encode('utf_32') ) ``` ### After ```python from charset_normalizer import from_bytes results = from_bytes( 'ζ沑ζεζ¨οΌη£η £ηεͺζ―δΈδΊζΆι΄γ'.encode('utf_32') ) ``` Methods that once were staticmethods of the class `CharsetNormalizerMatches` are now basic functions. `from_fp`, `from_bytes`, `from_fp` and `` are concerned. Staticmethods scheduled to be removed in version 3.0
Upload File
Create Folder