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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. {ta_lib-0.4.33 → ta_lib-0.4.35}/MANIFEST.in +1 -0
  2. {ta_lib-0.4.33 → ta_lib-0.4.35}/PKG-INFO +2 -1
  3. ta_lib-0.4.35/pyproject.toml +8 -0
  4. {ta_lib-0.4.33 → ta_lib-0.4.35}/setup.py +14 -4
  5. {ta_lib-0.4.33 → ta_lib-0.4.35}/ta_lib.egg-info/PKG-INFO +2 -1
  6. {ta_lib-0.4.33 → ta_lib-0.4.35}/ta_lib.egg-info/SOURCES.txt +4 -0
  7. ta_lib-0.4.35/ta_lib.egg-info/requires.txt +2 -0
  8. {ta_lib-0.4.33 → ta_lib-0.4.35}/talib/__init__.py +1 -1
  9. ta_lib-0.4.35/talib/_abstract.pxi +820 -0
  10. ta_lib-0.4.35/talib/_common.pxi +132 -0
  11. ta_lib-0.4.35/talib/_func.pxi +5222 -0
  12. ta_lib-0.4.35/talib/_stream.pxi +5248 -0
  13. ta_lib-0.4.33/pyproject.toml +0 -8
  14. ta_lib-0.4.33/ta_lib.egg-info/requires.txt +0 -1
  15. {ta_lib-0.4.33 → ta_lib-0.4.35}/AUTHORS +0 -0
  16. {ta_lib-0.4.33 → ta_lib-0.4.35}/COPYRIGHT +0 -0
  17. {ta_lib-0.4.33 → ta_lib-0.4.35}/LICENSE +0 -0
  18. {ta_lib-0.4.33 → ta_lib-0.4.35}/README.md +0 -0
  19. {ta_lib-0.4.33 → ta_lib-0.4.35}/setup.cfg +0 -0
  20. {ta_lib-0.4.33 → ta_lib-0.4.35}/ta_lib.egg-info/dependency_links.txt +0 -0
  21. {ta_lib-0.4.33 → ta_lib-0.4.35}/ta_lib.egg-info/top_level.txt +0 -0
  22. {ta_lib-0.4.33 → ta_lib-0.4.35}/talib/_ta_lib.c +0 -0
  23. {ta_lib-0.4.33 → ta_lib-0.4.35}/talib/_ta_lib.pyx +0 -0
  24. {ta_lib-0.4.33 → ta_lib-0.4.35}/talib/abstract.py +0 -0
  25. {ta_lib-0.4.33 → ta_lib-0.4.35}/talib/deprecated.py +0 -0
  26. {ta_lib-0.4.33 → ta_lib-0.4.35}/talib/stream.py +0 -0
  27. {ta_lib-0.4.33 → ta_lib-0.4.35}/tests/conftest.py +0 -0
  28. {ta_lib-0.4.33 → ta_lib-0.4.35}/tests/test_abstract.py +0 -0
  29. {ta_lib-0.4.33 → ta_lib-0.4.35}/tests/test_func.py +0 -0
  30. {ta_lib-0.4.33 → ta_lib-0.4.35}/tests/test_pandas.py +0 -0
  31. {ta_lib-0.4.33 → ta_lib-0.4.35}/tests/test_polars.py +0 -0
  32. {ta_lib-0.4.33 → ta_lib-0.4.35}/tests/test_stream.py +0 -0
@@ -3,4 +3,5 @@ include COPYRIGHT
3
3
  include README.md
4
4
  include talib/*.c
5
5
  include talib/*.pyx
6
+ include talib/*.pxi
6
7
  include tests/*.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ta-lib
3
- Version: 0.4.33
3
+ Version: 0.4.35
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
@@ -37,6 +37,7 @@ Classifier: Intended Audience :: Financial and Insurance Industry
37
37
  Description-Content-Type: text/markdown
38
38
  License-File: LICENSE
39
39
  License-File: AUTHORS
40
+ Requires-Dist: setuptools
40
41
  Requires-Dist: numpy
41
42
 
42
43
  # TA-Lib
@@ -0,0 +1,8 @@
1
+ [project]
2
+ name = "ta-lib"
3
+ version = "0.4.35"
4
+ dynamic = ["authors", "classifiers", "description", "license", "readme"]
5
+ dependencies = [
6
+ "setuptools",
7
+ "numpy",
8
+ ]
@@ -18,8 +18,6 @@ except ImportError:
18
18
  from distutils.extension import Extension
19
19
  requires = {"requires": ["numpy"]}
20
20
 
21
- lib_talib_name = 'ta_lib' # the underlying C library's name
22
-
23
21
  platform_supported = False
24
22
 
25
23
  if any(s in sys.platform for s in ['darwin', 'linux', 'bsd', 'sunos']):
@@ -64,11 +62,23 @@ try:
64
62
  except ImportError:
65
63
  has_cython = False
66
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
67
+
67
68
  for path in library_dirs:
68
69
  try:
69
70
  files = os.listdir(path)
70
- if any(lib_talib_name in f for f in files):
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
71
78
  break
79
+ else:
80
+ continue
81
+ break
72
82
  except OSError:
73
83
  pass
74
84
  else:
@@ -143,7 +153,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
143
153
 
144
154
  setup(
145
155
  name='TA-Lib',
146
- version='0.4.33',
156
+ version='0.4.35',
147
157
  description='Python wrapper for TA-Lib',
148
158
  long_description=long_description,
149
159
  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.33
3
+ Version: 0.4.35
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
@@ -37,6 +37,7 @@ Classifier: Intended Audience :: Financial and Insurance Industry
37
37
  Description-Content-Type: text/markdown
38
38
  License-File: LICENSE
39
39
  License-File: AUTHORS
40
+ Requires-Dist: setuptools
40
41
  Requires-Dist: numpy
41
42
 
42
43
  # TA-Lib
@@ -11,6 +11,10 @@ ta_lib.egg-info/dependency_links.txt
11
11
  ta_lib.egg-info/requires.txt
12
12
  ta_lib.egg-info/top_level.txt
13
13
  talib/__init__.py
14
+ talib/_abstract.pxi
15
+ talib/_common.pxi
16
+ talib/_func.pxi
17
+ talib/_stream.pxi
14
18
  talib/_ta_lib.c
15
19
  talib/_ta_lib.pyx
16
20
  talib/abstract.py
@@ -0,0 +1,2 @@
1
+ setuptools
2
+ numpy
@@ -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.33'
135
+ __version__ = '0.4.35'
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