<commit_before>
# AutoNetkit
This is the current development beta.

[![PyPi version](https://pypip.in/v/autonetkit/badge.png)](https://crate.io/packages/autonetkit/)

# About

AutoNetkit is a configuration engine to quickly and easily build large scale network configurations.
The primary focus is on emulated networks, but the framework can be extended to hardware networks.

# Features

## High-level syntax

    g_ospf = anm.add_overlay("ospf")
    g_ospf.add_nodes_from(g_in.routers())
    g_ospf.add_edges_from(e for e in g_in.edges() if e.src.asn == e.dst.asn)

## Visualization

AutoNetkit provides real-time feedback on network designs using a [d3.js](http://d3js.org) network rendering engine.
![d3.js based visualization](http://sk2.github.io/autonetkit/img/ank_vis.png)

# Installing

    $ pip install autonetkit

For the visualization:

    $ pip install autonetkit_vis

# Using

Draw a graph in an editor such as yEd, and save in the graphml format.

Examples of topology files can be found in the example directory.

    $ autonetkit -f topology.graphml<commit_msg>readme @minor<commit_after>
# AutoNetkit

AutoNetkit is a configuration engine to quickly and easily build large-scale network configurations.
While the primary focus is on emulated networks, the framework can be extended to hardware networks.

![Flowchart](http://sk2.github.io/autonetkit/img/flowchart.png)

[![PyPi version](https://pypip.in/v/autonetkit/badge.png)](https://crate.io/packages/autonetkit/)

# Features

## High-level syntax

    g_ospf = anm.add_overlay("ospf")
    g_ospf.add_nodes_from(g_in.routers())
    g_ospf.add_edges_from(e for e in g_in.edges() if e.src.asn == e.dst.asn)

## Visualization

AutoNetkit provides real-time feedback on network designs using a [d3.js](http://d3js.org) network rendering engine.
![d3.js based visualization](http://sk2.github.io/autonetkit/img/ank_vis.png)

# Installing

    $ pip install autonetkit

For the visualization:

    $ pip install autonetkit_vis

# Using

Draw a graph in an editor such as yEd, and save in the graphml format.

Examples of topology files can be found in the example directory.

    $ autonetkit -f topology.graphml
{'fraction_non_alphanumeric': 0.0981651376146789, 'fraction_numerical': 0.004128440366972477, 'mean_word_length': 4.217703349282297, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '551614', 'n_tokens_mistral': 727, 'n_tokens_neox': 694, 'n_words': 217}