<commit_before># FontAwesome 3 to 4
**A small Python tool to convert icons in files from FontAwesome 3 to 4**

FontAwesome 3 to 4 is brought to you by Giovdi by Pixelstyle.it.

## How to use it
In main.py you can define the file or the folders you want to check.  
Use `pathCheck` to check every file into a folder or `fileCheck` to check a single file.

For example:
```
# For Windows users
FontAwesome3To4.pathCheck("C:/path/to/folder", True)
FontAwesome3To4.fileCheck("C:/path/to/file.php", True)
# For Unix users
FontAwesome3To4.pathCheck("/path/to/folder", True)
FontAwesome3To4.fileCheck("/path/to/file.php", True)
```

The first parameter is the folder or the file to convert, the second one, if True, creates a .bak file for each file analyzed.

To quickly use this tool, feel free to change `main.py` with your path and folders.  
You can also use `from fontawesome3to4 import FontAwesome3To4` to use this library in your projects.

## Eclipse integration
You can import this project into your Eclipse workspace to easly use the library standalone.

## Requirements
The script uses Python 2.7 to work<commit_msg>another small change to README<commit_after># FontAwesome 3 to 4
**A small Python tool to convert icons in files from FontAwesome 3 to 4**

FontAwesome 3 to 4 is brought to you by Giovdi by Pixelstyle.it.

## How to use it
In `main.py` you can define the file or the folders you want to check.  
Use `pathCheck` to check every file into a folder or `fileCheck` to check a single file.

For example:
```
# For Windows users
FontAwesome3To4.pathCheck("C:/path/to/folder", True)
FontAwesome3To4.fileCheck("C:/path/to/file.php", True)
# For Unix users
FontAwesome3To4.pathCheck("/path/to/folder", True)
FontAwesome3To4.fileCheck("/path/to/file.php", True)
```

The first parameter is the folder or the file to convert, the second one, if True, creates a .bak file for each file analyzed.

To quickly use this tool, feel free to change `main.py` with your paths and folders.  
You can also use `from fontawesome3to4 import FontAwesome3To4` to use this library in your projects.

## Eclipse integration
You can import this project into your Eclipse workspace to easly use the library standalone.

## Requirements
The script uses Python 2.7 to work
{'fraction_non_alphanumeric': 0.07780725022104333, 'fraction_numerical': 0.01768346595932803, 'mean_word_length': 4.400954653937948, 'pattern_counts': {'":': 0, '<': 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': '4241413', 'n_tokens_mistral': 727, 'n_tokens_neox': 671, 'n_words': 323}