{"id":15983341,"url":"https://github.com/loristns/spongecasql","last_synced_at":"2025-04-04T20:33:08.115Z","repository":{"id":96935464,"uuid":"244905594","full_name":"loristns/spongecaSQL","owner":"loristns","description":"A mocking spongebob SQL formatter.","archived":false,"fork":false,"pushed_at":"2020-03-04T13:24:43.000Z","size":52,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T17:02:53.747Z","etag":null,"topics":["code-formatter","spongebob","spongecase","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/loristns.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":"2020-03-04T13:19:59.000Z","updated_at":"2022-05-17T16:55:40.000Z","dependencies_parsed_at":"2023-03-14T06:30:16.827Z","dependency_job_id":null,"html_url":"https://github.com/loristns/spongecaSQL","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/loristns%2FspongecaSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loristns%2FspongecaSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loristns%2FspongecaSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loristns%2FspongecaSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loristns","download_url":"https://codeload.github.com/loristns/spongecaSQL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247247838,"owners_count":20908047,"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":["code-formatter","spongebob","spongecase","sql"],"created_at":"2024-10-08T01:41:47.940Z","updated_at":"2025-04-04T20:33:08.080Z","avatar_url":"https://github.com/loristns.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    🧽 SpOnGeCaSqL\n\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003e\n    (spongecaSQL)\n\u003c/h2\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/the-new-sky/spongecaSQL/raw/master/spongebob.jpg\" alt=\"Mocking Spongebob meme\"\u003e\n\u003c/p\u003e\n\n**SQL** is great but it is not *case-sensistive*. Which means that keywords and objects can be called in UPPERCASE or in \u003csub\u003elowercase\u003c/sub\u003e .\n\nThat's bad. It discourage consistency since some developer will write `SELECT`, `select` or even `Select`.\n\nHere is a standard to fix this issue : **🧽 SpOnGeCasE**.\n\n# Usage\n\n```sh\n$ python3 spongecasql.py yourfile.sql\n```\n\n### Before\n\n```sql\n/*\n    Comments are ignored\n*/\n# Those too\n-- Those too\nSELECT *  \nFROM Customer\nWHERE country = 'US'\nAND city = 'New-York City'\n```\n\n### After\n\n```sql\n/*\n    Comments are ignored\n*/\n# Those too\n-- Those too\nsElEcT *  \nFrOm cUsToMeR\nWhErE CoUnTrY = 'US'\nAnD CiTy = 'New-York City'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floristns%2Fspongecasql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floristns%2Fspongecasql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floristns%2Fspongecasql/lists"}