aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlex Schofield <git@ajschof.me>2025-02-21 00:00:54 +0000
committerAlex Schofield <git@ajschof.me>2025-02-21 00:00:54 +0000
commit6ebdc904eb48185c51c9deb4e426d56227646960 (patch)
tree55cd60f9052bd91b67f558c39c63248c580bc00b /examples
parent1ea412980aebed60f215001ae2d8cbbf42a3716c (diff)
downloadgdpr-obfuscator-6ebdc904eb48185c51c9deb4e426d56227646960.tar.gz
gdpr-obfuscator-6ebdc904eb48185c51c9deb4e426d56227646960.zip
backup commit - 21st @ 00:00
Diffstat (limited to 'examples')
-rw-r--r--examples/local.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/local.py b/examples/local.py
new file mode 100644
index 0000000..d41dfa3
--- /dev/null
+++ b/examples/local.py
@@ -0,0 +1,9 @@
+from gdpr_obfuscator import Obfuscator
+
+obfuscator = Obfuscator()
+
+def main():
+ return obfuscator.local(location="../mock_data.csv", pii_fields=["name", "email"])
+
+if __name__ == "__main__":
+ main() \ No newline at end of file
git.ajschof.me — hosted by ajschofield — powered by cgit