{"id":26848980,"url":"https://github.com/crodas/pagerank-rs","last_synced_at":"2025-07-04T00:34:34.180Z","repository":{"id":45111376,"uuid":"350149082","full_name":"crodas/pagerank-rs","owner":"crodas","description":"Generic PageRank algorithm implementation in Rust with no external dependency","archived":false,"fork":false,"pushed_at":"2022-01-07T17:21:08.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T01:06:18.158Z","etag":null,"topics":["algorithm","pagerank","ranking","rust","sorting"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crodas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-21T23:43:06.000Z","updated_at":"2023-12-11T15:40:32.000Z","dependencies_parsed_at":"2022-09-26T17:30:23.290Z","dependency_job_id":null,"html_url":"https://github.com/crodas/pagerank-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/crodas/pagerank-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Fpagerank-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Fpagerank-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Fpagerank-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Fpagerank-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crodas","download_url":"https://codeload.github.com/crodas/pagerank-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crodas%2Fpagerank-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263426394,"owners_count":23464795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","pagerank","ranking","rust","sorting"],"created_at":"2025-03-30T21:24:00.135Z","updated_at":"2025-07-04T00:34:34.162Z","avatar_url":"https://github.com/crodas.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple page rank\n\nVery simple implementation of the [PageRank](http://ilpubs.stanford.edu:8090/422/1/1999-66.pdf) algorithm.\n\n### Features\n\n- Small footprint\n- Zero dependency\n- Easy to use API\n- Fast\n`\n### Usage\n\n```rust\nlet mut pr = Pagerank::\u003c\u0026str\u003e::new();\npr.add_edge(\"source\", \"target\");\npr.add_edge(\"source\", \"another target\");\npr.calculate();\n\n// print result (always sorted)\n\npr.nodes()\n\t.iter()\n\t.map(|(node, score)| println!(\"page {} with score {}\", node, score))\n\t.for_each(drop);\n```\n\n\n### Built-in binary example\n\nThe repository has a built-in binary example which works with [WikiLinkGraphs](https://zenodo.org/record/2539424) dataset.\n\n\n```\ngzcat eswiki.wikilink_graph.2018-03-01.csv.gz| cargo run --release wikilink\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrodas%2Fpagerank-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrodas%2Fpagerank-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrodas%2Fpagerank-rs/lists"}