ta-lib 0.5.2__tar.gz → 0.5.3__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.5.2 → ta_lib-0.5.3}/PKG-INFO +1 -1
  2. {ta_lib-0.5.2 → ta_lib-0.5.3}/pyproject.toml +1 -1
  3. {ta_lib-0.5.2 → ta_lib-0.5.3}/setup.py +3 -13
  4. {ta_lib-0.5.2 → ta_lib-0.5.3}/ta_lib.egg-info/PKG-INFO +1 -1
  5. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/__init__.py +1 -1
  6. {ta_lib-0.5.2 → ta_lib-0.5.3}/AUTHORS +0 -0
  7. {ta_lib-0.5.2 → ta_lib-0.5.3}/COPYRIGHT +0 -0
  8. {ta_lib-0.5.2 → ta_lib-0.5.3}/LICENSE +0 -0
  9. {ta_lib-0.5.2 → ta_lib-0.5.3}/MANIFEST.in +0 -0
  10. {ta_lib-0.5.2 → ta_lib-0.5.3}/README.md +0 -0
  11. {ta_lib-0.5.2 → ta_lib-0.5.3}/setup.cfg +0 -0
  12. {ta_lib-0.5.2 → ta_lib-0.5.3}/ta_lib.egg-info/SOURCES.txt +0 -0
  13. {ta_lib-0.5.2 → ta_lib-0.5.3}/ta_lib.egg-info/dependency_links.txt +0 -0
  14. {ta_lib-0.5.2 → ta_lib-0.5.3}/ta_lib.egg-info/requires.txt +0 -0
  15. {ta_lib-0.5.2 → ta_lib-0.5.3}/ta_lib.egg-info/top_level.txt +0 -0
  16. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_abstract.pxi +0 -0
  17. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_common.pxi +0 -0
  18. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_func.pxi +0 -0
  19. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_stream.pxi +0 -0
  20. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_ta_lib.c +0 -0
  21. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_ta_lib.pyi +0 -0
  22. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/_ta_lib.pyx +0 -0
  23. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/abstract.py +0 -0
  24. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/deprecated.py +0 -0
  25. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/py.typed +0 -0
  26. {ta_lib-0.5.2 → ta_lib-0.5.3}/talib/stream.py +0 -0
  27. {ta_lib-0.5.2 → ta_lib-0.5.3}/tests/conftest.py +0 -0
  28. {ta_lib-0.5.2 → ta_lib-0.5.3}/tests/test_abstract.py +0 -0
  29. {ta_lib-0.5.2 → ta_lib-0.5.3}/tests/test_func.py +0 -0
  30. {ta_lib-0.5.2 → ta_lib-0.5.3}/tests/test_pandas.py +0 -0
  31. {ta_lib-0.5.2 → ta_lib-0.5.3}/tests/test_polars.py +0 -0
  32. {ta_lib-0.5.2 → ta_lib-0.5.3}/tests/test_stream.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ta-lib
3
- Version: 0.5.2
3
+ Version: 0.5.3
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ta-lib"
3
- version = "0.5.2"
3
+ version = "0.5.3"
4
4
  dynamic = ["authors", "classifiers", "description", "license", "readme"]
5
5
  dependencies = [
6
6
  "setuptools",
@@ -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.5.2',
146
+ version='0.5.3',
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.5.2
3
+ Version: 0.5.3
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
@@ -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.5.2'
135
+ __version__ = '0.5.3'
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
File without changes
File without changes