{"id":21391628,"url":"https://github.com/multiprocessio/postgres-elastic-integration","last_synced_at":"2025-10-26T06:44:52.418Z","repository":{"id":103665148,"uuid":"484136860","full_name":"multiprocessio/postgres-elastic-integration","owner":"multiprocessio","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-10T13:47:30.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T01:13:04.913Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/multiprocessio.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-21T17:03:10.000Z","updated_at":"2022-04-21T17:03:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"9042dc1d-1e05-4e98-bc24-6d6ab13e87d0","html_url":"https://github.com/multiprocessio/postgres-elastic-integration","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/multiprocessio%2Fpostgres-elastic-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiprocessio%2Fpostgres-elastic-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiprocessio%2Fpostgres-elastic-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiprocessio%2Fpostgres-elastic-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multiprocessio","download_url":"https://codeload.github.com/multiprocessio/postgres-elastic-integration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243873633,"owners_count":20361688,"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-11-22T13:35:39.049Z","updated_at":"2025-10-26T06:44:52.371Z","avatar_url":"https://github.com/multiprocessio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostgreSQL / Elasticsearch sample data generator\n\n## Setup\n\n### PostgreSQL\n\nCreate user and database:\n\n```\n$ sudo su postgres\n$ psql\n\u003e CREATE DATABASE ds_playground;\n\u003e CREATE USER ds_playground WITH PASSWORD 'ds_playground';\n\u003e GRANT ALL ON DATABASE ds_playground TO ds_playground;\n```\n\nMake sure you can log in with user/pass. In `/var/lib/pgsql/data/pg_hba.conf` add:\n\n```\nhost ds_playground ds_playground 127.0.0.1/32 md5\nhost ds_playground ds_playground ::1/128 md5\n```\n\n### Elasticsearch\n\n```\n$ docker run -d -p 9200:9200 -e \"discovery.type=single-node\" docker.elastic.co/elasticsearch/elasticsearch:7.16.3\n```\n\n## Run\n\nThis will take a while. You'll need python3 and psycopg2.\n\n```\n$ python3 generate.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiprocessio%2Fpostgres-elastic-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultiprocessio%2Fpostgres-elastic-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiprocessio%2Fpostgres-elastic-integration/lists"}