METADATA 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Metadata-Version: 2.1
  2. Name: chardet
  3. Version: 4.0.0
  4. Summary: Universal encoding detector for Python 2 and 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. Keywords: encoding,i18n,xml
  12. Platform: UNKNOWN
  13. Classifier: Development Status :: 5 - Production/Stable
  14. Classifier: Intended Audience :: Developers
  15. Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
  16. Classifier: Operating System :: OS Independent
  17. Classifier: Programming Language :: Python
  18. Classifier: Programming Language :: Python :: 2
  19. Classifier: Programming Language :: Python :: 2.7
  20. Classifier: Programming Language :: Python :: 3
  21. Classifier: Programming Language :: Python :: 3.5
  22. Classifier: Programming Language :: Python :: 3.6
  23. Classifier: Programming Language :: Python :: 3.7
  24. Classifier: Programming Language :: Python :: 3.8
  25. Classifier: Programming Language :: Python :: 3.9
  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: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
  31. Chardet: The Universal Character Encoding Detector
  32. --------------------------------------------------
  33. .. image:: https://img.shields.io/travis/chardet/chardet/stable.svg
  34. :alt: Build status
  35. :target: https://travis-ci.org/chardet/chardet
  36. .. image:: https://img.shields.io/coveralls/chardet/chardet/stable.svg
  37. :target: https://coveralls.io/r/chardet/chardet
  38. .. image:: https://img.shields.io/pypi/v/chardet.svg
  39. :target: https://warehouse.python.org/project/chardet/
  40. :alt: Latest version on PyPI
  41. .. image:: https://img.shields.io/pypi/l/chardet.svg
  42. :alt: License
  43. Detects
  44. - ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants)
  45. - Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese)
  46. - EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese)
  47. - EUC-KR, ISO-2022-KR (Korean)
  48. - KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic)
  49. - ISO-8859-5, windows-1251 (Bulgarian)
  50. - ISO-8859-1, windows-1252 (Western European languages)
  51. - ISO-8859-7, windows-1253 (Greek)
  52. - ISO-8859-8, windows-1255 (Visual and Logical Hebrew)
  53. - TIS-620 (Thai)
  54. .. note::
  55. Our ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily
  56. disabled until we can retrain the models.
  57. Requires Python 2.7 or 3.5+.
  58. Installation
  59. ------------
  60. Install from `PyPI <https://pypi.org/project/chardet/>`_::
  61. pip install chardet
  62. Documentation
  63. -------------
  64. For users, docs are now available at https://chardet.readthedocs.io/.
  65. Command-line Tool
  66. -----------------
  67. chardet comes with a command-line script which reports on the encodings of one
  68. or more files::
  69. % chardetect somefile someotherfile
  70. somefile: windows-1252 with confidence 0.5
  71. someotherfile: ascii with confidence 1.0
  72. About
  73. -----
  74. This is a continuation of Mark Pilgrim's excellent chardet. Previously, two
  75. versions needed to be maintained: one that supported python 2.x and one that
  76. supported python 3.x. We've recently merged with `Ian Cordasco <https://github.com/sigmavirus24>`_'s
  77. `charade <https://github.com/sigmavirus24/charade>`_ fork, so now we have one
  78. coherent version that works for Python 2.7+ and 3.4+.
  79. :maintainer: Dan Blanchard