Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HypothesisWorks/hypothesis
/ functions
Functions
6,299 in github.com/HypothesisWorks/hypothesis
⨍
Functions
6,299
◇
Types & classes
723
↳
Endpoints
134
↓ 1 callers
Function
_invalid
(message, *, exc=InvalidArgument, test, given_kwargs)
hypothesis/src/hypothesis/core.py:460
↓ 1 callers
Function
_invalid_thresholds
(*, r: float, c: float)
hypothesis/src/hypothesis/internal/conjecture/engine.py:158
↓ 1 callers
Function
_is_singleton
Returns True if two separately created instances of v will have the same id (due to interning).
hypothesis/src/hypothesis/stateful.py:69
↓ 1 callers
Function
_is_subnormal
(x)
hypothesis/tests/cover/test_complex_numbers.py:105
↓ 1 callers
Method
_key_path
(key: bytes)
hypothesis/src/hypothesis/database.py:1131
↓ 1 callers
Function
_lambda_code_matches_node
(f, node)
hypothesis/src/hypothesis/internal/lambda_sources.py:292
↓ 1 callers
Function
_lambda_description
(f, leeway=50, *, fail_if_confused_with_perfect_candidate=False)
hypothesis/src/hypothesis/internal/lambda_sources.py:310
↓ 1 callers
Method
_last_names
(self, n: int)
hypothesis/src/hypothesis/stateful.py:369
↓ 1 callers
Function
_list_strategy_type
()
hypothesis/src/hypothesis/strategies/_internal/strategies.py:1102
↓ 1 callers
Function
_main
()
hypothesis/tests/nocover/test_exceptiongroup.py:36
↓ 1 callers
Function
_make_binop_body
( func: Callable[[X, X], Y], *, associative: bool = True, commutative: bool = True, identi
hypothesis/src/hypothesis/extra/ghostwriter.py:1735
↓ 1 callers
Function
_make_equiv_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1545
↓ 1 callers
Function
_make_equiv_errors_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1585
↓ 1 callers
Function
_make_roundtrip_body
(funcs, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1483
↓ 1 callers
Function
_make_ufunc_body
(func, *, except_, style, annotate)
hypothesis/src/hypothesis/extra/ghostwriter.py:1901
↓ 1 callers
Method
_make_zip
(self, tree_path: Path, zip_path: Path)
hypothesis/tests/cover/test_database_backend.py:435
↓ 1 callers
Function
_mean_difference_ci
(n1, n2, *, confidence)
hypothesis/benchmark/graph.py:37
↓ 1 callers
Function
_mimic_lambda_from_node
(f, node)
hypothesis/src/hypothesis/internal/lambda_sources.py:215
↓ 1 callers
Function
_models_impl
Handle the nasty part of drawing a value for models()
hypothesis/src/hypothesis/extra/django/_impl.py:126
↓ 1 callers
Function
_natural_simpler_chars
Return single-char replacements for ``c`` derived from natural text transformations - case mapping (upper, lower, casefold) and unicode decomp
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:96
↓ 1 callers
Function
_networks
(bits)
hypothesis/src/hypothesis/strategies/_internal/types.py:855
↓ 1 callers
Method
_new_name
(self, target)
hypothesis/src/hypothesis/stateful.py:363
↓ 1 callers
Method
_node_program
(self, chooser, program)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:1365
↓ 1 callers
Function
_normalize_code
(f, l)
hypothesis/src/hypothesis/internal/lambda_sources.py:112
↓ 1 callers
Function
_p_continue_to_avg
Return the average_size generated by this p_continue and max_size.
hypothesis/src/hypothesis/internal/conjecture/utils.py:402
↓ 1 callers
Function
_parameters_to_annotation_name
( parameters: Iterable[Any] | None, imports: ImportSet )
hypothesis/src/hypothesis/extra/ghostwriter.py:914
↓ 1 callers
Function
_patch
(name, fn)
hypothesis/tests/conftest.py:168
↓ 1 callers
Method
_pop_choice
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/data.py:1046
↓ 1 callers
Method
_prepare_for_io
(self)
hypothesis/src/hypothesis/database.py:945
↓ 1 callers
Method
_pretty_print
(self, value)
hypothesis/src/hypothesis/stateful.py:344
↓ 1 callers
Function
_process_benchmark_data
(data)
hypothesis/benchmark/graph.py:52
↓ 1 callers
Function
_query_for_key
Return a tuple of codepoint intervals covering characters that match one or more categories in the tuple of categories `key`. >>> _query_for_
hypothesis/src/hypothesis/internal/charmap.py:250
↓ 1 callers
Function
_refactor
(func, fname)
hypothesis/src/hypothesis/extra/cli.py:157
↓ 1 callers
Method
_reject_child
( self, choice_type: ChoiceTypeT, constraints: ChoiceConstraintsT, *,
hypothesis/src/hypothesis/internal/conjecture/datatree.py:953
↓ 1 callers
Function
_render_constraints
(show: Mapping[str, object], other: Mapping[str, object])
hypothesis/src/hypothesis/errors.py:92
↓ 1 callers
Method
_render_redirect_template
(self, to_uri: str)
hypothesis/docs/_ext/hypothesis_redirects.py:173
↓ 1 callers
Function
_repr_call
(*args, **kwargs)
hypothesis/tests/cover/test_pretty.py:623
↓ 1 callers
Method
_repr_step
(self, rule: "Rule", data: Any, result: Any)
hypothesis/src/hypothesis/stateful.py:417
↓ 1 callers
Method
_run
(self)
hypothesis/src/hypothesis/internal/conjecture/engine.py:1550
↓ 1 callers
Function
_scalar_dtypes
Return a strategy for all :xp-ref:`valid dtype <data_types.html>` objects.
hypothesis/src/hypothesis/extra/array_api.py:593
↓ 1 callers
Method
_setup_for
( cls, machine_type: type[RuleBasedStateMachine] )
hypothesis/src/hypothesis/stateful.py:1180
↓ 1 callers
Function
_simplify_explicit_errors
Group explicit example errors by their InterestingOrigin, keeping only the simplest one, and adding a note of how many other examples failed
hypothesis/src/hypothesis/core.py:1621
↓ 1 callers
Function
_sort_key
(path: str, lineno: int)
hypothesis/src/hypothesis/internal/scrutineer.py:276
↓ 1 callers
Method
_start_listening
Called when the database adds a change listener, and did not previously have any change listeners. Intended to allow databases to wai
hypothesis/src/hypothesis/database.py:335
↓ 1 callers
Function
_stash_get
(config, key, default)
hypothesis/src/_hypothesis_pytestplugin.py:325
↓ 1 callers
Function
_strategy_for
(param: inspect.Parameter, docstring: str)
hypothesis/src/hypothesis/extra/ghostwriter.py:253
↓ 1 callers
Function
_system_metadata
()
hypothesis/src/hypothesis/internal/observability.py:517
↓ 1 callers
Function
_test_matching_pattern
(pattern, *, isvalidchar, is_unicode=False)
hypothesis/tests/cover/test_regex.py:71
↓ 1 callers
Function
_test_non_observed_draws_are_not_recorded_in_tree
(choice_type)
hypothesis/tests/conjecture/test_data_tree.py:445
↓ 1 callers
Function
_test_observed_draws_are_recorded_in_tree
(choice_type)
hypothesis/tests/conjecture/test_data_tree.py:425
↓ 1 callers
Function
_timezone_strategy
(tz)
hypothesis/src/hypothesis/strategies/_internal/types.py:483
↓ 1 callers
Function
_to_jsonable
(obj: object, *, avoid_realization: bool, seen: set[int])
hypothesis/src/hypothesis/strategies/_internal/utils.py:159
↓ 1 callers
Method
_to_test_case
(cls)
hypothesis/src/hypothesis/stateful.py:501
↓ 1 callers
Function
_try_import
(mod_name: str, attr_name: str)
hypothesis/src/hypothesis/extra/numpy.py:65
↓ 1 callers
Function
_try_import_forward_ref
Tries to import a real bound or default type from ``ForwardRef`` in ``TypeVar``. This function is very "magical" to say the least, please do
hypothesis/src/hypothesis/strategies/_internal/types.py:619
↓ 1 callers
Function
_type_from_doc_fragment
(token: str)
hypothesis/src/hypothesis/extra/ghostwriter.py:218
↓ 1 callers
Function
_unpack_dtype
(dtype)
hypothesis/src/hypothesis/extra/numpy.py:1340
↓ 1 callers
Function
_usable_dir
Returns True if the desired path can be used as database path because either the directory exists and can be used, or its root directory can
hypothesis/src/hypothesis/database.py:67
↓ 1 callers
Function
_valid_key_cacheable
(tzpath, key)
hypothesis/src/hypothesis/strategies/_internal/datetime.py:749
↓ 1 callers
Function
_validate_backend
(backend: str)
hypothesis/src/hypothesis/_settings.py:524
↓ 1 callers
Function
_validate_choices
(name: str, value: T, *, choices: Sequence[object])
hypothesis/src/hypothesis/_settings.py:419
↓ 1 callers
Function
_validate_database
( database: Optional["ExampleDatabase"], )
hypothesis/src/hypothesis/_settings.py:446
↓ 1 callers
Function
_validate_deadline
( deadline: int | float | datetime.timedelta | None, )
hypothesis/src/hypothesis/_settings.py:494
↓ 1 callers
Function
_validate_max_examples
(max_examples: int)
hypothesis/src/hypothesis/_settings.py:436
↓ 1 callers
Function
_validate_phases
(phases: Collection[Phase])
hypothesis/src/hypothesis/_settings.py:460
↓ 1 callers
Function
_validate_stateful_step_count
(stateful_step_count: int)
hypothesis/src/hypothesis/_settings.py:469
↓ 1 callers
Function
_validate_suppress_health_check
(suppressions: object)
hypothesis/src/hypothesis/_settings.py:478
↓ 1 callers
Function
_value_key
(value: object)
hypothesis/src/hypothesis/strategies/_internal/utils.py:36
↓ 1 callers
Method
_with_switch_to_hypothesis_provider
( self, value: bool )
hypothesis/src/hypothesis/internal/conjecture/engine.py:361
↓ 1 callers
Function
_worker_path
(session: pytest.Session)
hypothesis/tests/conftest.py:290
↓ 1 callers
Function
abc
(x, y, z)
hypothesis/tests/common/__init__.py:46
↓ 1 callers
Function
accept
(flag)
hypothesis/tests/nocover/test_sampled_from.py:120
↓ 1 callers
Method
accept
(self)
hypothesis/src/hypothesis/internal/conjecture/shrinker.py:290
↓ 1 callers
Method
add_category
Update characters state to match sre_parse object ``category``.
hypothesis/src/hypothesis/strategies/_internal/regex.py:219
↓ 1 callers
Method
add_char
Add given char to the whitelist.
hypothesis/src/hypothesis/strategies/_internal/regex.py:191
↓ 1 callers
Function
adjust
(ex, **kwargs)
hypothesis/tests/nocover/test_argument_validation.py:24
↓ 1 callers
Function
all_substrings
Generate all substrings of `s`, in order of length then occurrence. Includes the empty string (first), and any duplicates that are present. >
hypothesis/src/hypothesis/strategies/_internal/attrs.py:210
↓ 1 callers
Function
alternating
(code, i, n)
hypothesis/src/hypothesis/internal/lambda_sources.py:150
↓ 1 callers
Method
append
(self, f)
hypothesis/src/hypothesis/internal/observability.py:371
↓ 1 callers
Function
arg_is_required
(param: Parameter)
hypothesis/src/hypothesis/internal/reflection.py:167
↓ 1 callers
Function
array_for
(index_shape, size)
hypothesis/src/hypothesis/extra/numpy.py:1328
↓ 1 callers
Function
as_strategy
(strat_or_callable, thing)
hypothesis/src/hypothesis/strategies/_internal/core.py:1337
↓ 1 callers
Function
ascii_regex
(pattern)
hypothesis/tests/cover/test_regex.py:63
↓ 1 callers
Function
assert_examples
(s)
hypothesis/tests/common/debug.py:128
↓ 1 callers
Function
assign_rows
(draw)
hypothesis/src/hypothesis/extra/pandas/impl.py:677
↓ 1 callers
Method
assume_in_reify
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:54
↓ 1 callers
Method
assume_some_stuff
(self, x)
hypothesis/tests/cover/test_setup_teardown.py:50
↓ 1 callers
Function
bad_django_TestCase
(runner: Optional["ConjectureRunner"])
hypothesis/src/hypothesis/internal/compat.py:239
↓ 1 callers
Function
bad_test
()
hypothesis/tests/nocover/test_testdecorators.py:50
↓ 1 callers
Function
bar
(draw)
hypothesis/tests/nocover/test_labels.py:33
↓ 1 callers
Method
bar
(self)
hypothesis/tests/pytest/test_fixtures.py:39
↓ 1 callers
Function
base_float_to_lex
(f: float)
hypothesis/src/hypothesis/internal/conjecture/floats.py:200
↓ 1 callers
Function
baz
(draw)
hypothesis/tests/nocover/test_labels.py:38
↓ 1 callers
Function
belongs_to
(package: ModuleType)
hypothesis/src/hypothesis/internal/escalation.py:31
↓ 1 callers
Function
binary_search
Binary searches in [lo , hi) to find n such that f(n) == f(lo) but f(n + 1) != f(lo). It is implicitly assumed and will not be checked tha
hypothesis/src/hypothesis/internal/conjecture/junkdrawer.py:173
↓ 1 callers
Function
boolean_dtypes
Return a strategy for boolean dtypes.
hypothesis/src/hypothesis/extra/numpy.py:639
↓ 1 callers
Function
boom
(t)
hypothesis/tests/cover/test_validation.py:144
↓ 1 callers
Method
boom
(self, b)
hypothesis/tests/cover/test_executors.py:28
↓ 1 callers
Function
breadth
(x)
hypothesis/tests/nocover/test_recursive.py:57
↓ 1 callers
Function
builds_ignoring_invalid
(target, *args, **kwargs)
hypothesis/tests/nocover/test_pretty_repr.py:35
← previous
next →
901–1,000 of 6,299, ranked by callers