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
Note: requires Python >= 3.7.
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 developto 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyheck-0.1.5.tar.gz.
File metadata
- Download URL: pyheck-0.1.5.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c9fe372d540c5dbcb76bf062f951d998d0e14c906c842a52f1cd5de208e183a
|
|
| MD5 |
39e28dd4f7339e20cda178c1b32bd740
|
|
| BLAKE2b-256 |
4215888a078f79c832900928fc33eb52218b907c1432b4433c2474b9199b8d02
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-win_amd64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 193.8 kB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e519f80a0ef87a8f880bfdf239e396e238dcaed34bec1ea7ef526c4873220e82
|
|
| MD5 |
4737eec5ee9ba22626c8ad73deeda59b
|
|
| BLAKE2b-256 |
aa2107e09ee32556379a2d1c17f680a49f52ee89283d51637743ecffcb232d3b
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-win32.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-win32.whl
- Upload date:
- Size: 180.7 kB
- Tags: CPython 3.7+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1501fcfd15f7c05c6bfe38915f5e514ac95fc63e945f7d8b089d30c1b8fdb2c5
|
|
| MD5 |
5defd443785d80bb4d249717de84cc18
|
|
| BLAKE2b-256 |
1f2b1df278fe24e40e5bf13277cd114b47c4e1e498c7850c5ed38f807f945de2
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64201a6d213bec443aeb33f66c60cea61aaf6257e48a19159ac69a5afad4768e
|
|
| MD5 |
a2262bc77c9b63ddd80ff349a2e8f643
|
|
| BLAKE2b-256 |
4679461a4636c6cfdbf0c90f3d8532db728e3ae117d63765a431aa3f1ebfe66b
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.7+, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9ba36060abc55127c3813de398b4013c05be6118cfae3cfa3d978f7b4c84dea
|
|
| MD5 |
86e4f66dc402d76e7201d470ff196678
|
|
| BLAKE2b-256 |
aca670892131b9b82a241758698d8a2ab99fcf79118c838867f777c228858b60
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.7+, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ee256cafbdab6c5fcca22d0910176d820bf1e1298773e64f4eea79f51218cc7
|
|
| MD5 |
320528c00f44ad95b55f449a8ecefac8
|
|
| BLAKE2b-256 |
6c15a0719ae87853e7cf1dba412dc240c32e5dbcf6b3450e01f6d4e52c2ee06e
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.7+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7c07506b9591e27f8241bf7a72bc4d5c4ac30dedb332efb87e402e49029f233
|
|
| MD5 |
fda60c68680b1e9beb47a4cb6fcca490
|
|
| BLAKE2b-256 |
41201385c7a6c80cbb76bf4c0360fc4089ac6bace41e71f68f77b323c6a29ea1
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69387b70d910637ab6dc8dc378c8e0b4037cee2c51a9c6f64ce5331b010f5de3
|
|
| MD5 |
051506c2eb3ea83272424a2aa7f82724
|
|
| BLAKE2b-256 |
33e81d0df9db32bf80b1e6b42117e0ca15cd8daed0bc6186cae53af633b9083b
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ce4a2e1b4778051b8f31183e321a034603f3957b6e95cf03bf5f231c8ea3066
|
|
| MD5 |
aeb39081d7af0a2be6a583c2a7a8454a
|
|
| BLAKE2b-256 |
3f636844333e7734cc4068b5c28b644e5f6c2d0f4d4d886bd6a7fc598d2f4580
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ppc64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d6509138909df92b2f2f837518dca118ef08ae3c804044ae511b81b7aecb4d
|
|
| MD5 |
8579176130f1ebc9675122e40e437f70
|
|
| BLAKE2b-256 |
d34cf3b15b999531fa0f37553171c60ae2065a0e933e9a526080994747dccc81
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9d101e1c599227280e34eeccab0414246e70a91a1cabb4c4868dca284f2be7d
|
|
| MD5 |
ce3a8ec5b4428c0ef7f32311993c1744
|
|
| BLAKE2b-256 |
3ac09e4c997d2a6b0b96336d53570a40f45c172fc8541b9fdc047031fbfe9ea4
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b6169397395ff041f056bfb36c1957a788a1cd7cb967a927fcae7917ff1b6aa
|
|
| MD5 |
8961ff45da71aa761b1bd63d8d849200
|
|
| BLAKE2b-256 |
692b80f335f32851c89a2b5a770928b44195a7cf1f0192ad71d48f7af4430c13
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.7+, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa8dfd0883212f8495e0bae6eb6ea670c56f9b197b5fe6fb5cae9fd5ec56fb7c
|
|
| MD5 |
492d85df89a0399a9491a5bc314b0282
|
|
| BLAKE2b-256 |
2bebb424ce465428ead400360cf5f62842b4749d0bc5da0b9a41f7731684da01
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.7+, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fb50b7d899d2a583ec2ac291b8ec2afb10f0e32c4ac290148d3da15927787f8
|
|
| MD5 |
64dbff32f131ac4aaf74941e2944af7f
|
|
| BLAKE2b-256 |
1c363f94728c4df3166c098be17153763ab11afef163d0129fe1c1553eaaab43
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 583.5 kB
- Tags: CPython 3.7+, macOS 10.9+ universal2 (ARM64, x86-64), macOS 10.9+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
316a842b94beff6e59a97dbcc590e9be92a932e59126b0faa9ac750384f27eaf
|
|
| MD5 |
7e469cc57993e2194d96f67fe05bc87d
|
|
| BLAKE2b-256 |
56eb6f35c9a10f6da3b64de58398464b52db9b3205756a66099bc05c673c8ea9
|
File details
Details for the file pyheck-0.1.5-cp37-abi3-macosx_10_7_x86_64.whl.
File metadata
- Download URL: pyheck-0.1.5-cp37-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 295.7 kB
- Tags: CPython 3.7+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44caf2b7a49d71fdeb0469e9f35886987ad815a8638b3c5b5c83f351d6aed413
|
|
| MD5 |
70e5b8c169ec5a83487bb1f58ebb2f6a
|
|
| BLAKE2b-256 |
d43b733a16d3ffbf8b0786bf3462ada25eea6eb55ec7b512706623f3bb3f202e
|