Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abranhe/decamelize
π Convert a camelized string into snake_case
https://github.com/abranhe/decamelize
abranhe pip py
Last synced: 1 day 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T05:40:01.000Z (over 6 years ago)
- Last Synced: 2025-01-18T10:11:48.683Z (4 days ago)
- Topics: abranhe, pip, py
- Language: Python
- Size: 7.81 KB
- Stars: 9
- Watchers: 1
- 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
|[![Carlos Abraham Logo](https://avatars3.githubusercontent.com/u/21347264?s=50&v=4)](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)