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.
Website: https://www.networkinequality.com
Documentation: https://cshvienna.github.io/NetworkInequalities
Bug reports: https://github.com/CSHVienna/NetworkInequalities/issues
GitHub Discussions: https://github.com/CSHVienna/NetworkInequalities/discussions
Mailing list: https://groups.google.com/forum/#!forum/netin-dev
Simple examples
Create an undirected network with preferential attachment and homophily.
>>> 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.
>>> 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
Install the latest version of NetIn:
$ pip install netin
Install from source:
$ git clone $ cd NetworkInequalities $ pip install -e .
Bugs
Please report any bugs that you find here. Or, even better, fork the repository on GitHub 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.
License
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>
Metadata
Release files for netin 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| netin-1.0.7.tar.gz | 55.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| netin-1.0.7-py3.9.egg | Legacy Egg format | - | - | Details |
Total release size: 205.2 kB
Release files / netin-1.0.7.tar.gz
| Download URL | netin-1.0.7.tar.gz |
|---|---|
| Size | 55.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bc9e7d3de6adbdbf7fa87a4ecbdd48bde3458bffc6dd0bd78ac06027adca4eb
|
|
BLAKE2b-256 checksum How to use checksums |
848da024679ef606f943fac7afc51cb47f6df9072d2c8ff7aa7183e81376f3c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / netin-1.0.7-py3.9.egg
| Download URL | netin-1.0.7-py3.9.egg |
|---|---|
| Size | 149.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
65a22221dc2add78d65b5a9ebd5c0a6f99348a5ff81e440ae0e2924089297699
|
|
BLAKE2b-256 checksum How to use checksums |
ef3d00f4b8eb4d546022f08296312c9f25193eee18dc9bd799872b69aebfb567
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|