Skip to main content

crashbytes-testkit

Test data builders for Python — auto-generate dataclass instances from type hints.

Install

pip install crashbytes-testkit

Usage

from dataclasses import dataclass
from crashbytes_testkit import Fixture, Builder

@dataclass
class User:
    name: str
    age: int
    email: str

# Auto-generate from type hints
user = Fixture.create(User)
users = Fixture.create_many(User, 5)

# Override specific fields
admin = Fixture.create(User, name="Admin", age=30)

# Fluent builder
user = (
    Builder(User)
    .with_field("name", "Alice")
    .with_field("age", 25)
    .build()
)

Supports: str, int, float, bool, bytes, datetime, date, UUID, list[T], dict[K,V], set[T], tuple, Optional[T], nested dataclasses.

License

MIT

Metadata

Release files for crashbytes-testkit 1.1.9

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

Source distribution (sdist)

Source distribution for crashbytes-testkit 1.1.9
File Size Uploaded
crashbytes_testkit-1.1.9.tar.gz 51.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crashbytes-testkit 1.1.9
File Interpreter ABI Platform
crashbytes_testkit-1.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 55.6 kB

Release files / crashbytes_testkit-1.1.9.tar.gz

Download URL crashbytes_testkit-1.1.9.tar.gz
Size 51.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3c8208ecf649a40e5c5521b7fe069cbc574f1d92dad294378ceaa52652dd2a1e
BLAKE2b-256 checksum
How to use checksums
819f72ae5cf8aa1a6522888e661fb7111cdeb79afce5a80e35ebe2f1dc9051e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release files / crashbytes_testkit-1.1.9-py3-none-any.whl

Download URL crashbytes_testkit-1.1.9-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d62b4a2f8d579d5ff3e26eab915c5c5e5b88f091b1a7b7ad85b52417159438c4
BLAKE2b-256 checksum
How to use checksums
db98e0624c412becf030a641fec62c7a77e0e8c970824600f061b14f77b0fa57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.9 This release

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

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