alternative
  • Quickstart
    • Register Implementations
    • Choose a Default
    • Use Decorator or Direct Call Syntax
    • Add Through an Implementation
    • Use Methods
  • Runtime Workflow
    • When to Use It
    • Measure Implementations
    • Safety Rules
    • Debug Mode
    • Copying Implementations
  • Pytest Integration
    • Equivalence Tests
    • Reference Caching
    • Only the Default Implementation
    • Benchmark All Implementations
    • Testing Methods
    • Collection Order
  • API Reference
    • Decorator
      • reference()
    • Alternatives
      • Alternatives
    • Implementation
      • Implementation
    • Exceptions
      • AlternativeError
      • AddTooLateError
      • MultipleDefaultsError
      • CrossAlternativesImplementationError
alternative
  • Index

Index

_ | A | C | I | M | P | R

_

  • __call__() (alternative.Alternatives method)
    • (alternative.Implementation method)

A

  • add() (alternative.Implementation method)
  • AddTooLateError
  • AlternativeError
  • Alternatives (class in alternative)

C

  • callable (alternative.Alternatives property)
  • CrossAlternativesImplementationError

I

  • Implementation (class in alternative)

M

  • measure() (alternative.Alternatives method)
  • MultipleDefaultsError

P

  • pytest_parametrize() (alternative.Alternatives method)
  • pytest_parametrize_pairs() (alternative.Alternatives method)

R

  • reference() (in module alternative)

© Copyright 2025, Oliver Bristow.

Built with Sphinx using a theme provided by Read the Docs.