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.2.tar.gz
(24.6 kB
view hashes)
Built Distributions
pyheck-0.1.2-cp39-abi3-win_amd64.whl
(190.7 kB
view hashes)
pyheck-0.1.2-cp39-abi3-win32.whl
(176.9 kB
view hashes)
Close
Hashes for pyheck-0.1.2-cp39-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | baca6a6391fdef8930cbf92bea4534184e5c0d0b889d83aa29c135603e823e03 |
|
MD5 | f4e41b0e6ef0cd155c8ee9db116d9e06 |
|
BLAKE2b-256 | 4a61eb2690a5cfeead4ebc2d19c9b8a8447a8b925e96ea827f9de7fe7022b5eb |
Close
Hashes for pyheck-0.1.2-cp39-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9b3de286fadae418aa4527abfa1f4b538f7e31a6301adce2db4f004d6291dbb |
|
MD5 | 3f946ae2296f6b58fc6121a261f598a3 |
|
BLAKE2b-256 | 65ea7c5f78fa05ffae515ebd3c0707b3dcc17d3148a362f269644e42a0d385c7 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e5b565e9c60deb14d35f9a182d40217410b2a976316285e2def33a2bf1a69d |
|
MD5 | 1f35ec0d75a7124dad58badb6db85f1e |
|
BLAKE2b-256 | b3119cff8119531dc910a88931eb3c1a5241a6540660f31c0988f0cbf2ef7cd2 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c17e685291be369d5dae5c328c3be68cb1029184674c7159c6f4bc1f7c4f3a27 |
|
MD5 | f1064be4bebf9719bbe4546a256ef782 |
|
BLAKE2b-256 | be23d6796312d6ca310842ff7e1f196ff620e9e230f7015f0533bc7a30026507 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d2f2e8c48fc6712ad4b4ddd60fcacd49cac13f9e0499cdd16516875d845fb3 |
|
MD5 | b7db61969d7f0753f43d2607d350da3d |
|
BLAKE2b-256 | 66fe6c9245585626f82d63734ed952fda3667e85225e46a06d81050daf4d4d83 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6c1e93084e98e1d4c8caec2ec941e95f43a51afbb87d43f0e6f01872249055 |
|
MD5 | 71af061081889390da3e0b21ef7013a3 |
|
BLAKE2b-256 | 3392cee71fdf6e9591cd9406572d698135d8025356921d434a16ca36b505d1e6 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c48983fc161ab7f526be5f49ed5a60de41a8a844ac48bb627fc0770efea202a |
|
MD5 | f0e08a4567ccaa224eae0e41784ca2e2 |
|
BLAKE2b-256 | cf4c3118431b8638b13f51385e64c5561e1dc3eb977f0c8b24c566cd4cbb60da |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7fd58e640c5c9b8a1611332501cebf2ba90a46b9ddedbbdc67859133427a37 |
|
MD5 | e467376a1c0ba29d99cff28516e51672 |
|
BLAKE2b-256 | ff9ecc7b36a472ae40e8ae8b6227db3e3be3f98b1d411563c3014efb8c04916e |
Close
Hashes for pyheck-0.1.2-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97370104af9b67b8a2035b6eac4fc1c4ceae6105eded76192f39e6ffbe5ef9c6 |
|
MD5 | 8428b0579463c10dcb6fca80fef08621 |
|
BLAKE2b-256 | 5ad13623126ffb301d334f8013c6499babafe55ec8e5616c7689d16fb08d8d71 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 440f3a745700810889fc313ace64c17259589acf953f786f960a829b4585e721 |
|
MD5 | eeb1a1b74ca4faac832c6eddf57af85f |
|
BLAKE2b-256 | 6a6e26c3033cfc80fb807eab5ad39e93c8200e03d83b89d1edf190298a561f82 |
Close
Hashes for pyheck-0.1.2-cp39-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3167af3dcd323a86975fe150c84fe536f98882acb01f1b1b7ad1eea43b8f48e6 |
|
MD5 | 826bb3835fa4d608e795b96032971504 |
|
BLAKE2b-256 | daffd8b602cf609b3eb70ca60c42f92c207c8e7bbd84fb1ceb405b78946076dd |