|
a |
|
b/.eggs/webencodings-0.5.1-py3.6.egg/EGG-INFO/PKG-INFO |
|
|
1 |
Metadata-Version: 2.0 |
|
|
2 |
Name: webencodings |
|
|
3 |
Version: 0.5.1 |
|
|
4 |
Summary: Character encoding aliases for legacy web content |
|
|
5 |
Home-page: https://github.com/SimonSapin/python-webencodings |
|
|
6 |
Author: Geoffrey Sneddon |
|
|
7 |
Author-email: me@gsnedders.com |
|
|
8 |
License: BSD |
|
|
9 |
Platform: UNKNOWN |
|
|
10 |
Classifier: Development Status :: 4 - Beta |
|
|
11 |
Classifier: Intended Audience :: Developers |
|
|
12 |
Classifier: License :: OSI Approved :: BSD License |
|
|
13 |
Classifier: Programming Language :: Python |
|
|
14 |
Classifier: Programming Language :: Python :: 2 |
|
|
15 |
Classifier: Programming Language :: Python :: 2.6 |
|
|
16 |
Classifier: Programming Language :: Python :: 2.7 |
|
|
17 |
Classifier: Programming Language :: Python :: 3 |
|
|
18 |
Classifier: Programming Language :: Python :: 3.3 |
|
|
19 |
Classifier: Programming Language :: Python :: 3.4 |
|
|
20 |
Classifier: Programming Language :: Python :: 3.5 |
|
|
21 |
Classifier: Programming Language :: Python :: 3.6 |
|
|
22 |
Classifier: Programming Language :: Python :: Implementation :: CPython |
|
|
23 |
Classifier: Programming Language :: Python :: Implementation :: PyPy |
|
|
24 |
Classifier: Topic :: Internet :: WWW/HTTP |
|
|
25 |
|
|
|
26 |
python-webencodings |
|
|
27 |
=================== |
|
|
28 |
|
|
|
29 |
This is a Python implementation of the `WHATWG Encoding standard |
|
|
30 |
<http://encoding.spec.whatwg.org/>`_. |
|
|
31 |
|
|
|
32 |
* Latest documentation: http://packages.python.org/webencodings/ |
|
|
33 |
* Source code and issue tracker: |
|
|
34 |
https://github.com/gsnedders/python-webencodings |
|
|
35 |
* PyPI releases: http://pypi.python.org/pypi/webencodings |
|
|
36 |
* License: BSD |
|
|
37 |
* Python 2.6+ and 3.3+ |
|
|
38 |
|
|
|
39 |
In order to be compatible with legacy web content |
|
|
40 |
when interpreting something like ``Content-Type: text/html; charset=latin1``, |
|
|
41 |
tools need to use a particular set of aliases for encoding labels |
|
|
42 |
as well as some overriding rules. |
|
|
43 |
For example, ``US-ASCII`` and ``iso-8859-1`` on the web are actually |
|
|
44 |
aliases for ``windows-1252``, and an UTF-8 or UTF-16 BOM takes precedence |
|
|
45 |
over any other encoding declaration. |
|
|
46 |
The Encoding standard defines all such details so that implementations do |
|
|
47 |
not have to reverse-engineer each other. |
|
|
48 |
|
|
|
49 |
This module has encoding labels and BOM detection, |
|
|
50 |
but the actual implementation for encoders and decoders is Python’s. |
|
|
51 |
|
|
|
52 |
|