{"id":32952528,"url":"https://github.com/metakermit/awesome-python-for-social-good","last_synced_at":"2025-12-30T02:02:46.437Z","repository":{"id":141633122,"uuid":"132100278","full_name":"metakermit/awesome-python-for-social-good","owner":"metakermit","description":"A curated list of examples \u0026 ideas of using Python for Social Good.","archived":false,"fork":false,"pushed_at":"2018-08-25T11:14:45.000Z","size":9,"stargazers_count":45,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-10T19:01:55.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/metakermit.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}},"created_at":"2018-05-04T06:50:42.000Z","updated_at":"2025-09-06T06:52:12.000Z","dependencies_parsed_at":"2023-03-13T10:30:34.096Z","dependency_job_id":null,"html_url":"https://github.com/metakermit/awesome-python-for-social-good","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/metakermit/awesome-python-for-social-good","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metakermit%2Fawesome-python-for-social-good","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metakermit%2Fawesome-python-for-social-good/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metakermit%2Fawesome-python-for-social-good/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metakermit%2Fawesome-python-for-social-good/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metakermit","download_url":"https://codeload.github.com/metakermit/awesome-python-for-social-good/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metakermit%2Fawesome-python-for-social-good/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284704131,"owners_count":27049848,"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-11-16T02:00:05.974Z","response_time":65,"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"}},"keywords":[],"created_at":"2025-11-12T22:00:21.473Z","updated_at":"2025-12-30T02:02:46.360Z","avatar_url":"https://github.com/metakermit.png","language":null,"readme":"# Awesome Python for Social Good [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)\n\n\u003e A curated list of examples \u0026 ideas of using Python for Social Good.\n\nThis list is based on [my talk](https://speakerdeck.com/metakermit/python-for-social-good)\nat PyDays Vienna 2018 and extended with new content over time. Contributions of new ideas and technical examples are very welcome. 🙂\n\n## Contents\n\n- [Environment](#environment)\n- [Poverty](#poverty)\n- [Internet](#internet)\n- [Privacy](#privacy)\n- [Free Press](#free-press)\n- [Democracy](#democracy)\n- [Politics](#politics)\n- [Volunteering](#volunteering)\n\n## Environment\n\n- global warming data\n  - [deleted data](https://www.theguardian.com/us-news/2017/may/14/donald-trump-climate-change-mentions-government-websites) – Trump’s administration [deleting public data on climate change from government websites\n  - archivers\n    * https://envirodatagov.org/\n    * http://eotarchive.cdlib.org/2016.html\n    * http://www.cdlib.org/\n    * http://www.ppehlab.org/datarefuge\n    * https://climatemirror.org/\n  - Python scraping\n    * Requests + BeautifulSoup\n    * https://scrapy.org/\n    * https://scrapinghub.com/\n- the current rate of power consumption for cryptocurrency mining is a bit worrisome\n  * more power than Iceland, Denmark…\n    * [cryptocurrency mining in Iceland is using so much energy the electricity may run out](https://www.washingtonpost.com/news/worldviews/wp/2018/02/13/cryptocurrency-mining-in-iceland-is-using-so-much-energy-the-electricity-may-run-out/)\n    * [Bitcoin electricity usage](https://www.theguardian.com/technology/2018/jan/17/bitcoin-electricity-usage-huge-climate-cryptocurrency)\n  * ⚡️ Call for action\n    * is there a way to make such computation more green?\n      * supply-demand balancing\n      * negative energy prices\n      * helping balance out volatility of wind turbines\n    * can a proof of environment friendliness be encoded in the blockchain?\n\n## Poverty\n\n- Costa Rican household poverty level prediction using machine learning – [part1](https://towardsdatascience.com/a-data-science-for-good-machine-learning-project-walk-through-in-python-part-one-1977dd701dbc), [part2](https://towardsdatascience.com/a-data-science-for-good-machine-learning-project-walk-through-in-python-part-two-2773bd52daf0) \u0026 [the Kaggle competition](https://www.kaggle.com/c/costa-rican-household-poverty-prediction)\n\n## Internet\n\n- [recent DDoS attacks](https://threatpost.com/in-wake-of-biggest-ever-ddos-attack-experts-say-brace-for-more/130205/) – the \"Mirai\" botnet attack on DynDNS and the Memcached attack on GitHub\n- [recent vulnerabilities](https://medium.com/threat-intel/bug-branding-heartbleed-14ef1a64047f) – Heartbleed, Shellshock, Meltdown, Spectre, oh my!\n- make sure your servers are secure\n  * don’t expose Memcached to the Internet!\n  * [server](https://github.com/punkrockdev/server) – keep your software up to date. Unattended OS upgrades using Ansible\n  * [PyMetasploit](https://github.com/allfro/pymetasploit) – a Python library for running Metasploit, the tool for pen-testing your sites\n  * learn the basics of internet security\n    * [hashlib](https://docs.python.org/3/library/hashlib.html) – hash passwords with scrypt\n    * [Let’s encrypt](https://letsencrypt.org/) – use HTTPS\n    * [cryptography.io](https://cryptography.io) – don’t roll your own crypto, use existing good implementations\n- don’t let your users behave insecurely\n  * [86% of passwords are terrible](https://www.troyhunt.com/86-of-passwords-are-terrible-and-other-statistics/) – people use `123456`, `password`, …\n  * [Pwned Passwords v2](https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/) – elegant \u0026 safe API check\n- maybe help keep an eye on the Internet\n    * check those smart toasters exposed to the internet now \u0026 then\n    * [white-hat hackers upgrading routers](https://thehackernews.com/2016/02/hacking-wireless-router.html)\n    * [vigilante malware makes you safer](https://www.forbes.com/sites/thomasbrewster/2015/10/01/vigilante-malware-makes-you-safer/#4771f3521fd5)\n    * _not the hero Gotham deserves…_\n\n## Privacy\n\n* [Snowden](https://en.wikipedia.org/wiki/Edward_Snowden) – revealed government surveillance programs (June 2013)\n* ⚡️ Call for action\n  * [Signal](https://signal.org/) – great e2e encrypted chat app, open source \u0026 needs UX help\n  * [Mailpile](https://github.com/mailpile/Mailpile) – web-based email client w/ PGP in Python\n\n## Free Press\n\n- Fake news\n- Attacks on journalists\n- ⚡️ Call for action\n  * help fact-checking sites\n    * https://www.snopes.com/\n    * http://www.politifact.com/\n    * http://fivethirtyeight.com/\n    * start something like this in your own community\n  * Be wary of the possibility of tampering with information\n  * TensorFlow detect fake news – Jupyter notebooks \u0026 datasets on Kaggle\n    * [Kaggle fake news competition](https://www.kaggle.com/c/fake-news)\n    * [Kaggle datasets related to \"fake news\"](https://www.kaggle.com/datasets?sortBy=relevance\u0026search=fake+news)\n\n## Democracy\n\n* Facebook + Cambridge Analytics + trolls + fake news = impact elections\n* [voting machines in Germany hacked](https://edition.cnn.com/2017/09/07/europe/germany-hackers-election-software/index.html) (7.9.2017.) – by white hat hackers this time\n* [Cyber attack Estonia](https://www.theguardian.com/technology/2017/dec/02/fake-news-botnets-how-russia-weaponised-the-web-cyber-attack-estonia) – outright \"cyber warfare\"\n* ⚡️ Call for action\n  * help find software vulnerabilities\n  * identify trolls / bots on social networks\n    * TensorFlow\n    * https://www.kaggle.com/vikasg/russian-troll-tweets\n\n## Politics\n\n* Analyse the data\n  * open data\n  * scrape it!\n* Code for America / Europe / …\n  * civic hacktivism\n  * help your village/town/country make a better service for something\n* help politicians you support\n* subvert politicians you don’t 👹\n  * [Trump2Cash](https://github.com/maxbbraun/trump2cash) – a stock trading bot powered by Trump tweets\n  * [Trump2Cash blog post](https://medium.com/@maxbraun/this-machine-turns-trump-tweets-into-planned-parenthood-donations-4ece8301e722#.yovbh4qc1/)\n\n## Volunteering\n\n* helping the economically disadvantaged\n* helping the misrepresented\n* other forms of helping your community\n* ⚡️ Call for action\n  * both local \u0026 remote\n    * http://www.refugeescode.at/\n    * https://www.freecodecamp.org/nonprofits/\n  * help teach others\n    * [Python is the No. 1 language in education](https://cacm.acm.org/blogs/blog-cacm/176450-python-is-now-the-most-popular-introductory-teaching-language-at-top-u-s-universities/fulltext)\n\n## License\n\n[![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/)\n\nTo the extent possible under law, [Dražen Lučanin](https://metakermit.com) has waived all copyright and related or neighboring rights to this work.\n","funding_links":[],"categories":["Weekly","Other Awesome Lists"],"sub_categories":["Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetakermit%2Fawesome-python-for-social-good","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetakermit%2Fawesome-python-for-social-good","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetakermit%2Fawesome-python-for-social-good/lists"}