{"id":19811803,"url":"https://github.com/bybenpuls/table-builder-pg","last_synced_at":"2026-01-29T09:15:11.620Z","repository":{"id":248107680,"uuid":"827775383","full_name":"byBenPuls/table-builder-pg","owner":"byBenPuls","description":"Simple tables creator","archived":false,"fork":false,"pushed_at":"2024-07-16T22:57:03.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T11:58:10.282Z","etag":null,"topics":["asyncpg","pg","postgresql","psycopg2","python","python-sql","sql"],"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/byBenPuls.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-12T10:51:05.000Z","updated_at":"2024-07-16T22:57:06.000Z","dependencies_parsed_at":"2024-11-12T09:39:56.660Z","dependency_job_id":null,"html_url":"https://github.com/byBenPuls/table-builder-pg","commit_stats":null,"previous_names":["bybenpuls/table-builder-pg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/byBenPuls/table-builder-pg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byBenPuls%2Ftable-builder-pg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byBenPuls%2Ftable-builder-pg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byBenPuls%2Ftable-builder-pg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byBenPuls%2Ftable-builder-pg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byBenPuls","download_url":"https://codeload.github.com/byBenPuls/table-builder-pg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byBenPuls%2Ftable-builder-pg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259360728,"owners_count":22845817,"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":["asyncpg","pg","postgresql","psycopg2","python","python-sql","sql"],"created_at":"2024-11-12T09:27:50.648Z","updated_at":"2026-01-29T09:15:06.596Z","avatar_url":"https://github.com/byBenPuls.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postgresql Table Builder\n \n### 🌐 Installation and updating\n\n`py -m pip install --upgrade pg_table_builder`\n\n\n\n### ⚙️ Features\n\n\nYou can get SQL query string for creating table\n\nExample:\n\n```python\nfrom pg_table_builder import Table, Column, Serial, Varchar, Text\n\nTable(\n    \"users\",\n    Column(\"id\", Serial(primary_key=True, not_null=True)),\n    Column(\"username\", Varchar(limit_size=10, not_null=True)),\n    Column(\"description\", Text(default_expression=\"'It''s your description'\"))\n)\n\n```\n\n```sql\nCREATE TABLE IF NOT EXISTS users (\n\tid SERIAL PRIMARY KEY NOT NULL,\n\tusername VARCHAR (10) NOT NULL,\n\tdescription TEXT default 'It''s your description'\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbybenpuls%2Ftable-builder-pg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbybenpuls%2Ftable-builder-pg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbybenpuls%2Ftable-builder-pg/lists"}