ormsgpack 1.8.0__cp39-cp39-win_amd64.whl → 1.9.0__cp39-cp39-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ormsgpack/__init__.py CHANGED
@@ -7,6 +7,7 @@ from .ormsgpack import (
7
7
  OPT_PASSTHROUGH_BIG_INT,
8
8
  OPT_PASSTHROUGH_DATACLASS,
9
9
  OPT_PASSTHROUGH_DATETIME,
10
+ OPT_PASSTHROUGH_ENUM,
10
11
  OPT_PASSTHROUGH_SUBCLASS,
11
12
  OPT_PASSTHROUGH_TUPLE,
12
13
  OPT_PASSTHROUGH_UUID,
@@ -35,6 +36,7 @@ __all__ = (
35
36
  "OPT_PASSTHROUGH_BIG_INT",
36
37
  "OPT_PASSTHROUGH_DATACLASS",
37
38
  "OPT_PASSTHROUGH_DATETIME",
39
+ "OPT_PASSTHROUGH_ENUM",
38
40
  "OPT_PASSTHROUGH_SUBCLASS",
39
41
  "OPT_PASSTHROUGH_TUPLE",
40
42
  "OPT_PASSTHROUGH_UUID",
ormsgpack/__init__.pyi CHANGED
@@ -24,6 +24,7 @@ OPT_OMIT_MICROSECONDS: int
24
24
  OPT_PASSTHROUGH_BIG_INT: int
25
25
  OPT_PASSTHROUGH_DATACLASS: int
26
26
  OPT_PASSTHROUGH_DATETIME: int
27
+ OPT_PASSTHROUGH_ENUM: int
27
28
  OPT_PASSTHROUGH_SUBCLASS: int
28
29
  OPT_PASSTHROUGH_TUPLE: int
29
30
  OPT_PASSTHROUGH_UUID: int
@@ -0,0 +1,7 @@
1
+ # SPDX-License-Identifier: (Apache-2.0 OR MIT)
2
+
3
+ import os
4
+
5
+
6
+ def get_hook_dirs() -> list[str]:
7
+ return [os.path.dirname(__file__)]
@@ -0,0 +1,7 @@
1
+ # SPDX-License-Identifier: (Apache-2.0 OR MIT)
2
+
3
+ hiddenimports = [
4
+ "dataclasses",
5
+ "enum",
6
+ "uuid",
7
+ ]
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ormsgpack
3
- Version: 1.8.0
3
+ Version: 1.9.0
4
4
  Classifier: Development Status :: 5 - Production/Stable
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: Apache Software License
@@ -371,6 +371,10 @@ TypeError: Type is not msgpack serializable: datetime.datetime
371
371
  b'\x81\xaacreated_at\xbdThu, 01 Jan 1970 00:00:00 GMT'
372
372
  ```
373
373
 
374
+ ##### `OPT_PASSTHROUGH_ENUM`
375
+
376
+ Enable passthrough of `enum.Enum` instances to `default`.
377
+
374
378
  ##### `OPT_PASSTHROUGH_SUBCLASS`
375
379
 
376
380
  Enable passthrough of subclasses of `str`, `int`, `dict` and `list` to
@@ -894,7 +898,7 @@ level above this.
894
898
 
895
899
  ## Packaging
896
900
 
897
- To package ormsgpack requires [Rust](https://www.rust-lang.org/) 1.70
901
+ To package ormsgpack requires [Rust](https://www.rust-lang.org/) 1.81
898
902
  or newer and the [maturin](https://github.com/PyO3/maturin) build
899
903
  tool. The default feature `unstable-simd` enables the usage of SIMD
900
904
  operations and requires nightly Rust. The recommended build command
@@ -0,0 +1,12 @@
1
+ ormsgpack-1.9.0.dist-info/METADATA,sha256=p0kPYJGh_OvdtbRB5mfpqBuwDTytdX9HW3JnF-cwS5w,44361
2
+ ormsgpack-1.9.0.dist-info/WHEEL,sha256=mDFV3bKFgwlxLHvOsPqpR9up9dUKYzsUQNKBdkW5c08,94
3
+ ormsgpack-1.9.0.dist-info/entry_points.txt,sha256=b4bGmxqo1PPqO42Cjz2A2X4Gy4h1PCoOygCzeS-m22I,63
4
+ ormsgpack-1.9.0.dist-info/licenses/LICENSE-APACHE,sha256=fP1zjFPWHHnwfjSPYiv3cHyQhCNwVNN_vgd4inX1iBw,11048
5
+ ormsgpack-1.9.0.dist-info/licenses/LICENSE-MIT,sha256=NlFq79yExdWh50hUJZE6ItvaaesZMMXoTWrklytRlLk,1046
6
+ ormsgpack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ ormsgpack/_pyinstaller/hook-ormsgpack.py,sha256=Bj3rdqNTDG_uR-qYnGA0GHiKshhyBrdY_xlyc0hTD_Q,118
8
+ ormsgpack/_pyinstaller/__init__.py,sha256=PiSpvMUWta2R2gVSfAut2h3Vtw9saEyF92GjC4h293E,140
9
+ ormsgpack/__init__.py,sha256=71z0yVisd9vXd53nMWrDPz3zT5KM535N7XSGZeDXDQg,1081
10
+ ormsgpack/__init__.pyi,sha256=m367J44MWhEgP0-R5l2clxqQsw7BJdtbz8oSdyVe4fQ,905
11
+ ormsgpack/ormsgpack.cp39-win_amd64.pyd,sha256=2U3AD_MOEyMapVAquqRuw8zfbr9x8NkQqPOlpb-9onU,214528
12
+ ormsgpack-1.9.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.2)
2
+ Generator: maturin (1.8.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win_amd64
@@ -0,0 +1,2 @@
1
+ [pyinstaller40]
2
+ hook-dirs=ormsgpack._pyinstaller:get_hook_dirs
@@ -1,9 +0,0 @@
1
- ormsgpack-1.8.0.dist-info/METADATA,sha256=Xl3RmNAi8eDYZg5SPudylK9YEn46gXDliC86fynnAcA,44268
2
- ormsgpack-1.8.0.dist-info/WHEEL,sha256=SmPT9fUKPAPiE6hwAZ9_NHUVRjWSQ_RENTrzrvPx4p0,94
3
- ormsgpack-1.8.0.dist-info/licenses/LICENSE-APACHE,sha256=fP1zjFPWHHnwfjSPYiv3cHyQhCNwVNN_vgd4inX1iBw,11048
4
- ormsgpack-1.8.0.dist-info/licenses/LICENSE-MIT,sha256=NlFq79yExdWh50hUJZE6ItvaaesZMMXoTWrklytRlLk,1046
5
- ormsgpack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- ormsgpack/__init__.py,sha256=8OwJ6fMUN0Yv3HpqVCOMut34chTbKtoaR9yJQmF5TDE,1025
7
- ormsgpack/__init__.pyi,sha256=xlbnosG9L-NzjW4eN-C_Zhbg6nd9X6iY_hD4dEoBkAE,878
8
- ormsgpack/ormsgpack.cp39-win_amd64.pyd,sha256=okkwdPcGvknO0ZYIy-atBW-bd5L296GWQOlZpNyLpZM,215552
9
- ormsgpack-1.8.0.dist-info/RECORD,,