{"id":37750818,"url":"https://github.com/lverweijen/piargus","last_synced_at":"2026-01-16T14:21:51.663Z","repository":{"id":65430547,"uuid":"578202949","full_name":"lverweijen/piargus","owner":"lverweijen","description":"Python wrapper for TauArgus","archived":false,"fork":false,"pushed_at":"2025-01-24T10:14:17.000Z","size":5621,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T22:41:43.704Z","etag":null,"topics":["disclosure","statistical-disclosure-control","statistics","tauargus"],"latest_commit_sha":null,"homepage":"https://lverweijen.github.io/piargus/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lverweijen.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}},"created_at":"2022-12-14T13:55:05.000Z","updated_at":"2025-01-18T12:38:31.000Z","dependencies_parsed_at":"2025-01-08T17:48:52.059Z","dependency_job_id":"97fe406c-c785-4c26-9c5f-1c32705c4282","html_url":"https://github.com/lverweijen/piargus","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lverweijen/piargus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lverweijen%2Fpiargus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lverweijen%2Fpiargus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lverweijen%2Fpiargus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lverweijen%2Fpiargus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lverweijen","download_url":"https://codeload.github.com/lverweijen/piargus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lverweijen%2Fpiargus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["disclosure","statistical-disclosure-control","statistics","tauargus"],"created_at":"2026-01-16T14:21:51.594Z","updated_at":"2026-01-16T14:21:51.649Z","avatar_url":"https://github.com/lverweijen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PiArgus\n\nThis package provides a python wrapper around [τ-ARGUS](https://research.cbs.nl/casc/tau.htm), a program to protect statistical tables.\nThis package takes care of generating all the required metadata and runs τ-ARGUS in the background to do the heavy work.\n\nFor this package to work, it is required to install τ-ARGUS locally first.\nIt's also recommended to read the [TauArgus manual](https://research.cbs.nl/casc/Software/TauManualV4.1.pdf) to understand how it should be used.\n\n## Features\n\n- Generate output tables from microdata or tabledata. It is recommended to generate from microdata.\n- Metadata can be generated automatically, although using an existing rda-file is also possible.\n- It's possible to create hierarchies, codelists, apriori files, recode files all from code or from existing files.\n- Basic error checking of input is done before input is supplied to argus.\n\nFeel free to [contribute](https://github.com/lverweijen/piargus) for other TauArgus-features.\n[Feedback](https://github.com/lverweijen/piargus/issues) is welcome too.\n\n## Installing\n\n- Download and install the latest version of [τ-ARGUS](https://github.com/sdcTools/tauargus/releases).\n- Then use [pip](https://pip.pypa.io/en/stable/getting-started/) to install piargus:\n\n```sh\n$ pip install --upgrade piargus\n```\n\n## Example\n\n```python\nimport pandas as pd\nimport piargus as pa\n\ntau = pa.TauArgus(r'C:\\Users\\User\\Programs\\TauArgus4.2.0b5\\TauArgus.exe')\ninput_df = pd.read_csv('data/microdata.csv')\ninput_data = pa.MicroData(input_df)\noutput_table = pa.Table(['sbi', 'regio'], 'income', safety_rule=\"P(10)\")\n\njob = pa.Job(input_data, [output_table], directory='tau')\nreport = tau.run(job)\ntable_result = output_table.load_result()\n\nprint(report)\nprint(table_result)\n```\n\nChange `C:\\Users\\User\\Programs\\TauArgus4.2.0b5\\TauArgus.exe` to the location where argus is installed.\nSee [tutorial](https://lverweijen.github.io/piargus/tutorial.html) for a general introduction.\nSee [Examples](https://github.com/lverweijen/tree/main/examples) for more examples.\n\n## See also\n\nThe following packages in R offer similar functionality:\n\n- https://github.com/sdcTools/sdcTable\n- https://github.com/InseeFrLab/rtauargus\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flverweijen%2Fpiargus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flverweijen%2Fpiargus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flverweijen%2Fpiargus/lists"}