Skip to main content

spellcraft is a helper library containing useful functions and spells, primarily designed for use by Dataclass Wizard.

Project description

PySpellCraft

PyPI version Python versions Docs Status Build Status License

SpellCraft is a helper library that contains useful functions and "spells", primarily designed for use by Dataclass Wizard.

Read the documentation.

Installation

pip install spellcraft

[!NOTE] Requires Python >= 3.9.

Example

>>> from spellcraft import snake
>>> snake("We carry a new world here, in our hearts.")
'we_carry_a_new_world_here_in_our_hearts'

Development

Setup

  1. Activate a virtual environment:
python -m venv .venv
source .venv/bin/activate
  1. Install dev dependencies:
pip install .[dev]

Testing

  1. Run maturin develop to compile the Rust code.
  2. Run make fmt, make lint, and make test.

License

spellcraft is distributed under the terms of the MIT License.

See the LICENSE file for full details.

Copyright (c) 2015 The Rust Project Developers
Copyright (c) 2022 Kevin Heavey
Copyright (c) 2024 Ritvik Nag

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

spellcraft-0.1.1.tar.gz (11.5 kB view details)

Uploaded Source

Built Distributions

spellcraft-0.1.1-cp39-abi3-win_amd64.whl (127.8 kB view details)

Uploaded CPython 3.9+ Windows x86-64

spellcraft-0.1.1-cp39-abi3-win32.whl (120.9 kB view details)

Uploaded CPython 3.9+ Windows x86

spellcraft-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl (423.7 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ x86-64

spellcraft-0.1.1-cp39-abi3-musllinux_1_2_i686.whl (443.0 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ i686

spellcraft-0.1.1-cp39-abi3-musllinux_1_2_armv7l.whl (521.4 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ ARMv7l

spellcraft-0.1.1-cp39-abi3-musllinux_1_2_aarch64.whl (439.8 kB view details)

Uploaded CPython 3.9+ musllinux: musl 1.2+ ARM64

spellcraft-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255.3 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ x86-64

spellcraft-0.1.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (291.8 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ s390x

spellcraft-0.1.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (292.1 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ ppc64le

spellcraft-0.1.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (259.7 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ ARMv7l

spellcraft-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (254.1 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.17+ ARM64

spellcraft-0.1.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl (267.8 kB view details)

Uploaded CPython 3.9+ manylinux: glibc 2.5+ i686

spellcraft-0.1.1-cp39-abi3-macosx_11_0_arm64.whl (224.3 kB view details)

Uploaded CPython 3.9+ macOS 11.0+ ARM64

spellcraft-0.1.1-cp39-abi3-macosx_10_12_x86_64.whl (226.7 kB view details)

Uploaded CPython 3.9+ macOS 10.12+ x86-64

File details

Details for the file spellcraft-0.1.1.tar.gz.

File metadata

  • Download URL: spellcraft-0.1.1.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for spellcraft-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c1dc3b3f77fbdf9b1e5279f52bfe8624ebf3218a5387b124090a33ccdd576aee
MD5 f3345ec762d6b9f10996b2b9da698c9f
BLAKE2b-256 0a8d3f0e3e389a57a44b8ab8a9499010018271030230a1ed1d53a6766fb4852b

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3550d0b6466127e8c34a63288c0094cc04dfdd395ff7c598c89e31912b0bb89a
MD5 a614cc8a8b256be6a62b448da72eab18
BLAKE2b-256 9ef48a7e976554edf6417c7d1f58da984d796587f1dcb6fa5639e947690f7c98

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-win32.whl.

File metadata

  • Download URL: spellcraft-0.1.1-cp39-abi3-win32.whl
  • Upload date:
  • Size: 120.9 kB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 85f43518f67d6ced4d1cfc50604288037b51ca97434fe1dbb51427e3523c15f1
MD5 8651fb95b39dffff4035e4598a02a320
BLAKE2b-256 87cdc70eeb29d6703c89af05507303794ae9a43508888fee4c29c4cc6affa365

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ffd850ed71ac267fd986d3142fb8c18b8f4a9198b248958703c281175af25343
MD5 193f0d8489fc1ca250ca2368422157a1
BLAKE2b-256 3aeb0a1becb5e5176b5c26e10252834f0b621ae1c9b590c8d023613a6e500afc

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 ab555236de33852721fe342b7fc2f4577c004b0cf032538f0ff6c1c5e71746e7
MD5 a1fcf72f772c2890e9eba51c3b1e976b
BLAKE2b-256 695de59a8ceff6215eaef4ffaf6562e9a034766483bf98c1866103206eaf227d

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 17119d7c9657282d06f08d2c8b958e86a3a1b2de421b8b799ebc4734098cdb3d
MD5 4d5b1fd28bbef79b3d5c4450307dcf8b
BLAKE2b-256 0b45264fc3dbd8eb7c5194c906e68a7a74b714f85e1918e818ab93f327867128

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7997d16f0ed3b64dd06b89a07123acde22a0c4ae2463fc5da2bb0956ba1d90e1
MD5 1fca5a2441fa2c18089ddb4aa7091849
BLAKE2b-256 e54e91e22c7703f0800c06e413d1ab3cf307f8b66c013c521a4b2d80b563429a

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63b63f5751f4ab80a38f4a8a21d1e58c2324cc5e42b905a0d7db58a85e61ab0d
MD5 c86d8c165697a739cd685d22f504af37
BLAKE2b-256 474ad0fe02ea89046c2bb50282c522eba95ccb185a3db4d85909bc506b28f7a3

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 5a348272775c9edf63e3c3602ad296b105ddc0bf44cec68dd3e34b7831a78f3b
MD5 cd3c7d383f20825c28067b7931b1e8fd
BLAKE2b-256 1c5720f779e03187cfe87e72c62422d899b9b321b06e273adcca46bbd178f456

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 4eb57f4a40c4769b22d8eda6e9158e76b23cba7765f635aa59bd88fe824328e9
MD5 40ed70fd0204efb58633ef22dcff4ac7
BLAKE2b-256 5b6caf5335a1b2a8d349dcda9f0eef7a9641ea4d39a10d274a53043548d25dd4

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c1a011633f744fd321f180285fb492df832db47a8005df32e2e1e26fcd6cc1f7
MD5 60aebf62423f0fbe6518ff61d1596c70
BLAKE2b-256 e8df5bd7de32a0e57a38e0fa53275afe78c6a2ea3fbd63c3b908832caa73700b

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 264132ee4b807e8313ff9849521aef9f412dea23b1ace0a79d2310d957196473
MD5 0aacd778beb49ffa6b3166063e1edaeb
BLAKE2b-256 a03fd5bfd922910598e74f8c4d9daf459924604893d60d02176f8d16bff25ee0

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 6875bcf7ae514d181173ada5f07f2311de4925a298d9c24cf8f8c48742163ede
MD5 11b4f3ff2e54421823c777079264fa98
BLAKE2b-256 4dcb3aba94829d8771adcca3af0e82e71df06f7bc39082d723e142c1973529bf

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 191fa19febb09b2977d5e00bcaf2376e1a9e72bf4d37a5feb37809950830094c
MD5 382af4cb4275336f3cd18fb4a62753c1
BLAKE2b-256 a1d8bc4ed1ee1c8702ad7413f89e1cd1b8597db4fd4edea26ca8fe6701de9c54

See more details on using hashes here.

File details

Details for the file spellcraft-0.1.1-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for spellcraft-0.1.1-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 09e79903f6df2139a0d2b3a3c3a5b68fba0d45a44b96f1de5e16275347ba555f
MD5 ca60e22db05b66b73a82117e44095647
BLAKE2b-256 1ca005a2664f668aaf66d1e4f9b0f591b13afbd99e6eeb0498072bb60df1be36

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page