{"id":18581733,"url":"https://github.com/jpablo/django-bulk-insert","last_synced_at":"2026-02-05T03:33:32.578Z","repository":{"id":68198765,"uuid":"1969559","full_name":"jpablo/django-bulk-insert","owner":"jpablo","description":"Bulk insert django objects into mysql databases","archived":false,"fork":false,"pushed_at":"2011-06-29T22:02:56.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T08:47:45.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/jpablo.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2011-06-28T23:38:43.000Z","updated_at":"2014-01-02T11:00:11.000Z","dependencies_parsed_at":"2023-02-20T20:50:23.278Z","dependency_job_id":null,"html_url":"https://github.com/jpablo/django-bulk-insert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpablo/django-bulk-insert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fdjango-bulk-insert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fdjango-bulk-insert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fdjango-bulk-insert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fdjango-bulk-insert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpablo","download_url":"https://codeload.github.com/jpablo/django-bulk-insert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpablo%2Fdjango-bulk-insert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29109301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:27:05.906Z","status":"ssl_error","status_checked_at":"2026-02-05T03:26:43.416Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-07T00:06:55.807Z","updated_at":"2026-02-05T03:33:32.561Z","avatar_url":"https://github.com/jpablo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Mysql Bulk Insert\n\nBulk-inserts django objects by generating the sql as text and using cursor.execute()\n\n\n## Example usage:\n\n```python\nfrom mysql_bulk_insert import bulk_insert\nobjects = [o1,o2,o3,...]\nbulk_insert(objects)\n```\n\nIf you want to inspect the generated sql instead:\n\n```python\nbulk_insert(objects, show_sql=True)\n```\n\n## limitations\n\nbulk_insert doesn't follow references to other models.\nIt just outputs the foreign key.\nIf you have a hierarchy of objects, you need to save each group of objects in the correct order.\n(Or submit a patch :) )\n\nbulk_insert only knows about mysql.\n\n\n\nCheers!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpablo%2Fdjango-bulk-insert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpablo%2Fdjango-bulk-insert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpablo%2Fdjango-bulk-insert/lists"}