{"id":26786773,"url":"https://github.com/marrlab/causalspyne","last_synced_at":"2025-04-19T19:34:25.611Z","repository":{"id":252069239,"uuid":"838794174","full_name":"marrlab/causalspyne","owner":"marrlab","description":"Python data generation tool with unobserved confounding as testbed for causal discovery and causal abstraction","archived":false,"fork":false,"pushed_at":"2025-02-19T14:58:48.000Z","size":773,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T12:16:49.256Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/causalspyne/","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/marrlab.png","metadata":{"files":{"readme":"README.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-06T11:02:39.000Z","updated_at":"2025-02-19T14:57:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"6918f6f7-3eb0-43e2-bda1-18fbb55d0aaf","html_url":"https://github.com/marrlab/causalspyne","commit_stats":null,"previous_names":["marrlab/causalspyne"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marrlab%2Fcausalspyne","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marrlab%2Fcausalspyne/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marrlab%2Fcausalspyne/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marrlab%2Fcausalspyne/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marrlab","download_url":"https://codeload.github.com/marrlab/causalspyne/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249780480,"owners_count":21324554,"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":[],"created_at":"2025-03-29T12:16:53.003Z","updated_at":"2025-04-19T19:34:25.590Z","avatar_url":"https://github.com/marrlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CausalSpyne\n[![PyPI version](https://badge.fury.io/py/causalspyne.svg)](https://badge.fury.io/py/causalspyne)  [![test coverage](https://marrlab.github.io/causalspyne/coverage-badge.svg)](https://marrlab.github.io/causalspyne/)\n\nA Python package for simulating data from confounded causal models.\n\n\n## Quick start\nInstall with: `pip install causalspyne`\n\nGenerate some data:\n```\nfrom causalspyne import gen_partially_observed\n\n\ngen_partially_observed(size_micro_node_dag=4,\n                       num_macro_nodes=4,\n                       degree=2,  # average vertex/node degree\n                       list_confounder2hide=[0.5, 0.9], # choie of confounder to hide: percentile or index of all toplogically sorted confounders\n                       num_sample=200,\n                       output_dir=\"output\",\n                       rng=0)\n```\n\n## Submodules\n\n```\ngit submodule update --init\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarrlab%2Fcausalspyne","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarrlab%2Fcausalspyne","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarrlab%2Fcausalspyne/lists"}