Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

BalderHub Package balderhub-rest

Test REST APIs without writing a test by yourself.

This is a BalderHub package for the Balder test framework. If you are new to Balder check out the official documentation first.

balderhub-rest is a BalderHub package that provides ready-to-use, high-quality test scenarios and building blocks for comprehensively validating REST API endpoints using the powerful Balder testing framework.

It builds on top of balderhub-crud and offers specialized features, parsers and utilities tailored for testing Create, Read, Update and Delete (CRUD) operations over HTTP/REST interfaces.

Whether you are testing a Django REST Framework backend, a FastAPI service, or any other RESTful API - this package lets you write powerful, reusable REST tests once and run them with minimal extra effort.

What you will find in this package

  • CRUD for REST - Full support for CRUD testing via the balderhub.rest.contrib.crud module:

    • Ready-to-use setup features and factories for single/multi-item Create, Read and Update operations
    • REST-specific endpoint configuration and global API config scenario features
    • Automatic response handling and field mapping utilities
  • Parsers & Utilities - Flexible response parsers for JSON, form-data and multipart content:

    • JsonParser, FormParser, MultipartParser and a BaseParser
    • Helper functions for field collection, filling and error message generation
  • Integration with balderhub-crud and balderhub-data - Seamless data modeling, validation and cross-device verification powered by Pydantic-style DataItem models.

Installation

You can install the latest release with pip:

python -m pip install balderhub-rest

Check out the documentation

If you need more information, checkout the balderhub-rest documentation.

License

This BalderHub package is free and Open-Source

Copyright (c) 2026 Max Stahlschmidt

Distributed under the terms of the MIT license

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

balderhub_rest-0.0.1b0.tar.gz (59.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

balderhub_rest-0.0.1b0-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file balderhub_rest-0.0.1b0.tar.gz.

File metadata

  • Download URL: balderhub_rest-0.0.1b0.tar.gz
  • Upload date:
  • Size: 59.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for balderhub_rest-0.0.1b0.tar.gz
Algorithm Hash digest
SHA256 987a647cc675d013f0c067a8dc3842cb81d7f709a11206a859ef5f4dfb620262
MD5 f6a8a6ef9da97409ab0be37f07487ef2
BLAKE2b-256 b6f0b4890ed47c257efb32bd7ea487b63a9659aa5c811d5d8e80a59d11ada06c

See more details on using hashes here.

Provenance

The following attestation bundles were made for balderhub_rest-0.0.1b0.tar.gz:

Publisher: python-publish.yml on balder-dev/balderhub-rest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file balderhub_rest-0.0.1b0-py3-none-any.whl.

File metadata

File hashes

Hashes for balderhub_rest-0.0.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 20ac55ab4ec3757aaa7a984f644c8486d25dc47e516605209c6f2bc6d4a18222
MD5 bad5d781c5cb7b84a8c2704cd79f3b75
BLAKE2b-256 29f0e8175bb4b7e7184a7ade39ca581b33969afd77c4754aaacdaca50beaf7f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for balderhub_rest-0.0.1b0-py3-none-any.whl:

Publisher: python-publish.yml on balder-dev/balderhub-rest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.1b0 This release

2 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