{"id":21088126,"url":"https://github.com/wklee610/datapush","last_synced_at":"2026-01-25T18:01:59.211Z","repository":{"id":261997411,"uuid":"885434926","full_name":"wklee610/datapush","owner":"wklee610","description":"MySQL Data Generator","archived":false,"fork":false,"pushed_at":"2024-11-18T14:33:44.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-08T10:51:03.050Z","etag":null,"topics":["automatic","data","data-generator","database","dataset","db","dynamic","generator","mysql","test","testing-tools"],"latest_commit_sha":null,"homepage":"","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/wklee610.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-08T15:22:31.000Z","updated_at":"2025-01-04T16:25:17.000Z","dependencies_parsed_at":"2024-11-09T20:23:52.315Z","dependency_job_id":"141d77cf-ae2c-48c6-9853-2b647a045d74","html_url":"https://github.com/wklee610/datapush","commit_stats":null,"previous_names":["wklee610/datapush","wklee610/datagen"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wklee610/datapush","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wklee610%2Fdatapush","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wklee610%2Fdatapush/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wklee610%2Fdatapush/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wklee610%2Fdatapush/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wklee610","download_url":"https://codeload.github.com/wklee610/datapush/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wklee610%2Fdatapush/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28756432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automatic","data","data-generator","database","dataset","db","dynamic","generator","mysql","test","testing-tools"],"created_at":"2024-11-19T21:15:01.436Z","updated_at":"2026-01-25T18:01:59.186Z","avatar_url":"https://github.com/wklee610.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Datapush\n\nDatapush is a Python package that generate data to MySQL Database dynamically.  \n\nWhen you need data for MySQL for some reasons (for test), and too lazy to make mock data, here is the answer.  \n\n***Just enter your table, datapush will check each column and automatically generate the appropriate data!***\n\n## Download\n\n```bash\npip install datapush\n```\n\n## Usage\n```python\n# Connect to db\nconn = datapush.mysql.connect(\n    host='localhost',\n    port=3306,\n    user='root',\n    password='',\n    database=''\n)\n\n# Make generator with connection\ngenerator = datapush.Generator(conn)\n\n# Generate!\ngenerator.generate(\n    table='example_table'\n)\n```\n\n## Option\nIn generator.generate(), there has several options.\n\n    Args:\n        - table         (str): The name of the table.\n        - count         (int): The number of data you want to generate. (default: 10)\n        - **option      (dict): Some specific data for each column\n                        you want to generate (uuid, username, ip, etc...)  \n                        ex) user=id, uuid=uuid, ip_address=ip,   \n                        ex) column_name=type\n\n## Extra Usage\n```python\ngenerator.generate(\n    table='example_table',\n    count=1000,\n    char_col='ip',          # column_name is char_col and make unique ip\n    text_col='id',          # column_name is text_col and make unique id\n    varchar_col='uuid'      # column_name is varchar_col and make unique uuid\n)\n```\n\n## Note\nCurrently, we don't support spartial data type (geometry, point, polygon etc...)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwklee610%2Fdatapush","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwklee610%2Fdatapush","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwklee610%2Fdatapush/lists"}