{ "package": "msgspec", "version": "0.20.0", "stubs_only": "no", "py_typed": "YES", "pypi": { "upload_time": "2025-11-24T03:56:28.934223Z", "requires_python": ">=3.9", "size": 317862, "sha256": "692349e588fde322875f8d3025ac01689fead5901e7fb18d6870a44519d62a29" }, "metadata": { "Metadata-Version": [ "2.4" ], "Name": [ "msgspec" ], "Version": [ "0.20.0" ], "Summary": [ "A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML." ], "Maintainer-email": [ "Jim Crist-Harif , Ofek Lev " ], "License-Expression": [ "BSD-3-Clause" ], "Project-URL": [ "Homepage, https://jcristharif.com/msgspec/", "Issue Tracker, https://github.com/jcrist/msgspec/issues", "Source, https://github.com/jcrist/msgspec" ], "Keywords": [ "JSON,MessagePack,TOML,YAML,msgpack,schema,serialization,validation" ], "Classifier": [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14" ], "Requires-Python": [ ">=3.9" ], "Description-Content-Type": [ "text/markdown" ], "License-File": [ "LICENSE" ], "Provides-Extra": [ "toml", "yaml" ], "Requires-Dist": [ "tomli; python_version < \"3.11\" and extra == \"toml\"", "tomli_w; extra == \"toml\"", "pyyaml; extra == \"yaml\"" ], "Dynamic": [ "license-file" ] }, "module_reports": [ { "path": "msgspec/__init__.pyi", "symbol_reports": [ { "kind": "class", "name": "msgspec.UnsetType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "UnsetType.UNSET", "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_typable": 0 } ], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.Meta", "methods": [ { "kind": "function", "name": "Meta.__init__", "n_typed": 14, "n_any": 0, "n_untyped": 1, "n_overloads": 1, "n_typable": 15, "n_params": 14, "n_function_overloads": 1, "n_function_params": 14 }, { "kind": "function", "name": "Meta.__rich_repr__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 1, "n_params": 0, "n_function_overloads": 1, "n_function_params": 0 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Meta.gt", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.ge", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.lt", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.le", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.multiple_of", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.pattern", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.tz", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.title", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.description", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.examples", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.extra_json_schema", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Meta.extra", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 30, "n_typed": 29, "n_any": 0, "n_untyped": 1, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 2, "n_method_overloads": 2, "n_method_params": 14, "n_attrs": 14, "n_properties": 0 }, { "kind": "function", "name": "msgspec.defstruct", "n_typed": 21, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 21, "n_params": 20, "n_function_overloads": 1, "n_function_params": 20 }, { "kind": "class", "name": "msgspec.DecodeError", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "attr", "name": "msgspec.__version__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "class", "name": "msgspec.Struct", "methods": [ { "kind": "function", "name": "Struct.__init__", "n_typed": 1, "n_any": 2, "n_untyped": 0, "n_overloads": 1, "n_typable": 3, "n_params": 2, "n_function_overloads": 1, "n_function_params": 2 }, { "kind": "function", "name": "Struct.__init_subclass__", "n_typed": 16, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 16, "n_params": 15, "n_function_overloads": 1, "n_function_params": 15 }, { "kind": "function", "name": "Struct.__rich_repr__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 1, "n_params": 0, "n_function_overloads": 1, "n_function_params": 0 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Struct.__struct_fields__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Struct.__struct_config__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Struct.__match_args__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 23, "n_typed": 21, "n_any": 2, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 3, "n_method_overloads": 3, "n_method_params": 17, "n_attrs": 3, "n_properties": 0 }, { "kind": "class", "name": "msgspec.Raw", "methods": [ { "kind": "function", "name": "Raw.copy", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 1, "n_params": 0, "n_function_overloads": 1, "n_function_params": 0 } ], "properties": [], "attrs": [], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 1, "n_method_overloads": 1, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "attr", "name": "msgspec.T", "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_typable": 0 }, { "kind": "class", "name": "msgspec.EncodeError", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.StructMeta", "methods": [ { "kind": "function", "name": "StructMeta.__new__", "n_typed": 19, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 19, "n_params": 18, "n_function_overloads": 1, "n_function_params": 18 } ], "properties": [ { "kind": "property", "name": "StructMeta.__signature__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "property", "name": "StructMeta.__struct_config__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "attrs": [ { "kind": "attr", "name": "StructMeta.__struct_fields__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructMeta.__struct_defaults__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructMeta.__struct_encode_fields__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructMeta.__match_args__", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 25, "n_typed": 25, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 1, "n_method_overloads": 1, "n_method_params": 18, "n_attrs": 4, "n_properties": 2 }, { "kind": "function", "name": "msgspec.convert", "n_typed": 5, "n_any": 3, "n_untyped": 0, "n_overloads": 2, "n_typable": 8, "n_params": 7, "n_function_overloads": 2, "n_function_params": 7 }, { "kind": "class", "name": "msgspec.MsgspecError", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "function", "name": "msgspec.to_builtins", "n_typed": 4, "n_any": 2, "n_untyped": 0, "n_overloads": 1, "n_typable": 6, "n_params": 5, "n_function_overloads": 1, "n_function_params": 5 }, { "kind": "class", "name": "msgspec.ValidationError", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "function", "name": "msgspec.field", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 3, "n_typable": 4, "n_params": 3, "n_function_overloads": 3, "n_function_params": 3 } ], "type_ignores": [], "name": "msgspec", "names": [ "msgspec.DecodeError", "msgspec.EncodeError", "msgspec.Meta", "msgspec.MsgspecError", "msgspec.Raw", "msgspec.Struct", "msgspec.StructMeta", "msgspec.T", "msgspec.UnsetType", "msgspec.ValidationError", "msgspec.__version__", "msgspec.convert", "msgspec.defstruct", "msgspec.field", "msgspec.to_builtins" ], "n_typable": 119, "n_typed": 110, "n_any": 8, "n_untyped": 1, "n_functions": 4, "n_function_overloads": 7, "n_function_params": 35, "n_methods": 7, "n_method_overloads": 7, "n_method_params": 49, "n_classes": 9, "n_attrs": 24, "n_properties": 2, "n_type_ignores": 0 }, { "path": "msgspec/inspect.py", "symbol_reports": [ { "kind": "class", "name": "msgspec.inspect.FloatType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "FloatType.gt", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FloatType.ge", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FloatType.lt", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FloatType.le", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FloatType.multiple_of", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 5, "n_typed": 5, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 5, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.BoolType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.StrType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "StrType.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StrType.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StrType.pattern", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 3, "n_typed": 3, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 3, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.ExtType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.DictType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "DictType.key_type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "DictType.value_type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "DictType.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "DictType.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 4, "n_typed": 4, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 4, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.Type", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.TimeType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "TimeType.tz", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.ListType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "function", "name": "msgspec.inspect.type_info", "n_typed": 1, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "class", "name": "msgspec.inspect.UUIDType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.TupleType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "TupleType.item_types", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.LiteralType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "LiteralType.values", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.TimeDeltaType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.SetType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.EnumType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "EnumType.cls", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.CustomType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "CustomType.cls", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.Metadata", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "Metadata.type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Metadata.extra_json_schema", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Metadata.extra", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 3, "n_typed": 3, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 3, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.MemoryViewType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "MemoryViewType.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "MemoryViewType.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.RawType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.StructType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "StructType.cls", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructType.fields", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructType.tag_field", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructType.tag", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructType.array_like", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructType.forbid_unknown_fields", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 6, "n_typed": 6, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 6, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.VarTupleType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.FrozenSetType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "function", "name": "msgspec.inspect.multi_type_info", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "class", "name": "msgspec.inspect.IntType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "IntType.gt", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "IntType.ge", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "IntType.lt", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "IntType.le", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "IntType.multiple_of", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 5, "n_typed": 5, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 5, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.ByteArrayType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "ByteArrayType.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "ByteArrayType.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.NamedTupleType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "NamedTupleType.cls", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "NamedTupleType.fields", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.AnyType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.TypedDictType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "TypedDictType.cls", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "TypedDictType.fields", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.UnionType", "methods": [], "properties": [ { "kind": "property", "name": "UnionType.includes_none", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "attrs": [ { "kind": "attr", "name": "UnionType.types", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 1 }, { "kind": "class", "name": "msgspec.inspect.NoneType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.DateTimeType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "DateTimeType.tz", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 1, "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 1, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.DateType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.DataclassType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "DataclassType.cls", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "DataclassType.fields", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.BytesType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "BytesType.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "BytesType.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 2, "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.Field", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "Field.name", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Field.encode_name", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Field.type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Field.required", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Field.default", "n_typed": 0, "n_any": 1, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Field.default_factory", "n_typed": 0, "n_any": 1, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 6, "n_typed": 4, "n_any": 2, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 6, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.CollectionType", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "CollectionType.item_type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "CollectionType.min_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "CollectionType.max_length", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 3, "n_typed": 3, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 3, "n_properties": 0 }, { "kind": "class", "name": "msgspec.inspect.DecimalType", "methods": [], "properties": [], "attrs": [], "n_typable": 0, "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 0, "n_properties": 0 } ], "type_ignores": [ { "kind": "type", "rules": null }, { "kind": "type", "rules": null }, { "kind": "type", "rules": null }, { "kind": "type", "rules": null } ], "name": "msgspec.inspect", "names": [ "msgspec.inspect.AnyType", "msgspec.inspect.BoolType", "msgspec.inspect.ByteArrayType", "msgspec.inspect.BytesType", "msgspec.inspect.CollectionType", "msgspec.inspect.CustomType", "msgspec.inspect.DataclassType", "msgspec.inspect.DateTimeType", "msgspec.inspect.DateType", "msgspec.inspect.DecimalType", "msgspec.inspect.DictType", "msgspec.inspect.EnumType", "msgspec.inspect.ExtType", "msgspec.inspect.Field", "msgspec.inspect.FloatType", "msgspec.inspect.FrozenSetType", "msgspec.inspect.IntType", "msgspec.inspect.ListType", "msgspec.inspect.LiteralType", "msgspec.inspect.MemoryViewType", "msgspec.inspect.Metadata", "msgspec.inspect.NamedTupleType", "msgspec.inspect.NoneType", "msgspec.inspect.RawType", "msgspec.inspect.SetType", "msgspec.inspect.StrType", "msgspec.inspect.StructType", "msgspec.inspect.TimeDeltaType", "msgspec.inspect.TimeType", "msgspec.inspect.TupleType", "msgspec.inspect.Type", "msgspec.inspect.TypedDictType", "msgspec.inspect.UUIDType", "msgspec.inspect.UnionType", "msgspec.inspect.VarTupleType", "msgspec.inspect.multi_type_info", "msgspec.inspect.type_info" ], "n_typable": 59, "n_typed": 56, "n_any": 3, "n_untyped": 0, "n_functions": 2, "n_function_overloads": 2, "n_function_params": 2, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_classes": 35, "n_attrs": 54, "n_properties": 1, "n_type_ignores": 4 }, { "path": "msgspec/_typing_utils.pyi", "symbol_reports": [ { "kind": "function", "name": "msgspec._typing_utils.is_struct", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "msgspec._typing_utils.is_struct_type", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 } ], "type_ignores": [], "name": "msgspec._typing_utils", "names": [ "msgspec._typing_utils.is_struct", "msgspec._typing_utils.is_struct_type" ], "n_typable": 4, "n_typed": 4, "n_any": 0, "n_untyped": 0, "n_functions": 2, "n_function_overloads": 2, "n_function_params": 2, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_classes": 0, "n_attrs": 0, "n_properties": 0, "n_type_ignores": 0 }, { "path": "msgspec/json.pyi", "symbol_reports": [ { "kind": "attr", "name": "msgspec.json.enc_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "msgspec.json.schema_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "function", "name": "msgspec.json.schema_components", "n_typed": 4, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 }, { "kind": "attr", "name": "msgspec.json.dec_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "msgspec.json.T", "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_typable": 0 }, { "kind": "function", "name": "msgspec.json.encode", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 }, { "kind": "attr", "name": "msgspec.json.float_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "function", "name": "msgspec.json.format", "n_typed": 3, "n_any": 0, "n_untyped": 0, "n_overloads": 2, "n_typable": 3, "n_params": 2, "n_function_overloads": 2, "n_function_params": 2 }, { "kind": "class", "name": "msgspec.json.Encoder", "methods": [ { "kind": "function", "name": "Encoder.__init__", "n_typed": 4, "n_any": 0, "n_untyped": 1, "n_overloads": 1, "n_typable": 5, "n_params": 4, "n_function_overloads": 1, "n_function_params": 4 }, { "kind": "function", "name": "Encoder.encode", "n_typed": 1, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "Encoder.encode_lines", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "Encoder.encode_into", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Encoder.enc_hook", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Encoder.decimal_format", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Encoder.uuid_format", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Encoder.order", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 17, "n_typed": 14, "n_any": 2, "n_untyped": 1, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 4, "n_method_overloads": 4, "n_method_params": 9, "n_attrs": 4, "n_properties": 0 }, { "kind": "class", "name": "msgspec.json.Decoder", "methods": [ { "kind": "function", "name": "Decoder.decode", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "Decoder.decode_lines", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Decoder.type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Decoder.strict", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Decoder.dec_hook", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Decoder.float_hook", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 8, "n_typed": 8, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 2, "n_method_overloads": 2, "n_method_params": 2, "n_attrs": 4, "n_properties": 0 }, { "kind": "function", "name": "msgspec.json.schema", "n_typed": 2, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 3, "n_params": 2, "n_function_overloads": 1, "n_function_params": 2 }, { "kind": "function", "name": "msgspec.json.decode", "n_typed": 3, "n_any": 2, "n_untyped": 0, "n_overloads": 3, "n_typable": 5, "n_params": 4, "n_function_overloads": 3, "n_function_params": 4 } ], "type_ignores": [], "name": "msgspec.json", "names": [ "msgspec.json.Decoder", "msgspec.json.Encoder", "msgspec.json.T", "msgspec.json.dec_hook_sig", "msgspec.json.decode", "msgspec.json.enc_hook_sig", "msgspec.json.encode", "msgspec.json.float_hook_sig", "msgspec.json.format", "msgspec.json.schema", "msgspec.json.schema_components", "msgspec.json.schema_hook_sig" ], "n_typable": 48, "n_typed": 41, "n_any": 6, "n_untyped": 1, "n_functions": 5, "n_function_overloads": 8, "n_function_params": 14, "n_methods": 6, "n_method_overloads": 6, "n_method_params": 11, "n_classes": 2, "n_attrs": 13, "n_properties": 0, "n_type_ignores": 0 }, { "path": "msgspec/msgpack.pyi", "symbol_reports": [ { "kind": "attr", "name": "msgspec.msgpack.enc_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "msgspec.msgpack.ext_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "msgspec.msgpack.dec_hook_sig", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "function", "name": "msgspec.msgpack.encode", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 }, { "kind": "attr", "name": "msgspec.msgpack.T", "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_typable": 0 }, { "kind": "class", "name": "msgspec.msgpack.Encoder", "methods": [ { "kind": "function", "name": "Encoder.__init__", "n_typed": 4, "n_any": 0, "n_untyped": 1, "n_overloads": 1, "n_typable": 5, "n_params": 4, "n_function_overloads": 1, "n_function_params": 4 }, { "kind": "function", "name": "Encoder.encode", "n_typed": 1, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "Encoder.encode_into", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Encoder.enc_hook", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Encoder.decimal_format", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Encoder.uuid_format", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Encoder.order", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 15, "n_typed": 12, "n_any": 2, "n_untyped": 1, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 3, "n_method_overloads": 3, "n_method_params": 8, "n_attrs": 4, "n_properties": 0 }, { "kind": "class", "name": "msgspec.msgpack.Ext", "methods": [ { "kind": "function", "name": "Ext.__init__", "n_typed": 3, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 3, "n_params": 2, "n_function_overloads": 1, "n_function_params": 2 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Ext.code", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Ext.data", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 5, "n_typed": 5, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 1, "n_method_overloads": 1, "n_method_params": 2, "n_attrs": 2, "n_properties": 0 }, { "kind": "class", "name": "msgspec.msgpack.Decoder", "methods": [ { "kind": "function", "name": "Decoder.decode", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 } ], "properties": [], "attrs": [ { "kind": "attr", "name": "Decoder.type", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Decoder.strict", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Decoder.dec_hook", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "Decoder.ext_hook", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 6, "n_typed": 6, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 1, "n_method_overloads": 1, "n_method_params": 1, "n_attrs": 4, "n_properties": 0 }, { "kind": "function", "name": "msgspec.msgpack.decode", "n_typed": 4, "n_any": 2, "n_untyped": 0, "n_overloads": 3, "n_typable": 6, "n_params": 5, "n_function_overloads": 3, "n_function_params": 5 } ], "type_ignores": [], "name": "msgspec.msgpack", "names": [ "msgspec.msgpack.Decoder", "msgspec.msgpack.Encoder", "msgspec.msgpack.Ext", "msgspec.msgpack.T", "msgspec.msgpack.dec_hook_sig", "msgspec.msgpack.decode", "msgspec.msgpack.enc_hook_sig", "msgspec.msgpack.encode", "msgspec.msgpack.ext_hook_sig" ], "n_typable": 39, "n_typed": 33, "n_any": 5, "n_untyped": 1, "n_functions": 2, "n_function_overloads": 4, "n_function_params": 8, "n_methods": 5, "n_method_overloads": 5, "n_method_params": 11, "n_classes": 3, "n_attrs": 14, "n_properties": 0, "n_type_ignores": 0 }, { "path": "msgspec/structs.pyi", "symbol_reports": [ { "kind": "function", "name": "msgspec.structs.astuple", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "msgspec.structs.fields", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "function", "name": "msgspec.structs.replace", "n_typed": 2, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 3, "n_params": 2, "n_function_overloads": 1, "n_function_params": 2 }, { "kind": "function", "name": "msgspec.structs.force_setattr", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 }, { "kind": "attr", "name": "msgspec.structs.S", "n_typed": 0, "n_any": 0, "n_untyped": 0, "n_typable": 0 }, { "kind": "function", "name": "msgspec.structs.asdict", "n_typed": 2, "n_any": 0, "n_untyped": 0, "n_overloads": 1, "n_typable": 2, "n_params": 1, "n_function_overloads": 1, "n_function_params": 1 }, { "kind": "class", "name": "msgspec.structs.FieldInfo", "methods": [], "properties": [ { "kind": "property", "name": "FieldInfo.required", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "attrs": [ { "kind": "attr", "name": "FieldInfo.name", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FieldInfo.encode_name", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FieldInfo.type", "n_typed": 0, "n_any": 1, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FieldInfo.default", "n_typed": 0, "n_any": 1, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "FieldInfo.default_factory", "n_typed": 0, "n_any": 1, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 6, "n_typed": 3, "n_any": 3, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 5, "n_properties": 1 }, { "kind": "class", "name": "msgspec.structs.StructConfig", "methods": [], "properties": [], "attrs": [ { "kind": "attr", "name": "StructConfig.frozen", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.eq", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.order", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.array_like", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.gc", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.repr_omit_defaults", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.omit_defaults", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.forbid_unknown_fields", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.weakref", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.dict", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.cache_hash", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.tag", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 }, { "kind": "attr", "name": "StructConfig.tag_field", "n_typed": 1, "n_any": 0, "n_untyped": 0, "n_typable": 1 } ], "n_typable": 13, "n_typed": 13, "n_any": 0, "n_untyped": 0, "n_functions": 0, "n_function_overloads": 0, "n_function_params": 0, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_attrs": 13, "n_properties": 0 } ], "type_ignores": [], "name": "msgspec.structs", "names": [ "msgspec.structs.FieldInfo", "msgspec.structs.S", "msgspec.structs.StructConfig", "msgspec.structs.asdict", "msgspec.structs.astuple", "msgspec.structs.fields", "msgspec.structs.force_setattr", "msgspec.structs.replace" ], "n_typable": 32, "n_typed": 27, "n_any": 5, "n_untyped": 0, "n_functions": 5, "n_function_overloads": 5, "n_function_params": 8, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_classes": 2, "n_attrs": 19, "n_properties": 1, "n_type_ignores": 0 }, { "path": "msgspec/toml.py", "symbol_reports": [ { "kind": "function", "name": "msgspec.toml.decode", "n_typed": 3, "n_any": 2, "n_untyped": 0, "n_overloads": 3, "n_typable": 5, "n_params": 4, "n_function_overloads": 3, "n_function_params": 4 }, { "kind": "function", "name": "msgspec.toml.encode", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 } ], "type_ignores": [], "name": "msgspec.toml", "names": [ "msgspec.toml.decode", "msgspec.toml.encode" ], "n_typable": 9, "n_typed": 6, "n_any": 3, "n_untyped": 0, "n_functions": 2, "n_function_overloads": 4, "n_function_params": 7, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_classes": 0, "n_attrs": 0, "n_properties": 0, "n_type_ignores": 0 }, { "path": "msgspec/yaml.py", "symbol_reports": [ { "kind": "function", "name": "msgspec.yaml.decode", "n_typed": 3, "n_any": 2, "n_untyped": 0, "n_overloads": 3, "n_typable": 5, "n_params": 4, "n_function_overloads": 3, "n_function_params": 4 }, { "kind": "function", "name": "msgspec.yaml.encode", "n_typed": 3, "n_any": 1, "n_untyped": 0, "n_overloads": 1, "n_typable": 4, "n_params": 3, "n_function_overloads": 1, "n_function_params": 3 } ], "type_ignores": [], "name": "msgspec.yaml", "names": [ "msgspec.yaml.decode", "msgspec.yaml.encode" ], "n_typable": 9, "n_typed": 6, "n_any": 3, "n_untyped": 0, "n_functions": 2, "n_function_overloads": 4, "n_function_params": 7, "n_methods": 0, "n_method_overloads": 0, "n_method_params": 0, "n_classes": 0, "n_attrs": 0, "n_properties": 0, "n_type_ignores": 0 } ], "typecheckers": {}, "n_modules": 8, "n_typable": 319, "n_typed": 283, "n_any": 33, "n_untyped": 3, "n_functions": 24, "n_function_overloads": 36, "n_function_params": 83, "n_methods": 18, "n_method_params": 71, "n_method_overloads": 18, "n_classes": 51, "n_attrs": 124, "n_properties": 4, "type_ignores": [ { "kind": "type", "rules": null }, { "kind": "type", "rules": null }, { "kind": "type", "rules": null }, { "kind": "type", "rules": null } ], "n_type_ignores": 4 }