{"id":22313572,"url":"https://github.com/experrior/db-mockdata","last_synced_at":"2026-01-05T09:06:12.439Z","repository":{"id":247074836,"uuid":"824957347","full_name":"Experrior/db-mockdata","owner":"Experrior","description":"Project for generating mock data, conforming to the specified DB schema.","archived":false,"fork":false,"pushed_at":"2024-07-18T21:22:23.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-20T06:51:30.235Z","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/Experrior.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}},"created_at":"2024-07-06T11:52:24.000Z","updated_at":"2024-07-06T23:14:04.000Z","dependencies_parsed_at":"2024-10-25T22:49:49.338Z","dependency_job_id":"a16d782b-94fa-4a6e-9567-dee4aa8a6677","html_url":"https://github.com/Experrior/db-mockdata","commit_stats":null,"previous_names":["experrior/db-mockdata"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experrior%2Fdb-mockdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experrior%2Fdb-mockdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experrior%2Fdb-mockdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Experrior%2Fdb-mockdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Experrior","download_url":"https://codeload.github.com/Experrior/db-mockdata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245256732,"owners_count":20585962,"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-03T22:07:37.825Z","updated_at":"2026-01-05T09:06:12.433Z","avatar_url":"https://github.com/Experrior.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Mock data generation\n\nThis is small project for generating artificial / mock data, conforming to the specified DB schema.\nIt can be useful to either generate pseudo-realistic data in the database, or prepare large amounts of mock data for stress testing.\n\n\nThe package allows for generating mock data for specified database schema.\n\n## Configuration file schema:\n\n```  \n{\n  \"connection\": \"postgresql+psycopg2://admin:test@172.17.0.1:5432/ChmielDB\",\n  \"tables\": {\n        \"Projects\":{\n        \"id\": \"PK serial\",\n        \"project_name\": \"first_name\",\n        \"project_owner\": \"FK Users.id\"\n      },\n      \"Users\": {\n        \"id\": \"PK serial\",\n        \"first_name\": \"first_name\",\n        \"last_name\": \"last_name\",\n        \"email\": \"email UNIQUE\",\n        \"password\": \"password\",\n        \"role\": \"OPTION IN (USER, ADMIN)\",\n        \"address\": \"address\",\n        \"birth_date\": \"timestamp\",\n        \"phone_number\": \"phone\"\n      },\n      \"IntermediaryTable: Projects_Users\": {\n        \"project_id\": \"FK Projects.id\",\n        \"user_id\": \"FK Users.id\"\n      },\n  },\n  \"objects_count\": {\n    \"Users\": 25,\n    \"Projects\": 10,\n    \"Projects_Users\": 250,\n  }\n```\n\n\n### Allowed column keywords:\n\n\n\n\n#### Disclaimer:\nThe program only checks for uniqueness and integrity withing itself, there can still be error if there's already existing data in the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperrior%2Fdb-mockdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexperrior%2Fdb-mockdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexperrior%2Fdb-mockdata/lists"}