
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
.. image:: https://github.com/CSHVienna/NetworkInequalities/blob/main/docs/source/netin-logo.png?raw=true :width: 100 :alt: NetworkInequality
NetIn is a python package for network inference. It is based on the NetworkX package and provides a set of methods to study network inequalities. The package is currently under development and will be updated regularly.
.. image:: https://github.com/CSHVienna/NetworkInequalities/actions/workflows/python-app.yml/badge.svg :target: https://github.com/CSHVienna/NetworkInequalities/actions/workflows/python-app.yml
.. image:: https://img.shields.io/badge/python-3.9-blue.svg :target: https://www.python.org/downloads/release/python-3916/
.. image:: https://img.shields.io/badge/NetworkX-3.1-blue.svg :target: https://networkx.org/
.. image:: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg :target: https://creativecommons.org/licenses/by-nc-sa/4.0/
Create an undirected network with preferential attachment and homophily.
.. code:: pycon
>>> from netin import PAH
>>> G = PAH(n=200, k=2, f_m=0.2, h_MM=0.1, h_mm=0.9, seed=42)
>>> G.generate()
>>> G.info()
Create a directed network with preferential attachment and homophily.
.. code:: pycon
>>> from netin import DPAH
>>> G = DPAH(n=200, f_m=0.2, d=0.02, h_MM=0.1, h_mm=0.6, plo_M=2.0, plo_m=2.0, seed=42)
>>> G.generate()
>>> G.info()
Install the latest version of NetIn::
$ pip install netin
Install from source::
$ git clone
$ cd NetworkInequalities
$ pip install -e .
Please report any bugs that you find here <https://github.com/CSHVienna/NetworkInequalities/issues>
.
Or, even better, fork the repository on GitHub <https://github.com/CSHVienna/NetworkInequalities>
and create a pull request (PR). We welcome all changes, big or small, and we
will help you make the PR if you are new to git
.
Released under Creative Commons by-nc-sa 4.0 (see LICENSE
)::
Copyright (C) 2023-2024 NetIn Developers Fariba Karimi karimi@csh.ac.at Lisette Espin-Noboa espin@csh.ac.at Jan Bachmann bachmann@csh.ac.at
FAQs
Python package to study inequalities in social networks
We found that netin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.