msgspec 0.20.0
-
PyPI https://pypi.org/project/msgspec/ Repository https://github.com/jcrist/msgspec -
py.typed -
Coverage
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "Typed" : 283 "Any" : 33 "Untyped" : 3 -
Typables
%%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%% pie title "functions" : 107 "classes" : 93 "other" : 8- 24 functions (+12 overloads)
- 83 parameters
- 51 classes
- 18 methods (+0 overloads)
- 71 parameters
- 4 properties
- 18 methods (+0 overloads)
- 8 modules
- 8 attrs
- 24 functions (+12 overloads)
Modules
Incomplete Annotations
msgspec (1 missing, 8 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
meth |
Meta.init |
15 | 14 | 0 |
meth |
Struct.init |
3 | 3 | 2 |
func |
convert |
8 | 8 | 3 |
func |
to_builtins |
6 | 6 | 2 |
func |
field |
4 | 4 | 1 |
msgspec.inspect (0 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
type_info |
2 | 2 | 1 |
attr |
Field.default |
1 | 1 | 1 |
attr |
Field.default_factory |
1 | 1 | 1 |
msgspec.json (1 missing, 6 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
encode |
4 | 4 | 1 |
meth |
Encoder.init |
5 | 4 | 0 |
meth |
Encoder.encode |
2 | 2 | 1 |
meth |
Encoder.encode_into |
4 | 4 | 1 |
func |
schema |
3 | 3 | 1 |
func |
decode |
5 | 5 | 2 |
msgspec.msgpack (1 missing, 5 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
encode |
4 | 4 | 1 |
meth |
Encoder.init |
5 | 4 | 0 |
meth |
Encoder.encode |
2 | 2 | 1 |
meth |
Encoder.encode_into |
4 | 4 | 1 |
func |
decode |
6 | 6 | 2 |
msgspec.structs (0 missing, 5 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
replace |
3 | 3 | 1 |
func |
force_setattr |
4 | 4 | 1 |
attr |
FieldInfo.type |
1 | 1 | 1 |
attr |
FieldInfo.default |
1 | 1 | 1 |
attr |
FieldInfo.default_factory |
1 | 1 | 1 |
msgspec.toml (0 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
decode |
5 | 5 | 2 |
func |
encode |
4 | 4 | 1 |
msgspec.yaml (0 missing, 3 any)
| Symbol | Typable | Typed | Any | |
|---|---|---|---|---|
func |
decode |
5 | 5 | 2 |
func |
encode |
4 | 4 | 1 |
Type-Ignore Comments
| Flavor | Count |
|---|---|
type: ignore |
4 |