Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/traitlets
/ functions
Functions
933 in github.com/ipython/traitlets
⨍
Functions
933
◇
Types & classes
362
↓ 1 callers
Method
get_value
Get the value stored in this string
traitlets/config/loader.py:408
↓ 1 callers
Function
getargspec
Like inspect.getargspec but supports functools.partial as well.
traitlets/utils/getargspec.py:19
↓ 1 callers
Function
increment_argcomplete_index
Assumes ``$_ARGCOMPLETE`` is set and `argcomplete` is importable Increment the index pointed to by ``$_ARGCOMPLETE``, which is used to determ
traitlets/config/argcomplete_config.py:64
↓ 1 callers
Method
init_bar
(self)
examples/myapp.py:122
↓ 1 callers
Method
init_foo
(self)
examples/myapp.py:118
↓ 1 callers
Method
initialize
(self, argv=None)
examples/docs/load_config_app.py:46
↓ 1 callers
Method
initialize_subcommand
Initialize a subcommand with argv.
traitlets/config/application.py:700
↓ 1 callers
Function
interesting_default_value
(dv: t.Any)
traitlets/config/sphinxdoc.py:56
↓ 1 callers
Method
item_from_string
Cast a single-key dict from a string. Evaluated when parsing CLI configuration from a string. Dicts expect strings of the form key=v
traitlets/traitlets.py:4102
↓ 1 callers
Method
length_error
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3632
↓ 1 callers
Method
length_error
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3700
↓ 1 callers
Method
link
(self)
traitlets/traitlets.py:401
↓ 1 callers
Method
load_config_environ
Load config files by environment.
traitlets/config/application.py:977
↓ 1 callers
Function
main
()
examples/myapp.py:151
↓ 1 callers
Function
make_link_node
Create a link to a github resource. :param rawtext: Text being replaced with link node. :param app: Sphinx application context :param typ
docs/sphinxext/github.py:28
↓ 1 callers
Method
merge_into
Merge with another earlier LazyConfigValue or an earlier container. This is useful when having global system-wide configuration files
traitlets/config/loader.py:117
↓ 1 callers
Function
nested_update
Merge two nested dictionaries. Effectively a recursive ``dict.update``. Examples -------- Merge two flat dictionaries: >>> neste
traitlets/utils/nested_update.py:8
↓ 1 callers
Method
print_alias_help
Print the alias parts of the help.
traitlets/config/application.py:510
↓ 1 callers
Method
print_flag_help
Print the flag part of the help.
traitlets/config/application.py:552
↓ 1 callers
Method
print_help
Print the help for each Configurable class in self.classes. If classes=False (the default), only flags and aliases are printed.
traitlets/config/application.py:629
↓ 1 callers
Method
print_version
Print the version string.
traitlets/config/application.py:695
↓ 1 callers
Function
recursive_update
Recursively update one dictionary using another. None values will delete their keys.
traitlets/config/manager.py:16
↓ 1 callers
Function
reverse_aliases
Produce a mapping of trait names to lists of command line aliases.
traitlets/config/sphinxdoc.py:120
↓ 1 callers
Method
select_by_name
Selects enum-value by using its name or scoped-name.
traitlets/traitlets.py:4265
↓ 1 callers
Method
set
(self, obj: HasTraits, value: S)
traitlets/traitlets.py:708
↓ 1 callers
Method
set
Store the given config data.
traitlets/config/manager.py:68
↓ 1 callers
Method
setup_class
(cls: MetaHasTraits, classdict: dict[str, t.Any])
traitlets/traitlets.py:1013
↓ 1 callers
Method
setup_instance
(self, /, *args: t.Any, **kwargs: t.Any)
traitlets/traitlets.py:1335
↓ 1 callers
Method
start
Start the app mainloop. Override in subclasses.
traitlets/config/application.py:468
↓ 1 callers
Method
test_bad_values
(self)
tests/test_traitlets.py:1253
↓ 1 callers
Method
test_bad_values
(self)
traitlets/tests/test_traitlets.py:24
↓ 1 callers
Method
test_good_values
(self)
tests/test_traitlets.py:1247
↓ 1 callers
Method
test_good_values
(self)
traitlets/tests/test_traitlets.py:18
↓ 1 callers
Method
to_dict
return JSONable dict form of my data Currently update as dict or set, extend, prepend as lists, and inserts as list of tuples.
traitlets/config/loader.py:196
↓ 1 callers
Method
trait_defaults
Return a trait's default value or a dictionary of them Notes ----- Dynamically generated default values may depend on
traitlets/traitlets.py:1893
↓ 1 callers
Method
validate
(self, inst, value)
tests/test_traitlets.py:118
↓ 1 callers
Method
validate
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3238
↓ 1 callers
Method
validate
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3491
↓ 1 callers
Method
validate_elements
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3501
↓ 1 callers
Method
validate_elements
(self, obj: t.Any, value: t.Any)
traitlets/traitlets.py:3707
↓ 1 callers
Method
validate_elements
(self, obj: t.Any, value: dict[t.Any, t.Any])
traitlets/traitlets.py:4018
Method
__call__
(self, test: t.Any)
traitlets/traitlets.py:231
Method
__call__
(self, change: Bunch)
traitlets/traitlets.py:932
Method
__call__
(self, func: FuncT, *args: t.Any, **kwargs: t.Any)
traitlets/traitlets.py:1250
Method
__call__
( # type:ignore[override] self, parser: argparse.ArgumentParser, namespace: dict[str,
traitlets/config/loader.py:723
Method
__call__
( self, parser: t.Any, namespace: t.Any, values: t.Any, option_string: str | None = None )
traitlets/config/loader.py:978
Method
__contains__
(self, key)
tests/test_traitlets.py:2773
Method
__contains__
(self, key: t.Any)
traitlets/config/loader.py:756
Method
__copy__
(self)
traitlets/utils/sentinel.py:20
Method
__copy__
(self)
traitlets/config/loader.py:314
Method
__deepcopy__
(self, memo: t.Any)
traitlets/utils/sentinel.py:23
Method
__deepcopy__
(self, memo: t.Any)
traitlets/config/loader.py:317
Method
__del__
(self)
traitlets/config/application.py:1067
Method
__delattr__
(self, key: str)
traitlets/config/loader.py:370
Method
__dir__
(self)
traitlets/utils/bunch.py:25
Method
__enter__
(self)
traitlets/config/loader.py:591
Method
__eq__
(self, other: object)
traitlets/traitlets.py:925
Method
__exit__
Exit the context manager but do not handle any errors. In case of any error, we do not want to write the potentially broken
traitlets/config/loader.py:595
Method
__get__
(self, obj: None, cls: type[t.Any])
traitlets/traitlets.py:688
Method
__get__
(self, inst: t.Any, cls: t.Any = None)
traitlets/traitlets.py:1264
Method
__get__
(self, obj: None, cls: type[t.Any])
traitlets/traitlets.py:2548
Method
__getattr__
(self, key: str)
traitlets/utils/bunch.py:16
Method
__getattr__
(self, key: str)
traitlets/config/loader.py:354
Method
__getattr__
(self, attr: str)
traitlets/config/argcomplete_config.py:18
Method
__getitem__
(self, key: str)
traitlets/config/loader.py:767
Method
__getstate__
(self)
traitlets/traitlets.py:1406
Method
__init__
(self, **kwargs)
tests/test_traitlets.py:592
Method
__init__
(self, **kwargs)
tests/test_traitlets.py:603
Method
__init__
(self, **kwargs)
tests/test_traitlets.py:782
Method
__init__
(self, **kwargs)
tests/test_traitlets.py:793
Method
__init__
(self, i)
tests/test_traitlets.py:918
Method
__init__
(self, c)
tests/test_traitlets.py:1128
Method
__init__
(self, c, d)
tests/test_traitlets.py:1135
Method
__init__
(self, default_value=None)
tests/test_traitlets.py:1852
Method
__init__
(self)
tests/test_traitlets.py:2301
Method
__init__
(self, **kwargs)
tests/test_traitlets.py:2429
Method
__init__
(self, container)
tests/test_traitlets.py:2767
Method
__init__
(self, *args, **kwargs)
tests/test_traitlets.py:2787
Method
__init__
(self, c: t.Any)
tests/test_typing.py:40
Method
__init__
(self, arg1, **kwargs)
tests/utils/test_decorators.py:43
Method
__init__
(self, *args, **kwargs)
tests/config/test_argcomplete.py:28
Method
__init__
(self, *args, **kwargs)
tests/config/test_application.py:788
Method
__init__
(self, value: t.Any)
traitlets/traitlets.py:228
Method
__init__
( self, source: t.Any, target: t.Any, transform: t.Iterable[FuncT] | None = None )
traitlets/traitlets.py:302
Method
__init__
(self, source: t.Any, target: t.Any, transform: t.Any = None)
traitlets/traitlets.py:395
Method
__init__
Declare a traitlet. If *allow_none* is True, None is a valid value in addition to any values that are normally valid. The default is
traitlets/traitlets.py:526
Method
__init__
(self, cb: t.Any)
traitlets/traitlets.py:917
Method
__init__
Finish initializing the HasDescriptors class.
traitlets/traitlets.py:984
Method
__init__
(self, names: tuple[Sentinel | str, ...], type: str = "")
traitlets/traitlets.py:1271
Method
__init__
(self, names: tuple[Sentinel | str, ...])
traitlets/traitlets.py:1280
Method
__init__
(self, name: str)
traitlets/traitlets.py:1288
Method
__init__
(self, *args: t.Any, **kwargs: t.Any)
traitlets/traitlets.py:1345
Method
__init__
( self: Type[type, type], default_value: Sentinel | None | str = ..., klas
traitlets/traitlets.py:2032
Method
__init__
( self: Instance[T], klass: type[T] = ..., args: tuple[t.Any, ...] | None
traitlets/traitlets.py:2205
Method
__init__
(self, **kwargs: t.Any)
traitlets/traitlets.py:2388
Method
__init__
Construct a Union trait. This trait allows values that are allowed by at least one of the specified trait types. A Union traitlet ca
traitlets/traitlets.py:2405
Method
__init__
( self: Int[int, int], default_value: int | Sentinel = ..., allow_none: Literal[False]
traitlets/traitlets.py:2600
Method
__init__
( self: CInt[int, t.Any], default_value: t.Any | Sentinel = ..., allow_non
traitlets/traitlets.py:2672
Method
__init__
( self: Float[float, int | float], default_value: float | Sentinel = ..., allow_none:
traitlets/traitlets.py:2725
Method
__init__
( self: CFloat[float, t.Any], default_value: t.Any = ..., allow_none: Lite
traitlets/traitlets.py:2790
← previous
next →
201–300 of 933, ranked by callers