Skip to main content

This class is an abstract class to standardize the way of creating a network graph in networkx

Project description

network-interface

In order to install, open the command prompt and type:

pip install network-interface

In this module you will find NetworkInterface class which is an abstract class to standardize the way of creating a network graph in networkx.

Once you install this library, you have to install igraph library where:

In order to use the class, you have to inherit this class and define the following abstract methods according to your dataset:

  • get_nodes
  • get_edges

This class also has some helpful methods like (use help function to get more info about them):

  • get_nodes_list
  • get_edges_list
  • create_network_graph
  • nodes_df_to_nodes_list
  • calculate_nodes_positions(using the most common algorithms to calculate nodes positions in a network graph)
  • append_nodes_positions_to_nodes_attributes
  • get_nodes_pos_dict

The following directory to be added later shows a concrete example about how to use the class

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

network-interface-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

network_interface-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file network-interface-0.0.1.tar.gz.

File metadata

  • Download URL: network-interface-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8

File hashes

Hashes for network-interface-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f538907cada83803324b4a5a52b71b3436ff5e284023d81e5477375f4380227c
MD5 bee17046c9dfd0e2193feae5f40c111d
BLAKE2b-256 502ab3b788bbc3c0fbfbfae0ec2c48af599b36a2074ae813108a072c0a402afb

See more details on using hashes here.

File details

Details for the file network_interface-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: network_interface-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.6.8

File hashes

Hashes for network_interface-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f72bbb2dc53bc8389632dd527c7472c8145603ae434adcf1c206075829d0ff9d
MD5 0086517acb309c7e3ae3fc44904195d0
BLAKE2b-256 b235cee5e43e7435e36f9d0ae703e712f780e5a340e7589111274dcdd429c32e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page