<commit_before># hostmac.py

### Description:

When run, user has two available options: 

* Attempts detection of host IP address, then iterates through subnet current host is on ```(x.x.x.1 - x.x.x.254)``` and outputs:
  *  IP Address, ping ```ms``` response time, Hostname and MAC address for each device found
 
* Enter any IP address (in subnet range host is part of), and output (for that device):
  * IP Address, ping ```ms``` response time, Hostname and MAC address
 

Results are optionally written to ```/YYYY-MM-DD_output/HH_mm_{AM/PM}.csv```

### Help
Linux / OSX:
```
$ ./hostmac.py -h
```

Windows:
```
C:\>python hostmac.py -h
```
___

### Tested in:

OS | Python Version
--- | ---
Fedora 21 | 2.7.8
Fedora 21 | 3.4.1
CentoOS 7.0 | 2.7.5
Ubuntu 14.10 | 2.7.8
Windows 8 | 2.7.9
Windows 8 | 3.4.3
Windows 7 | 2.7.2
Ubuntu 14.04.2 LTS | 2.7.6
OSX 10.10.2 | 2.7.6

### Limitations:

IPv4 compatible only. Cygwin not supported.  <commit_msg>Add test info and add'l updates to README<commit_after># hostmac.py

### Description

When run, user has two available options: 

* Attempts detection of host IP address, then iterates through subnet current host is on ```(x.x.x.1 - x.x.x.254)``` and outputs:
  *  IP Address, ping ```ms``` response time, Hostname and MAC address for each device found
 
* Enter any IP address (in subnet range host is part of), and output (for that device):
  * IP Address, ping ```ms``` response time, Hostname and MAC address
 

Results are optionally written to ```/YYYY-MM-DD_output/HH_mm_{AM/PM}.csv```

### Help

There are several command line flags available.

Linux / OSX:

```
$ ./hostmac.py -h
```

Windows:

```
C:\>python hostmac.py -h
```

### Tests

```
~/Code/HostMAC/tests $ python hostmac_test.py
...............
----------------------------------------------------------------------
Ran 15 tests in 1.207s

OK
```

### Compatibility:

OS | Python Version
--- | ---
Fedora 21 | 2.7.8
Fedora 21 | 3.4.1
CentoOS 7.0 | 2.7.5
Ubuntu 14.10 | 2.7.8
Windows 8 | 2.7.9
Windows 8 | 3.4.3
Windows 7 | 2.7.2
Ubuntu 14.04.2 LTS | 2.7.6
OSX 10.10.2 | 2.7.6

### Limitations:

* IPv4 compatible only. 
* `Class C` (`/24`) subnets only 
* Cygwin not supported.  
{'fraction_non_alphanumeric': 0.18454545454545454, 'fraction_numerical': 0.053636363636363635, 'mean_word_length': 2.7179054054054053, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3449105', 'n_tokens_mistral': 894, 'n_tokens_neox': 781, 'n_words': 274}