MCPcopy Create free account

hub / github.com/cdgriffith/Box / functions

Functions897 in github.com/cdgriffith/Box

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
Functionapply_comments
Store the comments of an extracted model on the Box / BoxList tree built from the same document.
box/comments.py:211
Methodassign
(list_type)
test/test_box_list.py:282
Functionbackend
(request, monkeypatch)
test/test_yaml_order.py:16
Methodbad
(name)
test/test_coverage_paths.py:56
Methodbounded_append
(item)
test/test_box_list.py:77
Functioncast
(value)
test/test_update_insertion.py:12
Methodcast_id
(val)
test/test_box.py:1346
Methodcomments
()
test/test_comments.py:258
Methodconvert_and_set
(k, v)
box/box.py:1210
Methodconverted_items
()
box/box_list.py:135
Functiondel_comment
(obj, key)
box/comments.py:107
Methoddel_comment
(self, key: Any = None)
box/box.py:155
Methoddict
(self)
box/shorthand_box.py:31
Functiondump_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
Functionfactory
()
test/test_box.py:1809
Methodfactory
(key, prefix="item-")
test/test_review_fixes.py:65
Functionfake_ipython
(monkeypatch)
test/test_coverage_paths.py:18
Methodfield
(self)
test/test_box.py:1729
Methodfind_by_name
(self, name)
test/test_box.py:1084
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfrom_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
Methodfunc
(box_instance, key)
test/test_box.py:1796
Functionfunction_example
(value)
test/common.py:67
Functionget_comment
(obj, key)
box/comments.py:80
Methodget_comment
The comments of an item (see ``BoxList.get_comment``), ``None`` for the document comments.
box/box.py:148
Methodjson
(self)
box/shorthand_box.py:35
Methodkeyword
(*, key, box_instance)
test/test_coverage_paths.py:50
Methodkeyword_only
(*, box_instance, key)
test/test_review_fixes.py:74
Methodmapping
(k)
box/box_list.py:313
Methodmerge_lists
(target, incoming)
box/box.py:1194
Methodmerged
(strategy)
test/test_edge_cases.py:522
Functionmp_queue_test
(q)
test/test_box.py:41
Methodno_yaml
(self, monkeypatch)
test/test_coverage_paths.py:273
Methodpositional
(key, box_instance, /)
test/test_review_fixes.py:71
Methodpositional
(key, box_instance)
test/test_coverage_paths.py:47
Methodpyyaml_only
(self, monkeypatch)
test/test_coverage_paths.py:267
Methodreplacements
()
test/test_box_list.py:265
Functionset_comment
(obj, key, text, position=None)
box/comments.py:88
Methodset_comment
(self, key: Any, text: Any, position: str | None = None)
box/box.py:152
Methodtemp
(self)
test/test_edge_cases.py:51
Methodtemp_dir_cleanup
(self)
test/test_box_list.py:24
Methodtemp_dir_cleanup
(self)
test/test_converters.py:35
Methodtemp_dir_cleanup
(self)
test/test_box.py:54
Methodtest_add_boxes
(self)
test/test_box.py:1264
Functiontest_add_copies_comments_of_both_lists_and_document
()
test/test_audit_sync.py:719
Methodtest_add_frozen_boxes
(self)
test/test_box.py:1271
Methodtest_add_keeps_boxlist_and_converts
(self)
test/test_box_list.py:769
Methodtest_add_merges_deeply_and_right_side_wins
(self)
test/test_edge_cases.py:586
Methodtest_add_non_list_raises
(self)
test/test_box_list.py:782
Methodtest_add_two_boxlists
(self)
test/test_box_list.py:777
Methodtest_adding_frozen_boxes_result_in_frozen_box
(self)
test/test_box.py:1276
Methodtest_adding_nested_frozen_boxes_result_in_frozen_box
(self)
test/test_box.py:1283
Methodtest_anchored_boolean_round_trips_as_bool
(self)
test/test_box.py:2369
Methodtest_anchored_boolean_stays_bool
(self)
test/test_box.py:2365
Methodtest_argparse_namespace
(self)
test/test_box.py:2349
← previousnext →201–300 of 897, ranked by callers