Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,164 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,164
◇
Types & classes
721
↳
Endpoints
128
↓ 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:80
↓ 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:123
↓ 1 callers
Function
flatten
(x)
hypothesis/tests/cover/test_recursive.py:28
↓ 1 callers
Function
float_constr
( min_value=-math.inf, max_value=math.inf, *, allow_nan=True, smallest_nonzero_magnitude=S
hypothesis/tests/conjecture/common.py:248
↓ 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:420
↓ 1 callers
Function
foo
(a, b, c)
hypothesis/tests/cover/test_reflection.py:54
↓ 1 callers
Function
foo
()
hypothesis/tests/cover/test_verbosity.py:69
↓ 1 callers
Method
foo
(self)
hypothesis/tests/cover/test_lookup.py:896
↓ 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
↓ 1 callers
Function
format
(*, format_all=False)
tooling/src/hypothesistooling/__main__.py:228
↓ 1 callers
Function
format_lambda
(body)
hypothesis/src/hypothesis/internal/lambda_sources.py:324
↓ 1 callers
Function
format_ms
Format `times` into a string representing approximate milliseconds. `times` is a collection of durations in seconds.
hypothesis/src/hypothesis/statistics.py:49
↓ 1 callers
Method
from_alphabet
(cls, alphabet: str | SearchStrategy)
hypothesis/src/hypothesis/strategies/_internal/strings.py:107
↓ 1 callers
Function
from_attrs
An internal version of builds(), specialised for Attrs classes.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:73
↓ 1 callers
Function
from_attrs_attribute
Infer a strategy from the metadata on an attr.Attribute object.
hypothesis/src/hypothesis/strategies/_internal/attrs.py:93
↓ 1 callers
Method
from_mismatch
( cls, expected_type: str, expected_constraints: ChoiceConstraintsT, actual_ty
hypothesis/src/hypothesis/errors.py:126
↓ 1 callers
Function
from_type_guarded
Returns the result of producer, or ... if recursion on thing is encountered
hypothesis/src/hypothesis/strategies/_internal/core.py:1356
↓ 1 callers
Function
frozen_and_stoptest
(data: DataObject)
hypothesis/tests/cover/test_exceptiongroup.py:107
↓ 1 callers
Method
frozzle
(self, x)
hypothesis/tests/cover/test_lookup_py38.py:234
↓ 1 callers
Function
functions
( *, pure: bool = ... )
hypothesis/src/hypothesis/strategies/_internal/core.py:2668
↓ 1 callers
Function
g
(n2)
hypothesis/tests/cover/test_health_checks.py:210
↓ 1 callers
Function
g
(observation)
hypothesis/tests/cover/test_observability.py:614
↓ 1 callers
Function
g
()
hypothesis/tests/cover/test_reflection.py:315
↓ 1 callers
Function
gc_patches
(slug: str = "")
hypothesis/src/hypothesis/extra/_patching.py:347
↓ 1 callers
Method
gen_ignore
(self, data: ConjectureData, draw_state: list[str])
hypothesis/src/hypothesis/extra/lark.py:189
↓ 1 callers
Method
generate_mutations_from
(self, data: ConjectureData | ConjectureResult)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1352
↓ 1 callers
Function
get_all_exported_names
()
whole_repo_tests/documentation/test_documentation.py:27
↓ 1 callers
Function
get_attribute_by_alias
Get an attrs attribute by its alias, rather than its name (compare getattr(fields, name)). ``target`` is used only to provide a nicer er
hypothesis/src/hypothesis/strategies/_internal/attrs.py:43
↓ 1 callers
Function
get_autoupdate_message
(domainlist_changed)
tooling/src/hypothesistooling/release.py:353
↓ 1 callers
Function
get_constraints_filter_map
()
hypothesis/src/hypothesis/strategies/_internal/types.py:413
↓ 1 callers
Method
get_element
(self, i: int)
hypothesis/src/hypothesis/strategies/_internal/strategies.py:748
↓ 1 callers
Function
get_explaining_locations
(traces)
hypothesis/src/hypothesis/internal/scrutineer.py:191
↓ 1 callers
Function
get_float_predicate_bounds
(predicate: Predicate)
hypothesis/src/hypothesis/internal/filtering.py:332
↓ 1 callers
Function
get_fn
(import_path)
hypothesis/src/hypothesis/extra/codemods.py:109
↓ 1 callers
Function
get_line_num
(token, lines, skip_n=0)
hypothesis/tests/pytest/test_capture.py:74
↓ 1 callers
Function
get_state_machine_test
( state_machine_factory, *, settings=None, _min_steps=0, _flaky_state=None )
hypothesis/src/hypothesis/stateful.py:99
↓ 1 callers
Function
get_terminal_names
Get names of all terminals in the grammar. The arguments are the results of calling ``Lark.grammar.compile()``, so you would think that the `
hypothesis/src/hypothesis/extra/lark.py:41
↓ 1 callers
Function
get_top_level_domains
()
hypothesis/src/hypothesis/provisional.py:38
↓ 1 callers
Function
get_varargs
( sig: Signature, kind: int = Parameter.VAR_POSITIONAL )
hypothesis/src/hypothesis/internal/reflection.py:365
↓ 1 callers
Function
getmodules
()
hypothesis/tests/ghostwriter/try-writing-for-installed.py:34
↓ 1 callers
Method
getstate
(self)
hypothesis/src/hypothesis/strategies/_internal/random.py:422
↓ 1 callers
Method
give_me_a_positive_int
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:41
↓ 1 callers
Method
give_me_a_string
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:36
↓ 1 callers
Method
greedy_shrink
Run a full set of greedy shrinks (that is, ones that will only ever move to a better target) and update shrink_target appropriately.
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:686
↓ 1 callers
Function
greet
(world)
hypothesis/tests/cover/test_validation.py:83
↓ 1 callers
Function
group_conditional
(draw, group_name, if_yes, if_no)
hypothesis/src/hypothesis/strategies/_internal/regex.py:93
↓ 1 callers
Function
group_pred
(s)
hypothesis/tests/cover/test_regex.py:220
↓ 1 callers
Function
guess_background_color
Returns one of "dark", "light", or "unknown". This is basically just guessing, but better than always guessing "dark"! See also https://stack
hypothesis/src/hypothesis/utils/terminal.py:15
↓ 1 callers
Function
gufunc_arrays
An example user strategy built on top of mutually_broadcastable_shapes.
hypothesis/tests/numpy/test_gufunc.py:49
↓ 1 callers
Function
gufunc_sig_to_einsum_sig
E.g. (i,j),(j,k)->(i,k) becomes ...ij,...jk->...ik
hypothesis/tests/numpy/test_gufunc.py:134
↓ 1 callers
Function
h
(n3)
hypothesis/tests/cover/test_health_checks.py:230
↓ 1 callers
Function
has_annotations
(elements)
hypothesis/src/hypothesis/strategies/_internal/core.py:252
↓ 1 callers
Function
has_diff
(file_or_directory)
tooling/src/hypothesistooling/__main__.py:606
↓ 1 callers
Function
has_uncommitted_changes
(filename)
tooling/src/hypothesistooling/git.py:67
↓ 1 callers
Method
hill_climb
The main hill climbing loop where we actually do the work: Take data, and attempt to improve its score for target. select_example takes
hypothesis/src/hypothesis/internal/conjecture/optimiser.py:84
↓ 1 callers
Function
hook
(stats: Any)
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:487
↓ 1 callers
Function
impersonate
Decorator to update the attributes of a function so that to external introspectors it will appear to be the target function. Note that this u
hypothesis/src/hypothesis/internal/reflection.py:462
↓ 1 callers
Function
implementation
(self, **kwargs)
hypothesis/src/hypothesis/strategies/_internal/random.py:128
↓ 1 callers
Function
infer_dtype_if_necessary
(dtype, values, elements, draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:50
↓ 1 callers
Method
initialize
(self)
hypothesis/tests/cover/test_stateful.py:1060
↓ 1 callers
Function
inner
(uuid)
hypothesis/tests/nocover/test_uuids.py:31
↓ 1 callers
Function
inner
(x)
hypothesis/tests/common/debug.py:70
↓ 1 callers
Function
inner
(_)
hypothesis/tests/numpy/test_randomness.py:22
↓ 1 callers
Function
inner
(foo, bar, baz)
hypothesis/tests/cover/test_custom_reprs.py:91
↓ 1 callers
Function
inner
(value: X)
hypothesis/tests/cover/test_error_in_draw.py:50
↓ 1 callers
Function
inner
(ex)
hypothesis/tests/cover/test_type_lookup.py:62
↓ 1 callers
Function
inner
(d)
hypothesis/tests/cover/test_searchstrategy.py:110
↓ 1 callers
Function
inner_1
(ex)
hypothesis/tests/cover/test_lookup.py:270
↓ 1 callers
Function
inner_2
(ex)
hypothesis/tests/cover/test_lookup.py:276
↓ 1 callers
Function
inner_test_multiple_failing_examples
(x)
hypothesis/tests/cover/test_explicit_examples.py:255
↓ 1 callers
Function
inner_tst
(n)
hypothesis/tests/cover/test_numerics.py:147
↓ 1 callers
Function
installed_array_modules
Returns a dictionary of array module names paired to their entry points A convenience wrapper for importlib.metadata.entry_points(). It has the
hypothesis/tests/array_api/common.py:37
↓ 1 callers
Function
integer_constr
(min_value=None, max_value=None, *, weights=None, shrink_towards=0)
hypothesis/tests/conjecture/common.py:263
↓ 1 callers
Function
integer_dtypes
( *, endianness: str = "?", sizes: Literal[8], )
hypothesis/src/hypothesis/extra/numpy.py:737
↓ 1 callers
Function
integer_weights
( draw: DrawFn, min_value: int | None = None, max_value: int | None = None )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:76
↓ 1 callers
Function
integers_for_field
(min_value, max_value)
hypothesis/src/hypothesis/extra/django/_fields.py:53
↓ 1 callers
Function
interval_lists
( *, min_codepoint: int = 0, max_codepoint: int = sys.maxunicode, min_size: int = 0 )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:50
↓ 1 callers
Function
intervals
( *, min_codepoint: int = 0, max_codepoint: int = sys.maxunicode, min_size: int = 0 )
hypothesis/src/hypothesis/internal/conjecture/provider_conformance.py:64
↓ 1 callers
Function
intervals_to_set
(ints)
hypothesis/tests/cover/test_intervalset.py:72
↓ 1 callers
Function
invariant
Decorator to apply an invariant for rules in a RuleBasedStateMachine. The decorated function will be run after every rule and can raise an exc
hypothesis/src/hypothesis/stateful.py:1047
↓ 1 callers
Function
ip_addresses
r"""Generate IP addresses - ``v=4`` for :class:`~python:ipaddress.IPv4Address`\ es, ``v=6`` for :class:`~python:ipaddress.IPv6Address`\ es, or lea
hypothesis/src/hypothesis/strategies/_internal/ipaddress.py:74
↓ 1 callers
Function
is_ascii
(s)
hypothesis/tests/cover/test_regex.py:38
↓ 1 callers
Method
is_currently_empty
Returns whether this strategy is currently empty. Unlike ``empty``, which is computed based on static information and cannot change,
hypothesis/src/hypothesis/strategies/_internal/strategies.py:251
↓ 1 callers
Function
is_factorial
(n)
hypothesis/tests/quality/test_discovery_ability.py:139
↓ 1 callers
Function
is_integral
(value)
hypothesis/tests/nocover/test_simple_numbers.py:135
↓ 1 callers
Function
is_intersphinx_link
(uri)
hypothesis/docs/_ext/hypothesis_linkcheck.py:32
↓ 1 callers
Function
is_invalid_test
Check the arguments to ``@given`` for basic usage constraints. Most errors are not raised immediately; instead we return a dummy test functio
hypothesis/src/hypothesis/core.py:470
↓ 1 callers
Function
is_maximal
(t)
hypothesis/src/hypothesis/strategies/_internal/types.py:705
↓ 1 callers
Function
is_not_too_large
(x)
hypothesis/tests/cover/test_testdecorators.py:98
↓ 1 callers
Method
is_pinned
Returns True if the key is currently pinned.
hypothesis/src/hypothesis/internal/cache.py:166
← previous
next →
1,101–1,200 of 6,164, ranked by callers