{"id":21492155,"url":"https://github.com/johannesbuchner/fasterscipydists","last_synced_at":"2026-02-25T21:05:27.081Z","repository":{"id":233438819,"uuid":"644921602","full_name":"JohannesBuchner/fasterscipydists","owner":"JohannesBuchner","description":"fasterscipydists provides faster scipy.stats distributions","archived":false,"fork":false,"pushed_at":"2023-05-24T14:45:53.000Z","size":4,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T08:51:09.919Z","etag":null,"topics":["probability-distribution","scipy","statistics"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohannesBuchner.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-05-24T14:27:57.000Z","updated_at":"2024-08-29T12:56:03.000Z","dependencies_parsed_at":"2024-04-16T07:05:51.356Z","dependency_job_id":"1cd89f0a-8882-4bc8-ade0-8eae1e077ad5","html_url":"https://github.com/JohannesBuchner/fasterscipydists","commit_stats":null,"previous_names":["johannesbuchner/fasterscipydists"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JohannesBuchner/fasterscipydists","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesBuchner%2Ffasterscipydists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesBuchner%2Ffasterscipydists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesBuchner%2Ffasterscipydists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesBuchner%2Ffasterscipydists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohannesBuchner","download_url":"https://codeload.github.com/JohannesBuchner/fasterscipydists/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohannesBuchner%2Ffasterscipydists/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29839976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T20:42:33.054Z","status":"ssl_error","status_checked_at":"2026-02-25T20:42:21.322Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["probability-distribution","scipy","statistics"],"created_at":"2024-11-23T15:23:04.504Z","updated_at":"2026-02-25T21:05:27.060Z","avatar_url":"https://github.com/JohannesBuchner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"fasterscipydists\n=================\nfasterscipydists provides faster scipy.stats distributions.\n\nDistributions implemented:\n\n* uniform\n* norm (Gaussian)\n* expon (Exponential)\n* dirac (Delta function)\n\nFunctions implemented:\n\n* mean\n* std\n* ppf\n* pdf\n* logpdf\n* cdf\n\nContributions are welcome! Please open issues or pull requests!\n\nUsage\n-----\n\nThis is a drop-in replacement, so instead of::\n\n\timport scipy.stats\n\trv = scipy.stats.norm(1, 2)\n\nyou would do::\n\n\timport fasterscipydists\n\trv = fasterscipydists.norm(1, 2)\n\n\nSee the scipy.stats documentation https://docs.scipy.org/doc/scipy/reference/stats.html\n\nSpeed-up\n--------\n\nspeed.py reports these numbers::\n\n\tnorm.pdf       :  7.6x faster with scipy.stats=0.126s, this=0.015s\n\tnorm.logpdf    : 10.8x faster with scipy.stats=0.120s, this=0.010s\n\tnorm.cdf       : 10.3x faster with scipy.stats=0.087s, this=0.008s\n\tnorm.ppf       : 15.9x faster with scipy.stats=0.149s, this=0.009s\n\tuniform.pdf    :  9.2x faster with scipy.stats=0.114s, this=0.011s\n\tuniform.logpdf :  8.2x faster with scipy.stats=0.127s, this=0.014s\n\tuniform.cdf    :  2.4x faster with scipy.stats=0.084s, this=0.025s\n\tuniform.ppf    : 26.7x faster with scipy.stats=0.144s, this=0.005s\n\texpon.pdf      : 15.3x faster with scipy.stats=0.110s, this=0.007s\n\texpon.logpdf   : 26.7x faster with scipy.stats=0.112s, this=0.004s\n\texpon.cdf      : 10.9x faster with scipy.stats=0.097s, this=0.008s\n\texpon.ppf      : 21.8x faster with scipy.stats=0.154s, this=0.007s\n\nTests\n-----\n\nSystematic verification against scipy.stats is done in test.py. Run with::\n\n\tpytest test.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohannesbuchner%2Ffasterscipydists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohannesbuchner%2Ffasterscipydists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohannesbuchner%2Ffasterscipydists/lists"}