<commit_before># Licensed under a 3-clause BSD style license, see LICENSE.
"""
Subpackage to handle Particle Data Tables
=========================================

Standard use case:
    >>> from skhep.pdg import ParticleDataTable
    >>> tbl = ParticleDataTable('data/mass_width_2016.mcd')   # doctest: +SKIP
    >>> tbl[9000221].name                                      # doctest: +SKIP
    f(0)(500)0                                                 # doctest: +SKIP
    >>> tbl('f(0)(500)0').id                                   # doctest: +SKIP
    9000221                                                    # doctest: +SKIP
    >>> tbl('f(0)(500)0').name                                 # doctest: +SKIP
    'f(0)(500)0'                                               # doctest: +SKIP

"""

#-----------------------------------------------------------------------------
# Import statements
#-----------------------------------------------------------------------------
from __future__ import absolute_import

from pypdt.pdt import *


# Expose all classes imported from pdt
__all__ = [ 'ParticleData', 'ParticleDataTable', 'PDT' ]

#-----------------------------------------------------------------------------
# Extra functionality<commit_msg>skhep.pdg doc updated for latest PDG .mcd file.<commit_after># Licensed under a 3-clause BSD style license, see LICENSE.
"""
Subpackage to handle Particle Data Tables
=========================================

Standard use case:
    >>> from skhep.pdg import ParticleDataTable
    >>> tbl = ParticleDataTable('data/mass_width_2017.mcd')    # doctest: +SKIP
    >>> tbl[9000221].name                                      # doctest: +SKIP
    f(0)(500)0                                                 # doctest: +SKIP
    >>> tbl('f(0)(500)0').id                                   # doctest: +SKIP
    9000221                                                    # doctest: +SKIP
    >>> tbl('f(0)(500)0').name                                 # doctest: +SKIP
    'f(0)(500)0'                                               # doctest: +SKIP

"""

#-----------------------------------------------------------------------------
# Import statements
#-----------------------------------------------------------------------------
from __future__ import absolute_import

from pypdt.pdt import *


# Expose all classes imported from pdt
__all__ = [ 'ParticleData', 'ParticleDataTable', 'PDT' ]

#-----------------------------------------------------------------------------
# Extra functionality
{'fraction_non_alphanumeric': 0.3012238452427951, 'fraction_numerical': 0.030793525463876825, 'mean_word_length': 1.023961661341853, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '182773', 'n_tokens_mistral': 636, 'n_tokens_neox': 558, 'n_words': 138}