Skip to main content

This package creates Fractal networks.

The steps for installation are as follows:

  1. pip install fractal-network-generator
  2. from fractal_network import NetworkGenerator
  3. NetworkGenerator.graph(num_of_levels,num_of_nodes_in_a_clique)

OUTPUT: A file will be created in the current working directory having the name num_of_nodes_in_a_clique-num_of_levels.dat. Example: If NetworkGenerator.graph(4,3) is entered then a dat file with name "3-4.dat" will be created.

Column 1: node number

Column 2: label

Column 3: Degree

The next columns indicate the neighbour and the level of connection between the node and neighbour alternately. For example:

12 10110 3 10 2 13 1 14 1

12 is the node numer, 10110 is the label, 3 is the degree.

10 2 indicates a connection between 12 and 10 having level 2.

13 1 indicates a connection between 12 and 13 having level 1.

14 1 indicates a connection between 12 and 14 having level 1.

Metadata

Release files for fractal-network-generator 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fractal-network-generator 0.0.1
File Size Uploaded
fractal_network_generator-0.0.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fractal-network-generator 0.0.1
File Interpreter ABI Platform
fractal_network_generator-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / fractal_network_generator-0.0.1.tar.gz

Download URL fractal_network_generator-0.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
07248b44fbae844613cd123e6f13d316c7707c7bdc21765830cf355fbcacdee0
BLAKE2b-256 checksum
How to use checksums
03f026c11cb962c4604e4e2fdfc0da51187fe7efdb68e62036b89a3bc728fb16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

Release files / fractal_network_generator-0.0.1-py3-none-any.whl

Download URL fractal_network_generator-0.0.1-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
072c36642d3dd5e418f63c4216db4ad784c5cbeb4f9ba1e864e033eed270a2aa
BLAKE2b-256 checksum
How to use checksums
5ff9444da36a255b0c59e306cf8020d52ad0999d594610fa5f8eda529e67018c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page