<commit_before>Network helpers
=======

This is a work-in-progress collection of functions useful for storing network data in a database.
The methods available are:

mac2long
long2mac


<commit_msg>Edited instructions<commit_after>Network helpers
===============

This is a work-in-progress collection of functions useful for storing network data in a database.
The available methods are:

`mac2long` - Converts a MAC address in a long int. Default separators are ':' and '-'

`long2mac` -  Converts a long int into a MAC address. Default separator is ':'


Installation
------------

Add `"vjandrea/network"` to your project's `composer.json`.

	"require": {
		"vjandrea/network": "dev-master"
	},
	"minimum-stability" : "dev"

Then update via composer

    composer update

Remember to add `use VJAndrea\Network;` when you want to use the function provided by this helper.


{'fraction_non_alphanumeric': 0.11301369863013698, 'fraction_numerical': 0.0045662100456621, 'mean_word_length': 4.098837209302325, 'pattern_counts': {'":': 2, '<': 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': '5668605', 'n_tokens_mistral': 263, 'n_tokens_neox': 249, 'n_words': 104}