<commit_before>{% extends "layout.html" %}
{% set title = 'Overview' %}
{% block body %}


<blockquote>
<em> This documentation is currently being updated for release 0.99 of
  NetworkX.  We hope to bring you even better and more complete
  documentation with this release.  See the
  <a href="{{ pathto("reference/api_changes") }}">API changes</a>
  for this update (currently available in the svn trunk).
</em>
</blockquote>



<h2>High productivity software for complex networks</a></h2>

<img align="right" src="{{ pathto("_static/art1.png", 1) }}" alt="NetworkX art" />

<blockquote>
<p>NetworkX is a Python package for the creation, manipulation, and
study of the structure, dynamics, and functions of complex networks.</p>
</blockquote>

<h2>Quick Example</h2>


<table align="center" style="margin-left: 0px"><tr>
    <td width="50%">
<blockquote>
<pre>
&gt;&gt;&gt; import networkx as NX
&gt;&gt;&gt; G=NX.Graph()
&gt;&gt;&gt; G.add_edge(1,2)
&gt;&gt;&gt; G.add_node(&quot;spam&quot;)
&gt;&gt;&gt; print G.nodes()
[1, 2, 'spam']
&gt;&gt;&gt; print G.edges()
[(1, 2)]
</pre>
    </td>
    <td width="50%">
</td></tr>
</blockquote>
</table>


<h2>Documentation</h2>

<table class="contentstable" align="center" style="margin-left: 30px"><tr>
  <td width="50%">

    <p class="biglink"><a class="biglink" href="{{ pathto("tutorial") }}">Tutorial</a><br/>
       <span class="linkdescr">start here</span></p>
    <p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">Reference</a><br/><commit_msg>use lowercase NX on main page<commit_after>{% extends "layout.html" %}
{% set title = 'Overview' %}
{% block body %}


<blockquote>
<em> This documentation is currently being updated for release 0.99 of
  NetworkX.  We hope to bring you even better and more complete
  documentation with this release.  See the
  <a href="{{ pathto("reference/api_changes") }}">API changes</a>
  for this update (currently available in the svn trunk).
</em>
</blockquote>



<h2>High productivity software for complex networks</a></h2>

<img align="right" src="{{ pathto("_static/art1.png", 1) }}" alt="NetworkX art" />

<blockquote>
<p>NetworkX is a Python package for the creation, manipulation, and
study of the structure, dynamics, and functions of complex networks.</p>
</blockquote>

<h2>Quick Example</h2>


<table align="center" style="margin-left: 0px"><tr>
    <td width="50%">
<blockquote>
<pre>
&gt;&gt;&gt; import networkx as nx
&gt;&gt;&gt; G=nx.Graph()
&gt;&gt;&gt; G.add_edge(1,2)
&gt;&gt;&gt; G.add_node(&quot;spam&quot;)
&gt;&gt;&gt; print G.nodes()
[1, 2, 'spam']
&gt;&gt;&gt; print G.edges()
[(1, 2)]
</pre>
    </td>
    <td width="50%">
</td></tr>
</blockquote>
</table>


<h2>Documentation</h2>

<table class="contentstable" align="center" style="margin-left: 30px"><tr>
  <td width="50%">

    <p class="biglink"><a class="biglink" href="{{ pathto("tutorial") }}">Tutorial</a><br/>
       <span class="linkdescr">start here</span></p>
    <p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">Reference</a><br/>
{'fraction_non_alphanumeric': 0.20287018917155902, 'fraction_numerical': 0.016960208741030658, 'mean_word_length': 5.0853174603174605, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '4309104', 'n_tokens_mistral': 1143, 'n_tokens_neox': 1086, 'n_words': 304}