https://github.com/abranhe/decamelize
π Convert a camelized string into snake_case
https://github.com/abranhe/decamelize
abranhe pip py
Last synced: 22 days ago
JSON representation
π Convert a camelized string into snake_case
- Host: GitHub
- URL: https://github.com/abranhe/decamelize
- Owner: abranhe
- License: mit
- Created: 2018-07-25T03:56:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T05:40:01.000Z (almost 7 years ago)
- Last Synced: 2025-03-23T19:51:24.413Z (about 1 month ago)
- Topics: abranhe, pip, py
- Language: Python
- Size: 7.81 KB
- Stars: 9
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
π βdecamelize: Convert a camelized string into `snake_case`# Install
```
$ pip install decamelize
```# Why?
- Turn `CamelCase` to `non_camel_case`
- Clean and focused
- Actively maintained## Usage
```py
import decamelizeprint (decamelize.convert("CamelCase"))
# Eg: CamelCase β camel_case
```# Team
|[](https://19cah.com)|
| :-: |
| [Carlos Abraham](https://github.com/abranhe) |# Related
- [π«βToCamelCase](https://github.com/abranhe/tocamelcase): ~~camelize string~~ turn into `camel case`
# License
[MIT](https://github.com/abranhe/decamelize/blob/master/LICENSE) License Β© [Carlos Abraham](https://github.com/abranhe/decamelize)