METADATA 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Metadata-Version: 2.1
  2. Name: chardet
  3. Version: 5.2.0
  4. Summary: Universal encoding detector for Python 3
  5. Home-page: https://github.com/chardet/chardet
  6. Author: Mark Pilgrim
  7. Author-email: mark@diveintomark.org
  8. Maintainer: Daniel Blanchard
  9. Maintainer-email: dan.blanchard@gmail.com
  10. License: LGPL
  11. Project-URL: Documentation, https://chardet.readthedocs.io/
  12. Project-URL: GitHub Project, https://github.com/chardet/chardet
  13. Project-URL: Issue Tracker, https://github.com/chardet/chardet/issues
  14. Keywords: encoding,i18n,xml
  15. Classifier: Development Status :: 5 - Production/Stable
  16. Classifier: Intended Audience :: Developers
  17. Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
  18. Classifier: Operating System :: OS Independent
  19. Classifier: Programming Language :: Python
  20. Classifier: Programming Language :: Python :: 3
  21. Classifier: Programming Language :: Python :: 3.7
  22. Classifier: Programming Language :: Python :: 3.8
  23. Classifier: Programming Language :: Python :: 3.9
  24. Classifier: Programming Language :: Python :: 3.10
  25. Classifier: Programming Language :: Python :: 3.11
  26. Classifier: Programming Language :: Python :: Implementation :: CPython
  27. Classifier: Programming Language :: Python :: Implementation :: PyPy
  28. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  29. Classifier: Topic :: Text Processing :: Linguistic
  30. Requires-Python: >=3.7
  31. License-File: LICENSE
  32. Chardet: The Universal Character Encoding Detector
  33. --------------------------------------------------
  34. .. image:: https://img.shields.io/travis/chardet/chardet/stable.svg
  35. :alt: Build status
  36. :target: https://travis-ci.org/chardet/chardet
  37. .. image:: https://img.shields.io/coveralls/chardet/chardet/stable.svg
  38. :target: https://coveralls.io/r/chardet/chardet
  39. .. image:: https://img.shields.io/pypi/v/chardet.svg
  40. :target: https://warehouse.python.org/project/chardet/
  41. :alt: Latest version on PyPI
  42. .. image:: https://img.shields.io/pypi/l/chardet.svg
  43. :alt: License
  44. Detects
  45. - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
  46. - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese)
  47. - EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese)
  48. - EUC-KR, ISO-2022-KR, Johab (Korean)
  49. - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
  50. - ISO-8859-5, windows-1251 (Bulgarian)
  51. - ISO-8859-1, windows-1252, MacRoman (Western European languages)
  52. - ISO-8859-7, windows-1253 (Greek)
  53. - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
  54. - TIS-620 (Thai)
  55. .. note::
  56. Our ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily
  57. disabled until we can retrain the models.
  58. Requires Python 3.7+.
  59. Installation
  60. ------------
  61. Install from `PyPI <https://pypi.org/project/chardet/>`_::
  62. pip install chardet
  63. Documentation
  64. -------------
  65. For users, docs are now available at https://chardet.readthedocs.io/.
  66. Command-line Tool
  67. -----------------
  68. chardet comes with a command-line script which reports on the encodings of one
  69. or more files::
  70. % chardetect somefile someotherfile
  71. somefile: windows-1252 with confidence 0.5
  72. someotherfile: ascii with confidence 1.0
  73. About
  74. -----
  75. This is a continuation of Mark Pilgrim's excellent original chardet port from C, and `Ian Cordasco <https://github.com/sigmavirus24>`_'s
  76. `charade <https://github.com/sigmavirus24/charade>`_ Python 3-compatible fork.
  77. :maintainer: Dan Blanchard