{"id":16115504,"url":"https://github.com/byron/anon-csv-cli","last_synced_at":"2025-03-18T10:30:34.026Z","repository":{"id":57489177,"uuid":"174111982","full_name":"Byron/anon-csv-cli","owner":"Byron","description":"A command-line utility for anonymising CSV files","archived":false,"fork":false,"pushed_at":"2020-05-26T14:42:54.000Z","size":63,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T17:53:32.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Byron.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-06T09:17:18.000Z","updated_at":"2025-02-19T13:42:23.000Z","dependencies_parsed_at":"2022-08-29T22:11:47.985Z","dependency_job_id":null,"html_url":"https://github.com/Byron/anon-csv-cli","commit_stats":null,"previous_names":["byron-tw/anon-csv-cli"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fanon-csv-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fanon-csv-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fanon-csv-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Byron%2Fanon-csv-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Byron","download_url":"https://codeload.github.com/Byron/anon-csv-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918627,"owners_count":20368745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-09T20:19:00.417Z","updated_at":"2025-03-18T10:30:33.629Z","avatar_url":"https://github.com/Byron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Rust](https://github.com/Byron/anon-csv-cli/workflows/Rust/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/anon-csv-cli.svg)](https://crates.io/crates/anon-csv-cli)\n\n\nA tool to anonymise CSV files, providing various options to substitute real data with plausable fake data.\n\n## Installation\n\nUsing Cargo (which you can install via https://rustup.rs):\n\n```\ncargo install anon-csv-cli\n```\n\nOr via download - the binary will fit your platform:\n\n```sh\ncurl -LSfs https://japaric.github.io/trust/install.sh | \\\n    sh -s -- --git byron/anon-csv-cli --crate anon-csv\n```\n\n## Usage\n\n```\ncurl https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv \u003e addresses.csv\nanon-csv ./addresses.csv  0:name.first_name 1:name.last_name 2:address.street_name 3:address.city 4:address.state_abbr 5:address.zip\n```\n\nUse the `--header` flag to ignore the first line, usually the header, and the `--delimiter \u003cother delimiter\u003e` flag\nto use a different field delimiter. The latter defaults to `,`.\n\n## Works well with XSV\n\nXSV is a tool to perform various operations on CSV files. It can be used in conjunction with this one for additional\nprocessing.\n\nhttps://github.com/BurntSushi/xsv\n\n\n## Available fake data types\n\nThe fake data is provided by the [`fake`](https://docs.rs/crate/fake) crate.\n\n```\nName.first_name\nName.last_name\nName.prefix\nName.suffix\nName.name\nName.name_with_middle\nName.title_descriptor\nName.title_level\nName.title_job\nName.title\n\nAddress.time_zone\nAddress.city_prefix\nAddress.city_suffix\nAddress.street_suffix\nAddress.state\nAddress.state_abbr\nAddress.city\nAddress.street_name\nAddress.building_number\nAddress.street_address\nAddress.secondary_address\nAddress.zip\nAddress.postcode\nAddress.latitude\nAddress.longitude\n\nCompany.suffix\nCompany.name\nCompany.buzzword\nCompany.catch_phrase\nCompany.bs\nCompany.profession\nCompany.industry\n\nLorem.word\nLorem.words\nLorem.sentence\nLorem.sentences\nLorem.paragraph\nLorem.paragraphs\n\nNumber.phone_number\nNumber.cell_number\nNumber.digit\n\nInternet.free_email_provider\nInternet.domain_suffix\nInternet.user_name\nInternet.free_email\nInternet.safe_email\nInternet.password\nInternet.ip\nInternet.ipv4\nInternet.ipv6\nInternet.color\nInternet.user_agent\n\nBoolean.simple\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyron%2Fanon-csv-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyron%2Fanon-csv-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyron%2Fanon-csv-cli/lists"}