{"id":13650,"name":"causalnex","description":"A Python library that helps data scientists to infer causation rather than observing correlation.","url":"https://github.com/mckinsey/causalnex","last_synced_at":"2025-09-04T22:10:09.828Z","repository":{"id":38314026,"uuid":"227637473","full_name":"mckinsey/causalnex","owner":"mckinsey","description":"A Python library that helps data scientists to infer causation rather than observing correlation.","archived":false,"fork":false,"pushed_at":"2024-06-26T08:22:56.000Z","size":23919,"stargazers_count":2364,"open_issues_count":35,"forks_count":268,"subscribers_count":50,"default_branch":"develop","last_synced_at":"2025-08-31T21:57:20.965Z","etag":null,"topics":["bayesian-inference","bayesian-networks","causal-inference","causal-models","causal-networks","causalnex","data-science","machine-learning"],"latest_commit_sha":null,"homepage":"http://causalnex.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mckinsey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-12T15:26:09.000Z","updated_at":"2025-08-31T16:04:13.000Z","dependencies_parsed_at":"2024-06-18T15:35:53.699Z","dependency_job_id":"462f48ba-ce2f-4d8b-af7a-6296f19eabc9","html_url":"https://github.com/mckinsey/causalnex","commit_stats":null,"previous_names":["quantumblacklabs/causalnex"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/mckinsey/causalnex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mckinsey","download_url":"https://codeload.github.com/mckinsey/causalnex/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273680094,"owners_count":25148734,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"}},"owner":{"login":"mckinsey","name":"McKinsey \u0026 Company","uuid":"4265350","kind":"organization","description":"We are a global management consulting firm and a trusted advisor to the world's leading businesses, governments,  and institutions.","email":null,"website":"https://mckinsey.com","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/4265350?v=4","repositories_count":1,"last_synced_at":"2023-09-04T12:54:50.849Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/mckinsey","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-09-04T12:54:51.314Z","updated_at":"2023-09-04T12:54:51.314Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mckinsey","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mckinsey/repositories"},"packages":[],"commits":{"id":1788033,"full_name":"mckinsey/causalnex","default_branch":"develop","committers":[{"name":"Philip Pilgerstorfer","email":"34248114+qbphilip","login":"qbphilip","count":39},{"name":"Gabriel Azevedo Ferreira","email":"57528979+GabrielAzevedoFerreiraQB","login":"GabrielAzevedoFerreiraQB","count":30},{"name":"Richard Oentaryo","email":"oentaryorj","login":"oentaryorj","count":22},{"name":"Angel Droth","email":"67913551+angeldrothqb","login":"angeldrothqb","count":21},{"name":"Ben Horsburgh","email":"Ben.Horsburgh@quantumblack.com","login":"benhorsburgh","count":14},{"name":"stevelersl","email":"55385183+SteveLerQB","login":"SteveLerQB","count":6},{"name":"Zain Patel","email":"zain.patel@quantumblack.com","login":"mzjp2","count":5},{"name":"hiepnguyen034","email":"hiep.nguyen@quantumblack.com","login":null,"count":4},{"name":"philip_pilgerstorfer","email":"philip.pilgerstorfer!@quantumblack.com","login":null,"count":3},{"name":"Leon Nallamuthu","email":"38660312+leonnallamuthu","login":"leonnallamuthu","count":3},{"name":"Viktoriia Oliinyk","email":"44769302+ViktoriiaOliinyk","login":"ViktoriiaOliinyk","count":3},{"name":"Snyk bot","email":"snyk-bot@snyk.io","login":"snyk-bot","count":2},{"name":"Deepyaman Datta","email":"deepyaman.datta@utexas.edu","login":"deepyaman","count":2},{"name":"ElisabethSesterHussQB","email":"92664441+ElisabethSesterHussQB","login":"ElisabethSesterHussQB","count":2},{"name":"Hector","email":"hmillerbakewell@gmail.com","login":"hmillerbakewell","count":2},{"name":"Paul Beaumont","email":"33718941+pjbqb","login":"pjbqb","count":2},{"name":"Richard Kang - SIO","email":"108107742+richardkhc","login":"richardkhc","count":2},{"name":"tsanikgr","email":"nikolaos.tsaousis@quantumblack.com","login":null,"count":1},{"name":"Gabriel Azevedo","email":"gabriel_azevedo_ferreira@mckinsey.com","login":null,"count":1},{"name":"Xupeng (Tony) Tong","email":"tongxupeng.cpu@gmail.com","login":"tonyabracadabra","count":1},{"name":"Wesley Leong","email":"34129294+wesleyleong","login":"wesleyleong","count":1},{"name":"Tim Herfurth","email":"timherfurth87@gmail.com","login":"t8ch","count":1},{"name":"Shuhei Ishida","email":"shuhei.ishida66@gmail.com","login":"i-shuhei","count":1},{"name":"Serene Yeo","email":"118331898+SereneYeo","login":"SereneYeo","count":1},{"name":"Sami Alabed","email":"6316945+samialabed","login":"samialabed","count":1},{"name":"RyanNgQB","email":"72364394+RyanNgQB","login":"RyanNgQB","count":1},{"name":"Rishab26","email":"rbk9426@gmail.com","login":"Rishab26","count":1},{"name":"Liam Adams","email":"73244497+liam-adams","login":"liam-adams","count":1},{"name":"KING-SID","email":"sidhantbendre22@gmail.com","login":"KING-SID","count":1},{"name":"Jiří Němeček","email":"contact@nemecekjiri.cz","login":"Epanemu","count":1},{"name":"Jeff Chiou","email":"47987424+jeffchiou","login":"jeffchiou","count":1},{"name":"Jebq","email":"jb.oger2312@gmail.com","login":"Jebq","count":1},{"name":"Helder Oliveira","email":"heldercro@gmail.com","login":"helderc","count":1},{"name":"FrancescaSogaroQB","email":"82807240+FrancescaSogaroQB","login":"FrancescaSogaroQB","count":1},{"name":"Dikhtyar Ivan","email":"dkhtrivan@gmail.com","login":"ivandkh","count":1},{"name":"nisara-qb","email":"46444164+nisara-qb","login":"nisara-qb","count":1},{"name":"yukudemy","email":"75682646+yukudemy","login":"yukudemy","count":1},{"name":"Dario DAndrea","email":"dd.dariodandrea@gmail.com","login":"dariodandrea","count":1}],"total_commits":183,"total_committers":38,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":4.815789473684211,"dds":0.7868852459016393,"past_year_committers":[],"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2025-05-29T04:00:10.384Z","last_synced_commit":"6a361d3a5f79418aa60ec89222c1b9979ce3f121","created_at":"2024-09-20T22:01:47.906Z","updated_at":"2025-05-29T04:00:10.409Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-04T00:00:25.936Z","repositories_count":5480019,"commits_count":853389012,"contributors_count":31098138,"owners_count":906558,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"mckinsey/causalnex","html_url":"https://github.com/mckinsey/causalnex","last_synced_at":"2025-08-31T21:57:23.287Z","status":"error","issues_count":93,"pull_requests_count":80,"avg_time_to_close_issue":23057375.96226415,"avg_time_to_close_pull_request":8863417.537313433,"issues_closed_count":53,"pull_requests_closed_count":67,"pull_request_authors_count":18,"issue_authors_count":47,"avg_comments_per_issue":1.6129032258064515,"avg_comments_per_pull_request":0.6,"merged_pull_requests_count":22,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":4,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":276513.0,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2024-09-20T22:01:48.078Z","updated_at":"2025-09-02T19:16:17.678Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mckinsey%2Fcausalnex/issues","issue_labels_count":{"bug":8,"enhancement":3},"pull_request_labels_count":{"documentation":1},"issue_author_associations_count":{"NONE":14,"CONTRIBUTOR":1},"pull_request_author_associations_count":{"CONTRIBUTOR":28,"NONE":6},"issue_authors":{"blacksnail789521":2,"luk-fer":1,"yc-um":1,"RuikeZ":1,"pengDLDG":1,"ziyuwzf":1,"elisammz":1,"dariodandrea":1,"koaning":1,"HLouy":1,"kedarthakar":1,"matteomoretti-aily":1,"klai001":1,"mohammadoshanreh":1},"pull_request_authors":{"leonnallamuthu":22,"pjbqb":2,"snyk-bot":2,"yukudemy":2,"dariodandrea":2,"ViktoriiaOliinyk":1,"Epanemu":1,"kianmeng":1,"abdelghanibelgaid":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-03T00:00:08.273Z","repositories_count":10059033,"issues_count":31006821,"pull_requests_count":93826236,"authors_count":10685221,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"bug":2},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":2},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"HLouy":1,"pengDLDG":1},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"IssuesEvent":2,"WatchEvent":135,"IssueCommentEvent":2,"ForkEvent":15},"last_year":{"IssuesEvent":2,"WatchEvent":135,"IssueCommentEvent":2,"ForkEvent":15}},"keywords":["bayesian-inference","bayesian-networks","causal-inference","causal-models","causal-networks","causalnex","data-science","machine-learning"],"dependencies":[{"ecosystem":"pypi","filepath":"doc_requirements.txt","sha":null,"kind":"manifest","created_at":"2022-07-09T08:46:09.332Z","updated_at":"2022-07-09T08:46:09.332Z","repository_link":"https://github.com/mckinsey/causalnex/blob/develop/doc_requirements.txt","dependencies":[{"id":127360201,"package_name":"click","ecosystem":"pypi","requirements":"\u003e=7.0,\u003c8.0","direct":true,"kind":"runtime","optional":false},{"id":127360202,"package_name":"ipykernel","ecosystem":"pypi","requirements":"\u003e=4.8.1,\u003c5.0","direct":true,"kind":"runtime","optional":false},{"id":127360203,"package_name":"ipython_genutils","ecosystem":"pypi","requirements":"\u003e=0.2.0","direct":true,"kind":"runtime","optional":false},{"id":127360204,"package_name":"jinja2","ecosystem":"pypi","requirements":"\u003e=2.3,\u003c3.0","direct":true,"kind":"runtime","optional":false},{"id":127360205,"package_name":"jupyter_client","ecosystem":"pypi","requirements":"\u003e=5.1,\u003c7.0","direct":true,"kind":"runtime","optional":false},{"id":127360206,"package_name":"Markupsafe","ecosystem":"pypi","requirements":"\u003c2.1","direct":true,"kind":"runtime","optional":false},{"id":127360207,"package_name":"nbconvert","ecosystem":"pypi","requirements":"\u003e=5.0,\u003c6.0","direct":true,"kind":"runtime","optional":false},{"id":127360208,"package_name":"nbsphinx","ecosystem":"pypi","requirements":"==0.4.2","direct":true,"kind":"runtime","optional":false},{"id":127360209,"package_name":"nbstripout","ecosystem":"pypi","requirements":"==0.3.3","direct":true,"kind":"runtime","optional":false},{"id":127360210,"package_name":"patchy","ecosystem":"pypi","requirements":"\u003e=1.5,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127360211,"package_name":"pydot","ecosystem":"pypi","requirements":"\u003e=1.4,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127360212,"package_name":"pygments","ecosystem":"pypi","requirements":"\u003e=2.6.1,\u003c3.0","direct":true,"kind":"runtime","optional":false},{"id":127360213,"package_name":"pygraphviz","ecosystem":"pypi","requirements":"\u003e=1.5,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127360214,"package_name":"recommonmark","ecosystem":"pypi","requirements":"\u003e=0.5.0,\u003c1.0","direct":true,"kind":"runtime","optional":false},{"id":127360215,"package_name":"sphinx-autodoc-typehints","ecosystem":"pypi","requirements":"\u003e=1.6.0,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127360216,"package_name":"sphinx-markdown-tables","ecosystem":"pypi","requirements":"\u003e=0.0.15,\u003c1.0","direct":true,"kind":"runtime","optional":false},{"id":127360217,"package_name":"sphinx","ecosystem":"pypi","requirements":"\u003e=3.0.4,\u003c4.0","direct":true,"kind":"runtime","optional":false},{"id":127360218,"package_name":"sphinx_copybutton","ecosystem":"pypi","requirements":"\u003e=0.2.5,\u003c1.0","direct":true,"kind":"runtime","optional":false},{"id":127360219,"package_name":"sphinx_rtd_theme","ecosystem":"pypi","requirements":"\u003e=0.4.3,\u003c1.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2022-07-09T08:46:09.557Z","updated_at":"2022-07-09T08:46:09.557Z","repository_link":"https://github.com/mckinsey/causalnex/blob/develop/requirements.txt","dependencies":[{"id":127362199,"package_name":"networkx","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":127362203,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003e=1.14.2,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127362205,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=1.0,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127362207,"package_name":"pathos","ecosystem":"pypi","requirements":"\u003e=0.2.7,\u003c0.3.0","direct":true,"kind":"runtime","optional":false},{"id":127362209,"package_name":"pgmpy","ecosystem":"pypi","requirements":"\u003e=0.1.12,\u003c0.2.0","direct":true,"kind":"runtime","optional":false},{"id":127362211,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=0.22.0,\u003c0.25.0,","direct":true,"kind":"runtime","optional":false},{"id":127362214,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=0.24.0,\u003c0.25.0,","direct":true,"kind":"runtime","optional":false},{"id":127362215,"package_name":"scipy","ecosystem":"pypi","requirements":"\u003e=1.2.0,\u003c1.7","direct":true,"kind":"runtime","optional":false},{"id":127362217,"package_name":"torch","ecosystem":"pypi","requirements":"\u003e=1.7,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127362219,"package_name":"wrapt","ecosystem":"pypi","requirements":"\u003e=1.11.0,\u003c1.13","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"test_requirements.txt","sha":null,"kind":"manifest","created_at":"2022-07-09T08:46:09.742Z","updated_at":"2022-07-09T08:46:09.742Z","repository_link":"https://github.com/mckinsey/causalnex/blob/develop/test_requirements.txt","dependencies":[{"id":127362595,"package_name":"Cython","ecosystem":"pypi","requirements":"\u003e=0.29,\u003c1.0","direct":true,"kind":"runtime","optional":false},{"id":127362598,"package_name":"flake8","ecosystem":"pypi","requirements":"\u003e=3.5,\u003c4.0","direct":true,"kind":"runtime","optional":false},{"id":127362599,"package_name":"ipython","ecosystem":"pypi","requirements":"\u003e=7.0,\u003c7.17","direct":true,"kind":"runtime","optional":false},{"id":127362601,"package_name":"isort","ecosystem":"pypi","requirements":"\u003e=4.3.16,\u003c5.0","direct":true,"kind":"runtime","optional":false},{"id":127362602,"package_name":"matplotlib","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":127362603,"package_name":"mdlp-discretization","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":127362604,"package_name":"mock","ecosystem":"pypi","requirements":"\u003e=2.0.0,\u003c3.0","direct":true,"kind":"runtime","optional":false},{"id":127362605,"package_name":"pre-commit","ecosystem":"pypi","requirements":"\u003e=2.9.2","direct":true,"kind":"runtime","optional":false},{"id":127362607,"package_name":"pygraphviz","ecosystem":"pypi","requirements":"\u003e=1.5,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127362608,"package_name":"pylint","ecosystem":"pypi","requirements":"\u003e=2.7.2,\u003c3.0","direct":true,"kind":"runtime","optional":false},{"id":127362609,"package_name":"pytest-cov","ecosystem":"pypi","requirements":"\u003e=2.5,\u003c3.0","direct":true,"kind":"runtime","optional":false},{"id":127362611,"package_name":"pytest-mock","ecosystem":"pypi","requirements":"\u003e=1.7.1,\u003c2.0","direct":true,"kind":"runtime","optional":false},{"id":127362612,"package_name":"pytest","ecosystem":"pypi","requirements":"\u003e=4.3.0,\u003c5.0","direct":true,"kind":"runtime","optional":false},{"id":127362614,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"\u003e=0.24.2","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2023-12-20T19:50:41.326Z","updated_at":"2023-12-20T19:50:41.326Z","repository_link":"https://github.com/mckinsey/causalnex/blob/develop/setup.py","dependencies":[]}],"score":11.42039342256608,"created_at":"2025-09-04T15:50:44.047Z","updated_at":"2025-10-07T08:07:50.887Z","avatar_url":"https://github.com/mckinsey.png","language":"Python","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["data-profilers","datacleaner","pipeline-testing","mlops"],"project_url":"https://science.ecosyste.ms/api/v1/projects/13650","html_url":"https://science.ecosyste.ms/projects/13650","bibtex_url":"https://science.ecosyste.ms/projects/13650/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/13650/export.apalike"}