<commit_before>public-jss
==========

JSS scripts and whatnot

This is my public dumping grounds for scripts, extension attributes, etc that others might find interesting.

Please feel free to submit ideas for improvments and bugs!<commit_msg>Added jss_NetworkSegments.py information<commit_after>public-jss
==========

JSS scripts and whatnot

This is my public dumping grounds for scripts, extension attributes, etc that others might find interesting.

Please feel free to submit ideas for improvments and bugs!

### jss_NetworkSegments.py

Notes: Written for Python 3.4

Step 1: Create a CSV File with the following columns: 
  starting_address	ending_address	building	id	distribution_point	url	name	override_buildings	override_departments

Fill in your needed data. 

Step 2: Download Script and run using the following syntax:

`python3.4 ~/Path/to/Script/jss_NetworkSegments.py <JSS API Username> </Path/to/CSV/file.csv>`

Example: `python3.4 ~/Desktop/jss_NetworkSegments.py casperuser ~/Desktop/NetworkSegments.csv``


{'fraction_non_alphanumeric': 0.0769980506822612, 'fraction_numerical': 0.007797270955165692, 'mean_word_length': 5.339506172839506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1474921', 'n_tokens_mistral': 309, 'n_tokens_neox': 290, 'n_words': 114}