MCPcopy Create free account

hub / github.com/scikit-build/scikit-build-core / functions

Functions833 in github.com/scikit-build/scikit-build-core

↓ 71 callersMethodexecute
(self, command: str)
tests/conftest.py:152
↓ 67 callersMethodfrom_file
( cls, pyproject_path: os.PathLike[str] | str, config_settings: Mapping[str, str | lis
src/scikit_build_core/settings/skbuild_read_settings.py:445
↓ 64 callersMethodinstall
(self, *args: str, isolated: bool = True)
tests/conftest.py:158
↓ 54 callersMethodregister
Register a function for an exact value.
src/scikit_build_core/_vendor/pyproject_metadata/_dispatch.py:47
↓ 48 callersFunctionrich_print
Print a message with style and useful common includes provided via formatting. This function will process every argument with the following
src/scikit_build_core/_logging.py:280
↓ 35 callersMethodrun
(self, *args: str, capture: Literal[True])
tests/conftest.py:105
↓ 28 callersMethoddebug
(self, msg: str, *args: object, **kwargs: object)
src/scikit_build_core/_logging.py:85
↓ 26 callersMethodconfig_error
Raise a configuration error, or add it to the error list.
src/scikit_build_core/_vendor/pyproject_metadata/errors.py:140
↓ 26 callersMethodconvert_target
Given a dataclass type, create an object of that dataclass filled with the values in the sources.
src/scikit_build_core/settings/sources.py:596
↓ 21 callersMethodload
Load the newest index.json file and return the Index object.
src/scikit_build_core/file_api/reply.py:33
↓ 19 callersMethodvalidate_may_exit
(self)
src/scikit_build_core/settings/skbuild_read_settings.py:416
↓ 18 callersMethoderror
Add an error to the list, or raise it immediately.
src/scikit_build_core/_vendor/pyproject_metadata/errors.py:122
↓ 16 callersMethodconvert
Convert an ``item`` from the base representation of the source's source into a ``target`` type. Raises TypeError if the conversion fa
src/scikit_build_core/settings/sources.py:220
↓ 15 callersFunction_process_union
Filters None out of Unions. If a Union only has one item, return that item.
src/scikit_build_core/settings/sources.py:110
↓ 15 callersMethodcompute_best
( cls, archs: Sequence[str], py_api: str = "", *, expand_macos: bool =
src/scikit_build_core/builder/wheel_tag.py:36
↓ 15 callersFunctionrich_error
( *args: str, color: Literal[ "", "black", "red", "green", "yellow", "blue", "magenta", "cyan"
src/scikit_build_core/_logging.py:359
↓ 14 callersFunction_get_inner_type
Takes a types like ``List[str]`` and returns str, or ``Dict[str, int]`` and returns int.
src/scikit_build_core/settings/sources.py:159
↓ 13 callersFunctionbest_program
Select the first program entry that is of a supported version, or None if not found.
src/scikit_build_core/program_search.py:226
↓ 13 callersFunctionconvert_type
(t: Any, *, normalize_keys: bool)
src/scikit_build_core/settings/json_schema.py:122
↓ 13 callersMethoddefault_search
( cls, *, version: SpecifierSet | None = None, module: bool = True, en
src/scikit_build_core/cmake.py:50
↓ 13 callersMethodformat
(self)
src/scikit_build_core/settings/skbuild_docs_readme.py:36
↓ 12 callersFunction_is_union_type
Check if raw_target is a Union type (either ``typing.Union`` or ``types.UnionType``). Handles both ``typing.Union[A, B]`` and PEP 604 syntax
src/scikit_build_core/settings/sources.py:151
↓ 11 callersMethodall_option_names
Given a model, produce a list of all possible names (used for producing suggestions).
src/scikit_build_core/settings/sources.py:235
↓ 11 callersMethodinfo
(self, msg: str, *args: object, **kwargs: object)
src/scikit_build_core/_logging.py:88
↓ 11 callersMethodwarning
(self, msg: str, *args: object, **kwargs: object)
src/scikit_build_core/_logging.py:91
↓ 10 callersMethodcmake
(self)
src/scikit_build_core/builder/get_requires.py:82
↓ 10 callersFunctioncontained
(paths: Iterable[Path], rel: str)
tests/utils/pathutils.py:11
↓ 10 callersMethoddynamic_metadata
(self)
src/scikit_build_core/builder/get_requires.py:140
↓ 10 callersFunctionget_name
Get the name of a type hint as a readable modern Python type.
src/scikit_build_core/_vendor/pyproject_metadata/_dispatch.py:82
↓ 10 callersMethodninja
(self)
src/scikit_build_core/builder/get_requires.py:100
↓ 9 callersFunction_get_target_raw_type
Takes a type like ``Optional[str]`` and returns str, or ``Optional[Dict[str, int]]`` and returns dict. Returns Union for a Union with more th
src/scikit_build_core/settings/sources.py:138
↓ 9 callersMethodmodule
(self, *args: str)
tests/conftest.py:155
↓ 9 callersFunctionregex_match
Returns a non-empty string if a value matches a regex.
src/scikit_build_core/settings/skbuild_overrides.py:82
↓ 8 callersFunction_setup_test_filesystem
Set up a test filesystem with various files and directories for testing.
tests/test_file_processor.py:40
↓ 8 callersFunctionget_cmake_programs
Get the path and version for CMake. If the version cannot be determined, yields (path, None). Otherwise, yields (path, version). Best matches
src/scikit_build_core/program_search.py:176
↓ 7 callersMethodcollect
Collect errors into the error list. Must be inside loops.
src/scikit_build_core/_vendor/pyproject_metadata/errors.py:108
↓ 7 callersMethodconfigure
( self, *, defines: Mapping[str, str | os.PathLike[str] | bool] | None = None,
src/scikit_build_core/cmake.py:261
↓ 7 callersFunctionget_python_library
(env: Mapping[str, str], *, abi3: bool = False)
src/scikit_build_core/builder/sysconfig.py:47
↓ 7 callersMethodunrecognized_options
Given a model, produce an iterator of all unrecognized option names. Empty iterator if this can't be computed for the source (like fo
src/scikit_build_core/settings/sources.py:227
↓ 6 callersFunctionget_ninja_programs
Get the path and version for Ninja. If the version cannot be determined, yields (path, None). Otherwise, yields (path, version). Best matches
src/scikit_build_core/program_search.py:186
↓ 6 callersFunctionload_reply_dir
(path: Path)
src/scikit_build_core/file_api/reply.py:109
↓ 6 callersFunctiontokenize
(contents: str)
src/scikit_build_core/ast/tokenizer.py:59
↓ 6 callersFunctionvalidate_via_prefix
Validate a TypedDict at runtime.
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:180
↓ 5 callersFunctionTypeVar
( # noqa: N802 *args: object, default: object = None, # noqa: ARG001 **k
src/scikit_build_core/_compat/typing.py:33
↓ 5 callersFunction_cast
Runtime cast for types. Just enough to cover the dicts above (not general or public). Calls validators as well. This may raise Configura
src/scikit_build_core/_vendor/pyproject_metadata/project_table.py:386
↓ 5 callersMethodfinalize
Raise a group exception if there are any errors.
src/scikit_build_core/_vendor/pyproject_metadata/errors.py:102
↓ 5 callersMethodfind_spec
( self, fullname: str, path: object = None, target: object = None, )
src/scikit_build_core/resources/_editable_redirect.py:133
↓ 5 callersMethodfrom_config_settings
( cls, config_settings: Mapping[str, list[str] | str] | None )
src/scikit_build_core/builder/get_requires.py:77
↓ 5 callersFunctionget_archs
Takes macOS platform settings and returns a list of platforms. Example (macOS): ARCHFLAGS="-arch x86_64" -> ["x86_64"] ARCHF
src/scikit_build_core/builder/builder.py:43
↓ 5 callersMethodget_generator
(self, *args: str)
src/scikit_build_core/builder/builder.py:120
↓ 5 callersFunctionget_min_requires
Read the build requirements from a pyproject.toml file and return the minimum version required for the given package. Returns None if no
src/scikit_build_core/settings/auto_requires.py:21
↓ 5 callersFunctionparse
Generate a stream of nodes from a stream of tokens. This currently bundles all block-like functions into a single `Block` node, but this coul
src/scikit_build_core/ast/ast.py:44
↓ 5 callersFunctionrich_warning
( *args: str, color: Literal[ "", "black", "red", "green", "yellow", "blue", "magenta", "cyan"
src/scikit_build_core/_logging.py:342
↓ 4 callersFunction_cmake_extension
(dist: Distribution)
src/scikit_build_core/setuptools/build_cmake.py:217
↓ 4 callersFunction_process_annotated
Splits annotated into raw type and annotations. If not annotated, the annotations will be empty.
src/scikit_build_core/settings/sources.py:126
↓ 4 callersFunctionfind_min_cmake_version
Locate the minimum required version. Return None if not found.
src/scikit_build_core/settings/auto_cmake_version.py:13
↓ 4 callersFunctionget_requires_for_build_wheel
( config_settings: dict[str, str | list[str]] | None = None, )
src/scikit_build_core/setuptools/build_meta.py:54
↓ 4 callersFunctionmain
()
src/scikit_build_core/__main__.py:12
↓ 4 callersFunctionparse_help_default
Parses the default generator from the output of cmake --help.
src/scikit_build_core/builder/generator.py:27
↓ 4 callersMethodrun
(self)
src/scikit_build_core/setuptools/build_cmake.py:109
↓ 4 callersFunctionsingle_config
(param: None | str)
tests/test_cmake_config.py:25
↓ 4 callersFunctionstateless_query
(build_dir: Path)
src/scikit_build_core/file_api/query.py:13
↓ 3 callersMethod_get_entry_point_search_path
Get the search path dict from the entry points
src/scikit_build_core/builder/builder.py:125
↓ 3 callersFunction_has_cmake
(dist: Distribution)
src/scikit_build_core/setuptools/build_cmake.py:196
↓ 3 callersFunction_nested_dataclass_to_names
Yields each entry, like ``("a", "b", "c")`` for ``a.b.c``.
src/scikit_build_core/settings/sources.py:175
↓ 3 callersFunction_process_bool
(value: str)
src/scikit_build_core/settings/sources.py:89
↓ 3 callersFunction_process_dynamic_metadata
Helper function for processing an action on the various possible metadata fields.
src/scikit_build_core/metadata/__init__.py:68
↓ 3 callersMethodbuild
(self, build_args: Sequence[str])
src/scikit_build_core/builder/builder.py:303
↓ 3 callersMethodcapture
Runs a command and captures the result.
src/scikit_build_core/_shutil.py:36
↓ 3 callersFunctioncompute_timeout
Compute a recommended timeout. Takes the base timeout and multiplies it based on various factors: * Is on CI: quadruples it * Is win
src/scikit_build_core/program_search.py:63
↓ 3 callersMethodconfigure
( self, *, defines: Mapping[str, str | bool | Path], cache_entries: Mapping[st
src/scikit_build_core/builder/builder.py:140
↓ 3 callersFunctionconfigure_args
( config: CMaker, *, init: bool = False, single_config: bool = False )
tests/test_cmake_config.py:63
↓ 3 callersFunctionensure_list
Ensure that a value is a list of strings.
src/scikit_build_core/_vendor/pyproject_metadata/pyproject.py:70
↓ 3 callersFunctionensure_str
Ensure that a value is a string.
src/scikit_build_core/_vendor/pyproject_metadata/pyproject.py:63
↓ 3 callersMethodformat
(self)
src/scikit_build_core/settings/skbuild_docs_sphinx.py:79
↓ 3 callersMethodget_cmake_args
Get CMake args from the settings and environment.
src/scikit_build_core/builder/builder.py:105
↓ 3 callersFunctionget_host_platform
Return a string that identifies the current platform. This mimics setuptools get_host_platform (without 3.8 aix compat).
src/scikit_build_core/builder/sysconfig.py:125
↓ 3 callersFunctionget_platform
Return the Python platform name for a platform, respecting VSCMD_ARG_TGT_ARCH.
src/scikit_build_core/builder/sysconfig.py:133
↓ 3 callersFunctionget_python_include_dir
()
src/scikit_build_core/builder/sysconfig.py:121
↓ 3 callersFunctionget_soabi
(env: Mapping[str, str], *, abi3: bool = False)
src/scikit_build_core/builder/sysconfig.py:161
↓ 3 callersFunctionget_source_dir_from_pyproject_toml
()
src/scikit_build_core/setuptools/build_cmake.py:49
↓ 3 callersMethodhas_item
Check if the source contains a chain of fields. For example, ``fields = [Field(name="a"), Field(name="b")]`` will check if the source
src/scikit_build_core/settings/sources.py:204
↓ 3 callersMethodinit_cache
( self, cache_settings: Mapping[str, str | os.PathLike[str] | bool] )
src/scikit_build_core/cmake.py:163
↓ 3 callersMethodlive
Runs code and prints the results live.
src/scikit_build_core/_shutil.py:30
↓ 3 callersMethodmake_class
Convert a dict to a dataclass. Automatically load a few nested jsonFile classes.
src/scikit_build_core/file_api/reply.py:49
↓ 3 callersFunctionmk_docs
Makes documentation for a dataclass.
src/scikit_build_core/settings/documentation.py:96
↓ 3 callersFunctionnormalize_macos_version
Set minor version to 0 if major is 11+.
src/scikit_build_core/builder/macos.py:24
↓ 3 callersFunctionprocess_dynamic_metadata
( project: Mapping[str, Any], metadata: Mapping[str, Mapping[str, Any]], )
src/scikit_build_core/builder/_load_provider.py:138
↓ 3 callersFunctionprocess_package
( package: PackageInfo, monkeypatch: pytest.MonkeyPatch, )
tests/conftest.py:220
↓ 3 callersFunctionsetup
( *, cmake_args: Sequence[str] = (), cmake_install_dir: str = "", cmake_source_dir: str = "",
src/scikit_build_core/setuptools/wrapper.py:27
↓ 3 callersMethodunrecognized_options
(self, options: object)
src/scikit_build_core/settings/sources.py:657
↓ 3 callersFunctionversion_match
Returns a non-empty string if a version matches a specifier.
src/scikit_build_core/settings/skbuild_overrides.py:73
↓ 2 callersMethod_build
(self, *args: str)
src/scikit_build_core/cmake.py:317
↓ 2 callersMethod_cleanup
(self)
src/scikit_build_core/hatch/plugin.py:307
↓ 2 callersFunction_dict_with_envvar
This produces values. Supports "env" and "default" keys.
src/scikit_build_core/settings/sources.py:189
↓ 2 callersFunction_dig_fields
(opt: Any, /, *names: str)
src/scikit_build_core/settings/sources.py:99
↓ 2 callersFunction_dig_strict
(_dict: Mapping[str, Any], /, *names: str)
src/scikit_build_core/settings/sources.py:83
↓ 2 callersFunction_email_list
Build a comma-separated list of emails.
src/scikit_build_core/_vendor/pyproject_metadata/__init__.py:750
↓ 2 callersMethod_get_name
(self, *fields: str)
src/scikit_build_core/settings/sources.py:252
↓ 2 callersMethod_get_name
(self, *fields: str)
src/scikit_build_core/settings/sources.py:376
next →1–100 of 833, ranked by callers