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.4.tar.gz
(24.8 kB
view hashes)
Built Distributions
pyheck-0.1.4-cp39-abi3-win_amd64.whl
(190.8 kB
view hashes)
pyheck-0.1.4-cp39-abi3-win32.whl
(177.0 kB
view hashes)
pyheck-0.1.4-cp37-abi3-win_amd64.whl
(193.8 kB
view hashes)
pyheck-0.1.4-cp37-abi3-win32.whl
(180.7 kB
view hashes)
Close
Hashes for pyheck-0.1.4-cp39-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722f431a74e6a18014e7b29328376420ea5f6175bd3ee37af0acd8682dc99d73 |
|
MD5 | 3ffa21bf0b197d4fbbf82868a5fcb685 |
|
BLAKE2b-256 | a5f77dc824bae22f0cf05f93267d67b8308dd39fd9c71a4b3b472a38504709b2 |
Close
Hashes for pyheck-0.1.4-cp39-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34b465336764a65976e8b9549d472d60426c40be79aa464fe11fd0f4948d9d2 |
|
MD5 | 0a54a0aad89350981edd765416d38b32 |
|
BLAKE2b-256 | efdd7334ef95582a1cb63e8d4237f031080a0ecdd7b55d05eb78f1ea81e7ad8a |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fe913050fec74fa15a60bd4d2361cfc150c73e7cdca1b1f249120eff14625d5 |
|
MD5 | 3a69ea1a0c789749511aa5bc64f5e22a |
|
BLAKE2b-256 | a91c6debec58d1394d7a7a65255db1d6c11a8879f95addd5a31838894fd2489e |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c900950adbc94bd1b0a43724f9ff781ba50d2df189fe7142ee00889c6d4aa27f |
|
MD5 | cecb47f0c7168c0c5dc8e5d264dfccfb |
|
BLAKE2b-256 | d957535b0d77084e8cf7797723f20e67afbefb087cff9de07bb23a67275b20ae |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b3835296cfb324acf762ff03defe82946c9a07818e533a4424687f4e25cd23a |
|
MD5 | 10d93fa57e249e9b7d39ca3cd60ef26e |
|
BLAKE2b-256 | cbbaf3f9df004dd991d448f326c79fb15f7af13996b7ba04906d8ef1800b9d64 |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1da78a99363e47d7a18b9a7db7b6ac8301633d7aef51b30deb0dccc1f4184421 |
|
MD5 | 51568ae75d70cc402ab55aaed95cd166 |
|
BLAKE2b-256 | 6a4f387d1dcba42f2a4d8e40345c7e4045c9f4de270af42188441fa7faea04d8 |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72339d44fc1375345ef3c9ffad88465284e601b3248e47d1a9090154c2c1cb48 |
|
MD5 | 0ff99a34363a86edd76386077b79d6d0 |
|
BLAKE2b-256 | ebd4bca94d5b71c7dfc54234fb8e11fd31d8aef614a03b7ad1a11aad76ec2f35 |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 639641e48b14a2e815cb99c0a5c56dc092ca8136b9d6771cd0c3271cade6f710 |
|
MD5 | 37717970d7fef148801b78371345b416 |
|
BLAKE2b-256 | ca3e1c6c803278cad730f74dcb9ef72b2a3980d92ac97b02358e6d1bb77122ad |
Close
Hashes for pyheck-0.1.4-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9941faf6c74f58c796f83c31017c57e04a72cd0e44b2714ad13028075e0dbd88 |
|
MD5 | 2600ac4124e250d9d4f6c78913d5d5c9 |
|
BLAKE2b-256 | 000ba070df753b2c1dda9ed60f35342d8d14dda7cbf966f2b1461358f15750a1 |
Close
Hashes for pyheck-0.1.4-cp39-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d52e0efa7edd12d16262eb52d60797241f606d68290f440bc04fcfca0dcc0e |
|
MD5 | 3f9484b0a52a3f6473fc5459b8fa8d70 |
|
BLAKE2b-256 | 633549a9fee39db30193e6f72a41a1341610174b72bb0eab97d90e24710f517f |
Close
Hashes for pyheck-0.1.4-cp39-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a53c1ca9bb81f9de06ecca12f4a151ec6c832cd7b7c5427674a82b3cd73b6214 |
|
MD5 | ac16c8e259ba1457d032c28dd90a59c5 |
|
BLAKE2b-256 | 3fe5ebd8ce01d6d6a58286f4e316d8aae04cfac6230c9ce8c2b2a3cbc747d327 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041316d2f9a0182dc28034935e83baba6e54a2b5fccf8a58a8cc0a95a8c92240 |
|
MD5 | e6298de8e74707cffc707d795302cade |
|
BLAKE2b-256 | 10760f31635b2d2e511639c934cc1984cb9a6e15df0fbde8c1fe9f21c14b7276 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8ffa619b3ccf72b2173704827a016a72215f75dabced15e19bfed6bfe6afb63 |
|
MD5 | 1dad8ab3fb50a04d2e01b9fcefbc564f |
|
BLAKE2b-256 | dbe4053dfde0d821489ee245805b8038c19d5d9af5f173370a5a95d44b833cd6 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60dd2d6e95d42012cd23e21c58e2d876ca691b7caf8c26840e4557e495d66f12 |
|
MD5 | 2c61df929af0ebb37a068dc5f472ef8b |
|
BLAKE2b-256 | fe644a9f3e7c7d68fbdd518ef1e2eab272d7a5cfdd9b820032c257d439176348 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-musllinux_1_2_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a3113f3e3680801c7af7a2722283f8ff5282566f680502efe8b71e13d44eaf |
|
MD5 | 1111b5e2725434807fa354eb53469c05 |
|
BLAKE2b-256 | acba7b7808f7d8aa94873c066bdc32ef147ee5eff2016f97b165b164d3f70f81 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b82f013d08f8291ea0f577c74c2ea0d2ce802c319c8d50dbfdf5ead3332e0b |
|
MD5 | d19ae9259b4915b5a799f68ab205ff8f |
|
BLAKE2b-256 | daa3dd9edfd510e234b7fa29c2b852c4079f9d0507463fc20f4348a2bc16e500 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf133c3fca35831c9842076c0932cae230ea25b1ad931361e9554da3d3257d5 |
|
MD5 | 56f25b3fa6376050c8776cf2dcc898db |
|
BLAKE2b-256 | f0770182cd7537578f55c6a00548226b51c6fbe7e9f0eebe44b355d0d85ed02b |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95652a4e99c0b4990066be08a29e1d9796ebdeb936ee8f2ec6b8326f90914254 |
|
MD5 | 1a0a6110829d82a8c85f703e4a33c74b |
|
BLAKE2b-256 | 8a703df4ed806861120baef123e48330a9c68670c3d0288158944ab51c3e46cb |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a88ec59637d363e39530910b812c71307c0cc63b2a2ddee40787d20c12dda92 |
|
MD5 | 12f88aa7c20a6dec3680007d6a7148bb |
|
BLAKE2b-256 | 41028ebb1ea9404a46cc1006d0737b99f138a4772e4dccd8931c87f6ba5d391d |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bcaa67968e8e5d3692efa488947be8156ea4ccb033b86adf0aabbaf6c72cabb |
|
MD5 | c43b59316941bc17ba3194b166003532 |
|
BLAKE2b-256 | 44a77c7976ce3da6f05a8c57f6717f0dbcbeaf3cb8d9650747e18f156a6ebef1 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce8ad66398acd4ffdd7320ddad6382ff149ba5f5b2b8f94e7a1558169e7891a |
|
MD5 | 23e2b6b7e5aad488e09cb573b714ed38 |
|
BLAKE2b-256 | 283b23b54a9d92b583e69d97cf2ed851efc0d7db054a7db46dd9739e2d3ed8c0 |
Close
Hashes for pyheck-0.1.4-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9badb0f269bf1005360d19e0c54a00f7042a7e1932908e9b8c3340b24400dc30 |
|
MD5 | 2a65802252b1f8437a0e2b3a6b2915dc |
|
BLAKE2b-256 | 886e7ed6a9c38a6f9024dc2c79810a7c1212c5093868a492b729b1946619922a |
Close
Hashes for pyheck-0.1.4-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92593b4ee92fbd9b3ffec75090476f1d345866ffdc7ffc8ef389b0481c204e28 |
|
MD5 | 62d8efce1fdef770490204f78c4f6fa9 |
|
BLAKE2b-256 | 4df06894ca1baa184ec9258636cce24cdf7a50618f0f1a866f6b038508628eea |
Close
Hashes for pyheck-0.1.4-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c8b0ee50cf8ee7ddde854c579bef8f04e412e6fcfc40ca5b0fcd5697b85b395 |
|
MD5 | c989293b77ee2b90ab4edb266443bc0d |
|
BLAKE2b-256 | 39d0b4d2c64cf43b55d2f7870a645fe8a4d6f6226502e18614d3d0adbecfb850 |