tea-bond 0.3.0__cp310-abi3-manylinux_2_34_x86_64.whl → 0.3.1__cp310-abi3-manylinux_2_34_x86_64.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.

Potentially problematic release.


This version of tea-bond might be problematic. Click here for more details.

pybond/bond.py CHANGED
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  import os
2
4
  from datetime import date
3
5
  from importlib.util import find_spec
@@ -5,6 +7,7 @@ from pathlib import Path
5
7
 
6
8
  from .pybond import Bond as _BondRS
7
9
  from .pybond import Future, download_bond
10
+
8
11
  # from .ffi.utils import set_bond_data_path
9
12
 
10
13
  WIND_AVAILABLE = find_spec("WindPy") is not None
@@ -50,7 +53,7 @@ class Bond(_BondRS):
50
53
  return super().__new__(cls, code, path)
51
54
 
52
55
  @classmethod
53
- def from_json(cls, data: str | dict) -> "Bond":
56
+ def from_json(cls, data: str | dict) -> Bond:
54
57
  if isinstance(data, str):
55
58
  import json
56
59
 
pybond/pybond.abi3.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tea-bond
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,7 +1,7 @@
1
1
  pybond.libs/libcrypto-fca80f7e.so.3,sha256=W_nlaWqqwVjQDsWInJhX2p9JmjaaaejiK8SAyNGxANo,5463233
2
2
  pybond.libs/libssl-e50e007b.so.3,sha256=CG4oarhB5Xu4VTrq1CwcT9ydUaV5LflnrNtckZkdyIQ,750633
3
3
  pybond/__init__.py,sha256=7x1hBQtlQRhvgxfe6Z0wtQ5tWpTfUPMnaKyjddRyk9Y,430
4
- pybond/bond.py,sha256=8Tgy5rnDVk8OM6a1pXQlvfiv358BK_qS410XhgfC7mU,6533
4
+ pybond/bond.py,sha256=_bpG2MZkFobGS8kkem3z7eNvCR7GqWJHMH4WJCfB5EQ,6568
5
5
  pybond/download.py,sha256=ehl_LfcfjCB5dtVvqD0P9PJzK1UYlqhzpDcBq5BycDI,4222
6
6
  pybond/ffi/__init__.py,sha256=x4FSqdM-SZPir9DL_XSMjoO9c4CWsyE5XfQr4GraGsg,94
7
7
  pybond/ffi/bond.py,sha256=8SFjwBtf-t0uEEgdgdP2TCHkTr-pJCvVsJ7qIKsdh6c,1586
@@ -20,8 +20,8 @@ pybond/nb/nb_time.py,sha256=LaqXfcNvmYD_lZ2u108MwrxCXoVCBX3cr3oOnPp3c1g,8649
20
20
  pybond/pl.py,sha256=CakQvQPjvWu8XykDfkBznFmFkIB8m-lVllF-8_BrUsw,7860
21
21
  pybond/pnl.py,sha256=P3KXc-gz6_TA2QxDQR9NHJIJPCvLOGT_v4qN4gzdcRY,1568
22
22
  pybond/polars_utils.py,sha256=A8D5T0x08oMCndWiQ5DPhLsuWp8s4OPgqvAnK36d8yY,2567
23
- pybond/pybond.abi3.so,sha256=FITn4FYvbp9vemDFZeakw3aNmeJy8DbqWPC4AumsEr8,30576657
23
+ pybond/pybond.abi3.so,sha256=TWR3E7dV42tLZUxIx7rbuhvqrekv51ukJdrc93WfNVw,30527505
24
24
  pybond/pybond.pyi,sha256=xME119HJzVNqNCJ9FapVaQg1amxbNHlbd-qfFyiuhL4,11230
25
- tea_bond-0.3.0.dist-info/METADATA,sha256=c2dzL9VFNbo_TPTU0qanImpw1gZ1oMgQ0xdChChprD0,258
26
- tea_bond-0.3.0.dist-info/WHEEL,sha256=GbjEqQSSI-Ww43oYAec9FBl0c_0_mrZ8nXJcprJL3rc,107
27
- tea_bond-0.3.0.dist-info/RECORD,,
25
+ tea_bond-0.3.1.dist-info/METADATA,sha256=9zA8uD2lRgPAeN66HKlZYrvs1CHs2ZyM6IeJRhWveC4,258
26
+ tea_bond-0.3.1.dist-info/WHEEL,sha256=QUqTgYGwY2EWSp2nZb9WOq7FyV4zGcx0XCx5wrEnnjI,107
27
+ tea_bond-0.3.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.1)
2
+ Generator: maturin (1.9.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-abi3-manylinux_2_34_x86_64