--- id: casefy version: "1.1.0" license: MIT License Copyright (c) 2022-2025 Diego Miguel Lozano Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the… (full text in the JSON record) license_treatment: permissive maintenance: aging --- # casefy — Utilities for string case conversion. License: permissive · Maintenance: aging · Downloads: 2.4M/mo ## What it is and what it does Casefy is a lightweight string-casing utility that converts text between naming conventions like camelCase, snake_case, kebab-case, PascalCase, CONST_CASE, Title Case, and several others. It handles Unicode characters and offers options like keeping certain substrings together during conversion or using custom separators. The package has no third-party dependencies, making it a minimal addition to any project that needs to normalize or transform string casing—common in code generation, API design, configuration handling, and data transformation pipelines. The API is straightforward: each casing style has a dedicated function (e.g., `casefy.camelcase()`, `casefy.snakecase()`), and most conversions work by parsing the input string into tokens and reassembling them according to the target convention. The package supports Python 3.6 through 3.13 and is marked Production/Stable, though maintenance activity has slowed since its 2022 launch. Use it for: - Convert API response field names from snake_case to camelCase for JavaScript clients. - Normalize database column names to PascalCase for code generation or ORM mapping. - Transform user input or configuration keys between naming conventions in data pipelines. - Generate variable or function names programmatically in code generation tools. - Standardize log output or report headers by converting identifiers to Title Case or CONST_CASE. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Casefy converts strings between different casing conventions (camelCase, snake_case, kebab-case, PascalCase, CONST_CASE, and others) with Unicode support and no external dependencies. Yes. Casefy is a stable, zero-dependency utility that solves a common string-handling problem. Its lightweight design and broad Python version support make it a safe choice for projects needing case conversion. The aging maintenance status (525 days since last release) is not a blocker—the package is feature-complete and has no known vulnerabilities—but do not expect rapid updates if issues arise. ## Install pip install casefy uv add casefy poetry add casefy ## Installing casefy Before you install: Installs with zero runtime dependencies as a pure Python wheel. Last release was 525 days ago; the repository remains active with a recent commit on 2025-03-07, though the project is aging relative to its initial release in 2022. License in practice: MIT License permits commercial and private use, modification, and redistribution with minimal restrictions—only requiring preservation of copyright and license notices. No compliance burden for most use cases. Quickstart: pip install casefy import casefy string = casefy.camelcase("foo_bar") print(string) # fooBar string = casefy.snakecase("fooBar") print(string) # foo_bar ## Package facts - License: MIT License Copyright (c) 2022-2025 Diego Miguel Lozano Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 2.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags string case conversion, camelcase snake_case converter, text casing utilities, case converter library, string formatting case, convert between naming conventions, pascalcase camelcase transformer, string-utilities, text-processing [View on SkillFed](https://skillfed.io/packages/casefy) · [View on PyPI](https://pypi.org/project/casefy/)