--- id: pyheck version: "0.1.5" license: MIT License Copyright (c) 2022 Kevin Heavey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal… (full text in the JSON record) license_treatment: permissive maintenance: abandoned --- # pyheck — Python bindings for heck, the Rust case conversion library License: permissive · Maintenance: abandoned · Downloads: 285.3K/mo ## What it is and what it does PyHeck is a thin Python wrapper around the Rust heck library that converts strings between different naming conventions. It provides functions to transform text into snake_case, camelCase, and other case styles commonly used in code generation, API design, and data serialization. The package is implemented as compiled Rust bindings, making it fast for bulk conversions. The package has been abandoned since early 2022 with no maintenance or updates since then. While it carries no known vulnerabilities, its lack of active development means bug fixes and feature additions are unlikely. It works with Python 3.7 and later across common platforms via precompiled wheels. Use it for: - Convert API response field names from snake_case to camelCase for JavaScript clients. - Transform database column names to Python variable naming conventions during ORM mapping. - Normalize user input or configuration keys to a consistent case style for comparison. - Generate code or configuration files that require specific naming conventions. - Batch-process strings in data pipelines where case conversion is a preprocessing step. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts strings between case styles (snake_case, camelCase, etc.) via Python bindings to the Rust heck library. Yes, if you need lightweight case conversion and can accept an unmaintained package. The library is stable, has no known vulnerabilities, and the core functionality is unlikely to break. However, do not use it if you require ongoing maintenance, bug fixes, or support for new Python versions beyond 3.7. For active projects, consider a maintained pure-Python alternative. ## Install pip install pyheck uv add pyheck poetry add pyheck ## Installing pyheck Before you install: Medium install friction due to compiled wheels; package is abandoned (last release 2022-02-18, no commits since 2022-07-18), so no maintenance or security updates are forthcoming. License in practice: MIT License permits commercial and private use with minimal restrictions; you must retain the copyright notice and license text. Quickstart: pip install pyheck from pyheck import snake result = snake("We carry a new world here, in our hearts.") print(result) # 'we_carry_a_new_world_here_in_our_hearts' Requires Python >= 3.7; wheels are precompiled for common platforms but installation may require a Rust toolchain on unsupported architectures. Verify before relying: - What case conversion functions are available beyond snake() (e.g., camelCase, PascalCase, kebab-case support). - Whether the package handles edge cases like consecutive capitals, numbers, or special characters consistently. - Performance characteristics compared to pure-Python alternatives for large-scale conversions. ## Package facts - License: MIT License Copyright (c) 2022 Kevin Heavey Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: medium - Maintenance: abandoned - Downloads: 285.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags case conversion library, snake case camel case, string case conversion, text case transformation, naming convention converter, case style converter, string formatting case, string-utilities, rust-bindings, abandoned [View on SkillFed](https://skillfed.io/packages/pyheck) · [View on PyPI](https://pypi.org/project/pyheck/)