Skip to main content

danker - Compute PageRank on large graphs with off-the-shelf hardware.

  • Standalone with any input graph:

    $ pip install danker
    $ python -m danker -h
       usage: python -m danker [-h] [-r RIGHT_SORTED] [-p OUTPUT_PRECISION] [-i]
                               left_sorted damping iterations start_value
    
       danker - Compute PageRank on large graphs with off-the-shelf hardware.
    
       positional arguments:
         left_sorted           A two-column, tab-separated file sorted by the left
                               column.
         damping               PageRank damping factor(between 0 and 1).
         iterations            Number of PageRank iterations (>0).
         start_value           PageRank starting value (>0).
    
       optional arguments:
         -h, --help            show this help message and exit
         -r RIGHT_SORTED, --right_sorted RIGHT_SORTED
                               The same file as left_sorted but sorted by the right
                               column.
         -p OUTPUT_PRECISION, --output_precision OUTPUT_PRECISION
                               Number of places after the decimal point.
         -i, --int_only        All nodes are integers (flag)
    
    $ wget https://raw.githubusercontent.com/athalhammer/danker/master/test/graphs/test.links
    $ python3 -m danker test.links 0.85 30 1
       1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.
       Computation of PageRank on 'test.links' with danker took 0.00 seconds.
       C	3.18985350447380434
       B	3.55722134157057246
       A	0.30410528185694391
       D	0.36260066319290651
       F	0.36260066319290651
       E	0.75035528185694389
       G	0.15000000000000002
       H	0.15000000000000002
       I	0.15000000000000002
       K	0.15000000000000002
       L	0.15000000000000002
    
  • As Python library for computing PageRank on large graphs:

    $ pip install danker
    $ python
    >>> import danker
    

    More information on this option can be found at https://danker.rtfd.org.

More information on the project: Compute PageRank on the Wikipedia graph

Download files

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

Source Distribution

danker-0.8.1.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

danker-0.8.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file danker-0.8.1.tar.gz.

File metadata

  • Download URL: danker-0.8.1.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for danker-0.8.1.tar.gz
Algorithm Hash digest
SHA256 77e52d97e0ce07f1811e4086a783ff19bb327dacdee114b843d985d1fb830c1b
MD5 25a66c0c072399c550c9dc71a10f04ca
BLAKE2b-256 05d555ad35860d4d2b7545d04b394dc7da3ee33ebf16a6538a3ad87926b8d163

See more details on using hashes here.

File details

Details for the file danker-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: danker-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for danker-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d5b665fd50266e36097dfecfa5c66dc40a6c2cb9b342b1d80bd9c53ac3e1283
MD5 ad76ae4c031356e684e6d1afdcf63ae2
BLAKE2b-256 16cbf60c59555aa3f53e077f0db10af9c575a7555ef37a733c38f2ff1dbb1ed9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 files

0.8.0

2 files

0.7.4

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

1 file

0.7

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

Supported by

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