tapebasis 1.0.0__tar.gz
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.
- tapebasis-1.0.0/LICENSE +21 -0
- tapebasis-1.0.0/NOTICE +90 -0
- tapebasis-1.0.0/PKG-INFO +777 -0
- tapebasis-1.0.0/README.md +741 -0
- tapebasis-1.0.0/pyproject.toml +96 -0
- tapebasis-1.0.0/setup.cfg +4 -0
- tapebasis-1.0.0/src/tapebasis/__init__.py +32 -0
- tapebasis-1.0.0/src/tapebasis/bb_access.py +597 -0
- tapebasis-1.0.0/src/tapebasis/blocking_pool.py +101 -0
- tapebasis-1.0.0/src/tapebasis/catalog.py +418 -0
- tapebasis-1.0.0/src/tapebasis/freshness.py +248 -0
- tapebasis-1.0.0/src/tapebasis/fv_access.py +190 -0
- tapebasis-1.0.0/src/tapebasis/health.py +806 -0
- tapebasis-1.0.0/src/tapebasis/http_pool.py +157 -0
- tapebasis-1.0.0/src/tapebasis/merge_helpers.py +466 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/__init__.py +1 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/errors.py +136 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/__init__.py +1 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/chart_service.py +314 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/filings_service.py +125 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/finviz_client.py +393 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/html_utils.py +426 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/insider_service.py +202 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/market_service.py +176 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/news_service.py +95 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/quote_service.py +527 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/services/screener_service.py +242 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/utils/__init__.py +1 -0
- tapebasis-1.0.0/src/tapebasis/providers/finviz/core/utils/validators.py +202 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/ace.txt +98 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/all.txt +1948 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/ams.txt +108 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/asx.txt +200 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/binance.txt +365 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bist.txt +478 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bitfinex.txt +176 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bitget.txt +266 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bme.txt +307 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bru.txt +110 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bse.txt +4770 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bursa.txt +101 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/bybit.txt +257 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/chn.txt +194 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/coinbase.txt +241 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/egx.txt +292 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/epa.txt +612 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/fwb.txt +2441 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/gateio.txt +809 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/hk.txt +107 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/hkex.txt +107 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/hsi.txt +107 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/huobi.txt +1091 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/idx.txt +844 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/klse.txt +101 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/kucoin.txt +1006 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/leap.txt +95 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/lis.txt +36 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/lse.txt +2841 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/mexc.txt +420 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/mil.txt +1392 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/myx.txt +101 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/nasdaq.txt +4997 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/nse.txt +3191 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/nyse.txt +2744 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/okx.txt +330 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/six.txt +381 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/sse.txt +103 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/szse.txt +91 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/tpex.txt +1339 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/tsx.txt +1087 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/tsxv.txt +1332 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/twse.txt +1340 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/coinlist/xetra.txt +1412 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/data/__init__.py +0 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/data/egx_indices.py +309 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/data/egx_sectors.py +491 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/errors.py +211 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/backtest_service.py +1024 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/bitcoin_market_service.py +129 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/coinlist.py +102 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/egx_service.py +1199 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/extended_hours_service.py +256 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/futures_service.py +219 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/indicators.py +1696 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/indicators_calc.py +316 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/marketaux_service.py +340 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/multi_agent_service.py +238 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/options_service.py +390 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/scanner_service.py +430 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/screener_provider.py +794 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/screener_service.py +1251 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/services/stock_screener_service.py +227 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/types.py +86 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/core/utils/validators.py +376 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/native.py +514 -0
- tapebasis-1.0.0/src/tapebasis/providers/tradingview/quote_socket.py +231 -0
- tapebasis-1.0.0/src/tapebasis/providers_state.py +353 -0
- tapebasis-1.0.0/src/tapebasis/ratelimit.py +285 -0
- tapebasis-1.0.0/src/tapebasis/reconcile.py +1287 -0
- tapebasis-1.0.0/src/tapebasis/sa_access.py +269 -0
- tapebasis-1.0.0/src/tapebasis/sentiment.py +272 -0
- tapebasis-1.0.0/src/tapebasis/server.py +226 -0
- tapebasis-1.0.0/src/tapebasis/sessions.py +477 -0
- tapebasis-1.0.0/src/tapebasis/singleflight.py +93 -0
- tapebasis-1.0.0/src/tapebasis/symbols.py +1338 -0
- tapebasis-1.0.0/src/tapebasis/tools_bloomberg.py +176 -0
- tapebasis-1.0.0/src/tapebasis/tools_finviz.py +307 -0
- tapebasis-1.0.0/src/tapebasis/tools_health.py +158 -0
- tapebasis-1.0.0/src/tapebasis/tools_market.py +3044 -0
- tapebasis-1.0.0/src/tapebasis/tools_tradingview.py +865 -0
- tapebasis-1.0.0/src/tapebasis/tv_access.py +298 -0
- tapebasis-1.0.0/src/tapebasis/utils.py +85 -0
- tapebasis-1.0.0/src/tapebasis/yh_access.py +734 -0
- tapebasis-1.0.0/src/tapebasis.egg-info/PKG-INFO +777 -0
- tapebasis-1.0.0/src/tapebasis.egg-info/SOURCES.txt +150 -0
- tapebasis-1.0.0/src/tapebasis.egg-info/dependency_links.txt +1 -0
- tapebasis-1.0.0/src/tapebasis.egg-info/entry_points.txt +2 -0
- tapebasis-1.0.0/src/tapebasis.egg-info/requires.txt +20 -0
- tapebasis-1.0.0/src/tapebasis.egg-info/top_level.txt +1 -0
- tapebasis-1.0.0/tests/test_backtest_service.py +206 -0
- tapebasis-1.0.0/tests/test_bloomberg.py +367 -0
- tapebasis-1.0.0/tests/test_dockerfile.py +234 -0
- tapebasis-1.0.0/tests/test_extended_hours.py +1113 -0
- tapebasis-1.0.0/tests/test_finviz_breakdown.py +410 -0
- tapebasis-1.0.0/tests/test_finviz_chart.py +184 -0
- tapebasis-1.0.0/tests/test_freshness.py +297 -0
- tapebasis-1.0.0/tests/test_git_context.py +112 -0
- tapebasis-1.0.0/tests/test_health.py +447 -0
- tapebasis-1.0.0/tests/test_http_pool.py +269 -0
- tapebasis-1.0.0/tests/test_indicators_calc.py +172 -0
- tapebasis-1.0.0/tests/test_market_indices.py +137 -0
- tapebasis-1.0.0/tests/test_oci_image.py +93 -0
- tapebasis-1.0.0/tests/test_options_service.py +55 -0
- tapebasis-1.0.0/tests/test_packaging.py +205 -0
- tapebasis-1.0.0/tests/test_provider_constants.py +100 -0
- tapebasis-1.0.0/tests/test_quality_gate.py +240 -0
- tapebasis-1.0.0/tests/test_quote_socket.py +186 -0
- tapebasis-1.0.0/tests/test_ratelimit_loops.py +120 -0
- tapebasis-1.0.0/tests/test_reconcile.py +661 -0
- tapebasis-1.0.0/tests/test_release_metadata.py +303 -0
- tapebasis-1.0.0/tests/test_sentiment.py +121 -0
- tapebasis-1.0.0/tests/test_sentiment_tool.py +193 -0
- tapebasis-1.0.0/tests/test_server.py +153 -0
- tapebasis-1.0.0/tests/test_sessions.py +352 -0
- tapebasis-1.0.0/tests/test_shapers.py +215 -0
- tapebasis-1.0.0/tests/test_singleflight.py +194 -0
- tapebasis-1.0.0/tests/test_stockanalysis.py +339 -0
- tapebasis-1.0.0/tests/test_symbols.py +286 -0
- tapebasis-1.0.0/tests/test_tools_merge.py +1683 -0
- tapebasis-1.0.0/tests/test_upstream_contract.py +495 -0
- tapebasis-1.0.0/tests/test_workflows.py +210 -0
- tapebasis-1.0.0/tests/test_yahoo_shaping.py +90 -0
tapebasis-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Giray Gokirmak
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
tapebasis-1.0.0/NOTICE
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
tapebasis
|
|
2
|
+
==============
|
|
3
|
+
Copyright (c) 2026 Giray Gokirmak
|
|
4
|
+
|
|
5
|
+
This project is MIT-licensed (see LICENSE). It vendors code from upstream
|
|
6
|
+
open-source projects, whose licenses and attributions are reproduced below.
|
|
7
|
+
|
|
8
|
+
--------------------------------------------------------------------------------
|
|
9
|
+
1. src/tapebasis/providers/tradingview/
|
|
10
|
+
--------------------------------------------------------------------------------
|
|
11
|
+
Vendored from: https://github.com/atilaahmettaner/tradingview-mcp
|
|
12
|
+
(via the fork https://github.com/giraygokirmak/tradingview-mcp,
|
|
13
|
+
commit 418f0c7c7d72d17ef10b021f97ccdd7f9e18264a)
|
|
14
|
+
|
|
15
|
+
Modifications: package namespace rewritten to
|
|
16
|
+
tapebasis.providers.tradingview.*; the optional proxy
|
|
17
|
+
layer (proxy_manager and all PROXY_* environment handling) was
|
|
18
|
+
removed; the upstream server entrypoint (MCP tool
|
|
19
|
+
registrations, server.py) was NOT vendored: this repository
|
|
20
|
+
provides its own tool layer. The upstream core/ services and
|
|
21
|
+
bundled coinlists are used as-is.
|
|
22
|
+
|
|
23
|
+
Upstream license:
|
|
24
|
+
|
|
25
|
+
MIT License
|
|
26
|
+
|
|
27
|
+
Copyright (c) 2025 Ahmet Taner Atila
|
|
28
|
+
|
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
30
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
31
|
+
in the Software without restriction, including without limitation the rights
|
|
32
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
33
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
34
|
+
furnished to do so, subject to the following conditions:
|
|
35
|
+
|
|
36
|
+
The above copyright notice and this permission notice shall be included in
|
|
37
|
+
all copies or substantial portions of the Software.
|
|
38
|
+
|
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
40
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
42
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
43
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
44
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
45
|
+
IN THE SOFTWARE.
|
|
46
|
+
|
|
47
|
+
The bundled exchange symbol lists in
|
|
48
|
+
src/tapebasis/providers/tradingview/coinlist/ are part of that upstream
|
|
49
|
+
project and carry the same license.
|
|
50
|
+
|
|
51
|
+
--------------------------------------------------------------------------------
|
|
52
|
+
2. src/tapebasis/providers/finviz/
|
|
53
|
+
--------------------------------------------------------------------------------
|
|
54
|
+
Vendored from: https://github.com/giraygokirmak/finviz-mcp
|
|
55
|
+
(commit 0f9e5defd44f88c7ece254c0c2e07372b75fb06c)
|
|
56
|
+
|
|
57
|
+
Modifications: package namespace rewritten to
|
|
58
|
+
tapebasis.providers.finviz.*; the optional proxy layer
|
|
59
|
+
(proxy_manager and all PROXY_* environment handling) was
|
|
60
|
+
removed; the upstream server entrypoint (MCP tool
|
|
61
|
+
registrations, server.py) was NOT vendored: this repository
|
|
62
|
+
provides its own tool layer. The upstream core/ services are
|
|
63
|
+
used as-is.
|
|
64
|
+
|
|
65
|
+
Upstream license:
|
|
66
|
+
|
|
67
|
+
MIT License
|
|
68
|
+
|
|
69
|
+
Copyright (c) 2026 Giray Gokirmak
|
|
70
|
+
|
|
71
|
+
(full text as in LICENSE above)
|
|
72
|
+
|
|
73
|
+
--------------------------------------------------------------------------------
|
|
74
|
+
3. Third-party runtime dependencies
|
|
75
|
+
--------------------------------------------------------------------------------
|
|
76
|
+
Runtime dependencies (mcp, httpx, curl_cffi, pandas, tradingview-screener,
|
|
77
|
+
tradingview-ta, feedparser, requests, python-dateutil, vaderSentiment) are not
|
|
78
|
+
vendored; they are installed from PyPI under their own licenses. See each
|
|
79
|
+
project for details.
|
|
80
|
+
|
|
81
|
+
vaderSentiment (MIT, https://github.com/cjhutto/vaderSentiment) ships the
|
|
82
|
+
VADER sentiment lexicon used by tapebasis/sentiment.py for local,
|
|
83
|
+
token-free headline scoring. That module adds its own financial vocabulary on
|
|
84
|
+
top; the base lexicon and scoring algorithm are VADER's.
|
|
85
|
+
|
|
86
|
+
TradingView, Finviz, Yahoo Finance, StockAnalysis, Bloomberg and Marketaux are
|
|
87
|
+
trademarks of their respective owners. This project is not affiliated with or
|
|
88
|
+
endorsed by any of them. It reads publicly accessible endpoints that they
|
|
89
|
+
operate; you are responsible for complying with their terms of service and
|
|
90
|
+
rate limits.
|