{"id":22415060,"url":"https://github.com/nitor-infotech-oss/bulk-data-creation-accelerator","last_synced_at":"2025-03-27T04:17:00.170Z","repository":{"id":98591804,"uuid":"361703013","full_name":"nitor-infotech-oss/bulk-data-creation-accelerator","owner":"nitor-infotech-oss","description":"A component for test data generation using command line arguments that can be dynamically generated using custom excel file, default excel file or command line arguments. Extremely flexible and easy to use with limitless application use.","archived":false,"fork":false,"pushed_at":"2021-05-31T09:36:54.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T09:22:28.409Z","etag":null,"topics":["data-generator","faker","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nitor-infotech-oss.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-26T10:06:58.000Z","updated_at":"2021-05-31T09:36:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"973df38c-c1d2-445a-a2f6-35a86865cb02","html_url":"https://github.com/nitor-infotech-oss/bulk-data-creation-accelerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Fbulk-data-creation-accelerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Fbulk-data-creation-accelerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Fbulk-data-creation-accelerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitor-infotech-oss%2Fbulk-data-creation-accelerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitor-infotech-oss","download_url":"https://codeload.github.com/nitor-infotech-oss/bulk-data-creation-accelerator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245779481,"owners_count":20670686,"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":["data-generator","faker","python3"],"created_at":"2024-12-05T15:11:02.644Z","updated_at":"2025-03-27T04:17:00.143Z","avatar_url":"https://github.com/nitor-infotech-oss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Data Generator Script\n*********************\n\nThis is a python script that is written in python version 3.6\nThis script generates random data with help of Faker library and generates 3 files \\\nthat are (excel, csv and json) saved in output folder inside our project folder\nAn input data file is provided in input folder as an example of how input file should be formatted\nLogs are maintained in LOGS.log file\n\n\nPrerequisites:\n\n    1. System must have python3.6\n    2. Install all the libraries required using command: pip/pip3 install -r requirements.txt\n    3. *.xlsx input file that consists of 2 columns:\n        i. fieldname : pass what output file's header value should be\n        ii. dataType : pass the data type required to generate output \n                        (various data types are predefined in datatypes.py file)\n\n\nTo run this application:\n    # count is iteration value to generate N number of records\n    # path is file path to determine input file format, this should be excel format\n    # default input file is provided in input folder as data.xlsx\n    # 3 output files will be generated according to following scenarios in output folder\n\n    1. Without parameters: python3 main.py\n        Here count value is set default to 100 and an input data file will be considered from \\\n        input folder's data.xlsx file \n\n    2. With count parameter: python3 main.py count=N\n        Here count value is determined by Nth value e.g count=10 and an input data file \\\n        will be considered from input folder's data.xlsx file \n\n    3. With path parameter: python3 main.py path='file_path'\n        Here count value is set default to 100 and an input data file will be \\\n        file_path from path parameter\n    \n    4. With count and path parameter: python3 main.py count=N path='file_path'\n        Here count value is determined by Nth value and an input data file will be \\\n        file_path from path parameter\n    \n    5. With field and data type parameters:\n            python3 main.py FirstName first_name LastName last_name Email email\n\n        Here count value is set default to 100 and output data will generate based on \\\n        parameter values; here all the parameters are divided into set of 2 parts \\ \n        and each part cosist of 2 values:\n        i. first value will be Header of output file\n        ii. second value will be value generated according to specified data type \n\n    6. With count, field and data type parameters:\n            python3 main.py count=N FirstName first_name\n\n        Here count value is determined by Nth value and output data will generate based on \\\n        parameter values\n\n    7. With count, path, field and data type parameters:\n            python3 main.py count=N path='file_path' FirstName first_name\n\n        Here count value is determined by Nth value and output data will generate based on \\\n        input file provided from path parameter and it will append extra field and data type \\\n        passed in parameters\n\n\nNote : if default value is to be used for a specific field having same value for all records:\n        For excel:\n                append the value followed by 'value=' keyword in excel sheet's dataType column\n                e.g: value=XYZ or value=ABC DEF or value=18\n        For command line argument:\n                append the value followed by 'value=' keyword after specifying field name\n                e.g: Firstname value='XYZ' or Name value='ABC DEF' or Age value=18","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitor-infotech-oss%2Fbulk-data-creation-accelerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitor-infotech-oss%2Fbulk-data-creation-accelerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitor-infotech-oss%2Fbulk-data-creation-accelerator/lists"}