{"id":25979232,"url":"https://github.com/bjorg/csv2cb","last_synced_at":"2025-10-06T13:52:58.429Z","repository":{"id":10465227,"uuid":"12638901","full_name":"bjorg/csv2cb","owner":"bjorg","description":"CSV2CB is a command line tool to convert a CSV file into JSON document and upload them to a Couchbase bucket. Multiple CSV files can be uploaded to the same Couchbase bucket in a single invocation.","archived":false,"fork":false,"pushed_at":"2013-09-11T21:07:44.000Z","size":913,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-12T00:30:06.822Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"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/bjorg.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}},"created_at":"2013-09-06T07:55:18.000Z","updated_at":"2021-05-28T18:14:27.000Z","dependencies_parsed_at":"2022-09-11T16:31:53.992Z","dependency_job_id":null,"html_url":"https://github.com/bjorg/csv2cb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bjorg/csv2cb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Fcsv2cb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Fcsv2cb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Fcsv2cb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Fcsv2cb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjorg","download_url":"https://codeload.github.com/bjorg/csv2cb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjorg%2Fcsv2cb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278621836,"owners_count":26017253,"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-10-06T02:00:05.630Z","response_time":65,"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-03-05T06:28:57.938Z","updated_at":"2025-10-06T13:52:58.413Z","avatar_url":"https://github.com/bjorg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"CSV2CB - Import CSV files into Couchbase\r\n========================================\r\n\r\nCSV2CB is a command line tool to convert a CSV file into JSON document and upload them to a \r\n[Couchbase](http://www.couchbase.com/) bucket.  Multiple CSV files can be uploaded to the same Couchbase\r\nbucket in a single invocation.\r\n\r\nUsage\r\n-----\r\n\r\n    csv2cb --host=\u003chostname\u003e\r\n           [ --password=\u003cpwd\u003e ]\r\n           [ --doctype=\u003cdoctype\u003e ]\r\n           [ --select=\u003ccolumns\u003e ]\r\n           \u003cfile\u003e ...\r\n\r\n\r\nCommand Line Options\r\n--------------------\r\n\r\n\u003cdl\u003e\r\n\u003cdt\u003e\r\n        --host=VALUE\r\n\u003c/dt\u003e\r\n\u003cdd\u003e\r\n        Couchbase hostname with bucket name.\u003cbr/\u003e\r\n        \u003cem\u003eExample:\u003c/em\u003e \u003ccode\u003e--host=http://example.com:8091/bucket\u003c/code\u003e\r\n\u003c/dd\u003e\r\n\u003cdt\u003e\r\n        --password=VALUE\r\n\u003c/dt\u003e\r\n\u003cdd\u003e\r\n        (optional) Password for Couchbase bucket.\r\n\u003c/dd\u003e\r\n\u003cdt\u003e\r\n        --doctype=VALUE\r\n\u003c/dt\u003e\r\n\u003cdd\u003e\r\n        (optional) Document type identifier (doctype) to add to each converted JSON document.\u003cbr/\u003e\r\n        \u003cem\u003eExample:\u003c/em\u003e \u003ccode\u003e--doctype=customer\u003c/code\u003e\r\n\u003c/dd\u003e\r\n\u003cdt\u003e\r\n        --select=VALUES\r\n\u003c/dt\u003e\r\n\u003cdd\u003e\r\n        (optional) List of CSV columns to import. By default, all columns are imported.\u003cbr/\u003e\r\n        \u003cem\u003eExample:\u003c/em\u003e \u003ccode\u003e--select=id,name\u003c/code\u003e\r\n\u003c/dd\u003e\r\n\u003cdt\u003e\r\n        -h, -?, --help\r\n\u003c/dt\u003e\r\n\u003cdd\u003e\r\n        Shows the tool's help text.\r\n\u003c/dd\u003e\r\n\u003c/dl\u003e\r\n\r\nSample Invocation\r\n-----------------\r\n\r\n    csv2cb --doctype=customer --select=id,name --host=http://example.com:8091/customers customers.csv\r\n\r\n    MindTouch CSV2CB - Import CSV files into Couchbase\r\n\r\n    Loading file 'customers.csv'...done (10,000 rows)\r\n    Converting rows...done (10,000 documents)\r\n    Importing documents...done (10,000 documents)\r\n\r\n    2.208 seconds elapsed (loading: 0.197s, converting: 0.253s, importing: 1.758s)\r\n    10,000 records loaded (50,816.132 records/second)\r\n    10,000 records converted (39,512.073 records/second)\r\n    10,000 records imported (5,689.450 records/second)\r\n\r\nRequirements\r\n------------\r\nCSV2CB requires either .Net 3.5 or Mono 2.10 to run.\r\n\r\nLicense\r\n-------\r\nCopyright 2013 MindTouch Inc.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0])\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fcsv2cb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjorg%2Fcsv2cb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjorg%2Fcsv2cb/lists"}