fmp-data 2.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.
- fmp_data-2.0.0/.gitignore +82 -0
- fmp_data-2.0.0/LICENSE +21 -0
- fmp_data-2.0.0/NOTICE +37 -0
- fmp_data-2.0.0/PKG-INFO +1002 -0
- fmp_data-2.0.0/README.md +935 -0
- fmp_data-2.0.0/fmp_data/__init__.py +164 -0
- fmp_data-2.0.0/fmp_data/alternative/__init__.py +36 -0
- fmp_data-2.0.0/fmp_data/alternative/async_client.py +166 -0
- fmp_data-2.0.0/fmp_data/alternative/client.py +158 -0
- fmp_data-2.0.0/fmp_data/alternative/endpoints.py +533 -0
- fmp_data-2.0.0/fmp_data/alternative/mapping.py +736 -0
- fmp_data-2.0.0/fmp_data/alternative/models.py +351 -0
- fmp_data-2.0.0/fmp_data/alternative/schema.py +165 -0
- fmp_data-2.0.0/fmp_data/async_client.py +348 -0
- fmp_data-2.0.0/fmp_data/base.py +816 -0
- fmp_data-2.0.0/fmp_data/batch/__init__.py +26 -0
- fmp_data-2.0.0/fmp_data/batch/async_client.py +456 -0
- fmp_data-2.0.0/fmp_data/batch/client.py +436 -0
- fmp_data-2.0.0/fmp_data/batch/endpoints.py +669 -0
- fmp_data-2.0.0/fmp_data/batch/models.py +157 -0
- fmp_data-2.0.0/fmp_data/client.py +411 -0
- fmp_data-2.0.0/fmp_data/company/__init__.py +48 -0
- fmp_data-2.0.0/fmp_data/company/async_client.py +871 -0
- fmp_data-2.0.0/fmp_data/company/client.py +821 -0
- fmp_data-2.0.0/fmp_data/company/endpoints.py +1958 -0
- fmp_data-2.0.0/fmp_data/company/hints.py +77 -0
- fmp_data-2.0.0/fmp_data/company/mapping.py +1507 -0
- fmp_data-2.0.0/fmp_data/company/models.py +813 -0
- fmp_data-2.0.0/fmp_data/company/schema.py +132 -0
- fmp_data-2.0.0/fmp_data/config.py +293 -0
- fmp_data-2.0.0/fmp_data/economics/__init__.py +24 -0
- fmp_data-2.0.0/fmp_data/economics/async_client.py +90 -0
- fmp_data-2.0.0/fmp_data/economics/client.py +84 -0
- fmp_data-2.0.0/fmp_data/economics/endpoints.py +271 -0
- fmp_data-2.0.0/fmp_data/economics/mapping.py +791 -0
- fmp_data-2.0.0/fmp_data/economics/models.py +159 -0
- fmp_data-2.0.0/fmp_data/economics/schema.py +116 -0
- fmp_data-2.0.0/fmp_data/exceptions.py +55 -0
- fmp_data-2.0.0/fmp_data/fundamental/__init__.py +46 -0
- fmp_data-2.0.0/fmp_data/fundamental/async_client.py +128 -0
- fmp_data-2.0.0/fmp_data/fundamental/client.py +112 -0
- fmp_data-2.0.0/fmp_data/fundamental/endpoints.py +538 -0
- fmp_data-2.0.0/fmp_data/fundamental/mapping.py +1127 -0
- fmp_data-2.0.0/fmp_data/fundamental/models.py +1366 -0
- fmp_data-2.0.0/fmp_data/fundamental/schema.py +59 -0
- fmp_data-2.0.0/fmp_data/helpers.py +80 -0
- fmp_data-2.0.0/fmp_data/index/__init__.py +14 -0
- fmp_data-2.0.0/fmp_data/index/async_client.py +68 -0
- fmp_data-2.0.0/fmp_data/index/client.py +66 -0
- fmp_data-2.0.0/fmp_data/index/endpoints.py +110 -0
- fmp_data-2.0.0/fmp_data/index/models.py +52 -0
- fmp_data-2.0.0/fmp_data/institutional/__init__.py +28 -0
- fmp_data-2.0.0/fmp_data/institutional/async_client.py +346 -0
- fmp_data-2.0.0/fmp_data/institutional/client.py +332 -0
- fmp_data-2.0.0/fmp_data/institutional/endpoints.py +783 -0
- fmp_data-2.0.0/fmp_data/institutional/mapping.py +706 -0
- fmp_data-2.0.0/fmp_data/institutional/models.py +967 -0
- fmp_data-2.0.0/fmp_data/institutional/schema.py +99 -0
- fmp_data-2.0.0/fmp_data/intelligence/__init__.py +62 -0
- fmp_data-2.0.0/fmp_data/intelligence/async_client.py +554 -0
- fmp_data-2.0.0/fmp_data/intelligence/client.py +536 -0
- fmp_data-2.0.0/fmp_data/intelligence/endpoints.py +1310 -0
- fmp_data-2.0.0/fmp_data/intelligence/mapping.py +1913 -0
- fmp_data-2.0.0/fmp_data/intelligence/models.py +1104 -0
- fmp_data-2.0.0/fmp_data/intelligence/schema.py +57 -0
- fmp_data-2.0.0/fmp_data/investment/__init__.py +32 -0
- fmp_data-2.0.0/fmp_data/investment/async_client.py +167 -0
- fmp_data-2.0.0/fmp_data/investment/client.py +157 -0
- fmp_data-2.0.0/fmp_data/investment/endpoints.py +322 -0
- fmp_data-2.0.0/fmp_data/investment/mapping.py +806 -0
- fmp_data-2.0.0/fmp_data/investment/models.py +334 -0
- fmp_data-2.0.0/fmp_data/investment/schema.py +106 -0
- fmp_data-2.0.0/fmp_data/lc/__init__.py +257 -0
- fmp_data-2.0.0/fmp_data/lc/config.py +88 -0
- fmp_data-2.0.0/fmp_data/lc/embedding.py +140 -0
- fmp_data-2.0.0/fmp_data/lc/hints.py +66 -0
- fmp_data-2.0.0/fmp_data/lc/mapping.py +107 -0
- fmp_data-2.0.0/fmp_data/lc/models.py +98 -0
- fmp_data-2.0.0/fmp_data/lc/registry.py +698 -0
- fmp_data-2.0.0/fmp_data/lc/utils.py +38 -0
- fmp_data-2.0.0/fmp_data/lc/validation.py +267 -0
- fmp_data-2.0.0/fmp_data/lc/vector_store.py +664 -0
- fmp_data-2.0.0/fmp_data/logger.py +473 -0
- fmp_data-2.0.0/fmp_data/market/__init__.py +28 -0
- fmp_data-2.0.0/fmp_data/market/async_client.py +438 -0
- fmp_data-2.0.0/fmp_data/market/client.py +430 -0
- fmp_data-2.0.0/fmp_data/market/endpoints.py +1070 -0
- fmp_data-2.0.0/fmp_data/market/hints.py +22 -0
- fmp_data-2.0.0/fmp_data/market/mapping.py +1191 -0
- fmp_data-2.0.0/fmp_data/market/models.py +512 -0
- fmp_data-2.0.0/fmp_data/market/schema.py +186 -0
- fmp_data-2.0.0/fmp_data/mcp/__init__.py +0 -0
- fmp_data-2.0.0/fmp_data/mcp/__main__.py +65 -0
- fmp_data-2.0.0/fmp_data/mcp/cli.py +486 -0
- fmp_data-2.0.0/fmp_data/mcp/discovery.py +314 -0
- fmp_data-2.0.0/fmp_data/mcp/server.py +70 -0
- fmp_data-2.0.0/fmp_data/mcp/setup.py +554 -0
- fmp_data-2.0.0/fmp_data/mcp/tool_loader.py +148 -0
- fmp_data-2.0.0/fmp_data/mcp/tools_manifest.py +205 -0
- fmp_data-2.0.0/fmp_data/mcp/utils.py +433 -0
- fmp_data-2.0.0/fmp_data/models.py +334 -0
- fmp_data-2.0.0/fmp_data/py.typed +0 -0
- fmp_data-2.0.0/fmp_data/rate_limit.py +266 -0
- fmp_data-2.0.0/fmp_data/schema.py +165 -0
- fmp_data-2.0.0/fmp_data/sec/__init__.py +24 -0
- fmp_data-2.0.0/fmp_data/sec/async_client.py +306 -0
- fmp_data-2.0.0/fmp_data/sec/client.py +300 -0
- fmp_data-2.0.0/fmp_data/sec/endpoints.py +492 -0
- fmp_data-2.0.0/fmp_data/sec/models.py +209 -0
- fmp_data-2.0.0/fmp_data/technical/__init__.py +30 -0
- fmp_data-2.0.0/fmp_data/technical/async_client.py +216 -0
- fmp_data-2.0.0/fmp_data/technical/client.py +214 -0
- fmp_data-2.0.0/fmp_data/technical/endpoints.py +566 -0
- fmp_data-2.0.0/fmp_data/technical/mapping.py +448 -0
- fmp_data-2.0.0/fmp_data/technical/models.py +87 -0
- fmp_data-2.0.0/fmp_data/technical/schema.py +261 -0
- fmp_data-2.0.0/fmp_data/transcripts/__init__.py +16 -0
- fmp_data-2.0.0/fmp_data/transcripts/async_client.py +84 -0
- fmp_data-2.0.0/fmp_data/transcripts/client.py +78 -0
- fmp_data-2.0.0/fmp_data/transcripts/endpoints.py +139 -0
- fmp_data-2.0.0/fmp_data/transcripts/models.py +64 -0
- fmp_data-2.0.0/pyproject.toml +424 -0
- fmp_data-2.0.0/tests/__init__.py +0 -0
- fmp_data-2.0.0/tests/integration/__init__.py +0 -0
- fmp_data-2.0.0/tests/integration/base.py +68 -0
- fmp_data-2.0.0/tests/integration/conftest.py +203 -0
- fmp_data-2.0.0/tests/integration/test_alternative.py +223 -0
- fmp_data-2.0.0/tests/integration/test_batch.py +127 -0
- fmp_data-2.0.0/tests/integration/test_company.py +726 -0
- fmp_data-2.0.0/tests/integration/test_economics.py +205 -0
- fmp_data-2.0.0/tests/integration/test_fundamental.py +305 -0
- fmp_data-2.0.0/tests/integration/test_index.py +62 -0
- fmp_data-2.0.0/tests/integration/test_institutional.py +550 -0
- fmp_data-2.0.0/tests/integration/test_intelligence.py +803 -0
- fmp_data-2.0.0/tests/integration/test_investment.py +278 -0
- fmp_data-2.0.0/tests/integration/test_lc.py +166 -0
- fmp_data-2.0.0/tests/integration/test_market.py +546 -0
- fmp_data-2.0.0/tests/integration/test_sec.py +144 -0
- fmp_data-2.0.0/tests/integration/test_technical.py +153 -0
- fmp_data-2.0.0/tests/integration/test_transcripts.py +46 -0
- fmp_data-2.0.0/tests/unit/__init__.py +0 -0
- fmp_data-2.0.0/tests/unit/conftest.py +212 -0
- fmp_data-2.0.0/tests/unit/lc/__init__.py +0 -0
- fmp_data-2.0.0/tests/unit/lc/conftest.py +6 -0
- fmp_data-2.0.0/tests/unit/lc/test_config.py +65 -0
- fmp_data-2.0.0/tests/unit/lc/test_embedding.py +99 -0
- fmp_data-2.0.0/tests/unit/lc/test_endpoint_based_rules.py +170 -0
- fmp_data-2.0.0/tests/unit/lc/test_imports.py +17 -0
- fmp_data-2.0.0/tests/unit/lc/test_mapping.py +99 -0
- fmp_data-2.0.0/tests/unit/lc/test_models.py +88 -0
- fmp_data-2.0.0/tests/unit/lc/test_utils.py +55 -0
- fmp_data-2.0.0/tests/unit/lc/test_validation_registry.py +139 -0
- fmp_data-2.0.0/tests/unit/lc/test_vector_store.py +208 -0
- fmp_data-2.0.0/tests/unit/test_alternative.py +161 -0
- fmp_data-2.0.0/tests/unit/test_alternative_coverage.py +169 -0
- fmp_data-2.0.0/tests/unit/test_async_clients.py +2625 -0
- fmp_data-2.0.0/tests/unit/test_base.py +667 -0
- fmp_data-2.0.0/tests/unit/test_base_async.py +278 -0
- fmp_data-2.0.0/tests/unit/test_base_coverage.py +131 -0
- fmp_data-2.0.0/tests/unit/test_batch.py +574 -0
- fmp_data-2.0.0/tests/unit/test_client.py +777 -0
- fmp_data-2.0.0/tests/unit/test_company.py +972 -0
- fmp_data-2.0.0/tests/unit/test_company_coverage.py +430 -0
- fmp_data-2.0.0/tests/unit/test_config.py +637 -0
- fmp_data-2.0.0/tests/unit/test_economics.py +368 -0
- fmp_data-2.0.0/tests/unit/test_exceptions.py +210 -0
- fmp_data-2.0.0/tests/unit/test_fundamental.py +402 -0
- fmp_data-2.0.0/tests/unit/test_helpers.py +117 -0
- fmp_data-2.0.0/tests/unit/test_index.py +192 -0
- fmp_data-2.0.0/tests/unit/test_institutional.py +616 -0
- fmp_data-2.0.0/tests/unit/test_intelligence.py +1412 -0
- fmp_data-2.0.0/tests/unit/test_investment.py +307 -0
- fmp_data-2.0.0/tests/unit/test_logger.py +849 -0
- fmp_data-2.0.0/tests/unit/test_market.py +744 -0
- fmp_data-2.0.0/tests/unit/test_mcp.py +432 -0
- fmp_data-2.0.0/tests/unit/test_mcp_cli.py +489 -0
- fmp_data-2.0.0/tests/unit/test_models.py +206 -0
- fmp_data-2.0.0/tests/unit/test_rate_limit.py +732 -0
- fmp_data-2.0.0/tests/unit/test_rate_limit_async.py +157 -0
- fmp_data-2.0.0/tests/unit/test_rate_limit_coverage.py +201 -0
- fmp_data-2.0.0/tests/unit/test_sec.py +335 -0
- fmp_data-2.0.0/tests/unit/test_technical.py +152 -0
- fmp_data-2.0.0/tests/unit/test_technical_coverage.py +230 -0
- fmp_data-2.0.0/tests/unit/test_transcripts.py +154 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
*.so
|
|
6
|
+
.Python
|
|
7
|
+
build/
|
|
8
|
+
develop-eggs/
|
|
9
|
+
dist/
|
|
10
|
+
downloads/
|
|
11
|
+
eggs/
|
|
12
|
+
.eggs/
|
|
13
|
+
lib/
|
|
14
|
+
lib64/
|
|
15
|
+
parts/
|
|
16
|
+
sdist/
|
|
17
|
+
var/
|
|
18
|
+
wheels/
|
|
19
|
+
share/python-wheels/
|
|
20
|
+
*.egg-info/
|
|
21
|
+
.installed.cfg
|
|
22
|
+
*.egg
|
|
23
|
+
|
|
24
|
+
# Virtual Environment
|
|
25
|
+
.venv
|
|
26
|
+
env/
|
|
27
|
+
venv/
|
|
28
|
+
ENV/
|
|
29
|
+
|
|
30
|
+
# UV lock file (can be regenerated quickly)
|
|
31
|
+
uv.lock
|
|
32
|
+
|
|
33
|
+
# IDE
|
|
34
|
+
.idea/
|
|
35
|
+
.vscode/
|
|
36
|
+
*.swp
|
|
37
|
+
*.swo
|
|
38
|
+
|
|
39
|
+
# Testing
|
|
40
|
+
.coverage
|
|
41
|
+
htmlcov/
|
|
42
|
+
.tox/
|
|
43
|
+
.nox/
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
.mypy_cache/
|
|
54
|
+
.ruff_cache/
|
|
55
|
+
tests/integration/vcr_cassettes/**/*.yaml
|
|
56
|
+
|
|
57
|
+
# Build
|
|
58
|
+
*.manifest
|
|
59
|
+
*.spec
|
|
60
|
+
pip-log.txt
|
|
61
|
+
pip-delete-this-directory.txt
|
|
62
|
+
site/
|
|
63
|
+
|
|
64
|
+
# Documentation build
|
|
65
|
+
site/
|
|
66
|
+
|
|
67
|
+
# Security reports
|
|
68
|
+
reports/
|
|
69
|
+
|
|
70
|
+
# Test fixtures (can be regenerated)
|
|
71
|
+
tests/integration/vcr_cassettes/
|
|
72
|
+
|
|
73
|
+
# Misc
|
|
74
|
+
.DS_Store
|
|
75
|
+
|
|
76
|
+
# Environment files (keep .env.example)
|
|
77
|
+
.env
|
|
78
|
+
.env.*
|
|
79
|
+
!.env.example
|
|
80
|
+
|
|
81
|
+
# Firecrawl example outputs
|
|
82
|
+
examples/firecrawl_app/outputs/
|
fmp_data-2.0.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Mehdi Zare
|
|
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.
|
fmp_data-2.0.0/NOTICE
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
FMP Data Client
|
|
2
|
+
Copyright (c) 2024-2026 Mehdi Zare
|
|
3
|
+
|
|
4
|
+
This software includes the following third-party packages:
|
|
5
|
+
|
|
6
|
+
- httpx (BSD-3-Clause License)
|
|
7
|
+
Copyright (c) 2019, Tom Christie
|
|
8
|
+
https://github.com/encode/httpx
|
|
9
|
+
|
|
10
|
+
- pydantic (MIT License)
|
|
11
|
+
Copyright (c) 2017-present Samuel Colvin and other contributors
|
|
12
|
+
https://github.com/pydantic/pydantic
|
|
13
|
+
|
|
14
|
+
- tenacity (Apache License 2.0)
|
|
15
|
+
Copyright (c) 2016 Julien Danjou and contributors
|
|
16
|
+
Licensed under the Apache License, Version 2.0
|
|
17
|
+
https://github.com/jd/tenacity
|
|
18
|
+
|
|
19
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
20
|
+
you may not use this file except in compliance with the License.
|
|
21
|
+
You may obtain a copy of the License at
|
|
22
|
+
|
|
23
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
24
|
+
|
|
25
|
+
Unless required by applicable law or agreed to in writing, software
|
|
26
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
27
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
28
|
+
See the License for the specific language governing permissions and
|
|
29
|
+
limitations under the License.
|
|
30
|
+
|
|
31
|
+
For more detailed license information and full license texts:
|
|
32
|
+
- httpx: https://github.com/encode/httpx/blob/master/LICENSE.md
|
|
33
|
+
- pydantic: https://github.com/pydantic/pydantic/blob/main/LICENSE
|
|
34
|
+
- tenacity: http://www.apache.org/licenses/LICENSE-2.0
|
|
35
|
+
|
|
36
|
+
Third-party dependencies may have their own licenses and terms. Please refer to
|
|
37
|
+
each package's documentation for complete licensing information.
|