{"id":27934830,"url":"https://github.com/uri/suds","last_synced_at":"2025-08-07T23:04:53.952Z","repository":{"id":142775942,"uuid":"21254206","full_name":"uri/suds","owner":"uri","description":null,"archived":false,"fork":false,"pushed_at":"2015-05-19T17:37:51.000Z","size":342,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-07T06:08:35.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/uri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-26T20:35:41.000Z","updated_at":"2014-12-08T14:45:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"f46dc189-ac4c-45a3-a2a0-e5064d1c1f69","html_url":"https://github.com/uri/suds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uri/suds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fsuds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fsuds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fsuds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fsuds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uri","download_url":"https://codeload.github.com/uri/suds/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uri%2Fsuds/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269338065,"owners_count":24400180,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-05-07T06:08:34.997Z","updated_at":"2025-08-07T23:04:53.813Z","avatar_url":"https://github.com/uri.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# suds\n\n[![Code Climate](https://codeclimate.com/github/HealthWave/suds/badges/gpa.svg)](https://codeclimate.com/github/HealthWave/suds) [![Circle CI](https://circleci.com/gh/uri/suds.svg?style=svg\u0026circle-token=d76fd83cf3e7c638b8b15559dfeca16cc6251a9f)](https://circleci.com/gh/uri/suds) [![Coverage Status](https://coveralls.io/repos/uri/suds/badge.svg)](https://coveralls.io/r/uri/suds)\n\nWelcome to the suds project. This is very much a work in progress, so please use this at your own risk. I am changing the DSL constantly and rewriting the history.\n\nThis project will become stable fairly soon.\n\nSuds is a essentially a tool for working with data files. Suds is broken up into three modular components: **interpreters**, **cleaners**, and **converters**.\n\n**Interpreters** load the data into the `suds` object. This can be in the form of raw text, json, csv, etc. Interpreteres can be chained together, for instance a (fictional) `GoogleDriveInterpreter` can pass it's data to the  `CSVInterpreter`.\n\n**Cleaners** manipulate the data. You can modify/remove rows/columns (in the context of a CSV file).\n\n**Converters** export the file either to disk or to a remote location.\n\n\n## Requirements\n\nRuby `2.0.x` is tested. If you need support for `1.9.3` use the `1.9.3` branch.\n\n\n## Installation\n\n```bash\ngem install suds\n```\n\nOr if you're using Bundler, include the following line in your Gemfile:\n\n```ruby\ngem 'suds', git: 'git@github.com:HealthWave/suds.git'\n```\n\n## Getting started starting\n\nInitialize your interpreter(s):\n\n\n```ruby\nf_interpreter = FileInterpreter.new('./path/to/my/file')\ncsv_interpreter = CSVInterpreter.new(f_interpreter.data)\n```\n\nCreate a suds list and add the interpreters to it:\n\n```ruby\nlist = Suds.new( csv_interpreter )\n```\n\nAdd some cleaners to it:\n\n```ruby\nlist.add_cleaner Cleaner.new {|_,v| v.strip! if v } # Inline initialization of a generic cleaner\n# Configuring an existing cleaner\nlist.add_cleaner ColumnConverterCleaner.new({\n  company:     :name,\n  nlacno:      :partner_practitioner_id,\n})\nlist.add_cleaner ColumnFilterCleaner.new(include_columns: [:name, :partner_practitioner_id, :email])\nlist.add_cleaner DowncaseCleaner.new()\n```\n\nRun all the cleaners:\n\n```ruby\nlist.clean\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furi%2Fsuds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furi%2Fsuds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furi%2Fsuds/lists"}