<commit_before>
.. index:: modules

.. _l-ensae_fullset-table:

All modules listed by pymyinstall
=================================

The following code exports the full list of modules
defined in pymyinstall as a table.

.. runpython::
    :showcode:
    :rst:
    
    from pymyinstall.packaged import all_fullset, classifiers2string
    from pyquickhelper import df2rst
    import pandas
    mod = all_fullset()
    mod.sort()
    df = pandas.DataFrame(_.as_dict(rst_link=True) for _ in mod)
    df = df[["usage", "rst_link", "kind", "version", "license", "purpose", "classifier"]]
    df["classifier"] = df.apply(lambda row: classifiers2string(row["classifier"]), axis=1)
    df.columns=["usage", "name", "kind", "version", "license", "purpose", "classifier"]
    print(df2rst(df))



<commit_msg>documentation<commit_after>
.. index:: modules

.. _l-ensae_fullset-table:

All modules listed by pymyinstall
=================================

The following code exports the full list of modules
defined in pymyinstall as a table.

.. runpython::
    :showcode:
    :rst:
    
    from pymyinstall.packaged import all_set, classifiers2string
    from pyquickhelper import df2rst
    import pandas
    mod = all_set()
    mod.sort()
    df = pandas.DataFrame(_.as_dict(rst_link=True) for _ in mod)
    df = df[["usage", "rst_link", "kind", "version", "license", "purpose", "classifier"]]
    df["classifier"] = df.apply(lambda row: classifiers2string(row["classifier"]), axis=1)
    df.columns=["usage", "name", "kind", "version", "license", "purpose", "classifier"]
    print(df2rst(df))




{'fraction_non_alphanumeric': 0.17587939698492464, 'fraction_numerical': 0.00628140703517588, 'mean_word_length': 4.257425742574258, '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': '1076296', 'n_tokens_mistral': 536, 'n_tokens_neox': 503, 'n_words': 134}