reevoo / anon

Replaces personal e-mails with fake e-mails
MIT License
0 stars 0 forks source link

anon

Gem Version Code Climate Test Coverage Build Status Inline docs

Because ISO say so.

anon can be used to replace personal e-mail addresses with anonymous (fake) ones. This is useful when transferring personally sensitive data.

Features

Setup

On your command line (which has Ruby installed):

gem install anon

Let's Go!

A whole bunch of help is available with

anon help

A few common use cases:

In-Code Usage


require 'anon/text'

input = File.read('in.txt')
output = File.read('out.txt', 'w')

Anon::Text.anonymise! input, output

require 'anon/csv'

input = File.read('in.csv')
Anon::CSV.anonymise!  input, $stdout,
  columns_to_anonymise=[0, 2], 
  has_header=false