Python bindings for decancer.
Project description
decancer_py
Python bindings for decancer.
Installation
You can get started with decancer_py by installing from PyPI:
pip install -U decancer-py
Usage
decancer_py can be used to turn sketchy text strings into their more basic counterparts.
Two functions are exported from decancer_py:
parse- Parse a jank string to a normal string.contains- Check if some string contains some other string.
The contains API is altered a bit from the decancer crate.
The result from parse will always be in ALL LOWERCASE.
By default contains will attempt to parse the string and then see if
the string is contained. Pass parse=False to skip the parsing step.
To be clear, using "s" in "string" is going to be more performant than
calling contains due to the overhead of the FFI. The main use case is
if you want to check if some regular string is in some jank string.
from decancer_py import parse
parsed = parse("𝔂EE𝓣")
assert parsed == "yeet"
from decancer_py import contains
assert contains("yeet", "ye")
assert contains("𝔂EE𝓣", "ye")
assert not contains("𝔂EE𝓣", "ye", parse=False)
License
decancer_py is licensed under the MIT License.
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 decancer_py-0.1.0.tar.gz.
File metadata
- Download URL: decancer_py-0.1.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dc5d59a3943e48c06530c623fd378c4b190345a5bdc3c18f6ad17f62d0cf1f2
|
|
| MD5 |
bb2d4c699f253d5f8cca3412d4ff90ff
|
|
| BLAKE2b-256 |
b5b64509532e1b64a93c0de0feae27abf48f7ed61e8a15a1f54f0d3676ad0a02
|
File details
Details for the file decancer_py-0.1.0-cp310-none-win_amd64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp310-none-win_amd64.whl
- Upload date:
- Size: 123.7 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6cb7b2569db58718d85c66251f4283e7ec30b62e4ca34c78f94b1cd164b256b9
|
|
| MD5 |
0c2c7ff4e220b29a7c889355014b2beb
|
|
| BLAKE2b-256 |
a8ed80549e940bd88559595525aa352d8e9cfb5478ab7142807c70e72dde7732
|
File details
Details for the file decancer_py-0.1.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 182.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dbbe66158228acd18ca9431a36cfa182d6fd9fd7cc12714bf4554623cace6ea
|
|
| MD5 |
1f8268dbe4bd859f35de32beb93f236c
|
|
| BLAKE2b-256 |
05b3616601984bc39cb590f81f6a9483ebd2db1249b44111e3e6daecb2ebca56
|
File details
Details for the file decancer_py-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 181.2 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5e2de5b5a4c0ccbe16a1d8fd21ca2dcefd2af5dbc30357242519de043a271e6
|
|
| MD5 |
2eadc36de17217cb3c7aeb187d48abd7
|
|
| BLAKE2b-256 |
cde32315a2daea3fe4002e3e027b72df9242ff1b3464e485daf14eedfd66ac69
|
File details
Details for the file decancer_py-0.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 192.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a23f47e8327a073324f0d733a9939e98da0e003fe8e3b3871f78592c07cd0be7
|
|
| MD5 |
0bdd6102ec496d018fc3b77cfaf8673e
|
|
| BLAKE2b-256 |
4439a1d0f541e8fe1f9c5abeed9925bc194bc25911fecdd943d05aafce9df8e1
|
File details
Details for the file decancer_py-0.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 211.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ffdd2e00c8a3ab6842db3ffbdb82d0d7a9049d22e8edc679ae5567d66ce160
|
|
| MD5 |
9ab504fc0fd4158f39de777135ea7341
|
|
| BLAKE2b-256 |
7fd436c0bda358ad0f4b33c3dcfb5ffa5f75f39b8728ac70e42d014940b7dc23
|
File details
Details for the file decancer_py-0.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 341.6 kB
- Tags: CPython 3.10, 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.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ce5ee52871a7b112c5696dc89395e4095276b5d4f70fb6ca581902595e6d41
|
|
| MD5 |
9a77c0a3aa5054d44a368de0334bc605
|
|
| BLAKE2b-256 |
ff0ec61b4cadfd833d9a1738d5ae94c23e74d2faaf81befebda4b7a93ca2d351
|
File details
Details for the file decancer_py-0.1.0-cp39-none-win_amd64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp39-none-win_amd64.whl
- Upload date:
- Size: 123.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514fabafa6c92b8a3b228b37145c4b1fd6fe6b5fca8dd2ece1d4a7443866a7c9
|
|
| MD5 |
f0517ccbf419d75c6cbd8ddeaf957cbb
|
|
| BLAKE2b-256 |
8d6be6094593c67ed672c5557f859abdb6259221b3c0d5ea8527fbb9f5c26f52
|
File details
Details for the file decancer_py-0.1.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 182.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56193762f27c6bf4381b23d28ec7f4d67b4b1b3c0c33995445b496ac453ce740
|
|
| MD5 |
5c437af94c5f7222cd65f386ecbaf471
|
|
| BLAKE2b-256 |
e8d7898f1bc2f99141351876e7fbb93c85deed693cd38dc2f9d24047eeebddbc
|
File details
Details for the file decancer_py-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 181.1 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
420a8ca6e58055e8ec7b825672661c8a738802ddb8b499337b7474326b84e12d
|
|
| MD5 |
e591fffec21baf09568cf8ab10de2e4c
|
|
| BLAKE2b-256 |
18ce90eb12e1e5de08f4450b736dfa301677116092e7c1705cd71716b361a268
|
File details
Details for the file decancer_py-0.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 192.5 kB
- Tags: CPython 3.9, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adb09577a9eae7b20017b39806baacb878627acb287a5c9a97c8f0a892c51459
|
|
| MD5 |
c2b6932626251c116e47afddf27c8e5d
|
|
| BLAKE2b-256 |
72edc65ff3a7b6fc48b9a8e048e3a30acd694828e2a91ad84652fe6ebc221b29
|
File details
Details for the file decancer_py-0.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 211.8 kB
- Tags: CPython 3.9, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca341a366460dcf9e9581a5728fffc36f554a017516c207ccb80b4cef0cc9472
|
|
| MD5 |
50876b85a895b2bbf80c4cdc3033df01
|
|
| BLAKE2b-256 |
8b74b03fead49c03aee7fb9f064ea66a8cdac9a3c930a31ed7bc83ab573a7eea
|
File details
Details for the file decancer_py-0.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 341.4 kB
- Tags: CPython 3.9, 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.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
457c66e805a7b3bb6cbfcf9d2bbee468425edadbb337e5d5a6930f545de6afea
|
|
| MD5 |
3084b1625722a9a4c21002ef2bd8e96d
|
|
| BLAKE2b-256 |
b66a3838e301692794dc888733ad31e63b9d446286ce71650b6395b7f511f710
|
File details
Details for the file decancer_py-0.1.0-cp38-none-win_amd64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp38-none-win_amd64.whl
- Upload date:
- Size: 123.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1fee04db04b26f693570eb236ea9a72600fcff864ed9a4912d7835053eca263
|
|
| MD5 |
c21c2ca5fe0d847254506da8488c58c9
|
|
| BLAKE2b-256 |
628f1e9a96774b54582f1a665c174c74e845b73dcd5f56b1c6fc738600a3ac54
|
File details
Details for the file decancer_py-0.1.0-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 182.9 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
537b4d53e57d07d4b9527481083d3f0793e78d153b5b8ce649f5d232ca101a0c
|
|
| MD5 |
eeec721f531c616d3ce42ad491e0aa61
|
|
| BLAKE2b-256 |
8a90875a11d540269e93f89e8674472ae0f792fbf70bb5dcfca83e19aea77540
|
File details
Details for the file decancer_py-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 181.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb705a2e509e0140d553f221b56df4a061f6410f843c29ce6aceb9c5b199248c
|
|
| MD5 |
daa403fdf2fc513c30365998a935b466
|
|
| BLAKE2b-256 |
c4e6a0eabeb46907ab78f5bcc6b34098e178e3089c8ade00bd613fcb103aa06c
|
File details
Details for the file decancer_py-0.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 192.6 kB
- Tags: CPython 3.8, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4c6b86932c5d1a2a07b110dca09fd5c19f2bd12d0218efbab8a45cc36c868d0
|
|
| MD5 |
5f2f4d44f04752964a40f1961f33fc8a
|
|
| BLAKE2b-256 |
9c57ea2281516d1e93fb7dd52181cdf6fec4b9b5cb43be32909fba151609f244
|
File details
Details for the file decancer_py-0.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 212.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a051a30b246daf6affb17fdf4e80fc9f81fa834ef6941a50d9f3bea63bd3a083
|
|
| MD5 |
6193dbf369c4e8f264d5d0ea4b5a0c07
|
|
| BLAKE2b-256 |
31789c7e177c43c6b0193e53a7af07e77c8c17d461d611eac22c4189f70a22ea
|
File details
Details for the file decancer_py-0.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 341.9 kB
- Tags: CPython 3.8, 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.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7081a922e31a896743dcff50fb633f0643ab7c196e1a404e82742a0ac01f28
|
|
| MD5 |
977bd23cd9ee25fe99d9c1b1f68a891f
|
|
| BLAKE2b-256 |
916e592c5f44c0ee9d1b5192cb43c30691a27798f35edf1b94d37e44369aaa57
|
File details
Details for the file decancer_py-0.1.0-cp37-none-win_amd64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp37-none-win_amd64.whl
- Upload date:
- Size: 123.6 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
981550482783f91ab7cc8a98e739852f2b47907f3e3f3a55a24f486d2d61cfd5
|
|
| MD5 |
8704554eceb0141f061581340de887ee
|
|
| BLAKE2b-256 |
89bfb507a692841bc271b29f8cc6540b48ace78e80f924b86b4916aa0e0a95aa
|
File details
Details for the file decancer_py-0.1.0-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 183.0 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67a9806844d0371dc93a70cbca72b74525f0247d56d287c3f262bf584396bf94
|
|
| MD5 |
89ccf4481cd35159c18dbeb2fa952eff
|
|
| BLAKE2b-256 |
ca6b6a78405544f7026038f55e354c51a5feda9eb5258f60579788c9be62816f
|
File details
Details for the file decancer_py-0.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 181.3 kB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd6fc4fd372aed54adb0637669acc507fda54c4d17e2918648e79f36b2b699c0
|
|
| MD5 |
2a99409997295d7113a50dbd1ade2452
|
|
| BLAKE2b-256 |
2453b3b9c52a106d86adeb17997b481527aead7f9a9fea19f4e9c76c0a10f819
|
File details
Details for the file decancer_py-0.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
- Upload date:
- Size: 192.6 kB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccbff6b6101894a16958ed13aad507e29c1ebfc45bfa5fbe2fa2376dfe617a35
|
|
| MD5 |
8765317688fe8a2c14e7eb2d23158f8c
|
|
| BLAKE2b-256 |
14179d8a3e4e60cd3f8a0160483096024b5c1743b1a03345fc9d40bbbb7764d2
|
File details
Details for the file decancer_py-0.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 212.2 kB
- Tags: CPython 3.7m, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86cfad2e4382438309048c0272af40a05f01a539bbf16f31248c3bcedd2d3707
|
|
| MD5 |
ecc2c2ac8514ab23809d6ceb68614b33
|
|
| BLAKE2b-256 |
1fbf3b0e9542afe34af88d22b57dac7fa2335e2396350e2e1804d3c46c009e26
|
File details
Details for the file decancer_py-0.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.
File metadata
- Download URL: decancer_py-0.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
- Upload date:
- Size: 341.9 kB
- Tags: CPython 3.7m, 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.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8af0cd8e493750767e40bc80ceb4b8c4e0fdb70eb0e10f7aca6f0845b7382c3f
|
|
| MD5 |
5f5e48764c3cae374d7d5158d5ea2e56
|
|
| BLAKE2b-256 |
942a9b507f7e42aa877d02953225bf50cd6f41aa2843a387f082cb299f695a54
|