Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ functions
Functions
897 in github.com/cdgriffith/Box
⨍
Functions
897
◇
Types & classes
104
↳
Endpoints
8
Method
__init__
(self, name, value)
test/test_box_list.py:286
Method
__init__
(self, value)
test/test_box_list.py:673
Method
__init__
(self, key)
test/test_review_fixes.py:89
Method
__init__
(self)
test/common.py:72
Method
__init__
(self, *args, **kwargs)
test/test_box.py:1725
Method
__init__
(self, *args: Any, **kwargs: Any)
box/box.py:374
Method
__init_subclass__
(cls, **kwargs)
box/box.py:351
Method
__iter__
(self)
test/test_box_list.py:58
Method
__iter__
(self)
test/test_box_list.py:270
Method
__iter__
(self)
test/test_box_list.py:295
Method
__mul__
(self, count)
box/box_list.py:155
Method
__new__
(cls, *args, **kwargs)
box/box_list.py:48
Method
__new__
Due to the way pickling works in python 3, we need to make sure the box config is created as early as possible.
box/box.py:360
Method
__or__
(self, other: Mapping[Any, Any])
box/box.py:441
Method
__reduce_ex__
(self, protocol)
box/box_list.py:421
Method
__repr__
(self)
box/shorthand_box.py:46
Method
__repr__
(self)
box/box_list.py:400
Method
__repr__
(self)
box/box.py:1100
Method
__repr__
(self)
box/config_box.py:322
Method
__reversed__
(self)
box/box.py:1110
Method
__setstate__
(self, state)
box/box_list.py:432
Method
__setstate__
(self, state)
box/box.py:614
Method
__str__
(self)
box/box_list.py:403
Method
__str__
(self)
box/box.py:1103
Method
__sub__
(self, other: Mapping[Any, Any])
box/box.py:465
Method
_comment_check_frozen
(self)
box/box.py:124
Method
_comment_document
(self, create: bool = True)
box/box.py:118
Method
_comment_owner
(container, index) that holds the comment for `key`, following box_dots paths.
box/box_list.py:330
Method
_comment_owner
(self, key)
box/box.py:127
Method
_comment_resolve
(self, key)
box/config_box.py:142
Method
_comment_store
(self, create: bool = True)
box/box.py:112
Method
_flush_pending_parent
(self)
box/config_box.py:216
Function
_from_yaml
( yaml_string: str | None = None, filename: str | PathLike | None = None, encoding: str = "utf-8",
box/converters.py:249
Function
_frozen_through_box
()
test/test_audit_sync.py:281
Function
_frozen_through_box_copy
()
test/test_audit_sync.py:286
Function
_ids
(ops)
test/test_audit_sync.py:145
Function
_to_csv
(file, encoding, errors, **kwargs)
box/from_file.py:46
Function
_to_json
(file, encoding, errors, **kwargs)
box/from_file.py:37
Function
_to_msgpack
(file, _, __, **kwargs)
box/from_file.py:72
Function
_to_toml
(file, encoding, errors, **kwargs)
box/from_file.py:63
Function
_to_toon
(file, encoding, errors, **kwargs)
box/from_file.py:83
Function
_to_yaml
(file, encoding, errors, **kwargs)
box/from_file.py:50
Function
apply_comments
Store the comments of an extracted model on the Box / BoxList tree built from the same document.
box/comments.py:211
Method
assign
(list_type)
test/test_box_list.py:282
Function
backend
(request, monkeypatch)
test/test_yaml_order.py:16
Method
bad
(name)
test/test_coverage_paths.py:56
Method
bounded_append
(item)
test/test_box_list.py:77
Function
cast
(value)
test/test_update_insertion.py:12
Method
cast_id
(val)
test/test_box.py:1346
Method
comments
()
test/test_comments.py:258
Method
convert_and_set
(k, v)
box/box.py:1210
Method
converted_items
()
box/box_list.py:135
Function
del_comment
(obj, key)
box/comments.py:107
Method
del_comment
(self, key: Any = None)
box/box.py:155
Method
dict
(self)
box/shorthand_box.py:31
Function
dump_yaml
to_yaml for Box and BoxList: with comments and the ruamel round trip dumper, write them out, otherwise dump `plain` exactly as before.
box/comments.py:333
Function
factory
()
test/test_box.py:1809
Method
factory
(key, prefix="item-")
test/test_review_fixes.py:65
Function
fake_ipython
(monkeypatch)
test/test_coverage_paths.py:18
Method
field
(self)
test/test_box.py:1729
Method
find_by_name
(self, name)
test/test_box.py:1084
Method
from_json
Transform a json object string into a BoxList object. If the incoming json is a dict, you must use Box.from_json. :param jso
box/box_list.py:492
Method
from_msgpack
Transforms a toml string or file into a BoxList object :param msgpack_bytes: string to pass to `msgpack.packb` :
box/box_list.py:712
Method
from_toml
Transforms a toml string or file into a BoxList object :param toml_string: string to pass to `toml.load` :param
box/box_list.py:655
Method
from_toon
Transforms a TOON string or file into a BoxList object :param toon_string: string to pass to `toon_format.decode`
box/box_list.py:764
Method
from_yaml
Transform a yaml object string into a BoxList object. :param yaml_string: string to pass to `yaml.load` :param f
box/box_list.py:561
Method
func
(box_instance, key)
test/test_box.py:1796
Function
function_example
(value)
test/common.py:67
Function
get_comment
(obj, key)
box/comments.py:80
Method
get_comment
The comments of an item (see ``BoxList.get_comment``), ``None`` for the document comments.
box/box.py:148
Method
json
(self)
box/shorthand_box.py:35
Method
keyword
(*, key, box_instance)
test/test_coverage_paths.py:50
Method
keyword_only
(*, box_instance, key)
test/test_review_fixes.py:74
Method
mapping
(k)
box/box_list.py:313
Method
merge_lists
(target, incoming)
box/box.py:1194
Method
merged
(strategy)
test/test_edge_cases.py:522
Function
mp_queue_test
(q)
test/test_box.py:41
Method
no_yaml
(self, monkeypatch)
test/test_coverage_paths.py:273
Method
positional
(key, box_instance, /)
test/test_review_fixes.py:71
Method
positional
(key, box_instance)
test/test_coverage_paths.py:47
Method
pyyaml_only
(self, monkeypatch)
test/test_coverage_paths.py:267
Method
replacements
()
test/test_box_list.py:265
Function
set_comment
(obj, key, text, position=None)
box/comments.py:88
Method
set_comment
(self, key: Any, text: Any, position: str | None = None)
box/box.py:152
Method
temp
(self)
test/test_edge_cases.py:51
Method
temp_dir_cleanup
(self)
test/test_box_list.py:24
Method
temp_dir_cleanup
(self)
test/test_converters.py:35
Method
temp_dir_cleanup
(self)
test/test_box.py:54
Method
test_add_boxes
(self)
test/test_box.py:1264
Function
test_add_copies_comments_of_both_lists_and_document
()
test/test_audit_sync.py:719
Method
test_add_frozen_boxes
(self)
test/test_box.py:1271
Method
test_add_keeps_boxlist_and_converts
(self)
test/test_box_list.py:769
Method
test_add_merges_deeply_and_right_side_wins
(self)
test/test_edge_cases.py:586
Method
test_add_non_list_raises
(self)
test/test_box_list.py:782
Method
test_add_two_boxlists
(self)
test/test_box_list.py:777
Method
test_adding_frozen_boxes_result_in_frozen_box
(self)
test/test_box.py:1276
Method
test_adding_nested_frozen_boxes_result_in_frozen_box
(self)
test/test_box.py:1283
Method
test_anchored_boolean_round_trips_as_bool
(self)
test/test_box.py:2369
Method
test_anchored_boolean_stays_bool
(self)
test/test_box.py:2365
Method
test_argparse_namespace
(self)
test/test_box.py:2349
← previous
next →
201–300 of 897, ranked by callers