You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
3.2 KiB

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