{"id":37657248,"url":"https://github.com/beaucronin/basket_case","last_synced_at":"2026-01-16T11:43:36.667Z","repository":{"id":57414110,"uuid":"256787734","full_name":"beaucronin/basket_case","owner":"beaucronin","description":"Python swiss army knife for translating between case styles - camel, kebab, snake, title, etc.","archived":false,"fork":false,"pushed_at":"2020-06-15T23:27:32.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T17:27:25.828Z","etag":null,"topics":["camelcase","camelcase-to-snakecase","python-library","string-casing","string-formatting","string-manipulation","titlecase"],"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/beaucronin.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}},"created_at":"2020-04-18T15:29:21.000Z","updated_at":"2020-06-15T23:27:34.000Z","dependencies_parsed_at":"2022-08-26T20:34:59.914Z","dependency_job_id":null,"html_url":"https://github.com/beaucronin/basket_case","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beaucronin/basket_case","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beaucronin%2Fbasket_case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beaucronin%2Fbasket_case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beaucronin%2Fbasket_case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beaucronin%2Fbasket_case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beaucronin","download_url":"https://codeload.github.com/beaucronin/basket_case/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beaucronin%2Fbasket_case/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"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":["camelcase","camelcase-to-snakecase","python-library","string-casing","string-formatting","string-manipulation","titlecase"],"created_at":"2026-01-16T11:43:35.909Z","updated_at":"2026-01-16T11:43:36.660Z","avatar_url":"https://github.com/beaucronin.png","language":"Python","readme":"# Basket Case\nBasket case is a small, pure-Python swiss army knife for translating strings between case styles. I developed it because in my development work I often need to switch between string renderings: snake_case for Python, slug-names for document names, camelCase for a bunch of things, CONSTANT_NAMES for, well, constants, and Title Case for nice human readability.\n\nI want to be able to move between these fluidly and reliably, and by using a single import statement.\n\n```\nimport basket_case as bc\n\nmy_string = \"a long name for a variable\"\nassert bc.slug(my_string)     == \"a-long-name-for-a-variable\"\nassert bc.title(my_string)    == \"A Long Name for a Variable\"\nassert bc.camel(my_string)    == \"aLongNameForAVariable\"\nassert bc.snake(my_string)    == \"a_long_name_for_a_variable\"\nassert bc.constant(my_String) == \"A_LONG_NAME_FOR_A_VARIABLE\"\n```\n\n## Installation\n\n```\npip install basket-case\n```\n\nPython 3+ only; sorry not sorry.\n\n## Usage\n\n\n\n## Dependencies\n\nBasket case wraps titlecase and python-slugify for their respective capabilities.\n\n## Contributions\n\nPlease!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeaucronin%2Fbasket_case","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeaucronin%2Fbasket_case","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeaucronin%2Fbasket_case/lists"}