{"id":3651,"name":"CoPro","description":"A machine-learning tool for conflict risk projections based on climate, environmental, and societal drivers.","url":"https://github.com/JannisHoch/copro","last_synced_at":"2026-04-07T14:00:31.229Z","repository":{"id":37717136,"uuid":"254407279","full_name":"JannisHoch/copro","owner":"JannisHoch","description":"(ML) model for computing conflict risk from climate, environmental, and societal drivers.","archived":false,"fork":false,"pushed_at":"2026-02-10T07:38:19.000Z","size":479556,"stargazers_count":9,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-03T15:47:19.458Z","etag":null,"topics":["climate","conflict","environment","projection","risk","security"],"latest_commit_sha":null,"homepage":"https://copro.readthedocs.io/en/latest/","language":"Jupyter Notebook","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/JannisHoch.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-09T15:20:50.000Z","updated_at":"2026-02-10T07:38:19.000Z","dependencies_parsed_at":"2026-02-17T14:03:18.237Z","dependency_job_id":null,"html_url":"https://github.com/JannisHoch/copro","commit_stats":{"total_commits":616,"total_committers":3,"mean_commits":"205.33333333333334","dds":0.004870129870129913,"last_synced_commit":"c2871b46fe8c7743274941958ad38237e328ca75"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/JannisHoch/copro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JannisHoch","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515151,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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"}},"owner":{"login":"JannisHoch","name":"Jannis Hoch","uuid":"10956703","kind":"user","description":"","email":"","website":null,"location":"the Netherlands","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/10956703?u=36815b90643795ec839b25f2a26e15be6bf4cdeb\u0026v=4","repositories_count":13,"last_synced_at":"2024-06-05T19:10:32.544Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/JannisHoch","funding_links":[],"total_stars":10,"followers":11,"following":0,"created_at":"2022-11-15T19:46:27.304Z","updated_at":"2024-06-05T19:10:33.249Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JannisHoch","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JannisHoch/repositories"},"packages":[{"id":2680556,"name":"copro","ecosystem":"pypi","description":"Python-model build on scikit-learn functions, designed to facilitate the set-up, execution, and evaluation of machine-learning models for the study of the climate-conflict nexus.","homepage":"https://copro.readthedocs.io/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/JannisHoch/copro","keywords_array":["conflict","climate","machine learning","projections"],"namespace":null,"versions_count":4,"first_release_published_at":"2021-06-16T19:31:53.000Z","latest_release_published_at":"2023-03-15T10:50:36.000Z","latest_release_number":"0.1.2","last_synced_at":"2026-04-05T13:00:41.154Z","created_at":"2022-04-10T10:27:19.305Z","updated_at":"2026-04-05T13:00:41.155Z","registry_url":"https://pypi.org/project/copro/","install_command":"pip install copro --index-url https://pypi.org/simple","documentation_url":"https://copro.readthedocs.io/","metadata":{"funding":null,"documentation":null,"classifiers":["Development Status :: 4 - Beta","Intended Audience :: Developers","License :: OSI Approved :: MIT License","Natural Language :: English","Programming Language :: Python :: 3","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.9"],"normalized_name":"copro","project_status":null},"repo_metadata":{"id":37717136,"uuid":"254407279","full_name":"JannisHoch/copro","owner":"JannisHoch","description":"(ML) model for computing conflict risk from climate, environmental, and societal drivers.","archived":false,"fork":false,"pushed_at":"2024-09-16T13:53:13.000Z","size":479619,"stargazers_count":6,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2024-10-29T20:35:49.719Z","etag":null,"topics":["climate","conflict","environment","projection","risk","security"],"latest_commit_sha":null,"homepage":"https://copro.readthedocs.io/en/latest/","language":"Jupyter Notebook","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/JannisHoch.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2020-04-09T15:20:50.000Z","updated_at":"2024-08-27T07:46:17.000Z","dependencies_parsed_at":"2023-09-24T09:17:40.903Z","dependency_job_id":"d0b03dd6-ddcf-4aa7-b3df-93fe69a84fae","html_url":"https://github.com/JannisHoch/copro","commit_stats":{"total_commits":656,"total_committers":6,"mean_commits":"109.33333333333333","dds":0.1707317073170732,"last_synced_commit":"d3b480fb269ee49d22daf92e9f3ef2d7221d3cd2"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JannisHoch","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222131011,"owners_count":16936304,"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"},"owner_record":{"login":"JannisHoch","name":"Jannis Hoch","uuid":"10956703","kind":"user","description":"","email":"","website":null,"location":"the Netherlands","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/10956703?u=36815b90643795ec839b25f2a26e15be6bf4cdeb\u0026v=4","repositories_count":13,"last_synced_at":"2024-06-05T19:10:32.544Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/JannisHoch","funding_links":[],"total_stars":10,"followers":11,"following":0,"created_at":"2022-11-15T19:46:27.304Z","updated_at":"2024-06-05T19:10:33.249Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JannisHoch","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JannisHoch/repositories"},"tags":[{"name":"v0.1.2","sha":"418388cab8132d292aea8548d3a83da28265484b","kind":"commit","published_at":"2023-03-15T10:47:18.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.1.2","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"6c44d4019b9308757e631f52adecf1aab59ec1b4","kind":"commit","published_at":"2021-06-17T09:02:51.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.1.1","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.1.1/manifests"},{"name":"v0.0.8","sha":"bd6dcf413f947a81459d87065ebfd0d9b258ba35","kind":"commit","published_at":"2021-06-16T19:05:43.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.8","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.8/manifests"},{"name":"v0.0.7","sha":"bceac5d30610b8e24d14dda63a026db063dbd020","kind":"commit","published_at":"2021-02-18T14:33:51.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.7","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.7/manifests"},{"name":"v0.0.6","sha":"cbaee082294d031e59c24776ede1bc820b82e751","kind":"commit","published_at":"2020-11-26T13:34:04.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.6","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.6/manifests"},{"name":"v0.0.6b-joss","sha":"921308fc769116024564ac8e55cc0c9271976785","kind":"commit","published_at":"2020-11-17T21:16:34.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.6b-joss","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.6b-joss","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.6b-joss","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.6b-joss/manifests"},{"name":"v0.0.6b","sha":"bc73d80b5e7ddf5b89512e74163f2c2575f14c01","kind":"commit","published_at":"2020-11-09T14:43:18.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.6b","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.6b","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.6b","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.6b/manifests"},{"name":"v0.0.5","sha":"dcb174e3185ccf2e39b7a028229c080eadc82b25","kind":"commit","published_at":"2020-10-07T20:52:29.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.5","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.5/manifests"},{"name":"v0.0.5-pre","sha":"d6045ca35d0c700c49c3c6c56d7c989d48b11626","kind":"commit","published_at":"2020-09-30T13:57:24.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.5-pre","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.5-pre","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.5-pre","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.5-pre/manifests"},{"name":"v0.0.4","sha":"ccd5e09e662f208a55fe970dee25ce742f58a1cb","kind":"commit","published_at":"2020-09-18T12:08:52.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.4","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.4/manifests"},{"name":"v0.0.3","sha":"0b176f98f5e5704da284ad40a2443dd5ae41a517","kind":"commit","published_at":"2020-09-04T15:15:23.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.3","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.3/manifests"},{"name":"v0.0.2","sha":"10d4bebd4ef685263c3a34bf735bf59ad613b656","kind":"commit","published_at":"2020-07-16T20:21:28.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.2","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.2/manifests"},{"name":"v0.0.1.2","sha":"c35568ac62c55476ca5fd4842d14b8656f19b2ff","kind":"commit","published_at":"2020-06-18T08:30:16.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.1.2","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.1.2/manifests"},{"name":"v0.0.1","sha":"9ca0326ea4035b7578a26bea437cf93e83b2219b","kind":"commit","published_at":"2020-06-17T16:02:13.000Z","download_url":"https://codeload.github.com/JannisHoch/copro/tar.gz/v0.0.1","html_url":"https://github.com/JannisHoch/copro/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2024-10-29T23:13:47.185Z","dependent_packages_count":0,"downloads":22,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":41.07086038079524,"dependent_repos_count":67.20396917941332,"dependent_packages_count":10.107632597300897,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":39.46082071916982},"purl":"pkg:pypi/copro","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/copro","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/pypi/copro","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/copro/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-10-29T19:32:24.923Z","issues_count":40,"pull_requests_count":86,"avg_time_to_close_issue":9832284.242424242,"avg_time_to_close_pull_request":721553.9069767442,"issues_closed_count":33,"pull_requests_closed_count":86,"pull_request_authors_count":3,"issue_authors_count":3,"avg_comments_per_issue":1.725,"avg_comments_per_pull_request":0.05813953488372093,"merged_pull_requests_count":79,"bot_issues_count":0,"bot_pull_requests_count":22,"past_year_issues_count":2,"past_year_pull_requests_count":19,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":251940.57894736843,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":19,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":1,"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":4,"past_year_merged_pull_requests_count":19,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/issues","maintainers":[{"login":"JannisHoch","count":82,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JannisHoch"},{"login":"Sophiepieternel1","count":19,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Sophiepieternel1"}],"active_maintainers":[{"login":"JannisHoch","count":17,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JannisHoch"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/copro/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/copro/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/copro/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/copro/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/copro/codemeta","maintainers":[{"uuid":"JannisHoch","login":"JannisHoch","name":null,"email":null,"url":null,"packages_count":2,"html_url":"https://pypi.org/user/JannisHoch/","role":null,"created_at":"2023-02-23T21:19:26.087Z","updated_at":"2023-02-23T21:19:26.087Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/JannisHoch/packages"}],"registry":{"name":"pypi.org","url":"https://pypi.org","ecosystem":"pypi","default":true,"packages_count":834917,"maintainers_count":356510,"namespaces_count":0,"keywords_count":270194,"github":"pypi","metadata":{"funded_packages_count":53084},"icon_url":"https://github.com/pypi.png","created_at":"2022-04-04T15:19:23.364Z","updated_at":"2026-04-05T05:05:39.368Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/namespaces"}}],"commits":{"id":1320212,"full_name":"JannisHoch/copro","default_branch":"main","total_commits":627,"total_committers":3,"total_bot_commits":11,"total_bot_committers":1,"mean_commits":209.0,"dds":0.019138755980861233,"past_year_total_commits":8,"past_year_total_committers":1,"past_year_total_bot_commits":8,"past_year_total_bot_committers":1,"past_year_mean_commits":8.0,"past_year_dds":0.0,"last_synced_at":"2026-04-05T13:01:00.377Z","last_synced_commit":"fba522c41efa6b5b425bc374e45a640517f0f220","created_at":"2023-09-11T14:52:25.274Z","updated_at":"2026-04-05T13:00:45.669Z","committers":[{"name":"Jannis","email":"j.m.hoch@uu.nl","login":"JannisHoch","count":615},{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":11},{"name":"Jannis Hoch","email":"jannis.hoch@igdore.org","login":null,"count":1}],"past_year_committers":[{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":8}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-07T00:00:11.408Z","repositories_count":6211410,"commits_count":918046029,"contributors_count":35589666,"owners_count":1142640,"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":"JannisHoch/copro","html_url":"https://github.com/JannisHoch/copro","last_synced_at":"2026-04-01T11:00:27.083Z","status":"error","issues_count":40,"pull_requests_count":124,"avg_time_to_close_issue":9329127.696969697,"avg_time_to_close_pull_request":532928.3760683761,"issues_closed_count":33,"pull_requests_closed_count":117,"pull_request_authors_count":3,"issue_authors_count":3,"avg_comments_per_issue":1.65,"avg_comments_per_pull_request":0.04032258064516129,"merged_pull_requests_count":110,"bot_issues_count":0,"bot_pull_requests_count":43,"past_year_issues_count":0,"past_year_pull_requests_count":7,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":20259.5,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":4,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":7,"past_year_merged_pull_requests_count":4,"created_at":"2023-09-11T14:52:51.948Z","updated_at":"2026-04-01T11:00:27.084Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/JannisHoch%2Fcopro/issues","issue_labels_count":{"wishlist":5,"enhancement":5,"v1.0-beta":4,"documentation":3,"bug":2,"wontfix":2,"help wanted":1,"v2":1},"pull_request_labels_count":{"dependencies":43,"python":7},"issue_author_associations_count":{"OWNER":30,"COLLABORATOR":7,"NONE":3},"pull_request_author_associations_count":{"OWNER":71,"CONTRIBUTOR":43,"COLLABORATOR":10},"issue_authors":{"JannisHoch":30,"Sophiepieternel1":7,"soodoku":3},"pull_request_authors":{"JannisHoch":71,"dependabot[bot]":43,"Sophiepieternel1":10},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-03T00:00:08.051Z","repositories_count":14060092,"issues_count":34413968,"pull_requests_count":112440806,"authors_count":11219857,"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":{},"past_year_pull_request_labels_count":{"dependencies":7,"python":7},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{"CONTRIBUTOR":7},"past_year_issue_authors":{},"past_year_pull_request_authors":{"dependabot[bot]":7},"maintainers":[{"login":"JannisHoch","count":101,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/JannisHoch"},{"login":"Sophiepieternel1","count":17,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Sophiepieternel1"}],"active_maintainers":[]},"events":{"total":{"ReleaseEvent":2,"DeleteEvent":19,"PullRequestEvent":36,"WatchEvent":3,"PushEvent":21,"CreateEvent":19},"last_year":{"DeleteEvent":5,"PullRequestEvent":16,"WatchEvent":2,"PushEvent":4,"CreateEvent":4}},"keywords":["climate","conflict","environment","projection","risk","security"],"dependencies":[{"ecosystem":"pypi","filepath":"docs/requirements.rtd.txt","sha":null,"kind":"manifest","created_at":"2022-09-16T06:20:27.549Z","updated_at":"2022-09-16T06:20:27.549Z","repository_link":"https://github.com/JannisHoch/copro/blob/main/docs/requirements.rtd.txt","dependencies":[{"id":5019664131,"package_name":"pip","ecosystem":"pypi","requirements":"\u003e=19.2.3","direct":true,"kind":"runtime","optional":false},{"id":5019664132,"package_name":"bump2version","ecosystem":"pypi","requirements":"==0.5.11","direct":true,"kind":"runtime","optional":false},{"id":5019664133,"package_name":"wheel","ecosystem":"pypi","requirements":"==0.33.6","direct":true,"kind":"runtime","optional":false},{"id":5019664134,"package_name":"watchdog","ecosystem":"pypi","requirements":"==0.9.0","direct":true,"kind":"runtime","optional":false},{"id":5019664135,"package_name":"flake8","ecosystem":"pypi","requirements":"==3.7.8","direct":true,"kind":"runtime","optional":false},{"id":5019664136,"package_name":"tox","ecosystem":"pypi","requirements":"==3.14.0","direct":true,"kind":"runtime","optional":false},{"id":5019664137,"package_name":"coverage","ecosystem":"pypi","requirements":"==4.5.4","direct":true,"kind":"runtime","optional":false},{"id":5019664138,"package_name":"Sphinx","ecosystem":"pypi","requirements":"\u003e=3.0.3","direct":true,"kind":"runtime","optional":false},{"id":5019664139,"package_name":"twine","ecosystem":"pypi","requirements":"==1.14.0","direct":true,"kind":"runtime","optional":false},{"id":5019664140,"package_name":"pytest","ecosystem":"pypi","requirements":"==4.6.5","direct":true,"kind":"runtime","optional":false},{"id":5019664141,"package_name":"pytest-runner","ecosystem":"pypi","requirements":"==5.1","direct":true,"kind":"runtime","optional":false},{"id":5019664142,"package_name":"click","ecosystem":"pypi","requirements":"==7.1.1","direct":true,"kind":"runtime","optional":false},{"id":5019664143,"package_name":"geopandas","ecosystem":"pypi","requirements":"==0.7.0","direct":true,"kind":"runtime","optional":false},{"id":5019664144,"package_name":"matplotlib","ecosystem":"pypi","requirements":"==3.2.1","direct":true,"kind":"runtime","optional":false},{"id":5019664145,"package_name":"numpy","ecosystem":"pypi","requirements":"==1.22.0","direct":true,"kind":"runtime","optional":false},{"id":5019664146,"package_name":"pandas","ecosystem":"pypi","requirements":"==1.0.3","direct":true,"kind":"runtime","optional":false},{"id":5019664147,"package_name":"rasterio","ecosystem":"pypi","requirements":"==1.1.3","direct":true,"kind":"runtime","optional":false},{"id":5019664148,"package_name":"rioxarray","ecosystem":"pypi","requirements":"==0.0.26","direct":true,"kind":"runtime","optional":false},{"id":5019664149,"package_name":"xarray","ecosystem":"pypi","requirements":"==0.15.0","direct":true,"kind":"runtime","optional":false},{"id":5019664150,"package_name":"ipython","ecosystem":"pypi","requirements":"==7.16.3","direct":true,"kind":"runtime","optional":false},{"id":5019664151,"package_name":"notebook","ecosystem":"pypi","requirements":"\u003e=6.1.5","direct":true,"kind":"runtime","optional":false},{"id":5019664152,"package_name":"nbconvert","ecosystem":"pypi","requirements":"==6.3.0","direct":true,"kind":"runtime","optional":false},{"id":5019664153,"package_name":"netCDF4","ecosystem":"pypi","requirements":"==1.5.3","direct":true,"kind":"runtime","optional":false},{"id":5019664154,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"==0.22.1","direct":true,"kind":"runtime","optional":false},{"id":5019664155,"package_name":"descartes","ecosystem":"pypi","requirements":"==1.1.0","direct":true,"kind":"runtime","optional":false},{"id":5019664156,"package_name":"ConfigParser","ecosystem":"pypi","requirements":"==5.0.0","direct":true,"kind":"runtime","optional":false},{"id":5019664157,"package_name":"rasterstats","ecosystem":"pypi","requirements":"==0.14.0","direct":true,"kind":"runtime","optional":false},{"id":5019664158,"package_name":"seaborn","ecosystem":"pypi","requirements":"==0.10.1","direct":true,"kind":"runtime","optional":false},{"id":5019664159,"package_name":"nbsphinx","ecosystem":"pypi","requirements":"==0.8.5","direct":true,"kind":"runtime","optional":false},{"id":5019664160,"package_name":"jinja2","ecosystem":"pypi","requirements":"==2.11.3","direct":true,"kind":"runtime","optional":false},{"id":5019664161,"package_name":"nbsphinx_link","ecosystem":"pypi","requirements":"==1.3.0","direct":true,"kind":"runtime","optional":false},{"id":5019664162,"package_name":"setuptools","ecosystem":"pypi","requirements":"==49.6","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"requirements_dev.txt","sha":null,"kind":"manifest","created_at":"2022-09-16T06:20:27.784Z","updated_at":"2022-09-16T06:20:27.784Z","repository_link":"https://github.com/JannisHoch/copro/blob/main/requirements_dev.txt","dependencies":[{"id":5019668020,"package_name":"pip","ecosystem":"pypi","requirements":"==21.1","direct":true,"kind":"development","optional":false},{"id":5019668021,"package_name":"click","ecosystem":"pypi","requirements":"==7.1.2","direct":true,"kind":"development","optional":false},{"id":5019668022,"package_name":"configparser","ecosystem":"pypi","requirements":"==5.0.0","direct":true,"kind":"development","optional":false},{"id":5019668023,"package_name":"descartes","ecosystem":"pypi","requirements":"==1.1.0","direct":true,"kind":"development","optional":false},{"id":5019668024,"package_name":"geopandas","ecosystem":"pypi","requirements":"==0.8.0","direct":true,"kind":"development","optional":false},{"id":5019668025,"package_name":"ipython","ecosystem":"pypi","requirements":"==7.16.3","direct":true,"kind":"development","optional":false},{"id":5019668026,"package_name":"matplotlib","ecosystem":"pypi","requirements":"==3.2.1","direct":true,"kind":"development","optional":false},{"id":5019668027,"package_name":"nbconvert","ecosystem":"pypi","requirements":"==6.3.0","direct":true,"kind":"development","optional":false},{"id":5019668028,"package_name":"netcdf4","ecosystem":"pypi","requirements":"==1.5.3","direct":true,"kind":"development","optional":false},{"id":5019668029,"package_name":"notebook","ecosystem":"pypi","requirements":"\u003e=6.1.5","direct":true,"kind":"development","optional":false},{"id":5019668030,"package_name":"numpy","ecosystem":"pypi","requirements":"==1.22.0","direct":true,"kind":"development","optional":false},{"id":5019668031,"package_name":"pandas","ecosystem":"pypi","requirements":"==1.0.3","direct":true,"kind":"development","optional":false},{"id":5019668032,"package_name":"pyproj","ecosystem":"pypi","requirements":"==2.6.0","direct":true,"kind":"development","optional":false},{"id":5019668033,"package_name":"pytest","ecosystem":"pypi","requirements":"==5.4.2","direct":true,"kind":"development","optional":false},{"id":5019668034,"package_name":"pytest-runner","ecosystem":"pypi","requirements":"==5.2","direct":true,"kind":"development","optional":false},{"id":5019668035,"package_name":"rasterio","ecosystem":"pypi","requirements":"==1.1.0","direct":true,"kind":"development","optional":false},{"id":5019668036,"package_name":"rioxarray","ecosystem":"pypi","requirements":"==0.0.26","direct":true,"kind":"development","optional":false},{"id":5019668037,"package_name":"scikit-learn","ecosystem":"pypi","requirements":"==0.22.1","direct":true,"kind":"development","optional":false},{"id":5019668038,"package_name":"sphinx","ecosystem":"pypi","requirements":"==3.0.3","direct":true,"kind":"development","optional":false},{"id":5019668039,"package_name":"xarray","ecosystem":"pypi","requirements":"==0.15.1","direct":true,"kind":"development","optional":false},{"id":5019668040,"package_name":"flake8","ecosystem":"pypi","requirements":"==3.7.8","direct":true,"kind":"development","optional":false},{"id":5019668041,"package_name":"tox","ecosystem":"pypi","requirements":"==3.14.0","direct":true,"kind":"development","optional":false},{"id":5019668042,"package_name":"coverage","ecosystem":"pypi","requirements":"==4.5.4","direct":true,"kind":"development","optional":false},{"id":5019668043,"package_name":"rasterstats","ecosystem":"pypi","requirements":"==0.14","direct":true,"kind":"development","optional":false},{"id":5019668044,"package_name":"seaborn","ecosystem":"pypi","requirements":"==0.10.1","direct":true,"kind":"development","optional":false},{"id":5019668045,"package_name":"setuptools","ecosystem":"pypi","requirements":"==49.6","direct":true,"kind":"development","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/python-publish.yml","sha":null,"kind":"manifest","created_at":"2023-01-31T04:45:27.437Z","updated_at":"2023-01-31T04:45:27.437Z","repository_link":"https://github.com/JannisHoch/copro/blob/main/.github/workflows/python-publish.yml","dependencies":[{"id":7262951413,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7262951414,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7262951415,"package_name":"pypa/gh-action-pypi-publish","ecosystem":"actions","requirements":"27b31702a0e7fc50959f5ad993c78deac1bdfc29","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2023-09-24T09:17:40.878Z","updated_at":"2023-09-24T09:17:40.878Z","repository_link":"https://github.com/JannisHoch/copro/blob/main/setup.py","dependencies":[]},{"ecosystem":"conda","filepath":"environment.yml","sha":null,"kind":"manifest","created_at":"2026-02-17T14:03:05.420Z","updated_at":"2026-02-17T14:03:05.420Z","repository_link":"https://github.com/JannisHoch/copro/blob/main/environment.yml","dependencies":[{"id":25820243422,"package_name":"python","ecosystem":"conda","requirements":"3.9.18","direct":true,"kind":"runtime","optional":false},{"id":25820243469,"package_name":"xarray","ecosystem":"conda","requirements":"2023.12.0","direct":true,"kind":"runtime","optional":false},{"id":25820243470,"package_name":"pandas","ecosystem":"conda","requirements":"2.1.4","direct":true,"kind":"runtime","optional":false},{"id":25820243491,"package_name":"numpy","ecosystem":"conda","requirements":"1.26.3","direct":true,"kind":"runtime","optional":false},{"id":25820243551,"package_name":"rtree","ecosystem":"conda","requirements":"1.1.0","direct":true,"kind":"runtime","optional":false},{"id":25820243647,"package_name":"pytest","ecosystem":"conda","requirements":"7.4.4","direct":true,"kind":"runtime","optional":false},{"id":25820243724,"package_name":"pytest-runner","ecosystem":"conda","requirements":"6.0.0","direct":true,"kind":"runtime","optional":false},{"id":25820243725,"package_name":"descartes","ecosystem":"conda","requirements":"1.1.0","direct":true,"kind":"runtime","optional":false},{"id":25820243732,"package_name":"rioxarray","ecosystem":"conda","requirements":"0.15.0","direct":true,"kind":"runtime","optional":false},{"id":25820243757,"package_name":"ipython","ecosystem":"conda","requirements":"8.18.1","direct":true,"kind":"runtime","optional":false},{"id":25820243758,"package_name":"notebook","ecosystem":"conda","requirements":"7.0.6","direct":true,"kind":"runtime","optional":false},{"id":25820243759,"package_name":"nbconvert","ecosystem":"conda","requirements":"7.14.1","direct":true,"kind":"runtime","optional":false},{"id":25820243760,"package_name":"ipykernel","ecosystem":"conda","requirements":"6.28.0","direct":true,"kind":"runtime","optional":false},{"id":25820243761,"package_name":"scikit-learn","ecosystem":"conda","requirements":"1.3.2","direct":true,"kind":"runtime","optional":false},{"id":25820243862,"package_name":"netcdf4","ecosystem":"conda","requirements":"1.6.0","direct":true,"kind":"runtime","optional":false},{"id":25820243879,"package_name":"ConfigParser","ecosystem":"conda","requirements":"5.3.0","direct":true,"kind":"runtime","optional":false},{"id":25820243884,"package_name":"click","ecosystem":"conda","requirements":"8.1.7","direct":true,"kind":"runtime","optional":false},{"id":25820243885,"package_name":"seaborn","ecosystem":"conda","requirements":"0.13.1","direct":true,"kind":"runtime","optional":false},{"id":25820243886,"package_name":"colorama","ecosystem":"conda","requirements":"0.4.6","direct":true,"kind":"runtime","optional":false},{"id":25820243887,"package_name":"setuptools","ecosystem":"conda","requirements":"69.0.3","direct":true,"kind":"runtime","optional":false},{"id":25820243888,"package_name":"sphinx","ecosystem":"conda","requirements":"7.2.6","direct":true,"kind":"runtime","optional":false},{"id":25820243947,"package_name":"pillow","ecosystem":"conda","requirements":"8.1.0","direct":true,"kind":"runtime","optional":false},{"id":25820243948,"package_name":"geopandas","ecosystem":"conda","requirements":"0.14.2","direct":true,"kind":"runtime","optional":false},{"id":25820243958,"package_name":"rasterio","ecosystem":"conda","requirements":"1.2.10","direct":true,"kind":"runtime","optional":false},{"id":25820243991,"package_name":"rasterstats","ecosystem":"conda","requirements":"0.19.0","direct":true,"kind":"runtime","optional":false},{"id":25820244026,"package_name":"pip","ecosystem":"conda","requirements":"","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2026-02-17T14:03:08.924Z","updated_at":"2026-02-17T14:03:08.924Z","repository_link":"https://github.com/JannisHoch/copro/blob/main/requirements.txt","dependencies":[{"id":25820244143,"package_name":"flake8","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":25820244144,"package_name":"mock","ecosystem":"pypi","requirements":"==5.1.0","direct":true,"kind":"runtime","optional":false},{"id":25820244155,"package_name":"mypy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":25820244166,"package_name":"nbsphinx_link","ecosystem":"pypi","requirements":"==1.3.0","direct":true,"kind":"runtime","optional":false},{"id":25820244167,"package_name":"pre-commit","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":25820244168,"package_name":"prospector","ecosystem":"pypi","requirements":"\u003e=1.9.0","direct":true,"kind":"runtime","optional":false},{"id":25820244179,"package_name":"pyarrow","ecosystem":"pypi","requirements":"==16.0.0","direct":true,"kind":"runtime","optional":false},{"id":25820244180,"package_name":"pydata-sphinx-theme","ecosystem":"pypi","requirements":"==0.15.2","direct":true,"kind":"runtime","optional":false},{"id":25820244205,"package_name":"pylint","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":25820244230,"package_name":"rasterstats","ecosystem":"pypi","requirements":"==0.19.0","direct":true,"kind":"runtime","optional":false},{"id":25820244231,"package_name":"setuptools","ecosystem":"pypi","requirements":"==78.1.1","direct":true,"kind":"runtime","optional":false},{"id":25820244232,"package_name":"tox","ecosystem":"pypi","requirements":"==4.14.2","direct":true,"kind":"runtime","optional":false},{"id":25820244269,"package_name":"wheel","ecosystem":"pypi","requirements":"==0.46.2","direct":true,"kind":"runtime","optional":false}]}],"score":7.00669522683704,"created_at":"2023-09-11T14:32:23.890Z","updated_at":"2026-04-07T14:00:31.263Z","avatar_url":"https://github.com/JannisHoch.png","language":"Jupyter Notebook","category":"Climate Change","sub_category":"Climate Data Processing and Analysis","monthly_downloads":22,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"===============\nCoPro\n===============\n\nWelcome to CoPro, a machine-learning tool for conflict risk projections based on climate, environmental, and societal drivers.\n\n.. image:: https://img.shields.io/badge/License-MIT-blue.svg\n    :target: https://github.com/JannisHoch/copro/blob/dev/LICENSE\n\n.. image:: https://readthedocs.org/projects/copro/badge/?version=latest\n    :target: https://copro.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/github/v/release/JannisHoch/copro\n    :target: https://github.com/JannisHoch/copro/releases/tag/v2.0.1\n\n.. image:: https://zenodo.org/badge/254407279.svg\n    :target: https://doi.org/10.5281/zenodo.4061705\n\n.. image:: https://badges.frapsoft.com/os/v2/open-source.svg?v=103\n    :target: https://github.com/ellerbrock/open-source-badges/\n\n.. image:: https://joss.theoj.org/papers/1f03334e56413ff71f65092ecc609aa4/status.svg\n    :target: https://joss.theoj.org/papers/1f03334e56413ff71f65092ecc609aa4\n\n.. .. image:: https://mybinder.org/badge_logo.svg\n..     :target: https://mybinder.org/v2/gh/JannisHoch/copro/dev?filepath=%2Fexample%2Fnb_binder.ipynb\n\nModel purpose\n--------------\n\nAs primary model output, CoPro provides maps of conflict risk.\n\nTo that end, it employs observed conflicts as target data together with (user-provided) socio-economic and environmental sample data to train different classifiers (RFClassifier, kNearestClassifier, and Support Vector Classifier).\nWhile the samples have the units of the data, the target value is converted to Boolean, where a 0 indicates no conflict occurrence and 1 indicates occurrence.\nTo capture the geographical variability of conflict and socio-environmental drivers, the model is spatially explicit and calculates conflict risk at a (user-specified) aggregation level.\nThis way, the model can also capture the relevant sub-national variability of conflict and conflict drivers.\nModel robustness is determined using a split-sample test where a part of the data is used to train the model, while the other part is used to evaluate the outcome. \nThroughout this process, the geographical unit is tracked to be able to map the resulting conflict risk to the correct areas.\n\nIn addition to the calculation of conflict risk, can the model, for instance, be used to make scenario projections, evaluate the relative feature importances, or benchmark different datasets.\n\nAll in all, CoPro supports the mapping of current and future areas at risk of conflict, while also facilitating obtaining a better understanding of the underlying processes.\n\nInstallation\n----------------\n\nTo install copro, first clone the code from GitHub. It is advised to create an individual python environment first. \nYou can then install the model package into this environment.\n\nTo do so, you need to have Anaconda or Miniconda installed. For installation guidelines, see `here \u003chttps://docs.anaconda.com/anaconda/install/\u003e`_.\n\n.. code-block:: console\n\n    $ git clone https://github.com/JannisHoch/copro.git\n    $ cd path/to/copro\n    $ conda env create -f environment.yml\n    $ conda activate copro\n\nTo install CoPro in editable mode in this environment, run this command next in the CoPro-folder:\n\n.. code-block:: console\n\n    $ pip install -e .\n\nWhen using Jupyter Notebook, it can be handy to have the copro environment available. It can be installed into Jupyter Notebook with the following command:\n\n.. code-block:: console\n\n    $ python -m ipykernel install --name=copro\n\nCommand-line script\n--------------------\n\nTo be able to run the model, the conda environment has to be activated first.\n\n.. code-block:: console\n\n    $ conda activate copro\n\nTo run the model from command line, a command line script is provided. The usage of the script is as follows:\n\n.. code-block:: console\n\n    Usage: copro_runner [OPTIONS] CFG\n\n    Main command line script to execute the model. \n    All settings are read from cfg-file.\n    One cfg-file is required argument to train, test, and evaluate the model.\n    Multiple classifiers are trained based on different train-test data combinations.\n    Additional cfg-files for multiple projections can be provided as optional arguments, whereby each file corresponds to one projection to be made.\n    Per projection, each classifiers is used to create separate projection outcomes per time step (year).\n    All outcomes are combined after each time step to obtain the common projection outcome.\n\n    Args:     CFG (str): (relative) path to cfg-file\n\n    Options:\n    -plt, --make_plots        add additional output plots\n    -v, --verbose             command line switch to turn on verbose mode\n\nThis help information can be also accessed with\n\n.. code-block:: console\n\n    $ copro_runner --help\n\nAll data and settings are retrieved from the settings-file (cfg-file) which needs to be provided as inline argument.\n\nIn case issues occur, updating ``setuptools`` may be required.\n\n.. code-block:: console\n\n    $ pip3 install --upgrade pip setuptools\n\nExample data\n----------------\n\nExample data for demonstration purposes can be downloaded from `Zenodo \u003chttps://zenodo.org/record/4297295\u003e`_.\nTo facilitate this process, the bash-script ``download_example_data.sh`` can be called in the example folder under `/_scripts`.\n\nWith this (or other) data, the provided configuration-files (cfg-files) can be used to perform a reference run or a projection run. \nAll output is stored in the output directory specified in the cfg-files. \nIn the output directory, two folders are created: one name `_REF` for output from the reference run, and `_PROJ` for output for projections.\n\n.. important::\n\n    The example data works with copro version \u003c 2.0.0. \n    For the latest version, the data needs to be realigned with the new config-file requirements.\n\nJupyter notebooks\n^^^^^^^^^^^^^^^^^^\n\nThere are multiple jupyter notebooks available to guide you through the model application process step-by-step.\n\nIt is possible to execute the notebooks cell-by-cell and explore the full range of possibilities.\nNote that in this case the notebooks need to be run in the right order as some temporary files will be saved to file in one notebook and loaded in another!\nThis is due to the re-initalization of the model at the beginning of each notebook and resulting deletion of all files in existing output folders.\n\nThe notebooks are also used to exemplify the `Workflow \u003chttps://copro.readthedocs.io/en/latest/examples/index.html\u003e`_ of CoPro.\n\nCommand-line\n^^^^^^^^^^^^^^^^^^\n\nWhile the notebooks are great for exploring, the command line script is the envisaged way to use CoPro.\n\nTo only test the model for the reference situation and one projection, the cfg-file for the reference run is the required argument.\nThis cfg-file needs to point to the cfg-file of the projection in turn.\n\n.. code-block:: console\n\n    $ cd path/to/copro/example\n    $ copro_runner example_settings.cfg\n\nAlternatively, the same commands can be executed using a bash-file.\n\n.. code-block:: console\n\n    $ cd path/to/copro/example/_scripts\n    $ sh run_command_line_script.sh\n\nValidation\n^^^^^^^^^^^^^^^^^^\n\nThe reference model makes use of the `UCDP Georeferenced Event Dataset \u003chttps://ucdp.uu.se/downloads/index.html#ged_global\u003e`_ for observed conflict. \nThe selected classifier is trained and validated against this data.\n\nMain validation metrics are the ROC-AUC score as well as accuracy, precision, and recall. \nAll metrics are reported and written to file per model evaluation.\n\nWith the example data downloadable from `Zenodo \u003chttps://zenodo.org/record/4297295\u003e`_, a ROC-AUC score of above 0.8 can be obtained. \nNote that with additional and more explanatory sample data, the score will most likely increase.\n\n.. figure:: docs/_static/roc_curve.png\n\nAdditional ways to validate the model are showcased in the `Workflow \u003chttps://copro.readthedocs.io/en/latest/examples/index.html\u003e`_.\n\nDocumentation\n---------------\n\nExtensive model documentation including full model API description can be found at http://copro.rtfd.io/\n\nCode of conduct and Contributing\n---------------------------------\n\nThe project welcomes contributions from everyone! \nTo make collaborations as pleasant as possible, we expect contributors to the project to abide by the Code of Conduct.\n\nLicense\n--------\n\nCoPro is released under the MIT license.\n\nAuthors\n----------------\n\n* Jannis M. Hoch (Utrecht University, now Fathom)\n* Sophie de Bruin (Utrecht University \u0026 PBL)\n* Niko Wanders (Utrecht University)\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.5281/zenodo.4061705"],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["optimize","archiving","measur","transforms","observation","compose","generic","conversion","animals","synchronization"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/3651","html_url":"https://ost.ecosyste.ms/projects/3651"}