Skip to main content

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

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

Metadata

Release files for spellcraft 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spellcraft 0.1.1
File Size Uploaded Provenance
spellcraft-0.1.1.tar.gz 11.5 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for spellcraft 0.1.1
File
spellcraft-0.1.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
spellcraft-0.1.1-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
spellcraft-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details
spellcraft-0.1.1-cp39-abi3-musllinux_1_2_i686.whl CPython 3.9 abi3 Linux musl 1.2+ x86-32 Details
spellcraft-0.1.1-cp39-abi3-musllinux_1_2_armv7l.whl CPython 3.9 abi3 Linux musl 1.2+ ARMv7l Details
spellcraft-0.1.1-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details
spellcraft-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
spellcraft-0.1.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.9 abi3 Linux glibc 2.17+ IBM System/390x Details
spellcraft-0.1.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.9 abi3 Linux glibc 2.17+ PowerPC 64-le Details
spellcraft-0.1.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.9 abi3 Linux glibc 2.17+ ARMv7l Details
spellcraft-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
spellcraft-0.1.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.9 abi3 Linux glibc 2.5+ x86-32 Details
spellcraft-0.1.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
spellcraft-0.1.1-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 4.2 MB

Release files / spellcraft-0.1.1.tar.gz

Download URL spellcraft-0.1.1.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c1dc3b3f77fbdf9b1e5279f52bfe8624ebf3218a5387b124090a33ccdd576aee
BLAKE2b-256 checksum
How to use checksums
0a8d3f0e3e389a57a44b8ab8a9499010018271030230a1ed1d53a6766fb4852b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-win_amd64.whl

Download URL spellcraft-0.1.1-cp39-abi3-win_amd64.whl
Size 127.8 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3550d0b6466127e8c34a63288c0094cc04dfdd395ff7c598c89e31912b0bb89a
BLAKE2b-256 checksum
How to use checksums
9ef48a7e976554edf6417c7d1f58da984d796587f1dcb6fa5639e947690f7c98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-win32.whl

Download URL spellcraft-0.1.1-cp39-abi3-win32.whl
Size 120.9 kB
Tags CPython 3.9 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
85f43518f67d6ced4d1cfc50604288037b51ca97434fe1dbb51427e3523c15f1
BLAKE2b-256 checksum
How to use checksums
87cdc70eeb29d6703c89af05507303794ae9a43508888fee4c29c4cc6affa365
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL spellcraft-0.1.1-cp39-abi3-musllinux_1_2_x86_64.whl
Size 423.7 kB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
ffd850ed71ac267fd986d3142fb8c18b8f4a9198b248958703c281175af25343
BLAKE2b-256 checksum
How to use checksums
3aeb0a1becb5e5176b5c26e10252834f0b621ae1c9b590c8d023613a6e500afc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-musllinux_1_2_i686.whl

Download URL spellcraft-0.1.1-cp39-abi3-musllinux_1_2_i686.whl
Size 443.0 kB
Tags CPython 3.9 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
ab555236de33852721fe342b7fc2f4577c004b0cf032538f0ff6c1c5e71746e7
BLAKE2b-256 checksum
How to use checksums
695de59a8ceff6215eaef4ffaf6562e9a034766483bf98c1866103206eaf227d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-musllinux_1_2_armv7l.whl

Download URL spellcraft-0.1.1-cp39-abi3-musllinux_1_2_armv7l.whl
Size 521.4 kB
Tags CPython 3.9 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
17119d7c9657282d06f08d2c8b958e86a3a1b2de421b8b799ebc4734098cdb3d
BLAKE2b-256 checksum
How to use checksums
0b45264fc3dbd8eb7c5194c906e68a7a74b714f85e1918e818ab93f327867128
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL spellcraft-0.1.1-cp39-abi3-musllinux_1_2_aarch64.whl
Size 439.8 kB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
7997d16f0ed3b64dd06b89a07123acde22a0c4ae2463fc5da2bb0956ba1d90e1
BLAKE2b-256 checksum
How to use checksums
e54e91e22c7703f0800c06e413d1ab3cf307f8b66c013c521a4b2d80b563429a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spellcraft-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 255.3 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
63b63f5751f4ab80a38f4a8a21d1e58c2324cc5e42b905a0d7db58a85e61ab0d
BLAKE2b-256 checksum
How to use checksums
474ad0fe02ea89046c2bb50282c522eba95ccb185a3db4d85909bc506b28f7a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL spellcraft-0.1.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 291.8 kB
Tags CPython 3.9 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
5a348272775c9edf63e3c3602ad296b105ddc0bf44cec68dd3e34b7831a78f3b
BLAKE2b-256 checksum
How to use checksums
1c5720f779e03187cfe87e72c62422d899b9b321b06e273adcca46bbd178f456
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL spellcraft-0.1.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 292.1 kB
Tags CPython 3.9 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
4eb57f4a40c4769b22d8eda6e9158e76b23cba7765f635aa59bd88fe824328e9
BLAKE2b-256 checksum
How to use checksums
5b6caf5335a1b2a8d349dcda9f0eef7a9641ea4d39a10d274a53043548d25dd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL spellcraft-0.1.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 259.7 kB
Tags CPython 3.9 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
c1a011633f744fd321f180285fb492df832db47a8005df32e2e1e26fcd6cc1f7
BLAKE2b-256 checksum
How to use checksums
e8df5bd7de32a0e57a38e0fa53275afe78c6a2ea3fbd63c3b908832caa73700b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL spellcraft-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 254.1 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
264132ee4b807e8313ff9849521aef9f412dea23b1ace0a79d2310d957196473
BLAKE2b-256 checksum
How to use checksums
a03fd5bfd922910598e74f8c4d9daf459924604893d60d02176f8d16bff25ee0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl

Download URL spellcraft-0.1.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Size 267.8 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
6875bcf7ae514d181173ada5f07f2311de4925a298d9c24cf8f8c48742163ede
BLAKE2b-256 checksum
How to use checksums
4dcb3aba94829d8771adcca3af0e82e71df06f7bc39082d723e142c1973529bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL spellcraft-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
Size 224.3 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
191fa19febb09b2977d5e00bcaf2376e1a9e72bf4d37a5feb37809950830094c
BLAKE2b-256 checksum
How to use checksums
a1d8bc4ed1ee1c8702ad7413f89e1cd1b8597db4fd4edea26ca8fe6701de9c54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Release files / spellcraft-0.1.1-cp39-abi3-macosx_10_12_x86_64.whl

Download URL spellcraft-0.1.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 226.7 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
09e79903f6df2139a0d2b3a3c3a5b68fba0d45a44b96f1de5e16275347ba555f
BLAKE2b-256 checksum
How to use checksums
1ca005a2664f668aaf66d1e4f9b0f591b13afbd99e6eeb0498072bb60df1be36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.7.4

Security for spellcraft 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

15 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page