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

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.pyd 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,5 +1,5 @@
1
1
  pybond/__init__.py,sha256=m7BVUKogpUA7waTeOB54nAaIRnI3oCv5_6LnsiFu_lc,445
2
- pybond/bond.py,sha256=ohy-8UkPhSPi766JEL7gE4YkqWkfgZceFHPHxpPFrRQ,6720
2
+ pybond/bond.py,sha256=tXXPBNQQ6ve2trmHkJpfOv_2FBue4hcekZVEVmlqs0s,6758
3
3
  pybond/download.py,sha256=l_YbDIh7wyNLK6B0Ac2ZdSAAD0o8VhR4NbXwbRH13Hw,4369
4
4
  pybond/ffi/__init__.py,sha256=AKhddxYYqfOkujr9FGKo-FOPk3DDi42SOfk5mbc0zWE,98
5
5
  pybond/ffi/bond.py,sha256=BQmhYw1-cEJeU2XOy3yVmivMV-F0KI7xOKHsHpe4N7k,1654
@@ -18,8 +18,8 @@ pybond/nb/nb_time.py,sha256=5KNrWYcPwZUHoxvZKvh3qdhjB0DjRkxbUzONSv6OfhY,8928
18
18
  pybond/pl.py,sha256=bx7WWRXFPNbKJYhDgkgSAqjP8-EZPTe26GClWnP6ekg,8131
19
19
  pybond/pnl.py,sha256=eka1Yl_dO_BcflEuTO_EdrfEeRUm3WwIPKswNzOQYfc,1627
20
20
  pybond/polars_utils.py,sha256=020Dy-l6v_NF-y7LXcKyJmWGAgH59NAxWKvjfnJO1tY,2663
21
- pybond/pybond.pyd,sha256=bOveO2MjkLvG6NXyzbfDr-Xynetz6jVv3WrMLfrXAWQ,23539200
21
+ pybond/pybond.pyd,sha256=AeHF_6P06QoYco1tDec9K3eebzfz_wOF9TjHw3xUvd4,23465472
22
22
  pybond/pybond.pyi,sha256=qzOfqoysuUW7rnZYxEmGEJXK_UrCjMvQ29Y_mJOBN1Y,11621
23
- tea_bond-0.3.0.dist-info/METADATA,sha256=c2dzL9VFNbo_TPTU0qanImpw1gZ1oMgQ0xdChChprD0,258
24
- tea_bond-0.3.0.dist-info/WHEEL,sha256=mmifbMS_TwezFBRZjXhdsplN4iaquFqolunR3It-mcU,95
25
- tea_bond-0.3.0.dist-info/RECORD,,
23
+ tea_bond-0.3.1.dist-info/METADATA,sha256=9zA8uD2lRgPAeN66HKlZYrvs1CHs2ZyM6IeJRhWveC4,258
24
+ tea_bond-0.3.1.dist-info/WHEEL,sha256=G8mq-RexZGAfbjW58CyHDPQ4EbuJINRXbIh22TbaFhw,95
25
+ 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-win_amd64