Python Privacy

Open-source Python projects categorized as Privacy

Top 23 Python Privacy Projects

  • hosts

    🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.

    Project mention: Does PiHole block porn? | /r/pihole | 2023-12-06

    Not by default but a blocklist can be found here

  • macOS-Security-and-Privacy-Guide

    Guide to securing and improving privacy on macOS

    Project mention: Hardening macOS | /r/MacOS | 2023-07-03

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • ungoogled-chromium

    Google Chromium, sans integration with Google

    Project mention: Brave's AI assistant now integrates with PDFs and Google Drive | | 2024-02-23

    Cromite[0] is the best on Android, it's a privacy-oriented open source patchset on top of Chromium.

    Cromite has a desktop build, but it's a bit more experimental than the mobile build, so you can use Ungoogled Chromium[1] instead. Ungoogled is also a privacy-oriented open source patchset on top of Chromium. Check the beta flags to enable some more interesting features like getClientRect anti-fingerprinting measures (unfortunately breaks some React-based sites that go into infinite re-render loop).

    Both of these browsers selectively include patches from Brave, but they are community-oriented builds so imo more trustworthy than Brave, which continues to package various shady anti-features and always will because it's backed by a for-profit company.

    LibreWolf[2] is the nicest Firefox-based one for desktop, I think. It's pretty hardcore, though, I most only use it to visit mainstream social media sites.

    I tried a bunch of the Firefox-based ones on mobile and none of them clicked for me. Cromite is just too slick on Android. Put the address bar at the bottom and off you go. Only downside is no online syncing of tabs and bookmarks, but meh. You can save all open tabs to bookmark bar in one hit then export your bookmarks, send the file through whatever E2EE channel you want to your other device and import then reopen them again.




  • PySyft

    Perform data science on data that remains in someone else's server

    Project mention: A Better Mastodon Client | | 2023-12-21 - Federated Learning data science

    Incentives are much harder but smart contracts can handle the tech part.

    Going this route eventually you quickly have "quantum AI app store" and your system of government is a 12GB download. Can't even say if it's a good idea compared to e.g. anarcho-primitivism.

  • tribler

    Privacy enhanced BitTorrent client with P2P content discovery

    Project mention: Tribler 7.13.0 | | 2023-08-30

    > Towards making Bittorrent anonymous and impossible to shut down.

    > We use our own dedicated Tor-like network for anonymous torrent downloading. We implemented and enhanced the Tor protocol specifications. Tribler includes our own Tor-like onion routing network with hidden services based seeding and end-to-end encryption. (GPLv3 although also LGPL)

    I first thought "Is Justin Bieber gay?" in their release was some kind of vandalism of their release, but no, they pose that question as a vehicle for how their software is attempting to solve(?) trusted tagging

  • adversarial-robustness-toolbox

    Adversarial Robustness Toolbox (ART) - Python Library for Machine Learning Security - Evasion, Poisoning, Extraction, Inference - Red and Blue Teams

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • FedML

    FEDML - The unified and scalable ML library for large-scale distributed training, model serving, and federated learning. FEDML Launch, a cross-cloud scheduler, further enables running any AI jobs on any GPU cloud or on-premise cluster. Built on this library, FEDML Nexus AI ( is the dedicated cloud service for generative AI

    Project mention: [Experiment] The future of AI is open-source, and here is the plan | /r/samkoesnadi | 2023-06-05

    FedML might already provide a lot of tools to do the job

  • presidio

    Context aware, pluggable and customizable data protection and de-identification SDK for text and images

    Project mention: Show HN: Cape API – Keep your sensitive data private while using GPT-4 | | 2023-06-27

    Something like for stripping out PII might fill the role I expected to do.

  • Shynet

    Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.

    Project mention: It Took Me a Decade to Find the Perfect Personal Website Stack – Ghost+Fathom | | 2023-07-09

    +1 on shynet! I use it for my personal website and my blog, and it's been working great.

    I got it up and running with Podman, so no need to install and run the Docker daemon. I also fixed SQLite support [1], so no need for an additional DB server.

    I analyzed available open-source web analytics tools [2] and AFAIK there is simpler solution for web analytics that doesn't involve a third party.



  • bleachbit

    BleachBit system cleaner for Windows and Linux

    Project mention: Change in "Web Data" Autofill file under User Data\Default | /r/techsupport | 2023-08-19

    For who want the complete story, this is a recent issue with the Bleachbit cleaner in this github:

  • email2phonenumber

    A OSINT tool to obtain a target's phone number just by having his email address

    Project mention: FLaNK Stack Weekly for 20 Nov 2023 | | 2023-11-20
  • privacy

    Library for training machine learning models with privacy for training data

  • noisy

    Simple random DNS, HTTP/S internet traffic noise generator

  • hosts

    Hostfile blocklist for ads and tracking, updated regularly (by lightswitch05)

    Project mention: DNS server set to Pihole but no traffic | /r/pihole | 2023-06-24

    I've added the Ads & Tracking list and the AMP Hosts list from Developer Dan to the default list; any others you recommend I add? It's hard to tell if the ads coming through are a 'my blocklist isn't good enough' problem or a 'my pihole's not set up properly yet' problem.

  • DataProfiler

    What's in your data? Extract schema, statistics and entities from datasets

    Project mention: LongRoPE: Extending LLM Context Window Beyond 2M Tokens | | 2024-02-22

    It's been possible to skip tokenization for a long time, my team and I did it here -

    For what it's worth, we actually were working with LSTMs with nearly a billion params back in 2016-2017 area. Transformers made it far more effective to train and execute, but ultimately LSTMs are able to achieve similar results, though slow & require more training data.

  • OpenWPM

    A web privacy measurement framework

  • tf-encrypted

    A Framework for Encrypted Machine Learning in TensorFlow

  • no-google

    Completely block Google and its services

    Project mention: Is there a filter or otherwise a way to block all google domains except YouTube? | /r/Adguard | 2023-05-12


  • Shreddit

    Remove your comment history on Reddit as deleting an account does not do so.

    Project mention: Reddit Fulfilled My Data Copy Request - What's the best script to use this to nuke? | /r/privacy | 2023-07-11

    Some scripts like look promising, and I'm getting ready to pull the trigger on it just once I make sure my whitelist IDs are good. However, it's probably not thorough enough to hit all my content. My reddit data has over 68,000 comments.

  • Social-Amnesia

    Forget the past. Social Amnesia makes sure your social media accounts only show your posts from recent history, not from "that phase" 5 years ago.

  • iKy

    OSINT Project. Collect information from a mail. Gather. Profile. Timeline. (by kennbroorg)

  • ProjectAlice

    Project Alice is a smart voice home assistant that is completely modular and extensible.

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-02-23.

Python Privacy related posts


What are some of the best open-source Privacy projects in Python? This list will help you:

Project Stars
1 hosts 24,826
2 macOS-Security-and-Privacy-Guide 20,729
3 ungoogled-chromium 18,412
4 PySyft 9,138
5 whoogle-search 8,516
6 tribler 4,433
7 adversarial-robustness-toolbox 4,311
8 FedML 3,968
9 presidio 2,771
10 Shynet 2,725
11 bleachbit 2,594
12 email2phonenumber 1,893
13 privacy 1,853
14 noisy 1,611
15 hosts 1,460
16 DataProfiler 1,324
17 OpenWPM 1,299
18 tf-encrypted 1,175
19 no-google 1,150
20 Shreddit 984
21 Social-Amnesia 797
22 iKy 739
23 ProjectAlice 687
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.