zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
U
M±d:ã@stdZddlZddlmZmZmZddlmZddlm    Z    m
Z
ddl m Z ddl mZmZd    Ze d
¡ e ¡¡dS) u‚
Charset-Normalizer
~~~~~~~~~~~~~~
The Real First Universal Charset Detector.
A library that helps you read text from an unknown charset encoding.
Motivated by chardet, This package is trying to resolve the issue by taking a new approach.
All IANA character set names for which the Python core library provides codecs are supported.
 
Basic usage:
   >>> from charset_normalizer import from_bytes
   >>> results = from_bytes('Bсеки Ñ‡Ð¾Ð²ÐµÐº Ð¸Ð¼Ð° Ð¿Ñ€Ð°Ð²Ð¾ Ð½Ð° Ð¾Ð±Ñ€Ð°Ð·Ð¾Ð²Ð°Ð½Ð¸Ðµ. Oбразованието!'.encode('utf_8'))
   >>> best_guess = results.best()
   >>> str(best_guess)
   'Bсеки Ñ‡Ð¾Ð²ÐµÐº Ð¸Ð¼Ð° Ð¿Ñ€Ð°Ð²Ð¾ Ð½Ð° Ð¾Ð±Ñ€Ð°Ð·Ð¾Ð²Ð°Ð½Ð¸Ðµ. Oбразованието!'
 
Others methods and usages are available - see the full documentation
at <https://github.com/Ousret/charset_normalizer>.
:copyright: (c) 2021 by Ahmed TAHRI
:license: MIT, see LICENSE for more details.
éNé)Ú
from_bytesÚfrom_fpÚ    from_path)Údetect)Ú CharsetMatchÚCharsetMatches)Úset_logging_handler)ÚVERSIONÚ __version__)    rrrrrrr r
r    Zcharset_normalizer)Ú__doc__ÚloggingÚapirrrÚlegacyrÚmodelsrrÚutilsr    Úversionr
r Ú__all__Ú    getLoggerÚ
addHandlerÚ NullHandler©rrúRd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\charset_normalizer/__init__.pyÚ<module>s