Python bindings for heck, the Rust case conversion library
Project description
pyheck
PyHeck is a case conversion library (for converting strings to snake_case, camelCase etc). It is a thin wrapper around the Rust library heck.
Installation
pip install pyheck
Example
>>> from pyheck import snake
>>> snake("We carry a new world here, in our hearts.")
'we_carry_a_new_world_here_in_our_hearts'
Development
Setup
- Install poetry
- Install dev dependencies:
poetry install
- Activate the poetry shell:
poetry shell
Testing
- Run
maturin develop
to compile the Rust code. - Run
make fmt
,make lint
, andmake test
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyheck-0.1.3.tar.gz
(24.7 kB
view hashes)
Built Distributions
pyheck-0.1.3-cp39-abi3-win_amd64.whl
(190.7 kB
view hashes)
pyheck-0.1.3-cp39-abi3-win32.whl
(176.9 kB
view hashes)
Close
Hashes for pyheck-0.1.3-cp39-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 890c00e0998aee35acc40a8e01eb80df16084c419668bbb02ab1a180200a90e3 |
|
MD5 | 30e3dca87d4e892560e08da0ee310411 |
|
BLAKE2b-256 | 5c0c459c372776241acb418ff76d1403fdd6f26f7a81a0b2740d141f12a3040f |
Close
Hashes for pyheck-0.1.3-cp39-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de3ddcfcc8b9815b9a7a7f6a776e77bd5a709c114d2a89f6d963413cf86f970b |
|
MD5 | f410cad1b5ec24c7b23b39ba43f5f7d8 |
|
BLAKE2b-256 | 65131c8cb4fe76eceb15c8b1b619e4bcae864c9c2f1662af9b6bb14c5d94e984 |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9d1a11a268d1e9f277e3b53e67e873ad69ed21cc4885b5e3e496ffa17be8ad |
|
MD5 | 59c0e3186f82614c793f33c10a3e0b19 |
|
BLAKE2b-256 | 8101f4eeebd65e846f9489bdea4251fdfbc2773e16be1ddf2e8d1a1cf49682f9 |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fca06012f4ec7c6b2e1103b95ac89f6e60c37aa6da529657115cb6e8414db1a |
|
MD5 | 2e05048fd94cfc122d42d48220dfcede |
|
BLAKE2b-256 | a456e69471b8837c33b713526bd22f571f2856a2ff917c23284a399fa717d9bc |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f1fd86561bcc0c91060e69f232d43549854ea02b52192c8c50948d4bd0ec9cc |
|
MD5 | c235f90e0a000ce8cdd7470c088a197d |
|
BLAKE2b-256 | 5b83386d406a7e32febc3badb77a087d199284c01058cb749b1e6bd46b03bd06 |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6380b515db2c9ebac1809401aa3b858f3d94adbf808d2791b5e3bb90e4e8f84c |
|
MD5 | 0b6144cd0d2b42bacab971dd219fab59 |
|
BLAKE2b-256 | b18433eeb46ef94a4cc92adb04afa784934533c4a1732805adb3038d11da3d8b |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8234b79d134be4eccdf96ccd823f90b352dfa467bf5391fa438616de17d3b873 |
|
MD5 | ae7b1936e0544af1ac29ee77b2e748b8 |
|
BLAKE2b-256 | ea89436573a332897db406a4f56020bb01783b7cb2e311496e76e2638b2f85c6 |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a3abb4ed37ef1289c7a8393565f4291465728b18f889edf90c0e33cd2c3b55 |
|
MD5 | 628b79604e3e238b9919343f8c1362ad |
|
BLAKE2b-256 | 1fd9e215dfc4d1b5fc44b315e62dad8660fe0b499c5f146417733fdc296e623d |
Close
Hashes for pyheck-0.1.3-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e1c0ccf55d92923820e923151240711107bf4583993f181878b1880bf50386 |
|
MD5 | de1a546e8cbfe2990c36f1ef8c3b6013 |
|
BLAKE2b-256 | 00935ec4aa3dcb4a51e44d951c4ef7bc37a3955a66edf9c29709572bd4f3f3bc |
Close
Hashes for pyheck-0.1.3-cp39-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183a2effe2c82680db1c12cd62ad52d7562f136913f68d352deee1093c0274eb |
|
MD5 | 9e8308d886e69703f383bb7bcbde86ca |
|
BLAKE2b-256 | 34df7d8833c204994ddfe54ed2b8f333823acdc59bb90edb72da78015b4807ea |
Close
Hashes for pyheck-0.1.3-cp39-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03961fc6b40b16efe9aa5588c98ae05c0d3ba7e6d8e753ab3ae3cdfcb155afd9 |
|
MD5 | c625d5ea1f281cd7bbb62e08f1a61274 |
|
BLAKE2b-256 | 075feef4539d8161464b01cf294ceee8344aee5f90405c887af025588e100ed9 |