<commit_before>.. _faq:

Frequently asked questions
==========================

The following notes answer common questions, and may be useful to you
when using ``webcolors``.


What versions of Python are supported?
--------------------------------------

On Python 2, ``webcolors`` supports and is tested on Python 2.6 and
2.7. Although ``webcolors`` may work on Python 2.5 or older versions,
this is unintentional and unsupported.


On Python 3, ``webcolors`` supports and is tested on Python 3.3 and
3.4. Python 3.0, 3.1 and 3.2 are explicitly unsupported, and the
``webcolors`` test suite will not execute on those versions. The
minimum-3.3 version requirement is because Python 3.3 was both the
first generally-adopted Python 3 release, and because Python 3.3
greatly simplified the process of consistently handling both Python 2
and Python 3 strings in the same codebase.


How closely does this module follow the standards?
--------------------------------------------------
<commit_msg>Update Python version compatibility in documentation.<commit_after>.. _faq:

Frequently asked questions
==========================

The following notes answer common questions, and may be useful to you
when using ``webcolors``.


What versions of Python are supported?
--------------------------------------

On Python 2, ``webcolors`` supports and is tested on Python 2.6 and
2.7. Although ``webcolors`` may work on Python 2.5 or older versions,
this is unintentional and unsupported.


On Python 3, ``webcolors`` supports and is tested on Python 3.3, 3.4
and 3.5. Python 3.0, 3.1 and 3.2 are explicitly unsupported, and the
``webcolors`` test suite will not execute on those versions. The
minimum-3.3 version requirement is because Python 3.3 was both the
first generally-adopted Python 3 release, and because Python 3.3
greatly simplified the process of consistently handling both Python 2
and Python 3 strings in the same codebase.


How closely does this module follow the standards?
--------------------------------------------------

{'fraction_non_alphanumeric': 0.1665847665847666, 'fraction_numerical': 0.027518427518427518, 'mean_word_length': 2.9533980582524273, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7503756', 'n_tokens_mistral': 528, 'n_tokens_neox': 475, 'n_words': 270}