$npx skillfedfor your agent

camel-converter

Converts a string from snake case to camel case or camel case to snake case

Worth itPyPI UtilitiesReleased Mar 20261.9M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — camel_converter-5.1.0-py3-none-any.whl
v5.1.0 · released 2026-03-05 · Python >=3.10

Yes. Zero runtime dependencies, permissive MIT license, active maintenance, and broad Python version support (3.10–3.14) make this a safe, low-friction addition. Install it when you need to bridge naming conventions between Python and external APIs or JSON data—the common case for web services and data integration work.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with no runtime dependencies.
  • Actively maintained as of 2026-03-05, marked Production/Stable, and supports current Python versions from 3.10 through 3.14.

License · maintenance · safety

permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-03-05 (162 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,947,650 downloads/mo, #3,414 on PyPI

Verify before relying

pip install camel-converter

from camel_converter import to_snake, to_camel

snake = to_snake("myString")  # 'my_string'
camel = to_camel("my_string")  # 'myString'
  • Behavior when handling acronyms or consecutive uppercase letters (e.g., 'HTTPServer' → 'http_server' or 'h_t_t_p_server')
  • Performance characteristics with deeply nested dictionaries or very large key sets
  • Whether the optional Pydantic extra is compatible with Pydantic v2
Same gist for agents: .md · .json

What it is and what it does

Camel Converter is a lightweight utility for transforming naming conventions between camelCase (used in JSON and JavaScript), snake_case (Python convention), and PascalCase. It operates on individual strings, dictionary keys, and class attributes, making it useful when bridging Python code with external APIs or data formats that use different naming standards.

The package provides standalone functions (to_snake, to_camel, to_pascal), dictionary converters (dict_to_snake, dict_to_camel, dict_to_pascal), decorators for automatic conversion on function return values, a base Converter class for adding conversion methods to custom classes, and an optional Pydantic integration (via the pydantic extra) that automatically handles case conversion in model serialization and deserialization.

Use it for

  • Parse JSON APIs that use camelCase keys into Python objects with snake_case attributes
  • Convert Python dictionaries with snake_case keys to camelCase for JSON serialization to external services
  • Decorate functions that return dictionaries to automatically normalize key naming conventions
  • Build Pydantic models that accept camelCase input data and expose snake_case fields internally
  • Create custom classes that serialize to camelCase while maintaining snake_case in Python code

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Zero runtime dependencies, permissive MIT license, active maintenance, and broad Python version support (3.10–3.14) make this a safe, low-friction addition. Install it when you need to bridge naming conventions between Python and external APIs or JSON data—the common case for web services and data integration work.

Install

camel-converter on PyPI

Before you install

Low friction install with no runtime dependencies. Actively maintained as of 2026-03-05, marked Production/Stable, and supports current Python versions from 3.10 through 3.14.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install camel-converter

from camel_converter import to_snake, to_camel

snake = to_snake("myString")  # 'my_string'
camel = to_camel("my_string")  # 'myString'

Verify before relying

  • Behavior when handling acronyms or consecutive uppercase letters (e.g., 'HTTPServer' → 'http_server' or 'h_t_t_p_server')
  • Performance characteristics with deeply nested dictionaries or very large key sets
  • Whether the optional Pydantic extra is compatible with Pydantic v2

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 162 days since the last release
First released
Downloads1,947,650 / month, #3,414 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Evidence: camel_converter-5.1.0-py3-none-any.whl

Tags

Capabilities
camel case to snake case convertersnake case to camel casejson key naming conventioncase conversion utilitiesdictionary key transformationpydantic camel casestring case conversion
Topics
json-interopnaming-conventions
PyPI keywords
camel-caseconverterpydanticpythonsnake-case

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “json key naming convention”

  • camel-converterConverts strings and dictionary keys between camelCase, snake_case,…
  • pyhumpsConverts strings and dictionary keys between snake_case, camelCase,…
  • djangorestframework-camel-caseConverts JSON field names between camelCase and snake_case in Django…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also djangorestframework-camel-case · pyhumps · case-convert · case-conversion · pyheck · stringcase · jinja2-strcase · boa-str · humps · textcase