{"id":22703775,"url":"https://github.com/ul-mds/pprl","last_synced_at":"2026-01-28T05:20:53.431Z","repository":{"id":246526901,"uuid":"821363447","full_name":"ul-mds/pprl","owner":"ul-mds","description":"Collection of software packages for performing privacy-preserving record linkage based on Bloom filters","archived":false,"fork":false,"pushed_at":"2024-11-15T14:55:32.000Z","size":340,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-28T05:51:35.581Z","etag":null,"topics":["cryptography","privacy","python","record-linkage"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ul-mds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-28T11:23:49.000Z","updated_at":"2024-11-15T14:55:33.000Z","dependencies_parsed_at":"2024-06-28T13:58:01.268Z","dependency_job_id":"29606db1-38c8-4df5-8dd7-ad5d8f6d9fff","html_url":"https://github.com/ul-mds/pprl","commit_stats":null,"previous_names":["ul-mds/pprl"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ul-mds/pprl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ul-mds%2Fpprl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ul-mds%2Fpprl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ul-mds%2Fpprl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ul-mds%2Fpprl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ul-mds","download_url":"https://codeload.github.com/ul-mds/pprl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ul-mds%2Fpprl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28840088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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"}},"keywords":["cryptography","privacy","python","record-linkage"],"created_at":"2024-12-10T08:12:34.513Z","updated_at":"2026-01-28T05:20:53.403Z","avatar_url":"https://github.com/ul-mds.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains packages for privacy-preserving record linkage (PPRL) based on Bloom filters.\nIt covers a wide range of functionalities from basic primitives of setting bits in bitarrays to an entire\nHTTP-based service for preprocessing, masking and matching records in a privacy-preserving manner.\n\n# Repository structure\n\nThe [packages](./packages/) directory contains several Python modules.\nThese modules cover different functionalities for performing PPRL.\nEach module is its own project with its own dependencies.\n\n- [`pprl_client`](./packages/pprl_client/): HTTP-based client for using the PPRL service\n- [`pprl_core`](./packages/pprl_core/): primitives for Bloom filter based PPRL\n- [`pprl_model`](./packages/pprl_model/): data models for use in a HTTP-based service with PPRL in mind\n- [`pprl_service`](./packages/pprl_service/): HTTP-based service for performing PPRL\n\n# Setup\n\nWorking with the source code requires Python 3.10 and above and [Poetry](https://python-poetry.org/) to be installed. \nThere are [several scripts](./scripts/) which facilitate working with this repository.\nTo install the dependencies for each module and set up virtual environments, run the following command.\n\n```\n$ ./scripts/poetry_run_in_each.sh install\n```\n\nThis will run `poetry install` in each module.\nYou can then open every module in the IDE or code editor of your choice.\n\n# Installation\n\nTo run the PPRL service locally, you have two options.\n\n## Manual setup\n\nIf you already set up a development environment, you can run the PPRL service from the command line.\nChange into the [root directory of the PPRL service](./packages/pprl_service/) and run one of the two following commands.\n\n```\n$ poetry run pprl_service\n$ poetry run uvicorn pprl_service.main:app --host 0.0.0.0 --workers 4\n```\n\nThe first command will spin up the server with a single service worker, similar to running `fastapi dev` without hot reloading capabilities.\nThe second command allows for more fine-grain control using `uvicorn` directly.\nThe arguments are the same as the default ones in the [Dockerfile](./Dockerfile) at the root of this repository.\n\n## Docker\n\nThe [Dockerfile](./Dockerfile) can be used to start the PPRL service inside a container.\nBuild the service and then run it.\n\n```\n$ docker build -t pprl_service:dev .\n$ docker run --rm -p 8000:8000 pprl_service:dev\n```\n\nYou can then access the service documentation in your browser at http://localhost:8000/docs.\nAlternatively, you can also use a pre-built Docker image.\n\n```\n$ docker run --rm -p 8000:8000 ghcr.io/ul-mds/pprl:0.1.0\n```\n\n# License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ful-mds%2Fpprl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ful-mds%2Fpprl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ful-mds%2Fpprl/lists"}