{"id":23701128,"url":"https://github.com/ehanlin/csv-map-converter","last_synced_at":"2025-08-05T15:10:20.055Z","repository":{"id":62565731,"uuid":"82663927","full_name":"eHanlin/csv-map-converter","owner":"eHanlin","description":"It is csv converter to be able to get multi-values.","archived":false,"fork":false,"pushed_at":"2023-01-16T09:04:16.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-31T11:12:32.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/eHanlin.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":"2017-02-21T09:56:07.000Z","updated_at":"2023-01-16T09:04:21.000Z","dependencies_parsed_at":"2023-02-10T02:00:46.378Z","dependency_job_id":null,"html_url":"https://github.com/eHanlin/csv-map-converter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Fcsv-map-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Fcsv-map-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Fcsv-map-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Fcsv-map-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eHanlin","download_url":"https://codeload.github.com/eHanlin/csv-map-converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776603,"owners_count":19695140,"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-12-30T09:32:11.798Z","updated_at":"2025-02-20T04:27:13.027Z","avatar_url":"https://github.com/eHanlin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"csv_map_converter\n=========================================================\n\n[![Build Status](https://travis-ci.org/eHanlin/csv-map-converter.svg?branch=master)](https://travis-ci.org/eHanlin/csv-map-converter)\n\nIt's able to convert csv data when you need get model from csv.\n\n## Install\n\n```sh\npip install csv-map-converter\n```\n\n## Usage\n\n```py\nimport csv\nimport io\nimport csv_map_converter\nfrom csv_map_converter.models.fields import *\n\nclass User():\n    enabled = BooleanField()\n    account = StringField()\n    password = StringField()\n\n\ncsv_data = io.StringIO(u\"\"\"enabled, account, password\n1,tomcat,1234\n0,apache,1234\n\"\"\")\n\nrows = [row for row in csv.reader(csv_data)]\n\nresult = csv_map_converter.convert(rows, User)\n\nprint(result.models)\n```\n\n## Test\n\n```sh\ntox\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehanlin%2Fcsv-map-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehanlin%2Fcsv-map-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehanlin%2Fcsv-map-converter/lists"}