<commit_before>swidGenerator
=============

.. image:: https://landscape.io/github/tnc-ba/swidGenerator/master/landscape.png
	:target: https://landscape.io/github/tnc-ba/swidGenerator/master
	:alt: Code Health
   
Application which generates SWID-Tags from Linux installed packages, using tools as dpgk or yum.

Usage
-----
::

    usage: Generate SWID tags from dpkg packet manager [-h] [--full] [--pretty] [--regid REGID] {dpkg,yum,test}

    positional arguments:
    {dpkg,yum,test}  Specify the environment

    optional arguments:
        -h, --help       show this help message and exit
        --full           Dumps the full SWID tags including file tags for each package
        --pretty         Generate pretty readable output
        --regid REGID    Specify the regid value (used in the <Entity> tag for the
                         regid attribute).Shall not contain any whitespace
                         characters<commit_msg>updated readme according to tnc-ba/strongTNC#39<commit_after>swidGenerator
=============

.. image:: https://landscape.io/github/tnc-ba/swidGenerator/master/landscape.png
	:target: https://landscape.io/github/tnc-ba/swidGenerator/master
	:alt: Code Health
   
Application which generates SWID-Tags from Linux installed packages, using tools as dpgk or yum.

Usage
-----
::

    usage: Generate SWID tags from dpkg packet manager [-h] [--full] [--pretty]
                                                       [--regid REGID]
                                                       [--entity-name ENTITY_NAME]
                                                       {dpkg,yum}
    
    positional arguments:
      {dpkg,yum}            Specify the environment

    optional arguments:
      -h, --help            show this help message and exit
      
      --full                Dumps the full SWID tags including file tags for each
                            package
                            
      --pretty              Generate pretty readable output
      
      --regid REGID         Specify the regid value (used in the <Entity> tag for
                            the regid attribute).Shall not contain any whitespace
                            characters
                            
      --entity-name ENTITY_NAME
                            Specify the entity name (used in the <Entity> tag for
                            the name attribute).Shall not contain any whitespace
                            characters
{'fraction_non_alphanumeric': 0.08255766895993524, 'fraction_numerical': 0.0008093889113719142, 'mean_word_length': 1.5405960945529291, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7602425', 'n_tokens_mistral': 611, 'n_tokens_neox': 592, 'n_words': 205}