ta-lib 0.4.35__tar.gz → 0.4.37__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. {ta_lib-0.4.35 → ta_lib-0.4.37}/PKG-INFO +2 -2
  2. {ta_lib-0.4.35 → ta_lib-0.4.37}/pyproject.toml +2 -2
  3. {ta_lib-0.4.35 → ta_lib-0.4.37}/setup.py +6 -16
  4. {ta_lib-0.4.35 → ta_lib-0.4.37}/ta_lib.egg-info/PKG-INFO +2 -2
  5. {ta_lib-0.4.35 → ta_lib-0.4.37}/ta_lib.egg-info/requires.txt +1 -1
  6. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/__init__.py +1 -1
  7. {ta_lib-0.4.35 → ta_lib-0.4.37}/AUTHORS +0 -0
  8. {ta_lib-0.4.35 → ta_lib-0.4.37}/COPYRIGHT +0 -0
  9. {ta_lib-0.4.35 → ta_lib-0.4.37}/LICENSE +0 -0
  10. {ta_lib-0.4.35 → ta_lib-0.4.37}/MANIFEST.in +0 -0
  11. {ta_lib-0.4.35 → ta_lib-0.4.37}/README.md +0 -0
  12. {ta_lib-0.4.35 → ta_lib-0.4.37}/setup.cfg +0 -0
  13. {ta_lib-0.4.35 → ta_lib-0.4.37}/ta_lib.egg-info/SOURCES.txt +0 -0
  14. {ta_lib-0.4.35 → ta_lib-0.4.37}/ta_lib.egg-info/dependency_links.txt +0 -0
  15. {ta_lib-0.4.35 → ta_lib-0.4.37}/ta_lib.egg-info/top_level.txt +0 -0
  16. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/_abstract.pxi +0 -0
  17. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/_common.pxi +0 -0
  18. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/_func.pxi +0 -0
  19. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/_stream.pxi +0 -0
  20. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/_ta_lib.c +0 -0
  21. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/_ta_lib.pyx +0 -0
  22. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/abstract.py +0 -0
  23. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/deprecated.py +0 -0
  24. {ta_lib-0.4.35 → ta_lib-0.4.37}/talib/stream.py +0 -0
  25. {ta_lib-0.4.35 → ta_lib-0.4.37}/tests/conftest.py +0 -0
  26. {ta_lib-0.4.35 → ta_lib-0.4.37}/tests/test_abstract.py +0 -0
  27. {ta_lib-0.4.35 → ta_lib-0.4.37}/tests/test_func.py +0 -0
  28. {ta_lib-0.4.35 → ta_lib-0.4.37}/tests/test_pandas.py +0 -0
  29. {ta_lib-0.4.35 → ta_lib-0.4.37}/tests/test_polars.py +0 -0
  30. {ta_lib-0.4.35 → ta_lib-0.4.37}/tests/test_stream.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ta-lib
3
- Version: 0.4.35
3
+ Version: 0.4.37
4
4
  Summary: Python wrapper for TA-Lib
5
5
  Home-page: http://github.com/ta-lib/ta-lib-python
6
6
  Download-URL: https://github.com/ta-lib/ta-lib-python/releases
@@ -38,7 +38,7 @@ Description-Content-Type: text/markdown
38
38
  License-File: LICENSE
39
39
  License-File: AUTHORS
40
40
  Requires-Dist: setuptools
41
- Requires-Dist: numpy
41
+ Requires-Dist: numpy<2
42
42
 
43
43
  # TA-Lib
44
44
 
@@ -1,8 +1,8 @@
1
1
  [project]
2
2
  name = "ta-lib"
3
- version = "0.4.35"
3
+ version = "0.4.37"
4
4
  dynamic = ["authors", "classifiers", "description", "license", "readme"]
5
5
  dependencies = [
6
6
  "setuptools",
7
- "numpy",
7
+ "numpy<2",
8
8
  ]
@@ -9,14 +9,14 @@ try:
9
9
  from setuptools import setup, Extension
10
10
  from setuptools.dist import Distribution
11
11
  requires = {
12
- "install_requires": ["numpy"],
13
- "setup_requires": ["numpy"]
12
+ "install_requires": ["numpy<2"],
13
+ "setup_requires": ["numpy<2"]
14
14
  }
15
15
  except ImportError:
16
16
  from distutils.core import setup
17
17
  from distutils.dist import Distribution
18
18
  from distutils.extension import Extension
19
- requires = {"requires": ["numpy"]}
19
+ requires = {"requires": ["numpy<2"]}
20
20
 
21
21
  platform_supported = False
22
22
 
@@ -62,23 +62,13 @@ try:
62
62
  except ImportError:
63
63
  has_cython = False
64
64
 
65
- lib_talib_names = ['ta-lib', 'ta_lib'] # the underlying C library's name
66
- lib_talib_name = 'ta-lib' # the name as of TA-Lib 0.6.1
65
+ lib_talib_name = 'ta_lib' # the name as of TA-Lib 0.4.0
67
66
 
68
67
  for path in library_dirs:
69
68
  try:
70
69
  files = os.listdir(path)
71
- for f in files:
72
- for name in lib_talib_names:
73
- if name in f:
74
- lib_talib_name = name
75
- break
76
- else:
77
- continue
70
+ if any(lib_talib_name in f for f in files):
78
71
  break
79
- else:
80
- continue
81
- break
82
72
  except OSError:
83
73
  pass
84
74
  else:
@@ -153,7 +143,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
153
143
 
154
144
  setup(
155
145
  name='TA-Lib',
156
- version='0.4.35',
146
+ version='0.4.37',
157
147
  description='Python wrapper for TA-Lib',
158
148
  long_description=long_description,
159
149
  long_description_content_type='text/markdown',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ta-lib
3
- Version: 0.4.35
3
+ Version: 0.4.37
4
4
  Summary: Python wrapper for TA-Lib
5
5
  Home-page: http://github.com/ta-lib/ta-lib-python
6
6
  Download-URL: https://github.com/ta-lib/ta-lib-python/releases
@@ -38,7 +38,7 @@ Description-Content-Type: text/markdown
38
38
  License-File: LICENSE
39
39
  License-File: AUTHORS
40
40
  Requires-Dist: setuptools
41
- Requires-Dist: numpy
41
+ Requires-Dist: numpy<2
42
42
 
43
43
  # TA-Lib
44
44
 
@@ -1,2 +1,2 @@
1
1
  setuptools
2
- numpy
2
+ numpy<2
@@ -132,7 +132,7 @@ for func_name, stream_func_name in zip(__TA_FUNCTION_NAMES__, stream_func_names)
132
132
  setattr(stream, func_name, wrapped_func)
133
133
  globals()[stream_func_name] = wrapped_func
134
134
 
135
- __version__ = '0.4.35'
135
+ __version__ = '0.4.37'
136
136
 
137
137
  # In order to use this python library, talib (i.e. this __file__) will be
138
138
  # imported at some point, either explicitly or indirectly via talib.func
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes