Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,708 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,708
◇
Types & classes
747
↳
Endpoints
140
↓ 1 callers
Function
ctx
Return a context in which this value is lossless.
hypothesis/src/hypothesis/strategies/_internal/core.py:1909
↓ 1 callers
Function
current_reporter
()
hypothesis/src/hypothesis/reporting.py:31
↓ 1 callers
Function
data
Provides an object ``data`` with a ``data.draw`` function which acts like the ``draw`` callable provided by |st.composite|, in that it can be
hypothesis/src/hypothesis/strategies/_internal/core.py:2491
↓ 1 callers
Function
data_lines
(raw)
tooling/src/hypothesistooling/__main__.py:697
↓ 1 callers
Function
dataclass_asdict
A vendored variant of dataclasses.asdict. Includes the bugfix for defaultdicts (cpython/32056) for all versions. See also issues/3812
hypothesis/src/hypothesis/internal/compat.py:279
↓ 1 callers
Function
datetime64_dtypes
Return a strategy for datetime64 dtypes, with various precisions from year to attosecond.
hypothesis/src/hypothesis/extra/numpy.py:934
↓ 1 callers
Method
debug
(self, msg: str)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:433
↓ 1 callers
Function
decode
(table: list[tuple[int, str]])
hypothesis/tests/quality/test_shrink_quality.py:485
↓ 1 callers
Function
decode_exponent
Take an integer and turn it into a suitable floating point exponent such that lexicographically simpler leads to simpler floats.
hypothesis/src/hypothesis/internal/conjecture/floats.py:101
↓ 1 callers
Method
decompress
(self, value)
hypothesis/tests/django/toystore/forms.py:196
↓ 1 callers
Function
define_copy_method
(name)
hypothesis/src/hypothesis/strategies/_internal/random.py:125
↓ 1 callers
Function
define_method_strategy
(name, **kwargs)
hypothesis/tests/cover/test_randoms.py:50
↓ 1 callers
Function
define_test
(specifier, predicate, condition=None, p=0.5, suppress_health_check=())
hypothesis/tests/quality/test_discovery_ability.py:52
↓ 1 callers
Method
delegate
Delegates shrinking to another shrinker class, by converting the current value to and from it with provided functions.
hypothesis/src/hypothesis/internal/conjecture/shrinking/common.py:59
↓ 1 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:399
↓ 1 callers
Method
delete
(self, key: bytes, value: bytes)
hypothesis/src/hypothesis/database.py:1213
↓ 1 callers
Method
describe
(self, settings: Settings)
hypothesis/src/hypothesis/internal/conjecture/engine.py:182
↓ 1 callers
Function
describe_close_matches
( module_or_class: types.ModuleType, objname: str )
hypothesis/src/hypothesis/extra/cli.py:109
↓ 1 callers
Function
discard_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:23
↓ 1 callers
Function
discard_multiple_frozen
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:37
↓ 1 callers
Function
distinct_integers
(draw)
hypothesis/tests/numpy/test_fill_values.py:23
↓ 1 callers
Function
distorted_value
(x)
hypothesis/tests/quality/test_discovery_ability.py:197
↓ 1 callers
Function
div_subterms
(e)
hypothesis/tests/quality/test_shrink_quality.py:409
↓ 1 callers
Method
do_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/extra/lark.py:172
↓ 1 callers
Method
do_draw
(self, data)
hypothesis/tests/common/strategies.py:17
↓ 1 callers
Method
do_filtered_draw
(self, data: ConjectureData)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:822
↓ 1 callers
Function
do_it_all
(l, a, x, data)
hypothesis/tests/cover/test_observability.py:87
↓ 1 callers
Function
do_publish
()
tooling/src/hypothesistooling/__main__.py:158
↓ 1 callers
Method
do_validate
(self)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:586
↓ 1 callers
Function
documentation
()
tooling/src/hypothesistooling/__main__.py:750
↓ 1 callers
Method
downgrade_choices
(self, choices: Sequence[ChoiceT])
hypothesis/src/hypothesis/internal/conjecture/engine.py:955
↓ 1 callers
Method
draw_aware_datetime
(self, data, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:560
↓ 1 callers
Method
draw_boolean
( self, p: float = 0.5, )
hypothesis/src/hypothesis/internal/conjecture/providers.py:818
↓ 1 callers
Method
draw_boolean
( self, p: float = 0.5, *, forced: bool | None = None, observe: bool =
hypothesis/src/hypothesis/internal/conjecture/data.py:1059
↓ 1 callers
Method
draw_bytes
( self, min_size: int = 0, max_size: int = COLLECTION_DEFAULT_MAX_SIZE, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:1043
↓ 1 callers
Method
draw_float
( self, value: float, *, constraints: FloatConstraints, was_forced: bool )
hypothesis/src/hypothesis/internal/conjecture/data.py:609
↓ 1 callers
Method
draw_integer
( self, min_value: int | None = None, max_value: int | None = None, *,
hypothesis/src/hypothesis/internal/conjecture/providers.py:1156
↓ 1 callers
Method
draw_integer
(self, value: int, *, was_forced: bool, constraints: dict)
hypothesis/tests/conjecture/test_test_data.py:199
↓ 1 callers
Function
draw_list
(data)
hypothesis/tests/conjecture/test_engine.py:186
↓ 1 callers
Method
draw_naive_datetime
(self, data, tz)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:620
↓ 1 callers
Method
draw_tricky_datetime
Draw a tricky datetime using the interesting instants.
hypothesis/src/hypothesis/strategies/_internal/datetime.py:515
↓ 1 callers
Method
dst
(self, value)
hypothesis/tests/cover/test_datetimes.py:409
↓ 1 callers
Function
ed
(f, *args)
hypothesis/tests/cover/test_reflection.py:223
↓ 1 callers
Function
einlabels
(labels)
hypothesis/tests/numpy/test_gufunc.py:137
↓ 1 callers
Function
emails
A strategy for generating email addresses as unicode strings. The address format is specified in :rfc:`5322#section-3.4.1`. Values shrink towa
hypothesis/src/hypothesis/strategies/_internal/core.py:2680
↓ 1 callers
Function
encode
(s: str)
hypothesis/tests/quality/test_shrink_quality.py:491
↓ 1 callers
Function
encode_exponent
Take a floating point exponent and turn it back into the equivalent result from conjecture.
hypothesis/src/hypothesis/internal/conjecture/floats.py:108
↓ 1 callers
Function
ensure_python
(version)
tooling/src/hypothesistooling/installers.py:53
↓ 1 callers
Function
ensure_rustup
()
tooling/src/hypothesistooling/installers.py:63
↓ 1 callers
Function
ensure_stack
()
tooling/src/hypothesistooling/installers.py:91
↓ 1 callers
Function
equivalent
Write source code for a property-based test of ``funcs``. The resulting test checks that calling each of the functions returns an equal value
hypothesis/src/hypothesis/extra/ghostwriter.py:1633
↓ 1 callers
Function
evaluate
(e)
hypothesis/tests/quality/test_shrink_quality.py:416
↓ 1 callers
Function
evaluate_type_alias_type
(thing)
hypothesis/src/hypothesis/strategies/_internal/types.py:378
↓ 1 callers
Function
execute_explicit_examples
(state, wrapped_test, arguments, kwargs, original_sig)
hypothesis/src/hypothesis/core.py:539
↓ 1 callers
Function
exhaust
(f)
hypothesis/tests/conjecture/test_choice_tree.py:25
↓ 1 callers
Method
explain
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:496
↓ 1 callers
Method
explain_next_call_as
(self, explanation: str)
hypothesis/src/hypothesis/internal/conjecture/engine.py:391
↓ 1 callers
Function
extract_all_attributes
(tree)
hypothesis/src/hypothesis/internal/lambda_sources.py:57
↓ 1 callers
Function
extract_all_lambdas
(tree)
hypothesis/src/hypothesis/internal/lambda_sources.py:44
↓ 1 callers
Function
f
(n)
hypothesis/tests/conjecture/test_local_constants.py:96
↓ 1 callers
Function
f
(chooser)
hypothesis/tests/conjecture/test_choice_tree.py:75
↓ 1 callers
Function
f
(data)
hypothesis/tests/conjecture/test_engine.py:97
↓ 1 callers
Function
f
(data)
hypothesis/tests/datetime/test_pytz_timezones.py:151
↓ 1 callers
Function
f
(n)
hypothesis/tests/quality/test_integers.py:20
↓ 1 callers
Function
f
(n)
hypothesis/tests/cover/test_monitoring.py:42
↓ 1 callers
Function
f
(draw)
hypothesis/tests/cover/test_composite.py:103
↓ 1 callers
Function
f
(s)
hypothesis/tests/cover/test_validation.py:296
↓ 1 callers
Function
f
(x)
hypothesis/tests/cover/test_runner_strategy.py:22
↓ 1 callers
Function
f
(v)
hypothesis/tests/cover/test_lookup_py314.py:46
↓ 1 callers
Function
f2
(n)
hypothesis/tests/nocover/test_randomization.py:40
↓ 1 callers
Function
f_normal
(value)
hypothesis/tests/crosshair/test_crosshair.py:153
↓ 1 callers
Function
f_observability
(value)
hypothesis/tests/crosshair/test_crosshair.py:181
↓ 1 callers
Function
f_verbosity
(value)
hypothesis/tests/crosshair/test_crosshair.py:168
↓ 1 callers
Method
fail_in_reify
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:45
↓ 1 callers
Function
fails_with
(e, *, match=None)
hypothesis/tests/common/utils.py:99
↓ 1 callers
Method
fetch
(self, key: bytes)
hypothesis/src/hypothesis/database.py:731
↓ 1 callers
Method
fetch
(self, key: bytes)
hypothesis/src/hypothesis/database.py:787
↓ 1 callers
Method
fetch
(self, key: bytes)
hypothesis/src/hypothesis/database.py:1205
↓ 1 callers
Function
fill_for
(elements, unique, fill, name="")
hypothesis/src/hypothesis/extra/numpy.py:453
↓ 1 callers
Method
filter
(self, condition)
hypothesis/src/hypothesis/strategies/_internal/numbers.py:223
↓ 1 callers
Function
find_annotated_strategy
(annotated_type)
hypothesis/src/hypothesis/strategies/_internal/types.py:509
↓ 1 callers
Method
finish
(self)
hypothesis/src/hypothesis/internal/conjecture/data.py:336
↓ 1 callers
Method
finish
Record the decisions made in the underlying tree and return a prefix that can be used for the next Chooser to be used.
hypothesis/src/hypothesis/internal/conjecture/shrinking/choicetree.py:95
↓ 1 callers
Function
fisher_yates_shuffle
Shuffle ``ls`` in place, drawing from ``data``. Reversed Fisher-Yates shuffle: swap each element with itself or with a later element. This s
hypothesis/src/hypothesis/internal/conjecture/utils.py:81
↓ 1 callers
Function
flaky_base_exception
(x)
hypothesis/tests/cover/test_testdecorators.py:176
↓ 1 callers
Function
flatten
(lst)
hypothesis/tests/numpy/test_from_type.py:139
↓ 1 callers
Function
flatten
(x)
hypothesis/tests/cover/test_recursive.py:28
↓ 1 callers
Function
float_runner
(start, condition, *, constraints=None)
hypothesis/tests/conjecture/test_float_encoding.py:126
↓ 1 callers
Function
floating_dtypes
( *, endianness: str = "?", sizes: Literal[16], )
hypothesis/src/hypothesis/extra/numpy.py:796
↓ 1 callers
Function
flush_messages
(db)
hypothesis/tests/redis/test_redis_exampledatabase.py:98
↓ 1 callers
Function
foo
()
hypothesis/tests/nocover/test_deferred_errors.py:60
↓ 1 callers
Function
foo
(x)
hypothesis/tests/cover/test_given_error_conditions.py:105
↓ 1 callers
Function
foo
(μ)
hypothesis/tests/cover/test_unicode_identifiers.py:16
↓ 1 callers
Function
foo
(x)
hypothesis/tests/cover/test_testdecorators.py:419
↓ 1 callers
Function
foo
(a, b, c)
hypothesis/tests/cover/test_reflection.py:61
↓ 1 callers
Function
foo
()
hypothesis/tests/cover/test_verbosity.py:81
↓ 1 callers
Method
foo
(self)
hypothesis/tests/cover/test_lookup.py:894
↓ 1 callers
Method
foo
(self)
hypothesis/tests/cover/test_detection.py:25
↓ 1 callers
Function
forbid
Helper function to avoid Python variable scoping issues.
hypothesis/tests/nocover/test_filtering.py:45
↓ 1 callers
Function
forbid
Helper function to avoid Python variable scoping issues.
hypothesis/tests/nocover/test_sampled_from.py:44
← previous
next →
1,101–1,200 of 6,708, ranked by callers