<commit_before>nginx-conf
==========

[![Latest Stable Version](https://poser.pugx.org/jakoch/nginx-conf/version.png)](https://packagist.org/packages/jakoch/nginx-conf)
[![Total Downloads](https://poser.pugx.org/jakoch/nginx-conf/d/total.png)](https://packagist.org/packages/jakoch/nginx-conf)
[![Build Status](https://travis-ci.org/jakoch/nginx-conf.png)](https://travis-ci.org/jakoch/nginx-conf)
[![License](https://poser.pugx.org/jakoch/nginx-conf/license.png)](https://packagist.org/packages/jakoch/nginx-conf)

A Nginx Config parser and generator.

**Work in progress. Parser works. Generator not. Contributions welcome...**<commit_msg>added todo<commit_after>nginx-conf
==========

[![Latest Stable Version](https://poser.pugx.org/jakoch/nginx-conf/version.png)](https://packagist.org/packages/jakoch/nginx-conf)
[![Total Downloads](https://poser.pugx.org/jakoch/nginx-conf/d/total.png)](https://packagist.org/packages/jakoch/nginx-conf)
[![Build Status](https://travis-ci.org/jakoch/nginx-conf.png)](https://travis-ci.org/jakoch/nginx-conf)
[![License](https://poser.pugx.org/jakoch/nginx-conf/license.png)](https://packagist.org/packages/jakoch/nginx-conf)

A Nginx Config parser and generator.

**Work in progress. Parser works. Generator not. Contributions welcome...**

**Todo**

- [x] Parser → Tree
- [ ] Tree → TreeWalker
- [ ] TreeWalker → PrettyPrinter (Tree to Text)
- [ ] Generator → TreeWalker -> Tree (insert new Nodes, e.g single directive; server block)
{'fraction_non_alphanumeric': 0.20013568521031208, 'fraction_numerical': 0.0, 'mean_word_length': 5.020408163265306, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1906293', 'n_tokens_mistral': 559, 'n_tokens_neox': 544, 'n_words': 74}