{"id":20509280,"url":"https://github.com/harrisoncramer/pg-playground","last_synced_at":"2026-05-04T17:34:21.526Z","repository":{"id":153913874,"uuid":"475218948","full_name":"harrisoncramer/pg-playground","owner":"harrisoncramer","description":"An easy-to-use PostgreSQL environment, designed for CSV data exploration and PostgreSQL instruction","archived":false,"fork":false,"pushed_at":"2022-04-16T20:19:19.000Z","size":7186,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-05T17:19:21.368Z","etag":null,"topics":["docker","postgresql","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/harrisoncramer.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-03-29T00:03:39.000Z","updated_at":"2022-03-29T00:08:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3779b2b-f868-4974-a967-ac9d344a1d96","html_url":"https://github.com/harrisoncramer/pg-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harrisoncramer/pg-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrisoncramer%2Fpg-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrisoncramer%2Fpg-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrisoncramer%2Fpg-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrisoncramer%2Fpg-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harrisoncramer","download_url":"https://codeload.github.com/harrisoncramer/pg-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harrisoncramer%2Fpg-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32617954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"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":["docker","postgresql","shell"],"created_at":"2024-11-15T20:23:45.421Z","updated_at":"2026-05-04T17:34:21.504Z","avatar_url":"https://github.com/harrisoncramer.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PG Playground\n\nThis repository is meant to be an easy-to-setup, dockerized PostgreSQL database playground that you can easily run locally. It works by converting your CSV files into tables automatically, and then importing the CSV data into PostgreSQL.\n\nThe data included here is baseball data from Sean Lahman's \u003ca href=\"https://www.seanlahman.com/baseball-archive/statistics/\"\u003esite\u003c/a\u003e.\n\n# Requirements\n\n1. \u003ca href=\"https://docs.docker.com/engine/install/\"\u003edocker\u003c/a\u003e and \u003ca href=\"https://docs.docker.com/compose/install/\"\u003edocker compose\u003c/a\u003e\n2. \u003ca href=\"https://csvkit.readthedocs.io/en/latest/\"\u003ecsvkit\u003c/a\u003e\n3. \u003ca href=\"https://www.pgcli.com/install\"\u003epgcli\u003c/a\u003e\n\n# Instructions\n\n1. Drop your CSV files into the data folder. Ensure that the file names do not contain any special characters. These will be used as the names of the PostgreSQL tables.\n2. Run `./setup` file. This will create a file that PostgreSQL will use to copy the data.\n3. Run `docker-compose up` to start up the database.\n4. Run `bin/connect` to connect your shell to the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrisoncramer%2Fpg-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharrisoncramer%2Fpg-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharrisoncramer%2Fpg-playground/lists"}