MCPcopy Create free account

hub / github.com/cdgriffith/Box / functions

Functions897 in github.com/cdgriffith/Box

↓ 2 callersMethod__setitem__
(self, key, value)
box/box_list.py:108
↓ 2 callersFunction_build_box_config
Build the box config for `cls`, removing the Box options from `kwargs` so only data keys remain. An option passed explicitly wins, then the
box/box.py:255
↓ 2 callersMethod_comment_after_delete
(self, key, length)
box/box_list.py:288
↓ 2 callersMethod_comment_check_frozen
(self)
box/box.py:877
↓ 2 callersMethod_comment_document
(self, create: bool = True)
box/box_list.py:268
↓ 2 callersMethod_comment_repeat
Copy the comments of the first `length` items to repetitions `first`..`count` of them in `out`.
box/box_list.py:320
↓ 2 callersMethod_comment_resolve
The stored key a key from YAML or the comment API refers to (camel_killer renames keys).
box/box.py:881
↓ 2 callersMethod_comment_store
(self, create: bool = True)
box/box_list.py:262
↓ 2 callersFunction_from_json
( json_string: str | None = None, filename: str | PathLike | None = None, encoding: str = "utf-8",
box/converters.py:141
↓ 2 callersFunction_from_msgpack
(msgpack_bytes: bytes | None = None, filename: str | PathLike | None = None, **kwargs)
box/converters.py:354
↓ 2 callersFunction_from_toon
( toon_string: str | None = None, filename: str | PathLike | None = None, encoding: str = "utf-8",
box/converters.py:375
↓ 2 callersFunction_from_yaml_with_comments
Like _from_yaml, also returning the comments found in the document (see box.comments).
box/converters.py:263
↓ 2 callersFunction_frozen_check
(source, operation)
test/test_audit_sync.py:303
↓ 2 callersFunction_frozen_yaml_box
()
test/test_audit_sync.py:652
↓ 2 callersFunction_get_property_func
Try to get property helper functions of given object and property name. :param obj: object to be checked for property :param key: proper
box/box.py:276
↓ 2 callersFunction_load_yaml
Load YAML as the parser returns it (ruamel round trip types included).
box/converters.py:271
↓ 2 callersFunction_recursive_tuples
(iterable, box_class, recreate_tuples=False, **kwargs)
box/box.py:159
↓ 2 callersFunction_to_toon
(obj, filename: str | PathLike | None = None, encoding: str = "utf-8", errors: str = "strict", **kwargs)
box/converters.py:366
↓ 2 callersFunction_to_yaml
Keys are written in insertion order. ``sort_keys=True`` sorts them alphabetically instead (PyYAML and the ruamel ``safe`` / ``unsafe`` dumper
box/converters.py:173
↓ 2 callersMethodclear
(self)
box/box_list.py:238
↓ 2 callersMethoddel_comment
Remove every comment of `key` (``None``: the document comments).
box/box_list.py:380
↓ 2 callersFunctionentry
(path)
box/comments.py:136
↓ 2 callersMethodfloat
Return value of key as a float :param item: key of value to transform :param default: value to return if item does not exist
box/config_box.py:271
↓ 2 callersMethodgetboolean
(self, item, default=None)
box/config_box.py:313
↓ 2 callersMethodgetfloat
(self, item, default=None)
box/config_box.py:319
↓ 2 callersFunctionhandle_dicts
(sub_bx, paths="")
box/box.py:206
↓ 2 callersFunctionsource
()
test/test_box_list.py:651
↓ 1 callersMethod__convert_and_store
(self, item, value)
box/box.py:729
↓ 1 callersMethod__delattr__
(self, item)
box/box.py:1030
↓ 1 callersMethod__delitem__
(self, key)
box/box_list.py:90
↓ 1 callersMethod__getitem__
(self, item, _ignore_default=False)
box/config_box.py:146
↓ 1 callersMethod__iadd__
(self, value)
box/box_list.py:169
↓ 1 callersMethod__iadd__
(self, other: Mapping[Any, Any])
box/box.py:435
↓ 1 callersMethod__imul__
(self, value)
box/box_list.py:175
↓ 1 callersMethod__init__
(self, *args, source_path=None, **kwargs)
test/test_box.py:1846
↓ 1 callersMethod__iter__
(self)
box/box.py:1106
↓ 1 callersMethod__radd__
(self, other: Mapping[Any, Any])
box/box.py:419
↓ 1 callersMethod__recast
(self, item, value)
box/box.py:717
↓ 1 callersFunction_add_eol_comment
End of line comment two spaces after the value, wherever it is (ruamel otherwise aligns it with a neighbouring comment, or uses one space when the
box/comments.py:263
↓ 1 callersFunction_annotated_box
(cls, options)
test/test_audit_sync.py:545
↓ 1 callersFunction_box_state
(b)
test/test_audit_sync.py:560
↓ 1 callersMethod_ci_index
(self)
box/config_box.py:46
↓ 1 callersMethod_comment_after_slice_set
Move the item comments after ``self[key] = values``, `length` is the size before it.
box/box_list.py:300
↓ 1 callersMethod_conversion_checks
Internal use for checking if a duplicate safe attribute already exists :param item: Item to see if a dup exists
box/box.py:1317
↓ 1 callersFunction_delitem
(bl, key)
test/test_audit_sync.py:76
↓ 1 callersFunction_document_lines
(obj, position)
box/comments.py:326
↓ 1 callersMethod_dotted_helper
(self)
box/box_list.py:384
↓ 1 callersFunction_from_csv
( csv_string: str | None = None, filename: str | PathLike | None = None, encoding: str = "utf-8",
box/converters.py:416
↓ 1 callersFunction_frozen_direct
()
test/test_audit_sync.py:277
↓ 1 callersFunction_get_box_config
()
box/box.py:225
↓ 1 callersFunction_get_dot_paths
A generator of all the end node keys in a box in box_dots format
box/box.py:203
↓ 1 callersFunction_iadd
(bl, value)
test/test_audit_sync.py:80
↓ 1 callersFunction_imul
(bl, value)
test/test_audit_sync.py:84
↓ 1 callersMethod_is_intact_type
(self, obj)
box/box_list.py:187
↓ 1 callersFunction_is_ipython
()
box/box.py:54
↓ 1 callersFunction_resolve_key
The key in `container` the YAML key ended up as, or a sentinel when it isn't there.
box/comments.py:198
↓ 1 callersFunction_set_ruamel_comment
(out, key, comment, indent)
box/comments.py:275
↓ 1 callersFunction_setitem
(bl, key, value)
test/test_audit_sync.py:72
↓ 1 callersFunction_text_to_lines
(text: str)
box/comments.py:51
↓ 1 callersFunction_to_csv
( box_list, filename: str | PathLike | None = None, encoding: str = "utf-8", errors: str = "strict", **kwa
box/converters.py:393
↓ 1 callersFunction_to_native_tuple
Convert a tuple's Box/BoxList members back to native types. ``frozen_box`` stores lists as tuples of Boxes, so ``to_dict`` needs to turn thos
box/box.py:174
↓ 1 callersMethod_update_store
(self, key, value)
box/box.py:1148
↓ 1 callersMethod_write
(path, text)
test/test_edge_cases.py:762
↓ 1 callersFunctioncommented_tree
Turn `plain` (the to_dict / to_list output of `obj`) into ruamel CommentedMap / CommentedSeq objects carrying the comments stored on `obj` an
box/comments.py:283
↓ 1 callersMethoddescribe
(self)
test/test_edge_cases.py:62
↓ 1 callersMethoddescribe
(self)
test/test_edge_cases.py:417
↓ 1 callersFunctionextract_comments
Collect the comments of a document loaded with the ruamel.yaml round trip loader. :return: ``{"start": lines, "end": lines, "keys": {path: {
box/comments.py:118
↓ 1 callersMethodgetint
(self, item, default=None)
box/config_box.py:316
↓ 1 callersFunctionhandle
(token, path)
box/comments.py:145
↓ 1 callersFunctionhandle_lists
(bx_list, paths="")
box/box.py:214
↓ 1 callersFunctionhas_comments
True when any Box / BoxList in the tree has a key, item or document comment.
box/comments.py:248
↓ 1 callersFunctionnormalize
Validate a comment set through the API and turn it into its stored form.
box/comments.py:55
↓ 1 callersFunctionpublic
Stored comment entry to what get_comment returns: strings, missing positions as None.
box/comments.py:73
↓ 1 callersFunctionpyyaml_dump
(stream=None)
box/converters.py:202
↓ 1 callersFunctionruamel_dump
(stream)
box/converters.py:192
↓ 1 callersFunctiontake_lines
(tokens)
box/comments.py:139
↓ 1 callersMethodto_msgpack
Transform the BoxList object into a toml string. :param filename: File to write toml object too :return: string
box/box_list.py:702
↓ 1 callersMethodto_toml
Transform the BoxList object into a toml string. :param filename: File to write toml object too :param key_name:
box/box_list.py:622
↓ 1 callersMethodto_yaml
Transform the BoxList object into a YAML string. :param filename: If provided will save to file :param default_
box/box_list.py:528
↓ 1 callersFunctionwalk
(node, path)
box/comments.py:164
Method__add__
(self, other)
box/box_list.py:146
Method__add__
(self, other: Mapping[Any, Any])
box/box.py:412
Method__bool__
(self)
test/test_box_list.py:61
Method__bool__
(self)
test/test_comments.py:469
Method__copy__
(self)
box/box_list.py:406
Method__deepcopy__
(self, memo=None)
box/box_list.py:411
Method__deepcopy__
(self, memodict=None)
box/box.py:599
Method__dir__
(self)
box/box.py:493
Method__dir__
(self)
box/config_box.py:228
Method__getitem__
(self, item, _ignore_default=False)
box/box.py:98
Method__getstate__
(self)
box/box.py:941
Method__hash__
(self)
box/box_list.py:442
Method__hash__
(self)
box/box.py:485
Method__index__
(self)
test/test_imul_index_comments.py:15
Method__index__
(self)
test/test_imul_index_comments.py:43
Method__index__
(self)
test/test_box_list.py:290
Method__index__
(self)
test/test_box_list.py:677
Method__index__
(self)
test/test_box_list.py:713
Method__index__
(self)
test/test_box_list.py:796
Method__init__
(self, value)
test/test_imul_index_comments.py:11
← previousnext →101–200 of 897, ranked by callers