openmarkets 0.1.0.dev43__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.
Files changed (61) hide show
  1. openmarkets-0.1.0.dev43/.editorconfig +36 -0
  2. openmarkets-0.1.0.dev43/.gitattributes +1 -0
  3. openmarkets-0.1.0.dev43/.github/CODEOWNERS +1 -0
  4. openmarkets-0.1.0.dev43/.gitignore +306 -0
  5. openmarkets-0.1.0.dev43/.pre-commit-config.yaml +22 -0
  6. openmarkets-0.1.0.dev43/.python-version +1 -0
  7. openmarkets-0.1.0.dev43/CITATION.cff +14 -0
  8. openmarkets-0.1.0.dev43/LICENSE +661 -0
  9. openmarkets-0.1.0.dev43/PKG-INFO +247 -0
  10. openmarkets-0.1.0.dev43/README.md +215 -0
  11. openmarkets-0.1.0.dev43/pyproject.toml +100 -0
  12. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/__init__.py +5 -0
  13. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/_version.py +21 -0
  14. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/py.typed +0 -0
  15. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/server.py +45 -0
  16. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/__init__.py +33 -0
  17. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/analyst_data.py +81 -0
  18. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/calendar.py +78 -0
  19. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/corporate_actions.py +147 -0
  20. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/crypto.py +203 -0
  21. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/extended_market.py +298 -0
  22. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/financial_statements.py +140 -0
  23. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/funds.py +167 -0
  24. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/historical_data.py +121 -0
  25. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/market_data.py +201 -0
  26. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/news.py +148 -0
  27. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/options.py +151 -0
  28. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/screener.py +386 -0
  29. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/stock_info.py +143 -0
  30. openmarkets-0.1.0.dev43/src/mcp_server_yfinance/tools/technical_analysis.py +153 -0
  31. openmarkets-0.1.0.dev43/typings/yfinance/__init__.pyi +38 -0
  32. openmarkets-0.1.0.dev43/typings/yfinance/base.pyi +82 -0
  33. openmarkets-0.1.0.dev43/typings/yfinance/cache.pyi +97 -0
  34. openmarkets-0.1.0.dev43/typings/yfinance/const.pyi +15 -0
  35. openmarkets-0.1.0.dev43/typings/yfinance/data.pyi +22 -0
  36. openmarkets-0.1.0.dev43/typings/yfinance/domain/__init__.pyi +4 -0
  37. openmarkets-0.1.0.dev43/typings/yfinance/domain/domain.pyi +27 -0
  38. openmarkets-0.1.0.dev43/typings/yfinance/domain/industry.pyi +17 -0
  39. openmarkets-0.1.0.dev43/typings/yfinance/domain/market.pyi +16 -0
  40. openmarkets-0.1.0.dev43/typings/yfinance/domain/sector.pyi +18 -0
  41. openmarkets-0.1.0.dev43/typings/yfinance/exceptions.pyi +33 -0
  42. openmarkets-0.1.0.dev43/typings/yfinance/live.pyi +40 -0
  43. openmarkets-0.1.0.dev43/typings/yfinance/lookup.pyi +46 -0
  44. openmarkets-0.1.0.dev43/typings/yfinance/multi.pyi +30 -0
  45. openmarkets-0.1.0.dev43/typings/yfinance/pricing_pb2.pyi +4 -0
  46. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/__init__.pyi +0 -0
  47. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/analysis.pyi +22 -0
  48. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/fundamentals.pyi +21 -0
  49. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/funds.pyi +26 -0
  50. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/history.pyi +36 -0
  51. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/holders.pyi +19 -0
  52. openmarkets-0.1.0.dev43/typings/yfinance/scrapers/quote.pyi +86 -0
  53. openmarkets-0.1.0.dev43/typings/yfinance/screener/__init__.pyi +8 -0
  54. openmarkets-0.1.0.dev43/typings/yfinance/screener/query.pyi +46 -0
  55. openmarkets-0.1.0.dev43/typings/yfinance/screener/screener.pyi +27 -0
  56. openmarkets-0.1.0.dev43/typings/yfinance/search.pyi +51 -0
  57. openmarkets-0.1.0.dev43/typings/yfinance/shared.pyi +0 -0
  58. openmarkets-0.1.0.dev43/typings/yfinance/ticker.pyi +115 -0
  59. openmarkets-0.1.0.dev43/typings/yfinance/tickers.pyi +49 -0
  60. openmarkets-0.1.0.dev43/typings/yfinance/utils.pyi +96 -0
  61. openmarkets-0.1.0.dev43/typings/yfinance/version.pyi +1 -0
@@ -0,0 +1,36 @@
1
+ # EditorConfig is awesome: https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ # Python files
7
+ [*.py]
8
+ charset = utf-8
9
+ end_of_line = lf
10
+ indent_style = space
11
+ indent_size = 4
12
+ insert_final_newline = true
13
+ trim_trailing_whitespace = true
14
+ max_line_length = 88 # Black formatter default
15
+ multi_line_output = 3 # isort setting
16
+
17
+ # Markdown files
18
+ [*.md]
19
+ trim_trailing_whitespace = false
20
+
21
+ # YAML files
22
+ [*.{yml,yaml}]
23
+ indent_style = space
24
+ indent_size = 2
25
+
26
+ # JSON files
27
+ [*.json]
28
+ indent_style = space
29
+ indent_size = 2
30
+
31
+ # Documentation and config files
32
+ [*.{ini,txt,cfg}]
33
+ charset = utf-8
34
+ end_of_line = lf
35
+ indent_style = space
36
+ indent_size = 4
@@ -0,0 +1 @@
1
+ package-lock.json linguist-generated=true
@@ -0,0 +1 @@
1
+ * @danchev
@@ -0,0 +1,306 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ lerna-debug.log*
8
+ .pnpm-debug.log*
9
+
10
+ # Diagnostic reports (https://nodejs.org/api/report.html)
11
+ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12
+
13
+ # Runtime data
14
+ pids
15
+ *.pid
16
+ *.seed
17
+ *.pid.lock
18
+
19
+ # Directory for instrumented libs generated by jscoverage/JSCover
20
+ lib-cov
21
+
22
+ # Coverage directory used by tools like istanbul
23
+ coverage
24
+ *.lcov
25
+
26
+ # nyc test coverage
27
+ .nyc_output
28
+
29
+ # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30
+ .grunt
31
+
32
+ # Bower dependency directory (https://bower.io/)
33
+ bower_components
34
+
35
+ # node-waf configuration
36
+ .lock-wscript
37
+
38
+ # Compiled binary addons (https://nodejs.org/api/addons.html)
39
+ build/Release
40
+
41
+ # Dependency directories
42
+ node_modules/
43
+ jspm_packages/
44
+
45
+ # Snowpack dependency directory (https://snowpack.dev/)
46
+ web_modules/
47
+
48
+ # TypeScript cache
49
+ *.tsbuildinfo
50
+
51
+ # Optional npm cache directory
52
+ .npm
53
+
54
+ # Optional eslint cache
55
+ .eslintcache
56
+
57
+ # Optional stylelint cache
58
+ .stylelintcache
59
+
60
+ # Microbundle cache
61
+ .rpt2_cache/
62
+ .rts2_cache_cjs/
63
+ .rts2_cache_es/
64
+ .rts2_cache_umd/
65
+
66
+ # Optional REPL history
67
+ .node_repl_history
68
+
69
+ # Output of 'npm pack'
70
+ *.tgz
71
+
72
+ # Yarn Integrity file
73
+ .yarn-integrity
74
+
75
+ # dotenv environment variable files
76
+ .env
77
+ .env.development.local
78
+ .env.test.local
79
+ .env.production.local
80
+ .env.local
81
+
82
+ # parcel-bundler cache (https://parceljs.org/)
83
+ .cache
84
+ .parcel-cache
85
+
86
+ # Next.js build output
87
+ .next
88
+ out
89
+
90
+ # Nuxt.js build / generate output
91
+ .nuxt
92
+ dist
93
+
94
+ # Gatsby files
95
+ .cache/
96
+ # Comment in the public line in if your project uses Gatsby and not Next.js
97
+ # https://nextjs.org/blog/next-9-1#public-directory-support
98
+ # public
99
+
100
+ # vuepress build output
101
+ .vuepress/dist
102
+
103
+ # vuepress v2.x temp and cache directory
104
+ .temp
105
+ .cache
106
+
107
+ # Docusaurus cache and generated files
108
+ .docusaurus
109
+
110
+ # Serverless directories
111
+ .serverless/
112
+
113
+ # FuseBox cache
114
+ .fusebox/
115
+
116
+ # DynamoDB Local files
117
+ .dynamodb/
118
+
119
+ # TernJS port file
120
+ .tern-port
121
+
122
+ # Stores VSCode versions used for testing VSCode extensions
123
+ .vscode-test
124
+
125
+ # yarn v2
126
+ .yarn/cache
127
+ .yarn/unplugged
128
+ .yarn/build-state.yml
129
+ .yarn/install-state.gz
130
+ .pnp.*
131
+
132
+ build/
133
+
134
+ gcp-oauth.keys.json
135
+ .*-server-credentials.json
136
+
137
+ # Byte-compiled / optimized / DLL files
138
+ __pycache__/
139
+ *.py[cod]
140
+ *$py.class
141
+
142
+ # C extensions
143
+ *.so
144
+
145
+ # Distribution / packaging
146
+ .Python
147
+ build/
148
+ develop-eggs/
149
+ dist/
150
+ downloads/
151
+ eggs/
152
+ .eggs/
153
+ lib/
154
+ lib64/
155
+ parts/
156
+ sdist/
157
+ var/
158
+ wheels/
159
+ share/python-wheels/
160
+ *.egg-info/
161
+ .installed.cfg
162
+ *.egg
163
+ MANIFEST
164
+
165
+ # PyInstaller
166
+ # Usually these files are written by a python script from a template
167
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
168
+ *.manifest
169
+ *.spec
170
+
171
+ # Installer logs
172
+ pip-log.txt
173
+ pip-delete-this-directory.txt
174
+
175
+ # Unit test / coverage reports
176
+ htmlcov/
177
+ .tox/
178
+ .nox/
179
+ .coverage
180
+ .coverage.*
181
+ .cache
182
+ nosetests.xml
183
+ coverage.xml
184
+ *.cover
185
+ *.py,cover
186
+ .hypothesis/
187
+ .pytest_cache/
188
+ cover/
189
+
190
+ # Translations
191
+ *.mo
192
+ *.pot
193
+
194
+ # Django stuff:
195
+ *.log
196
+ local_settings.py
197
+ db.sqlite3
198
+ db.sqlite3-journal
199
+
200
+ # Flask stuff:
201
+ instance/
202
+ .webassets-cache
203
+
204
+ # Scrapy stuff:
205
+ .scrapy
206
+
207
+ # Sphinx documentation
208
+ docs/_build/
209
+
210
+ # PyBuilder
211
+ .pybuilder/
212
+ target/
213
+
214
+ # Jupyter Notebook
215
+ .ipynb_checkpoints
216
+
217
+ # IPython
218
+ profile_default/
219
+ ipython_config.py
220
+
221
+ # pyenv
222
+ # For a library or package, you might want to ignore these files since the code is
223
+ # intended to run in multiple environments; otherwise, check them in:
224
+ # .python-version
225
+
226
+ # pipenv
227
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
228
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
229
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
230
+ # install all needed dependencies.
231
+ #Pipfile.lock
232
+
233
+ # poetry
234
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
235
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
236
+ # commonly ignored for libraries.
237
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
238
+ #poetry.lock
239
+
240
+ # pdm
241
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
242
+ #pdm.lock
243
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
244
+ # in version control.
245
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
246
+ .pdm.toml
247
+ .pdm-python
248
+ .pdm-build/
249
+
250
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
251
+ __pypackages__/
252
+
253
+ # Celery stuff
254
+ celerybeat-schedule
255
+ celerybeat.pid
256
+
257
+ # SageMath parsed files
258
+ *.sage.py
259
+
260
+ # Environments
261
+ .env
262
+ .venv
263
+ env/
264
+ venv/
265
+ ENV/
266
+ env.bak/
267
+ venv.bak/
268
+
269
+ # Spyder project settings
270
+ .spyderproject
271
+ .spyproject
272
+
273
+ # Rope project settings
274
+ .ropeproject
275
+
276
+ # mkdocs documentation
277
+ /site
278
+
279
+ # mypy
280
+ .mypy_cache/
281
+ .dmypy.json
282
+ dmypy.json
283
+
284
+ # Pyre type checker
285
+ .pyre/
286
+
287
+ # pytype static type analyzer
288
+ .pytype/
289
+
290
+ # Cython debug symbols
291
+ cython_debug/
292
+
293
+ .DS_Store
294
+
295
+ # PyCharm
296
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
297
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
298
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
299
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
300
+ #.idea/
301
+
302
+ # uv
303
+ uv.lock
304
+
305
+ # version-file
306
+ _version.py
@@ -0,0 +1,22 @@
1
+ ci:
2
+ skip: [ty]
3
+
4
+ default_install_hook_types:
5
+ - pre-commit
6
+ - post-checkout
7
+ - post-merge
8
+ - post-rewrite
9
+
10
+ repos:
11
+ - repo: https://github.com/astral-sh/uv-pre-commit
12
+ rev: 0.7.7
13
+ hooks:
14
+ - id: uv-sync
15
+ args: ["--locked", "--all-packages"]
16
+ - repo: https://github.com/astral-sh/ruff-pre-commit
17
+ rev: v0.11.11
18
+ hooks:
19
+ - id: ruff
20
+ args: [--fix, --exit-non-zero-on-fix]
21
+ exclude: "^typings/"
22
+ - id: ruff-format
@@ -0,0 +1 @@
1
+ 3.13
@@ -0,0 +1,14 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it as below."
3
+ authors:
4
+ - family-names: "Danchev"
5
+ given-names: "D."
6
+ orcid: "https://orcid.org/0009-0002-2750-9563"
7
+ title: "MCP Server YFinance"
8
+ version: 0.0.1
9
+ doi: 10.5281/zenodo.1234
10
+ date-released: 2025-06-01
11
+ url: "https://github.com/danchev/mcp-server-yfinance"
12
+ type: software
13
+ license: "AGPL-3.0-or-later"
14
+ repository-code: "https://github.com/danchev/mcp-server-yfinance"