Skip to main content

Convert Case

Cross-language library to convert case with permissive inputs.

Language supported

The library is available in:

Code examples

Code example: JavaScript

import { camelCase } from "../src/index";

camelCase("helloGreat world");  // helloGreatWorld
camelCase("__hello Great--world");  // helloGreatWorld

Code example: Python

from case_convert import camel_case

camel_case("helloGreat world")  # helloGreatWorld
camel_case("__hello Great--world")  # helloGreatWorld

Cases supported

The library can convert to the following cases:

  • camel
  • kebab
  • pascal
  • snake
  • upper

Issues/Bug report or improvement ideas

https://gitlab.com/olive007/case-convert/-/issues

License

GNU Lesser General Public License v3 or later (LGPLv3+)

Metadata

Release files for case-convert 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for case-convert 1.1.0
File Size Uploaded Provenance Actions
case_convert-1.1.0.tar.gz 2.6 kB Without provenance Details for case_convert-1.1.0.tar.gz

Release files / case_convert-1.1.0.tar.gz

Download URL case_convert-1.1.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
38c38b845dcb8537f7c062d99e3311177a24ff44e6765ff5926ab9e3bce0ed55
BLAKE2b-256 checksum
How to use checksums
bd7beda64cbd50cc0e37bb40923ad88ee750f5c97afff2fa8da61ef31ce4c1dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for case-convert 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page