Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,441 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,441
◇
Types & classes
729
↳
Endpoints
136
↓ 2 callers
Method
_setrecursionlimit
(self, new_limit: int, *, check: bool = True)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:320
↓ 2 callers
Method
_should_trace
(self)
hypothesis/src/hypothesis/core.py:971
↓ 2 callers
Function
_size_to_index
(size: int, *, alphabet_size: int)
hypothesis/src/hypothesis/internal/conjecture/choice.py:180
↓ 2 callers
Function
_st_strategy_names
Replace strategy name() with st.name(). Uses a tricky re.sub() to avoid problems with frozensets() matching sets() too.
hypothesis/src/hypothesis/extra/ghostwriter.py:815
↓ 2 callers
Method
_stop_listening
Called whenever no change listeners remain on the database. ``_stop_listening`` and ``_start_listening`` are guaranteed to alternate
hypothesis/src/hypothesis/database.py:352
↓ 2 callers
Function
_strategy
Convert SRE regex parse tree to strategy that generates strings matching that regex represented by that parse tree. `codes` is either a list
hypothesis/src/hypothesis/strategies/_internal/regex.py:335
↓ 2 callers
Function
_string_filter_rewrite
(self, kind, condition)
hypothesis/src/hypothesis/strategies/_internal/strings.py:272
↓ 2 callers
Function
_unpack_uleb128
Inverts _pack_uleb128, and also returns the index at which at which we stopped reading.
hypothesis/src/hypothesis/database.py:1252
↓ 2 callers
Function
_unsigned_integer_dtypes
Return a strategy for unsigned integer dtype objects. ``sizes`` contains the unsigned integer sizes in bits, defaulting to ``(8, 16, 32, 64)`
hypothesis/src/hypothesis/extra/array_api.py:671
↓ 2 callers
Method
_urandom
(size: int)
hypothesis/src/hypothesis/internal/conjecture/providers.py:1248
↓ 2 callers
Function
_with_any_registered
()
hypothesis/src/hypothesis/extra/ghostwriter.py:518
↓ 2 callers
Method
add_listener
Add a change listener. ``f`` will be called whenever a value is saved, deleted, or moved in the database. ``f`` can be calle
hypothesis/src/hypothesis/database.py:271
↓ 2 callers
Function
any_call_of_method
(draw, method)
hypothesis/tests/cover/test_randoms.py:85
↓ 2 callers
Function
argument_validation_test
(bad_args)
hypothesis/tests/common/arguments.py:28
↓ 2 callers
Function
array_dtypes
Return a strategy for generating array (compound) dtypes, with members drawn from the given subtype strategy.
hypothesis/src/hypothesis/extra/numpy.py:1004
↓ 2 callers
Function
as_general_categories
Return a tuple of Unicode categories in a normalised order. This function expands one-letter designations of a major class to include all sub
hypothesis/src/hypothesis/internal/charmap.py:202
↓ 2 callers
Function
assert_can_release
()
tooling/src/hypothesistooling/git.py:94
↓ 2 callers
Function
assert_narrowing_matches
(x: f64)
hypothesis/rust/tests/embedded/internal/test_floats.rs:14
↓ 2 callers
Function
assert_outcomes
(result, *, errors=0, failed=0)
hypothesis/tests/pytest/test_fixtures.py:194
↓ 2 callers
Function
assert_output_contains_failure
(output, test, **kwargs)
hypothesis/tests/common/utils.py:177
↓ 2 callers
Function
assert_reordered_exponents
(res)
hypothesis/tests/conjecture/test_float_encoding.py:28
↓ 2 callers
Function
assert_valid_range_list
(ls)
hypothesis/tests/cover/test_charmap.py:44
↓ 2 callers
Function
bar
(μ)
hypothesis/tests/cover/test_unicode_identifiers.py:20
↓ 2 callers
Function
batched
(iterable, n, *, strict=False)
hypothesis/src/hypothesis/internal/compat.py:299
↓ 2 callers
Function
build_docs
(*, builder="html", only=(), to=None)
tooling/src/hypothesistooling/release.py:141
↓ 2 callers
Function
calc_label_from_cls
(cls: type)
hypothesis/src/hypothesis/internal/conjecture/utils.py:53
↓ 2 callers
Function
calc_label_from_hash
(obj: object)
hypothesis/src/hypothesis/internal/conjecture/utils.py:57
↓ 2 callers
Method
call_shrinker
Calls another shrinker class, passing through the relevant context variables. Note we explicitly do not pass through full.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:69
↓ 2 callers
Function
callback
(observation)
hypothesis/tests/crosshair/test_crosshair.py:202
↓ 2 callers
Method
can_trace
()
hypothesis/src/hypothesis/internal/scrutineer.py:71
↓ 2 callers
Function
charmap
Return a dict that maps a Unicode category, to a tuple of 2-tuples covering the codepoint intervals for characters in that category. >>> char
hypothesis/src/hypothesis/internal/charmap.py:81
↓ 2 callers
Function
charmap_file
(fname: str = "charmap")
hypothesis/src/hypothesis/internal/charmap.py:72
↓ 2 callers
Function
check_block
(name, depth)
hypothesis/src/hypothesis/internal/coverage.py:70
↓ 2 callers
Function
check_sample
( values: type[enum.Enum] | Sequence[T], strategy_name: str )
hypothesis/src/hypothesis/internal/conjecture/utils.py:93
↓ 2 callers
Method
check_set_value
(self, val, val_0d, strategy)
hypothesis/src/hypothesis/extra/array_api.py:322
↓ 2 callers
Method
check_valid
(self)
hypothesis/src/hypothesis/internal/cache.py:348
↓ 2 callers
Function
check_xp_attributes
(xp: Any, attributes: list[str])
hypothesis/src/hypothesis/extra/array_api.py:81
↓ 2 callers
Function
choice_types_constraints
(strategy_constraints=None, *, use_forced=False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:327
↓ 2 callers
Function
choices_size
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/internal/conjecture/choice.py:616
↓ 2 callers
Function
choices_to_json
(choices: tuple[ChoiceT, ...])
hypothesis/src/hypothesis/internal/observability.py:105
↓ 2 callers
Function
clamped_shrink_towards
(constraints)
hypothesis/tests/conjecture/common.py:150
↓ 2 callers
Method
clear_change_tracking
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1122
↓ 2 callers
Function
codespell
(*files)
tooling/src/hypothesistooling/__main__.py:101
↓ 2 callers
Function
compile_requirements
(*, upgrade=False)
tooling/src/hypothesistooling/__main__.py:379
↓ 2 callers
Method
complex_dtypes
(self)
hypothesis/src/hypothesis/extra/array_api.py:1015
↓ 2 callers
Method
compress
(self, values)
hypothesis/tests/django/toystore/forms.py:216
↓ 2 callers
Function
compute_new_version
()
tooling/src/hypothesistooling/release.py:347
↓ 2 callers
Method
conclude_test
Called when ``conclude_test`` is called on the observed ``ConjectureData``, with the same arguments. Note that this is called after `
hypothesis/src/hypothesis/internal/conjecture/data.py:535
↓ 2 callers
Function
condition
(x)
hypothesis/tests/nocover/test_database_usage.py:88
↓ 2 callers
Method
condition
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1212
↓ 2 callers
Function
constraints_strategy
(choice_type, strategy_constraints=None, *, use_forced=False)
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:314
↓ 2 callers
Function
convert
(node: ast.AST, argname: str)
hypothesis/src/hypothesis/internal/filtering.py:83
↓ 2 callers
Function
count
()
hypothesis/tests/cover/test_slippage.py:184
↓ 2 callers
Function
count_between_floats
(x: f64, y: f64, width: u32)
hypothesis/rust/src/internal/floats.rs:130
↓ 2 callers
Method
debug
(self, msg: str)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:430
↓ 2 callers
Method
debug_data
(self, data: ConjectureData | ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/engine.py:954
↓ 2 callers
Function
debug_report
(text: str)
hypothesis/src/hypothesis/reporting.py:49
↓ 2 callers
Method
default
(cls)
hypothesis/src/hypothesis/_settings.py:541
↓ 2 callers
Method
delete
Remove ``value`` from ``key``. If ``value`` is not present in ``key``, silently do nothing.
hypothesis/src/hypothesis/database.py:248
↓ 2 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:737
↓ 2 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:799
↓ 2 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/tests/cover/test_database_backend.py:806
↓ 2 callers
Function
deprecate_random_in_strategy
(fmt: str, *args: Any)
hypothesis/src/hypothesis/control.py:107
↓ 2 callers
Function
depth
(x)
hypothesis/tests/nocover/test_recursive.py:43
↓ 2 callers
Function
describe_targets
Return a list of lines describing the results of `target`, if any.
hypothesis/src/hypothesis/statistics.py:31
↓ 2 callers
Function
distinct_int64_integers
(draw)
hypothesis/tests/array_api/test_arrays.py:493
↓ 2 callers
Method
do_filtered_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/misc.py:60
↓ 2 callers
Method
do_filtered_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1237
↓ 2 callers
Method
draw
( self, strategy: "SearchStrategy[Ex]", label: int | None = None, observe_as:
hypothesis/src/hypothesis/internal/conjecture/data.py:1171
↓ 2 callers
Method
draw_bytes
( self, value: bytes, *, constraints: BytesConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:564
↓ 2 callers
Function
draw_choice
( choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *, random: Random )
hypothesis/src/hypothesis/internal/conjecture/data.py:1368
↓ 2 callers
Method
draw_integer
( self, min_value: int | None = None, max_value: int | None = None, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:870
↓ 2 callers
Method
draw_string
( self, value: str, *, constraints: StringConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:559
↓ 2 callers
Method
draw_symbol
( self, data: ConjectureData, symbol: Symbol, draw_state: list[str], )
hypothesis/src/hypothesis/extra/lark.py:186
↓ 2 callers
Function
dtype_for_elements_strategy
(s)
hypothesis/src/hypothesis/extra/pandas/impl.py:53
↓ 2 callers
Function
encode_failure
(choices: Iterable[ChoiceT])
hypothesis/src/hypothesis/core.py:422
↓ 2 callers
Method
end
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:213
↓ 2 callers
Function
endswith
(l1: Sequence[T], l2: Sequence[T])
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:515
↓ 2 callers
Method
enter_context
(self, new_limit: int, *, current_limit: int)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:336
↓ 2 callers
Function
escape_unicode_characters
(s: str)
hypothesis/src/hypothesis/internal/compat.py:95
↓ 2 callers
Function
everything_except
Recipe copied from the docstring of ``from_type``
hypothesis/tests/nocover/test_from_type_recipe.py:26
↓ 2 callers
Method
exit_context
(self, new_limit: int, *, check: bool = True)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:347
↓ 2 callers
Function
explanatory_lines
(traces, settings)
hypothesis/src/hypothesis/internal/scrutineer.py:297
↓ 2 callers
Function
f
(n)
hypothesis/tests/nocover/test_integer_ranges.py:51
↓ 2 callers
Function
f16_bits_from_f64
Narrow an `f64` to IEEE 754 half-precision, returning the raw 16 bits. Round-to-nearest-even; finite values too large for the format become infinity (
hypothesis/rust/src/internal/floats.rs:21
↓ 2 callers
Function
f2
()
hypothesis/tests/cover/test_reflection.py:737
↓ 2 callers
Method
fail
(self, source)
hypothesis/tests/cover/test_stateful.py:883
↓ 2 callers
Method
fail_fast
(self)
hypothesis/tests/cover/test_stateful.py:297
↓ 2 callers
Function
failure_exceptions_to_catch
Return a tuple of exceptions meaning 'this test has failed', to catch. This is intended to cover most common test runners; if you would like
hypothesis/src/hypothesis/core.py:796
↓ 2 callers
Method
filter
(self, condition: Callable[[Ex], Any])
hypothesis/src/hypothesis/strategies/_internal/core.py:2410
↓ 2 callers
Method
filter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:594
↓ 2 callers
Method
filter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/strings.py:245
↓ 2 callers
Function
find_random
( s: st.SearchStrategy[T], condition: Callable[[T], bool], seed=None )
hypothesis/tests/nocover/test_precise_shrinking.py:226
↓ 2 callers
Function
flatten
(x)
hypothesis/tests/nocover/test_recursive.py:23
↓ 2 callers
Function
flush_to_zero
()
hypothesis/src/_hypothesis_ftz_detector.py:46
↓ 2 callers
Function
flushes_to_zero
Infer whether build of array module has its float dtype of the specified width flush subnormals to zero We do this per-width because compiler
hypothesis/tests/array_api/common.py:48
↓ 2 callers
Function
foo
(draw)
hypothesis/tests/nocover/test_labels.py:28
↓ 2 callers
Function
foo
(x, y)
hypothesis/tests/cover/test_validation.py:92
↓ 2 callers
Function
foo
(x, y)
hypothesis/tests/cover/test_explicit_examples.py:68
↓ 2 callers
Function
format_exception
(err, tb)
hypothesis/src/hypothesis/internal/escalation.py:161
← previous
next →
601–700 of 6,441, ranked by callers