{"id":17543362,"url":"https://github.com/chrisdoherty4/python-case-converter","last_synced_at":"2025-10-06T23:16:50.963Z","repository":{"id":62560951,"uuid":"271160757","full_name":"chrisdoherty4/python-case-converter","owner":"chrisdoherty4","description":"A case conversion library for Python.","archived":false,"fork":false,"pushed_at":"2025-05-08T02:29:00.000Z","size":41,"stargazers_count":39,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T13:02:55.786Z","etag":null,"topics":["case","conversion","converter","python","string-manipulation","strings","utility"],"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/chrisdoherty4.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,"zenodo":null}},"created_at":"2020-06-10T02:45:56.000Z","updated_at":"2025-05-08T19:53:36.000Z","dependencies_parsed_at":"2025-01-01T04:08:09.682Z","dependency_job_id":"3630ac5a-5966-44c1-8f33-b93fc42a5e4f","html_url":"https://github.com/chrisdoherty4/python-case-converter","commit_stats":{"total_commits":54,"total_committers":2,"mean_commits":27.0,"dds":0.03703703703703709,"last_synced_commit":"05ec458600f36daa1c5c6cbab63606858dbd8a42"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/chrisdoherty4/python-case-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdoherty4%2Fpython-case-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdoherty4%2Fpython-case-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdoherty4%2Fpython-case-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdoherty4%2Fpython-case-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisdoherty4","download_url":"https://codeload.github.com/chrisdoherty4/python-case-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdoherty4%2Fpython-case-converter/sbom","scorecard":{"id":279742,"data":{"date":"2025-08-11","repo":{"name":"github.com/chrisdoherty4/python-case-converter","commit":"b3eb49b3bf723ebc671ffc48e0c660cee426344e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 2/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T15:26:09.071Z","repository_id":62560951,"created_at":"2025-08-17T15:26:09.071Z","updated_at":"2025-08-17T15:26:09.071Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278693247,"owners_count":26029483,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["case","conversion","converter","python","string-manipulation","strings","utility"],"created_at":"2024-10-21T00:23:53.650Z","updated_at":"2025-10-06T23:16:50.959Z","avatar_url":"https://github.com/chrisdoherty4.png","language":"Python","readme":"# Case Converter\n\n[![pipline](https://img.shields.io/gitlab/pipeline/chrisdoherty4/python-case-converter)](https://gitlab.com/chrisdoherty4/python-case-converter/-/pipelines) [![wheel](https://img.shields.io/pypi/wheel/case-converter)](https://pypi.org/project/case-converter/) ![coverage](https://gitlab.com/chrisdoherty4/python-case-converter/badges/master/coverage.svg) ![license](https://img.shields.io/github/license/chrisdoherty4/python-case-converter)\n\nA robust python package for transforming string cases such as `Hello, world!` into\n `helloWorld` (camelcase).\n\n## General usage\n\n```python\nfrom caseconverter import camelcase\n\ncamelcase(\"Hello, world!\") # output: helloWorld\n```\n\n## Available conversions\n\n### `alternatingcase`\n\n```python\nfrom caseconverter import alternatingcase\n\nalternatingcase(\"Hello, world!\")\n```\n\n```text\nhElLo WoRlD\n```\n\n\n### `camelcase`\n\n```python\nfrom caseconverter import camelcase\n\ncamelcase(\"Hello, world!\")\n```\n\n```text\nhelloWorld\n```\n\n### `cobolcase`\n\n```python\nfrom caseconverter import cobolcase\n\ncobolcase(\"Hello, world!\")\n```\n\n```text\nHELLO-WORLD\n```\n\n### `flatcase`\n\n```python\nfrom caseconverter import flatcase\n\nflatcase(\"Hello, world!\")\n```\n\n```text\nhelloworld\n```\n\n### `kebabcase`\n\n```python\n\nfrom caseconverter import kebabcase\n\nkebabcase(\"Hello, world!\")\n```\n\n```text\nhello-world\n```\n\n### `macrocase`\n\n```python\nfrom caseconverter import macrocase\n\nmacrocase(\"Hello, world!\")\n```\n\n```text\nHELLO_WORLD\n```\n\n#### Additional options\n\n`delims_only : bool` - Only consider delimiters as boundaries (default: `False`).\n\n### `pascalcase`\n\n```python\nfrom caseconverter import pascalcase\n\npascalcase(\"Hello, world!\")\n```\n\n```text\nHelloWorld\n```\n\n### `snakecase`\n\n```python\nfrom caseconverter import snakecase\n\nsnakecase(\"Hello, world!\")\n```\n\n```text\nhello_world\n```\n\n### `titlecase`\n\n```python\nfrom caseconverter import titlecase\n\ntitlecase(\"Hello, world!\")\n```\n\n```text\nHello World\n```\n\n## Options for all conversions\n\n### Stripping punctuation\n\nPunctuation is stripped when doing a case conversion. However, should you\nwish to keep the punctuation you can do so by passing `strip_punctuation=False`.\n\n```python\ncamelcase(\"Hello, world!\", strip_punctuation=False) # output: hello,World!\n```\n\n### Delimeter customization\n\nDefault delimiters used to denote a token boundary.\n\n```python\nDELIMITERS = \" -_\"\n```\n\nYou can pass `delims` to each case conversion function to specify a custom\nset of delimiters.\n\n```python\n# Use a pipe `|` as the only delimiter.\ncamelcase(\"Hello,|world!\", delims=\"|\") # output: helloWorld\n```\n\n## Behavior\n\n### Delimiters\n\nIf multiple delimeter characters are identified next to eachother they will be considered as a single delimeter. For example, `-_` contains 2 different delimeter characters and is considered a single delimeter.\n\n### Boundary definitions\n\n|Name|Description|\n|---|---|\n|OnDelimeterUppercaseNext|On a delimieter, upper case the following character|\n|OnDelimeterLowercaseNext|On a delimeter, lower case the following character|\n|OnUpperPrecededByLowerAppendUpper|On an upper case character followed by a lower case character, append the upper case character|\n|OnUpperPrecededByLowerAppendLower|On an upper case character preceeded by a lower case character append the lower case character|\n|OnUpperPrecededByUpperAppendJoin|On an upper case caharacter preceeded by an upper append the join character. Join characters are context dependent. Example: macro cast join character is `_`|\n|OnUpperPrecededByUpperAppendCurrent|On an upper case character preceeded by an upper case character append the upper case character|\n\n## Contributing\n\n1. Write clean code.\n2. Write new tests for new use-cases.\n3. Test your code before raising a PR.\n4. Use [black](https://pypi.org/project/black/) to format your code.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdoherty4%2Fpython-case-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisdoherty4%2Fpython-case-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdoherty4%2Fpython-case-converter/lists"}