From 4400cd9a8f0ec12bf9cb53dabb70a88f2e2050be Mon Sep 17 00:00:00 2001 From: Henrique Joaquim Date: Wed, 22 Nov 2023 13:48:01 +0000 Subject: [PATCH] Merge provider and core into core (#5774) * small changes - moving provider inside the core * uptade readme * lint * remove old provider readme * leftovers * refactor website examples * ruff * fix nox * relock * fix fails_to_deliver headers * fix for tests that have renamed endpoints * fix discovery * removed test for renamed endpoint * fix broken syntax - test_search_financial_attributes * fix cash/income/balance * fix derivatives tests * fix etf tests * fix news tests * fix regulators * black * wrong test param * sort equity gainers/losers by percent * platform markdown generation import * Hotfix/fix int tests core merge (#5779) * removing tests on old endpoint * removing visualization on old endpoint * fixing equity tests * fixing examples * fix news tests * fix index test * example * add comments * example --------- Co-authored-by: Diogo Sousa --------- Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Co-authored-by: Diogo Sousa Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> Co-authored-by: Pratyush Shukla --- build/pypi/openbb_platform/PUBLISH.md | 5 +- build/pypi/openbb_platform/nightly.py | 1 - build/pypi/openbb_platform/publish.py | 16 - noxfile.py | 2 +- openbb_platform/CONTRIBUTING.md | 34 +- openbb_platform/{platform => }/core/README.md | 44 +- .../core/integration/test_obbject.py | 0 .../core/openbb_core/__init__.py | 0 .../core/openbb_core/api/app_loader.py | 0 .../core/openbb_core/api/auth/user.py | 0 .../openbb_core/api/dependency/__init__.py | 0 .../openbb_core/api/dependency/coverage.py | 0 .../core/openbb_core/api/dependency/system.py | 0 .../core/openbb_core/api/rest_api.py | 0 .../core/openbb_core/api/router/__init__.py | 0 .../core/openbb_core/api/router/commands.py | 0 .../core/openbb_core/api/router/coverage.py | 0 .../core/openbb_core/api/router/system.py | 0 .../core/openbb_core/api/router/user.py | 0 .../core/openbb_core/app/__init__.py | 0 .../core/openbb_core/app/charting_service.py | 0 .../core/openbb_core/app/command_runner.py | 0 .../core/openbb_core/app/constants.py | 0 .../formatters/formatter_with_exceptions.py | 0 .../handlers/path_tracking_file_handler.py | 0 .../app/logs/handlers/posthog_handler.py | 0 .../openbb_core/app/logs/handlers_manager.py | 0 .../openbb_core/app/logs/logging_service.py | 0 .../app/logs/models/logging_settings.py | 0 .../app/logs/utils/expired_files.py | 0 .../core/openbb_core/app/logs/utils/utils.py | 0 .../core/openbb_core/app/model/__init__.py | 0 .../app/model/abstract/__init__.py | 0 .../openbb_core/app/model/abstract/error.py | 0 .../openbb_core/app/model/abstract/results.py | 0 .../app/model/abstract/singleton.py | 0 .../openbb_core/app/model/abstract/tagged.py | 0 .../openbb_core/app/model/abstract/warning.py | 0 .../openbb_core/app/model/charts/chart.py | 0 .../app/model/charts/charting_settings.py | 0 .../openbb_core/app/model/command_context.py | 0 .../core/openbb_core/app/model/credentials.py | 0 .../openbb_core/app/model/custom_parameter.py | 0 .../core/openbb_core/app/model/defaults.py | 0 .../core/openbb_core/app/model/extension.py | 0 .../app/model/hub/features_keys.py | 0 .../openbb_core/app/model/hub/hub_session.py | 0 .../app/model/hub/hub_user_settings.py | 0 .../core/openbb_core/app/model/metadata.py | 3 +- .../core/openbb_core/app/model/obbject.py | 0 .../core/openbb_core/app/model/preferences.py | 0 .../core/openbb_core/app/model/profile.py | 0 .../app/model/rest_api_settings.py | 0 .../openbb_core/app/model/results/__init__.py | 0 .../openbb_core/app/model/results/empty.py | 0 .../openbb_core/app/model/system_settings.py | 0 .../openbb_core/app/model/user_settings.py | 0 .../openbb_core/app/provider_interface.py | 8 +- .../core/openbb_core/app/query.py | 0 .../core/openbb_core/app/router.py | 0 .../openbb_core/app/service/auth_service.py | 0 .../openbb_core/app/service/hub_service.py | 0 .../openbb_core/app/service/system_service.py | 0 .../openbb_core/app/service/user_service.py | 0 .../core/openbb_core/app/static/__init__.py | 0 .../core/openbb_core/app/static/account.py | 0 .../openbb_core/app/static/app_factory.py | 0 .../openbb_core/app/static/build_utils.py | 0 .../core/openbb_core/app/static/container.py | 0 .../core/openbb_core/app/static/coverage.py | 0 .../core/openbb_core/app/static/decorators.py | 0 .../core/openbb_core/app/static/filters.py | 0 .../openbb_core/app/static/package_builder.py | 10 +- .../core/openbb_core/app/utils.py | 2 +- .../core/openbb_core/app/version.py | 0 .../{platform => }/core/openbb_core/env.py | 0 .../openbb_core/provider}/__init__.py | 0 .../provider}/abstract/__init__.py | 0 .../openbb_core/provider}/abstract/data.py | 0 .../openbb_core/provider}/abstract/fetcher.py | 4 +- .../provider}/abstract/provider.py | 2 +- .../provider}/abstract/query_params.py | 0 .../openbb_core/provider}/py.typed | 0 .../openbb_core/provider}/query_executor.py | 8 +- .../openbb_core/provider}/registry.py | 2 +- .../openbb_core/provider}/registry_map.py | 8 +- .../provider}/standard_models/__init__.py | 0 .../standard_models/ameribor_rates.py | 9 +- .../standard_models/analyst_estimates.py | 9 +- .../standard_models/available_indices.py | 4 +- .../standard_models/balance_of_payments.py | 4 +- .../standard_models/balance_sheet.py | 13 +- .../standard_models/balance_sheet_growth.py | 9 +- .../provider}/standard_models/bond_prices.py | 4 +- .../standard_models/bond_reference.py | 4 +- .../provider}/standard_models/bond_trades.py | 9 +- .../standard_models/calendar_dividend.py | 9 +- .../standard_models/calendar_earnings.py | 9 +- .../provider}/standard_models/calendar_ipo.py | 9 +- .../standard_models/calendar_splits.py | 9 +- .../provider}/standard_models/cash_flow.py | 13 +- .../standard_models/cash_flow_growth.py | 9 +- .../standard_models/company_filings.py | 9 +- .../provider}/standard_models/company_news.py | 9 +- .../standard_models/company_overview.py | 9 +- .../provider}/standard_models/cot.py | 6 +- .../provider}/standard_models/cot_search.py | 6 +- .../provider}/standard_models/cp.py | 9 +- .../provider}/standard_models/cpi.py | 9 +- .../standard_models/crypto_historical.py | 9 +- .../standard_models/crypto_search.py | 6 +- .../standard_models/currency_historical.py | 9 +- .../standard_models/currency_pairs.py | 4 +- .../currency_reference_rates.py | 6 +- .../provider}/standard_models/dwpcr_rates.py | 9 +- .../earnings_call_transcript.py | 9 +- .../standard_models/ecb_interest_rates.py | 9 +- .../standard_models/economic_calendar.py | 9 +- .../provider}/standard_models/equity_ftd.py | 9 +- .../standard_models/equity_historical.py | 9 +- .../provider}/standard_models/equity_info.py | 9 +- .../provider}/standard_models/equity_nbbo.py | 6 +- .../standard_models/equity_ownership.py | 9 +- .../provider}/standard_models/equity_peers.py | 6 +- .../standard_models/equity_performance.py | 6 +- .../provider}/standard_models/equity_quote.py | 9 +- .../standard_models/equity_screener.py | 6 +- .../standard_models/equity_search.py | 6 +- .../standard_models/equity_short_interest.py | 9 +- .../equity_valuation_multiples.py | 6 +- .../standard_models/esg_risk_rating.py | 9 +- .../provider}/standard_models/esg_score.py | 9 +- .../provider}/standard_models/esg_sector.py | 4 +- .../provider}/standard_models/estr_rates.py | 9 +- .../standard_models/etf_countries.py | 6 +- .../standard_models/etf_historical.py | 9 +- .../standard_models/etf_historical_nav.py | 9 +- .../provider}/standard_models/etf_holdings.py | 9 +- .../standard_models/etf_holdings_date.py | 9 +- .../etf_holdings_performance.py | 0 .../provider}/standard_models/etf_info.py | 9 +- .../standard_models/etf_performance.py | 9 +- .../provider}/standard_models/etf_search.py | 6 +- .../provider}/standard_models/etf_sectors.py | 6 +- .../standard_models/eu_yield_curve.py | 6 +- .../european_index_constituents.py | 9 +- .../standard_models/european_indices.py | 9 +- .../standard_models/executive_compensation.py | 9 +- .../standard_models/fed_projections.py | 6 +- .../provider}/standard_models/fed_rates.py | 9 +- .../provider}/standard_models/ffrmc.py | 9 +- .../provider}/standard_models/filings.py | 9 +- .../standard_models/financial_attributes.py | 9 +- .../standard_models/financial_ratios.py | 9 +- .../provider}/standard_models/fred_indices.py | 9 +- .../standard_models/futures_curve.py | 9 +- .../standard_models/futures_historical.py | 9 +- .../provider}/standard_models/gdp_forecast.py | 9 +- .../provider}/standard_models/gdp_nominal.py | 9 +- .../provider}/standard_models/gdp_real.py | 9 +- .../standard_models/historical_dividends.py | 9 +- .../standard_models/historical_employees.py | 9 +- .../standard_models/historical_eps.py | 9 +- .../standard_models/historical_splits.py | 9 +- .../provider}/standard_models/hqm.py | 9 +- .../provider}/standard_models/ice_bofa.py | 9 +- .../standard_models/income_statement.py | 13 +- .../income_statement_growth.py | 9 +- .../standard_models/index_constituents.py | 6 +- .../provider}/standard_models/index_info.py | 9 +- .../provider}/standard_models/index_search.py | 6 +- .../standard_models/index_sectors.py | 6 +- .../standard_models/index_snapshots.py | 6 +- .../provider}/standard_models/industry_pe.py | 6 +- .../standard_models/insider_trading.py | 9 +- .../institutional_ownership.py | 9 +- .../provider}/standard_models/iorb_rates.py | 9 +- .../standard_models/key_executives.py | 6 +- .../provider}/standard_models/key_metrics.py | 9 +- .../standard_models/market_indices.py | 9 +- .../standard_models/market_movers.py | 6 +- .../standard_models/market_snapshots.py | 6 +- .../provider}/standard_models/moody.py | 9 +- .../standard_models/options_chains.py | 9 +- .../standard_models/options_unusual.py | 9 +- .../standard_models/otc_aggregate.py | 6 +- .../provider}/standard_models/price_target.py | 9 +- .../standard_models/price_target_consensus.py | 9 +- .../standard_models/recent_performance.py | 6 +- .../standard_models/revenue_business_line.py | 9 +- .../standard_models/revenue_geographic.py | 9 +- .../provider}/standard_models/risk_premium.py | 4 +- .../search_financial_attributes.py | 6 +- .../provider}/standard_models/sector_pe.py | 6 +- .../standard_models/sector_performance.py | 4 +- .../standard_models/share_statistics.py | 9 +- .../provider}/standard_models/short_volume.py | 9 +- .../provider}/standard_models/sofr_rates.py | 9 +- .../provider}/standard_models/sonia_rates.py | 9 +- .../standard_models/sp500_multiples.py | 9 +- .../provider}/standard_models/spot.py | 9 +- .../provider}/standard_models/tbffr.py | 9 +- .../provider}/standard_models/tmc.py | 9 +- .../provider}/standard_models/top_retail.py | 9 +- .../trailing_dividend_yield.py | 9 +- .../standard_models/treasury_auctions.py | 6 +- .../standard_models/treasury_rates.py | 9 +- .../standard_models/upcoming_release_days.py | 6 +- .../standard_models/us_yield_curve.py | 6 +- .../provider}/standard_models/world_news.py | 9 +- .../openbb_core/provider}/utils/__init__.py | 0 .../provider}/utils/descriptions.py | 0 .../openbb_core/provider}/utils/errors.py | 0 .../openbb_core/provider}/utils/helpers.py | 0 .../openbb_core}/py.typed | 0 .../{platform => }/core/poetry.lock | 443 +++++++++- .../{platform => }/core/pyproject.toml | 8 +- .../tests/api/test_auth/test_user_auth.py | 0 .../tests/api/test_dependency/__init__.py | 0 .../api/test_dependency/test_coverage.py | 0 .../tests/api/test_dependency/test_system.py | 0 .../core/tests/api/test_router/__init__.py | 0 .../api/test_router/test_router_coverage.py | 0 .../api/test_router/test_router_system.py | 0 .../tests/api/test_router/test_router_user.py | 0 .../{platform => }/core/tests/app/__init__.py | 0 .../core/tests/app/logs/__init__.py | 0 .../tests/app/logs/formatters/__init__.py | 0 .../test_formatter_with_exceptions.py | 0 .../core/tests/app/logs/handlers/__init__.py | 0 .../test_path_tracking_file_handler.py | 0 .../app/logs/handlers/test_posthog_handler.py | 0 .../tests/app/logs/test_handlers_manager.py | 0 .../tests/app/logs/test_logging_service.py | 0 .../core/tests/app/logs/utils/__init__.py | 0 .../app/logs/utils/test_expired_files.py | 0 .../core/tests/app/logs/utils/test_utils.py | 0 .../core/tests/app/model/__init__.py | 0 .../core/tests/app/model/abstract/__init__.py | 0 .../tests/app/model/abstract/test_results.py | 0 .../app/model/abstract/test_singleton.py | 0 .../tests/app/model/abstract/test_tagged.py | 0 .../tests/app/model/abstract/test_warning.py | 0 .../core/tests/app/model/charts/__init__.py | 0 .../core/tests/app/model/charts/test_chart.py | 0 .../core/tests/app/model/hub/__init__.py | 0 .../tests/app/model/hub/test_features_keys.py | 0 .../tests/app/model/hub/test_hub_session.py | 0 .../app/model/hub/test_hub_user_settings.py | 0 .../tests/app/model/test_command_context.py | 0 .../core/tests/app/model/test_credentials.py | 0 .../core/tests/app/model/test_defaults.py | 0 .../core/tests/app/model/test_metadata.py | 2 +- .../core/tests/app/model/test_obbject.py | 2 +- .../core/tests/app/model/test_preferences.py | 0 .../core/tests/app/model/test_profile.py | 0 .../tests/app/model/test_system_settings.py | 0 .../tests/app/model/test_user_settings.py | 0 .../core/tests/app/results/__init__.py | 0 .../core/tests/app/results/test_empty.py | 0 .../core/tests/app/service/__init__.py | 0 .../tests/app/service/test_hub_service.py | 0 .../tests/app/service/test_system_service.py | 0 .../tests/app/service/test_user_service.py | 0 .../core/tests/app/static/__init__.py | 0 .../core/tests/app/static/test_app_factory.py | 0 .../core/tests/app/static/test_build_utils.py | 0 .../core/tests/app/static/test_container.py | 0 .../core/tests/app/static/test_coverage.py | 0 .../core/tests/app/static/test_filters.py | 2 +- .../tests/app/static/test_package_builder.py | 0 .../core/tests/app/test_charting_manager.py | 0 .../core/tests/app/test_charting_service.py | 0 .../core/tests/app/test_command_runner.py | 0 .../core/tests/app/test_platform_router.py | 0 .../core/tests/app/test_provider_interface.py | 0 .../core/tests/app/test_query.py | 0 .../core/tests/app/test_utils.py | 2 +- .../tests/provider}/abstract/test_data.py | 2 +- .../tests/provider}/abstract/test_fetcher.py | 2 +- .../tests/provider}/abstract/test_provider.py | 2 +- .../provider}/abstract/test_query_params.py | 2 +- .../standard_models/test_standard_models.py | 21 +- .../tests/provider}/test_query_executor.py | 8 +- .../tests/provider}/test_registry.py | 4 +- .../tests/provider}/test_registry_map.py | 2 +- .../provider}/utils/test_descriptions.py | 5 +- .../tests/provider}/utils/test_errors.py | 2 +- .../tests/provider}/utils/test_helpers.py | 2 +- openbb_platform/dev_install.py | 3 +- .../charting/integration/test_charting_api.py | 25 +- .../integration/test_charting_python.py | 26 - .../openbb_charting/charting_router.py | 12 - .../crypto/integration/test_crypto_api.py | 2 +- .../currency/integration/test_currency_api.py | 2 +- .../integration/test_derivatives_api.py | 4 +- .../integration/test_derivatives_python.py | 3 +- .../econometrics_router.py | 2 +- .../economy/integration/test_economy_api.py | 2 +- .../equity/integration/test_equity_api.py | 57 +- .../equity/integration/test_equity_python.py | 43 +- .../etf/integration/test_etf_api.py | 21 +- .../etf/integration/test_etf_python.py | 19 +- .../integration/test_fixedincome_api.py | 2 +- .../index/integration/test_index_api.py | 4 +- .../news/integration/test_news_api.py | 23 +- .../news/integration/test_news_python.py | 22 +- .../integration/test_quantitative_api.py | 2 +- .../quantitative_router.py | 2 +- .../integration/test_regulators_api.py | 2 +- .../integration/test_technical_api.py | 2 +- .../openbb_technical/technical_router.py | 2 +- .../utils/integration_tests_api_generator.py | 2 +- openbb_platform/openbb/package/crypto.py | 2 +- .../openbb/package/crypto_price.py | 2 +- openbb_platform/openbb/package/currency.py | 2 +- .../openbb/package/currency_price.py | 2 +- openbb_platform/openbb/package/economy.py | 2 +- openbb_platform/openbb/package/economy_gdp.py | 2 +- openbb_platform/openbb/package/equity.py | 2 +- .../openbb/package/equity_calendar.py | 2 +- .../openbb/package/equity_compare.py | 2 +- .../openbb/package/equity_darkpool.py | 94 ++ .../openbb/package/equity_discovery.py | 2 +- .../openbb/package/equity_estimates.py | 2 +- .../openbb/package/equity_fundamental.py | 88 +- .../openbb/package/equity_ownership.py | 2 +- .../openbb/package/equity_price.py | 2 +- .../openbb/package/equity_shorts.py | 156 +++- openbb_platform/openbb/package/etf.py | 116 ++- openbb_platform/openbb/package/fixedincome.py | 2 +- .../openbb/package/fixedincome_corporate.py | 2 +- .../openbb/package/fixedincome_government.py | 2 +- .../openbb/package/fixedincome_rate.py | 2 +- .../openbb/package/fixedincome_spreads.py | 2 +- openbb_platform/openbb/package/index.py | 2 +- openbb_platform/openbb/package/news.py | 2 +- .../openbb/package/regulators_sec.py | 4 +- openbb_platform/platform/provider/README.md | 53 -- openbb_platform/platform/provider/poetry.lock | 806 ------------------ .../platform/provider/pyproject.toml | 22 - .../openbb_alpha_vantage/__init__.py | 2 +- .../models/equity_historical.py | 11 +- .../openbb_alpha_vantage/utils/helpers.py | 6 +- .../benzinga/openbb_benzinga/__init__.py | 2 +- .../openbb_benzinga/models/company_news.py | 6 +- .../openbb_benzinga/models/world_news.py | 6 +- .../benzinga/openbb_benzinga/utils/helpers.py | 2 +- .../biztoc/openbb_biztoc/__init__.py | 2 +- .../biztoc/openbb_biztoc/models/world_news.py | 4 +- .../providers/cboe/openbb_cboe/__init__.py | 2 +- .../openbb_cboe/models/available_indices.py | 4 +- .../openbb_cboe/models/equity_historical.py | 8 +- .../cboe/openbb_cboe/models/equity_info.py | 4 +- .../cboe/openbb_cboe/models/equity_search.py | 4 +- .../models/european_index_constituents.py | 6 +- .../openbb_cboe/models/european_indices.py | 6 +- .../cboe/openbb_cboe/models/futures_curve.py | 4 +- .../cboe/openbb_cboe/models/index_search.py | 4 +- .../openbb_cboe/models/index_snapshots.py | 6 +- .../cboe/openbb_cboe/models/market_indices.py | 6 +- .../cboe/openbb_cboe/models/options_chains.py | 6 +- .../cboe/openbb_cboe/utils/helpers.py | 2 +- .../providers/ecb/openbb_ecb/__init__.py | 2 +- .../openbb_ecb/models/balance_of_payments.py | 18 +- .../models/currency_reference_rates.py | 4 +- .../ecb/openbb_ecb/models/eu_yield_curve.py | 6 +- .../providers/finra/openbb_finra/__init__.py | 2 +- .../models/equity_short_interest.py | 6 +- .../openbb_finra/models/otc_aggregate.py | 6 +- .../providers/fmp/openbb_fmp/__init__.py | 2 +- .../openbb_fmp/models/analyst_estimates.py | 6 +- .../openbb_fmp/models/available_indices.py | 6 +- .../fmp/openbb_fmp/models/balance_sheet.py | 10 +- .../openbb_fmp/models/balance_sheet_growth.py | 6 +- .../openbb_fmp/models/calendar_dividend.py | 6 +- .../openbb_fmp/models/calendar_earnings.py | 6 +- .../fmp/openbb_fmp/models/calendar_splits.py | 6 +- .../fmp/openbb_fmp/models/cash_flow.py | 10 +- .../fmp/openbb_fmp/models/cash_flow_growth.py | 6 +- .../fmp/openbb_fmp/models/company_filings.py | 6 +- .../fmp/openbb_fmp/models/company_news.py | 6 +- .../fmp/openbb_fmp/models/company_overview.py | 6 +- .../openbb_fmp/models/crypto_historical.py | 8 +- .../fmp/openbb_fmp/models/crypto_search.py | 6 +- .../openbb_fmp/models/currency_historical.py | 6 +- .../fmp/openbb_fmp/models/currency_pairs.py | 6 +- .../openbb_fmp/models/discovery_filings.py | 8 +- .../models/earnings_call_transcript.py | 6 +- .../openbb_fmp/models/economic_calendar.py | 6 +- .../openbb_fmp/models/equity_historical.py | 8 +- .../fmp/openbb_fmp/models/equity_ownership.py | 6 +- .../fmp/openbb_fmp/models/equity_peers.py | 6 +- .../fmp/openbb_fmp/models/equity_quote.py | 8 +- .../fmp/openbb_fmp/models/equity_screener.py | 8 +- .../models/equity_valuation_multiples.py | 6 +- .../fmp/openbb_fmp/models/etf_countries.py | 6 +- .../fmp/openbb_fmp/models/etf_holdings.py | 8 +- .../openbb_fmp/models/etf_holdings_date.py | 8 +- .../models/etf_holdings_performance.py | 2 +- .../fmp/openbb_fmp/models/etf_info.py | 7 +- .../fmp/openbb_fmp/models/etf_search.py | 6 +- .../fmp/openbb_fmp/models/etf_sectors.py | 6 +- .../models/executive_compensation.py | 6 +- .../fmp/openbb_fmp/models/financial_ratios.py | 6 +- .../openbb_fmp/models/historical_dividends.py | 6 +- .../openbb_fmp/models/historical_employees.py | 6 +- .../fmp/openbb_fmp/models/historical_eps.py | 8 +- .../openbb_fmp/models/historical_splits.py | 6 +- .../fmp/openbb_fmp/models/income_statement.py | 6 +- .../models/income_statement_growth.py | 6 +- .../openbb_fmp/models/index_constituents.py | 6 +- .../fmp/openbb_fmp/models/insider_trading.py | 8 +- .../models/institutional_ownership.py | 6 +- .../fmp/openbb_fmp/models/key_executives.py | 6 +- .../fmp/openbb_fmp/models/key_metrics.py | 8 +- .../fmp/openbb_fmp/models/market_indices.py | 8 +- .../fmp/openbb_fmp/models/market_snapshots.py | 6 +- .../openbb_fmp/models/price_performance.py | 6 +- .../fmp/openbb_fmp/models/price_target.py | 6 +- .../models/price_target_consensus.py | 6 +- .../models/revenue_business_line.py | 6 +- .../openbb_fmp/models/revenue_geographic.py | 6 +- .../fmp/openbb_fmp/models/risk_premium.py | 6 +- .../fmp/openbb_fmp/models/share_statistics.py | 6 +- .../fmp/openbb_fmp/models/treasury_rates.py | 6 +- .../fmp/openbb_fmp/models/world_news.py | 6 +- .../providers/fmp/openbb_fmp/utils/helpers.py | 6 +- .../providers/fred/openbb_fred/__init__.py | 2 +- .../fred/openbb_fred/models/ameribor_rates.py | 6 +- .../providers/fred/openbb_fred/models/cp.py | 8 +- .../providers/fred/openbb_fred/models/cpi.py | 8 +- .../fred/openbb_fred/models/dwpcr_rates.py | 6 +- .../openbb_fred/models/ecb_interest_rates.py | 6 +- .../fred/openbb_fred/models/estr_rates.py | 4 +- .../openbb_fred/models/fed_projections.py | 8 +- .../fred/openbb_fred/models/fed_rates.py | 6 +- .../fred/openbb_fred/models/ffrmc.py | 6 +- .../providers/fred/openbb_fred/models/hqm.py | 10 +- .../fred/openbb_fred/models/ice_bofa.py | 8 +- .../fred/openbb_fred/models/iorb_rates.py | 6 +- .../fred/openbb_fred/models/moody.py | 6 +- .../fred/openbb_fred/models/sofr_rates.py | 4 +- .../fred/openbb_fred/models/sonia_rates.py | 4 +- .../providers/fred/openbb_fred/models/spot.py | 8 +- .../fred/openbb_fred/models/tbffr.py | 6 +- .../providers/fred/openbb_fred/models/tmc.py | 6 +- .../fred/openbb_fred/models/us_yield_curve.py | 10 +- .../fred/openbb_fred/utils/fred_base.py | 2 +- .../openbb_government_us/__init__.py | 2 +- .../models/treasury_auctions.py | 6 +- .../intrinio/openbb_intrinio/__init__.py | 2 +- .../openbb_intrinio/models/balance_sheet.py | 6 +- .../openbb_intrinio/models/calendar_ipo.py | 10 +- .../openbb_intrinio/models/cash_flow.py | 6 +- .../openbb_intrinio/models/company_news.py | 8 +- .../openbb_intrinio/models/currency_pairs.py | 6 +- .../models/equity_historical.py | 10 +- .../openbb_intrinio/models/equity_quote.py | 8 +- .../models/financial_attributes.py | 8 +- .../openbb_intrinio/models/fred_indices.py | 8 +- .../models/income_statement.py | 6 +- .../openbb_intrinio/models/options_chains.py | 6 +- .../openbb_intrinio/models/options_unusual.py | 6 +- .../models/search_financial_attributes.py | 8 +- .../openbb_intrinio/models/world_news.py | 6 +- .../intrinio/openbb_intrinio/utils/helpers.py | 4 +- .../openbb_intrinio/utils/references.py | 2 +- .../nasdaq/openbb_nasdaq/__init__.py | 4 +- .../openbb_nasdaq/models/calendar_dividend.py | 6 +- .../openbb_nasdaq/models/calendar_earnings.py | 6 +- .../openbb_nasdaq/models/calendar_ipo.py | 6 +- .../nasdaq/openbb_nasdaq/models/cot.py | 6 +- .../nasdaq/openbb_nasdaq/models/cot_search.py | 6 +- .../openbb_nasdaq/models/economic_calendar.py | 6 +- .../openbb_nasdaq/models/sp500_multiples.py | 6 +- .../nasdaq/openbb_nasdaq/models/top_retail.py | 4 +- .../nasdaq/openbb_nasdaq/utils/helpers.py | 4 +- .../providers/oecd/openbb_oecd/__init__.py | 2 +- .../oecd/openbb_oecd/models/gdp_forecast.py | 6 +- .../oecd/openbb_oecd/models/gdp_nominal.py | 6 +- .../oecd/openbb_oecd/models/gdp_real.py | 7 +- .../oecd/openbb_oecd/utils/helpers.py | 2 +- .../polygon/openbb_polygon/__init__.py | 2 +- .../openbb_polygon/models/balance_sheet.py | 8 +- .../openbb_polygon/models/cash_flow.py | 8 +- .../openbb_polygon/models/company_news.py | 8 +- .../models/crypto_historical.py | 8 +- .../models/currency_historical.py | 8 +- .../openbb_polygon/models/currency_pairs.py | 8 +- .../models/equity_historical.py | 8 +- .../openbb_polygon/models/equity_nbbo.py | 10 +- .../openbb_polygon/models/income_statement.py | 10 +- .../openbb_polygon/models/market_indices.py | 8 +- .../openbb_polygon/models/market_snapshots.py | 6 +- .../polygon/openbb_polygon/utils/helpers.py | 4 +- .../providers/sec/openbb_sec/__init__.py | 2 +- .../sec/openbb_sec/models/cik_map.py | 6 +- .../sec/openbb_sec/models/company_filings.py | 6 +- .../sec/openbb_sec/models/equity_ftd.py | 4 +- .../sec/openbb_sec/models/equity_search.py | 4 +- .../openbb_sec/models/institutions_search.py | 6 +- .../sec/openbb_sec/models/rss_litigation.py | 6 +- .../sec/openbb_sec/models/schema_files.py | 6 +- .../sec/openbb_sec/models/sic_search.py | 12 +- .../sec/openbb_sec/models/symbol_map.py | 8 +- .../providers/sec/openbb_sec/utils/helpers.py | 2 +- .../openbb_seeking_alpha/__init__.py | 2 +- .../models/upcoming_release_days.py | 17 +- .../stockgrid/openbb_stockgrid/__init__.py | 2 +- .../openbb_stockgrid/models/short_volume.py | 4 +- .../providers/tests/test_provider_fetcher.py | 4 +- .../tests/test_provider_field_dupes.py | 8 +- .../tests/utils/unit_tests_generator.py | 6 +- .../tiingo/openbb_tiingo/__init__.py | 2 +- .../openbb_tiingo/models/company_news.py | 6 +- .../openbb_tiingo/models/crypto_historical.py | 6 +- .../models/currency_historical.py | 6 +- .../openbb_tiingo/models/equity_historical.py | 8 +- .../models/trailing_dividend_yield.py | 4 +- .../tiingo/openbb_tiingo/models/world_news.py | 6 +- .../tiingo/openbb_tiingo/utils/helpers.py | 4 +- .../openbb_tradingeconomics/__init__.py | 2 +- .../models/economic_calendar.py | 6 +- .../ultima/openbb_ultima/__init__.py | 2 +- .../openbb_ultima/models/company_news.py | 4 +- .../ultima/openbb_ultima/utils/helpers.py | 2 +- .../providers/wsj/openbb_wsj/__init__.py | 2 +- .../providers/wsj/openbb_wsj/models/active.py | 4 +- .../wsj/openbb_wsj/models/gainers.py | 4 +- .../providers/wsj/openbb_wsj/models/losers.py | 4 +- .../yfinance/openbb_yfinance/__init__.py | 2 +- .../yfinance/openbb_yfinance/models/active.py | 8 +- .../models/aggressive_small_caps.py | 8 +- .../models/available_indices.py | 4 +- .../openbb_yfinance/models/balance_sheet.py | 8 +- .../openbb_yfinance/models/cash_flow.py | 8 +- .../openbb_yfinance/models/company_news.py | 4 +- .../models/crypto_historical.py | 8 +- .../models/currency_historical.py | 8 +- .../models/equity_historical.py | 8 +- .../openbb_yfinance/models/etf_historical.py | 6 +- .../openbb_yfinance/models/futures_curve.py | 6 +- .../models/futures_historical.py | 8 +- .../openbb_yfinance/models/gainers.py | 19 +- .../models/growth_tech_equities.py | 8 +- .../models/income_statement.py | 4 +- .../yfinance/openbb_yfinance/models/losers.py | 19 +- .../openbb_yfinance/models/market_indices.py | 8 +- .../models/undervalued_growth_equities.py | 8 +- .../models/undervalued_large_caps.py | 11 +- openbb_platform/tests/test_extension_map.py | 2 +- .../content/platform/data_models/AMERIBOR.md | 3 +- .../platform/data_models/AnalystEstimates.md | 3 +- .../platform/data_models/AvailableIndices.md | 3 +- .../platform/data_models/BalanceSheet.md | 3 +- .../data_models/BalanceSheetGrowth.md | 3 +- website/content/platform/data_models/COT.md | 9 +- .../content/platform/data_models/COTSearch.md | 3 +- .../platform/data_models/CalendarDividend.md | 3 +- .../platform/data_models/CalendarEarnings.md | 3 +- .../platform/data_models/CalendarIpo.md | 23 +- .../platform/data_models/CalendarSplits.md | 3 +- .../platform/data_models/CashFlowStatement.md | 3 +- .../data_models/CashFlowStatementGrowth.md | 3 +- .../content/platform/data_models/CikMap.md | 3 +- .../platform/data_models/CommercialPaper.md | 3 +- .../platform/data_models/CompanyFilings.md | 3 +- .../platform/data_models/CompanyNews.md | 3 +- .../platform/data_models/CompanyOverview.md | 3 +- .../data_models/ConsumerPriceIndex.md | 3 +- .../platform/data_models/CryptoHistorical.md | 3 +- .../platform/data_models/CryptoSearch.md | 3 +- .../data_models/CurrencyHistorical.md | 3 +- .../platform/data_models/CurrencyPairs.md | 3 +- .../DiscountWindowPrimaryCreditRate.md | 3 +- .../platform/data_models/DiscoveryFilings.md | 3 +- website/content/platform/data_models/ESTR.md | 3 +- .../content/platform/data_models/ETFActive.md | 3 +- .../platform/data_models/ETFGainers.md | 3 +- .../content/platform/data_models/ETFLosers.md | 3 +- .../platform/data_models/EUYieldCurve.md | 3 +- .../data_models/EarningsCallTranscript.md | 3 +- .../platform/data_models/EconomicCalendar.md | 3 +- .../platform/data_models/EquityActive.md | 3 +- .../data_models/EquityAggressiveSmallCaps.md | 3 +- .../content/platform/data_models/EquityFTD.md | 7 +- .../platform/data_models/EquityGainers.md | 3 +- .../platform/data_models/EquityHistorical.md | 3 +- .../platform/data_models/EquityInfo.md | 3 +- .../platform/data_models/EquityLosers.md | 3 +- .../platform/data_models/EquityNBBO.md | 23 +- .../platform/data_models/EquityOwnership.md | 3 +- .../platform/data_models/EquityPeers.md | 3 +- .../platform/data_models/EquityQuote.md | 3 +- .../platform/data_models/EquitySearch.md | 3 +- .../data_models/EquityShortInterest.md | 3 +- .../data_models/EquityUndervaluedGrowth.md | 3 +- .../data_models/EquityUndervaluedLargeCaps.md | 3 +- .../data_models/EquityValuationMultiples.md | 3 +- .../platform/data_models/EtfCountries.md | 3 +- .../platform/data_models/EtfHistorical.md | 3 +- .../platform/data_models/EtfHoldings.md | 3 +- .../platform/data_models/EtfHoldingsDate.md | 3 +- .../data_models/EtfHoldingsPerformance.md | 3 +- .../content/platform/data_models/EtfInfo.md | 3 +- .../content/platform/data_models/EtfSearch.md | 3 +- .../platform/data_models/EtfSectors.md | 3 +- .../EuropeanCentralBankInterestRates.md | 3 +- .../data_models/EuropeanIndexConstituents.md | 3 +- .../platform/data_models/EuropeanIndices.md | 3 +- .../data_models/ExecutiveCompensation.md | 3 +- .../content/platform/data_models/FEDFUNDS.md | 3 +- .../content/platform/data_models/Filings.md | 3 +- .../platform/data_models/FinancialRatios.md | 3 +- .../platform/data_models/FredIndices.md | 3 +- .../platform/data_models/FuturesCurve.md | 3 +- .../platform/data_models/FuturesHistorical.md | 3 +- .../platform/data_models/GdpForecast.md | 3 +- .../platform/data_models/GdpNominal.md | 3 +- .../content/platform/data_models/GdpReal.md | 3 +- .../platform/data_models/GlobalNews.md | 3 +- .../data_models/GrowthTechEquities.md | 3 +- .../HighQualityMarketCorporateBond.md | 3 +- .../data_models/HistoricalDividends.md | 3 +- .../data_models/HistoricalEmployees.md | 3 +- .../data_models/HistoricalStockSplits.md | 3 +- .../content/platform/data_models/ICEBofA.md | 3 +- website/content/platform/data_models/IORB.md | 3 +- .../platform/data_models/IncomeStatement.md | 3 +- .../data_models/IncomeStatementGrowth.md | 3 +- .../platform/data_models/IndexConstituents.md | 3 +- .../platform/data_models/IndexSearch.md | 3 +- .../platform/data_models/IndexSnapshots.md | 3 +- .../data_models/InstitutionalOwnership.md | 3 +- .../data_models/InstitutionsSearch.md | 3 +- .../platform/data_models/KeyExecutives.md | 3 +- .../platform/data_models/KeyMetrics.md | 3 +- .../platform/data_models/MarketIndices.md | 3 +- .../platform/data_models/MarketSnapshots.md | 3 +- .../data_models/MoodyCorporateBondIndex.md | 3 +- .../platform/data_models/OTCAggregate.md | 3 +- .../platform/data_models/OptionsChains.md | 3 +- .../platform/data_models/OptionsUnusual.md | 3 +- .../platform/data_models/PROJECTIONS.md | 3 +- .../platform/data_models/PricePerformance.md | 3 +- .../platform/data_models/PriceTarget.md | 3 +- .../data_models/PriceTargetConsensus.md | 3 +- .../data_models/RevenueBusinessLine.md | 3 +- .../platform/data_models/RevenueGeographic.md | 3 +- .../platform/data_models/RiskPremium.md | 3 +- .../platform/data_models/RssLitigation.md | 3 +- website/content/platform/data_models/SOFR.md | 3 +- website/content/platform/data_models/SONIA.md | 3 +- .../platform/data_models/SP500Multiples.md | 3 +- .../platform/data_models/SchemaFiles.md | 3 +- .../data_models/SelectedTreasuryBill.md | 3 +- .../SelectedTreasuryConstantMaturity.md | 3 +- .../platform/data_models/ShareStatistics.md | 3 +- .../platform/data_models/ShortVolume.md | 3 +- .../content/platform/data_models/SicSearch.md | 3 +- .../content/platform/data_models/SpotRate.md | 3 +- .../data_models/StockInsiderTrading.md | 3 +- .../content/platform/data_models/SymbolMap.md | 3 +- .../content/platform/data_models/TopRetail.md | 3 +- .../data_models/TreasuryConstantMaturity.md | 3 +- .../platform/data_models/TreasuryRates.md | 3 +- .../platform/data_models/USYieldCurve.md | 3 +- .../data_models/UpcomingReleaseDays.md | 3 +- .../add_custom_data_sources.md | 8 +- .../developer-guidelines/add_data_point.md | 6 +- .../architectural_considerations.md | 14 +- website/content/platform/development/index.md | 6 +- website/generate_platform_v4_markdown.py | 6 +- 674 files changed, 2498 insertions(+), 2527 deletions(-) rename openbb_platform/{platform => }/core/README.md (88%) rename openbb_platform/{platform => }/core/integration/test_obbject.py (100%) rename openbb_platform/{platform => }/core/openbb_core/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/app_loader.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/auth/user.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/dependency/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/dependency/coverage.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/dependency/system.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/rest_api.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/router/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/router/commands.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/router/coverage.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/router/system.py (100%) rename openbb_platform/{platform => }/core/openbb_core/api/router/user.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/charting_service.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/command_runner.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/constants.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/formatters/formatter_with_exceptions.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/handlers/path_tracking_file_handler.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/handlers/posthog_handler.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/handlers_manager.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/logging_service.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/models/logging_settings.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/utils/expired_files.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/logs/utils/utils.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/abstract/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/abstract/error.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/abstract/results.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/abstract/singleton.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/abstract/tagged.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/abstract/warning.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/charts/chart.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/charts/charting_settings.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/command_context.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/credentials.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/custom_parameter.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/defaults.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/extension.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/hub/features_keys.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/hub/hub_session.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/hub/hub_user_settings.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/metadata.py (98%) rename openbb_platform/{platform => }/core/openbb_core/app/model/obbject.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/preferences.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/profile.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/rest_api_settings.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/results/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/results/empty.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/system_settings.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/model/user_settings.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/provider_interface.py (98%) rename openbb_platform/{platform => }/core/openbb_core/app/query.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/router.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/service/auth_service.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/service/hub_service.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/service/system_service.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/service/user_service.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/__init__.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/account.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/app_factory.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/build_utils.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/container.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/coverage.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/decorators.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/filters.py (100%) rename openbb_platform/{platform => }/core/openbb_core/app/static/package_builder.py (99%) rename openbb_platform/{platform => }/core/openbb_core/app/utils.py (98%) rename openbb_platform/{platform => }/core/openbb_core/app/version.py (100%) rename openbb_platform/{platform => }/core/openbb_core/env.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/__init__.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/abstract/__init__.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/abstract/data.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/abstract/fetcher.py (97%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/abstract/provider.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/abstract/query_params.py (100%) rename openbb_platform/{platform/core/openbb_core => core/openbb_core/provider}/py.typed (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/query_executor.py (92%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/registry.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/registry_map.py (96%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/__init__.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/ameribor_rates.py (74%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/analyst_estimates.py (93%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/available_indices.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/balance_of_payments.py (99%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/balance_sheet.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/balance_sheet_growth.py (96%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/bond_prices.py (97%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/bond_reference.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/bond_trades.py (92%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/calendar_dividend.py (85%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/calendar_earnings.py (82%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/calendar_ipo.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/calendar_splits.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/cash_flow.py (94%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/cash_flow_growth.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/company_filings.py (91%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/company_news.py (84%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/company_overview.py (94%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/cot.py (73%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/cot_search.py (83%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/cp.py (83%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/cpi.py (91%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/crypto_historical.py (89%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/crypto_search.py (71%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/currency_historical.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/currency_pairs.py (71%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/currency_reference_rates.py (93%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/dwpcr_rates.py (78%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/earnings_call_transcript.py (87%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/ecb_interest_rates.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/economic_calendar.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_ftd.py (87%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_historical.py (89%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_info.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_nbbo.py (86%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_ownership.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_peers.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_performance.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_quote.py (83%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_screener.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_search.py (82%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_short_interest.py (93%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/equity_valuation_multiples.py (98%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/esg_risk_rating.py (87%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/esg_score.py (88%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/esg_sector.py (87%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/estr_rates.py (73%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_countries.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_historical.py (88%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_historical_nav.py (78%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_holdings.py (69%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_holdings_date.py (65%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_holdings_performance.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_info.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_performance.py (82%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_search.py (70%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/etf_sectors.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/eu_yield_curve.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/european_index_constituents.py (87%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/european_indices.py (83%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/executive_compensation.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/fed_projections.py (84%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/fed_rates.py (73%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/ffrmc.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/filings.py (85%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/financial_attributes.py (85%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/financial_ratios.py (97%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/fred_indices.py (84%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/futures_curve.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/futures_historical.py (88%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/gdp_forecast.py (83%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/gdp_nominal.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/gdp_real.py (81%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/historical_dividends.py (91%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/historical_employees.py (92%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/historical_eps.py (86%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/historical_splits.py (82%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/hqm.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/ice_bofa.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/income_statement.py (94%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/income_statement_growth.py (95%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/index_constituents.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/index_info.py (84%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/index_search.py (72%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/index_sectors.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/index_snapshots.py (88%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/industry_pe.py (77%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/insider_trading.py (94%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/institutional_ownership.py (96%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/iorb_rates.py (73%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/key_executives.py (86%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/key_metrics.py (97%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/market_indices.py (88%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/market_movers.py (77%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/market_snapshots.py (86%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/moody.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/options_chains.py (94%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/options_unusual.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/otc_aggregate.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/price_target.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/price_target_consensus.py (87%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/recent_performance.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/revenue_business_line.py (84%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/revenue_geographic.py (89%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/risk_premium.py (85%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/search_financial_attributes.py (89%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/sector_pe.py (76%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/sector_performance.py (75%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/share_statistics.py (88%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/short_volume.py (84%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/sofr_rates.py (73%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/sonia_rates.py (74%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/sp500_multiples.py (90%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/spot.py (85%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/tbffr.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/tmc.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/top_retail.py (74%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/trailing_dividend_yield.py (70%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/treasury_auctions.py (99%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/treasury_rates.py (86%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/upcoming_release_days.py (77%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/us_yield_curve.py (79%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/standard_models/world_news.py (80%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/utils/__init__.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/utils/descriptions.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/utils/errors.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core/provider}/utils/helpers.py (100%) rename openbb_platform/{platform/provider/openbb_provider => core/openbb_core}/py.typed (100%) rename openbb_platform/{platform => }/core/poetry.lock (60%) rename openbb_platform/{platform => }/core/pyproject.toml (77%) rename openbb_platform/{platform => }/core/tests/api/test_auth/test_user_auth.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_dependency/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_dependency/test_coverage.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_dependency/test_system.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_router/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_router/test_router_coverage.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_router/test_router_system.py (100%) rename openbb_platform/{platform => }/core/tests/api/test_router/test_router_user.py (100%) rename openbb_platform/{platform => }/core/tests/app/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/formatters/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/formatters/test_formatter_with_exceptions.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/handlers/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/handlers/test_path_tracking_file_handler.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/handlers/test_posthog_handler.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/test_handlers_manager.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/test_logging_service.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/utils/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/utils/test_expired_files.py (100%) rename openbb_platform/{platform => }/core/tests/app/logs/utils/test_utils.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/abstract/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/abstract/test_results.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/abstract/test_singleton.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/abstract/test_tagged.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/abstract/test_warning.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/charts/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/charts/test_chart.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/hub/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/hub/test_features_keys.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/hub/test_hub_session.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/hub/test_hub_user_settings.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_command_context.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_credentials.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_defaults.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_metadata.py (98%) rename openbb_platform/{platform => }/core/tests/app/model/test_obbject.py (99%) rename openbb_platform/{platform => }/core/tests/app/model/test_preferences.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_profile.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_system_settings.py (100%) rename openbb_platform/{platform => }/core/tests/app/model/test_user_settings.py (100%) rename openbb_platform/{platform => }/core/tests/app/results/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/results/test_empty.py (100%) rename openbb_platform/{platform => }/core/tests/app/service/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/service/test_hub_service.py (100%) rename openbb_platform/{platform => }/core/tests/app/service/test_system_service.py (100%) rename openbb_platform/{platform => }/core/tests/app/service/test_user_service.py (100%) rename openbb_platform/{platform => }/core/tests/app/static/__init__.py (100%) rename openbb_platform/{platform => }/core/tests/app/static/test_app_factory.py (100%) rename openbb_platform/{platform => }/core/tests/app/static/test_build_utils.py (100%) rename openbb_platform/{platform => }/core/tests/app/static/test_container.py (100%) rename openbb_platform/{platform => }/core/tests/app/static/test_coverage.py (100%) rename openbb_platform/{platform => }/core/tests/app/static/test_filters.py (97%) rename openbb_platform/{platform => }/core/tests/app/static/test_package_builder.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_charting_manager.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_charting_service.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_command_runner.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_platform_router.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_provider_interface.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_query.py (100%) rename openbb_platform/{platform => }/core/tests/app/test_utils.py (98%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/abstract/test_data.py (94%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/abstract/test_fetcher.py (96%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/abstract/test_provider.py (96%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/abstract/test_query_params.py (92%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/standard_models/test_standard_models.py (81%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/test_query_executor.py (93%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/test_registry.py (86%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/test_registry_map.py (94%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/utils/test_descriptions.py (69%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/utils/test_errors.py (93%) rename openbb_platform/{platform/provider/tests => core/tests/provider}/utils/test_helpers.py (97%) create mode 100644 openbb_platform/openbb/package/equity_darkpool.py delete mode 100644 openbb_platform/platform/provider/README.md delete mode 100644 openbb_platform/platform/provider/poetry.lock delete mode 100644 openbb_platform/platform/provider/pyproject.toml diff --git a/build/pypi/openbb_platform/PUBLISH.md b/build/pypi/openbb_platform/PUBLISH.md index b012474feb7..8f1545c7f3b 100644 --- a/build/pypi/openbb_platform/PUBLISH.md +++ b/build/pypi/openbb_platform/PUBLISH.md @@ -10,11 +10,10 @@ Publishing checklist: Consider using the `--dry-run` flag to check if everything is correct before publishing. Also, it might be a good idea to run the script in batches to ensure that the packages are published correctly and the dependencies pick the correct versions. - Example, the `openbb-core` needs to pick the latest `openbb-provider` version and extension packages need to pick the latest `openbb-core` version. + Example, the extension packages need to pick the latest `openbb-core` version. Suggested batch order: 1. Batch 1. Core - 1. `openbb-provider` - 2. `openbb-core` + 1. `openbb-core` 2. Batch 2. Extensions 1. `openbb-charting` 2. `openbb-crypto` diff --git a/build/pypi/openbb_platform/nightly.py b/build/pypi/openbb_platform/nightly.py index 1b1af491ec0..6212f80e882 100644 --- a/build/pypi/openbb_platform/nightly.py +++ b/build/pypi/openbb_platform/nightly.py @@ -49,7 +49,6 @@ def build(): # need to pop these from the dependencies DEPENDENCIES.pop("openbb-core", None) - DEPENDENCIES.pop("openbb-provider", None) # add the sub packages for package_name, path in SUB_PACKAGES.items(): diff --git a/build/pypi/openbb_platform/publish.py b/build/pypi/openbb_platform/publish.py index c720640daa5..1a039c00216 100644 --- a/build/pypi/openbb_platform/publish.py +++ b/build/pypi/openbb_platform/publish.py @@ -10,7 +10,6 @@ CORE_PACKAGES = ["platform/provider", "platform/core"] EXTENSION_PACKAGES = ["extensions", "providers"] CMD = [sys.executable, "-m", "poetry"] -CORE_DEPENDENCIES_UPDATE_CMD = ["add", "openbb-provider=latest"] EXTENSION_DEPENDENCIES_UPDATE_CMD = ["add", "openbb-core=latest"] VERSION_BUMP_CMD = ["version", "prerelease"] PUBLISH_CMD = ["publish", "--build"] @@ -40,15 +39,6 @@ def parse_args(): return parser.parse_args() -def update_core_dependencies(path: Path): - """Update the core dependencies""" - subprocess.run( - CMD + CORE_DEPENDENCIES_UPDATE_CMD, # noqa: S603 - cwd=path.parent, - check=True, - ) - - def update_extension_dependencies(path: Path): """Update the extension dependencies""" subprocess.run( @@ -74,17 +64,11 @@ def publish(dry_run: bool = False, core: bool = False, extensions: bool = False) package_paths.extend(EXTENSION_PACKAGES) for sub_path in package_paths: - is_core = sub_path in CORE_PACKAGES is_extension = sub_path in EXTENSION_PACKAGES for path in PLATFORM_PATH.rglob(f"{sub_path}/**/pyproject.toml"): try: # Update dependencies - if is_core: - # if it's the provider package no need to update the dependencies - if "provider" in str(path.parent): - continue - update_core_dependencies(path) if is_extension: update_extension_dependencies(path) # Bump version diff --git a/noxfile.py b/noxfile.py index 9b8ed94bb14..02726297a91 100644 --- a/noxfile.py +++ b/noxfile.py @@ -2,7 +2,7 @@ import nox test_locations = [ "openbb_platform/tests", - "openbb_platform/platform", + "openbb_platform/core", "openbb_platform/providers", "openbb_platform/extensions", ] diff --git a/openbb_platform/CONTRIBUTING.md b/openbb_platform/CONTRIBUTING.md index 8f1b67729c7..3618344478a 100644 --- a/openbb_platform/CONTRIBUTING.md +++ b/openbb_platform/CONTRIBUTING.md @@ -119,7 +119,7 @@ Before moving forward, please take a look at the high-level view of the OpenBB P The Standardization Framework is a set of tools and guidelines that enable the user to query and obtain data in a consistent way across multiple providers. -Each data model should inherit from a [standard data](platform/provider/openbb_provider/standard_models) model that is already defined inside the OpenBB Platform. All standard models are created and maintained by the OpenBB team. +Each data model should inherit from a [standard data](platform/provider/openbb_core/provider/standard_models) model that is already defined inside the OpenBB Platform. All standard models are created and maintained by the OpenBB team. Usage of these models will unlock a set of perks that are only available to standardized data, namely: @@ -129,9 +129,9 @@ Usage of these models will unlock a set of perks that are only available to stan - Can expect consistent data types and validation. - Will work seamlessly with other providers that use the same standard model. -The standard models are defined under the `/OpenBBTerminal/openbb_platform/platform/core/provider/openbb_provider/standard_models/` directory. +The standard models are defined under the `/OpenBBTerminal/openbb_platform/platform/core/provider/openbb_core/provider/standard_models/` directory. -They define the [`QueryParams`](platform/provider/openbb_provider/abstract/query_params.py) and [`Data`](platform/provider/openbb_provider/abstract/data.py) models, which are used to query and output data. They are pydantic and you can leverage all the pydantic features such as validators. +They define the [`QueryParams`](platform/provider/openbb_core/provider/abstract/query_params.py) and [`Data`](platform/provider/openbb_core/provider/abstract/data.py) models, which are used to query and output data. They are pydantic and you can leverage all the pydantic features such as validators. ##### Standardization Caveats @@ -287,7 +287,7 @@ The high level steps are: ### How to add a new data point? -In this section, we'll be adding a new data point to the OpenBB Platform. We will add a new provider with an existing [standard data](platform/provider/openbb_provider/standard_models) model. +In this section, we'll be adding a new data point to the OpenBB Platform. We will add a new provider with an existing [standard data](platform/provider/openbb_core/provider/standard_models) model. #### Identify which type of data you want to add @@ -300,7 +300,7 @@ Each router is categorized under different extensions (equity, currency, crypto, Given the fact that there's already an endpoint for OHLCV stock data, we can check if the standard exists. -In this case, it's `EquityHistorical` which can be found in `/OpenBBTerminal/openbb_platform/platform/core/provider/openbb_provider/standard_models/equity_historical`. +In this case, it's `EquityHistorical` which can be found in `/OpenBBTerminal/openbb_platform/platform/core/provider/openbb_core/provider/standard_models/equity_historical`. If the standard model doesn't exist: @@ -415,7 +415,7 @@ In order to make the new provider visible to the OpenBB Platform, you'll need to ```python """ Provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_.models.equity_historical import EquityHistoricalFetcher @@ -444,8 +444,8 @@ Saying that, we highly recommend following the standardization framework, as it When standardizing, all data is defined using two different pydantic models: -1. Define the [query parameters](platform/provider/openbb_provider/abstract/query_params.py) model. -2. Define the resulting [data schema](platform/provider/openbb_provider/abstract/data.py) model. +1. Define the [query parameters](platform/provider/openbb_core/provider/abstract/query_params.py) model. +2. Define the resulting [data schema](platform/provider/openbb_core/provider/abstract/data.py) model. > The models can be entirely custom, or inherit from the OpenBB standardized models. > They enforce a safe and consistent data structure, validation and type checking. @@ -458,9 +458,9 @@ After you've defined both models, you'll need to define a `Fetcher` class which 2. `extract_data` - makes the request to the API endpoint and returns the raw data. 3. `transform_data` - transforms the raw data into the defined data model. -> Note that the `Fetcher` should inherit from the [`Fetcher`](platform/provider/openbb_provider/abstract/fetcher.py) class, which is a generic class that receives the query parameters and the data model as type parameters. +> Note that the `Fetcher` should inherit from the [`Fetcher`](platform/provider/openbb_core/provider/abstract/fetcher.py) class, which is a generic class that receives the query parameters and the data model as type parameters. -After finalizing your models, you need to make them visible to the Openbb Platform. This is done by adding the `Fetcher` to the `__init__.py` file of the `/` folder as part of the [`Provider`](platform/provider/openbb_provider/abstract/provider.py). +After finalizing your models, you need to make them visible to the Openbb Platform. This is done by adding the `Fetcher` to the `__init__.py` file of the `/` folder as part of the [`Provider`](platform/provider/openbb_core/provider/abstract/provider.py). Any command, that uses the `Fetcher` class you've just defined, will be calling the `transform_query`, `extract_data` and `transform_data` methods under the hood in order to get the data and output it do the end user. @@ -513,13 +513,13 @@ You only need to change the `model` parameter to the name of the `Fetcher` dicti ```python # The `Data` class -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data # The `QueryParams` class -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.query_params import QueryParams # The `Fetcher` class -from openbb_provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.fetcher import Fetcher # The `OBBject` class from openbb_core.app.model.obbject import OBBject @@ -534,14 +534,14 @@ from openbb_core.app.router import Router The TET pattern is a pattern that we use to build the `Fetcher` classes. It stands for **Transform, Extract, Transform**. As the OpenBB Platform has its own standardization framework and the data fetcher are a very important part of it, we need to ensure that the data is transformed and extracted in a consistent way, to help us do that, we came up with the **TET** pattern, which helps us build and ship faster as we have a clear structure on how to build the `Fetcher` classes. -1. Transform - `transform_query(params: Dict[str, Any])`: transforms the query parameters. Given a `params` dictionary this method should return the transformed query parameters as a [`QueryParams`](openbb_platform/platform/provider/openbb_provider/abstract/query_params.py) child so that we can leverage the pydantic model schemas and validation into the next step. This might also be the place do perform some transformations on any given parameter, i.e., if you want to transform an empty date into a `datetime.now().date()`. +1. Transform - `transform_query(params: Dict[str, Any])`: transforms the query parameters. Given a `params` dictionary this method should return the transformed query parameters as a [`QueryParams`](openbb_platform/platform/provider/openbb_core/provider/abstract/query_params.py) child so that we can leverage the pydantic model schemas and validation into the next step. This might also be the place do perform some transformations on any given parameter, i.e., if you want to transform an empty date into a `datetime.now().date()`. 2. Extract - `extract_data(query: ExampleQueryParams,credentials: Optional[Dict[str, str]],**kwargs: Any,) -> Dict`: makes the request to the API endpoint and returns the raw data. Given the transformed query parameters, the credentials and any other extra arguments, this method should return the raw data as a dictionary. -3. Transform - `transform_data(query: ExampleQueryParams, data: Dict, **kwargs: Any) -> List[ExampleHistoricalData]`: transforms the raw data into the defined data model. Given the transformed query parameters (might be useful for some filtering), the raw data and any other extra arguments, this method should return the transformed data as a list of [`Data`](openbb_platform/platform/provider/openbb_provider/abstract/data.py) children. +3. Transform - `transform_data(query: ExampleQueryParams, data: Dict, **kwargs: Any) -> List[ExampleHistoricalData]`: transforms the raw data into the defined data model. Given the transformed query parameters (might be useful for some filtering), the raw data and any other extra arguments, this method should return the transformed data as a list of [`Data`](openbb_platform/platform/provider/openbb_core/provider/abstract/data.py) children. #### Data processing commands The data processing commands are commands that are used to process the data that may or may not come from the OpenBB Platform. -In order to create a data processing framework general enough to be used by any extension, we've created a special abstract class called [`Data`](/openbb_platform/platform/provider/openbb_provider/abstract/data.py) which **all** standardized (and consequently its child classes) will inherit from. +In order to create a data processing framework general enough to be used by any extension, we've created a special abstract class called [`Data`](/openbb_platform/platform/provider/openbb_core/provider/abstract/data.py) which **all** standardized (and consequently its child classes) will inherit from. Why is this important? So that we can ensure that all `OBBject.results` will share a common ground on which we can apply out-of-the-box data processing commands, such as the `ta`, `qa` or the `econometrics` menus. @@ -588,7 +588,7 @@ Not at all! Consider the following example: ```python ->>> from openbb_provider.abstract.data import Data +>>> from openbb_core.provider.abstract.data import Data >>> my_data_item_1 = {"open": 1, "high": 2, "low": 3, "close": 4, "volume": 5, "date": "2020-01-01"} >>> my_data_item_1_as_data = Data.model_validate(my_data_item_1) >>> my_data_item_1_as_data diff --git a/openbb_platform/platform/core/README.md b/openbb_platform/core/README.md similarity index 88% rename from openbb_platform/platform/core/README.md rename to openbb_platform/core/README.md index 93228171b09..383e82c567e 100644 --- a/openbb_platform/platform/core/README.md +++ b/openbb_platform/core/README.md @@ -2,6 +2,9 @@ - [THIS README IS A WORK IN PROGRESS](#this-readme-is-a-work-in-progress) - [1. Introduction](#1-introduction) + - [1.1 Data Providers](#11-data-providers) + - [1.2 Data Standardization](#12-data-standardization) + - [1.3 Key Elements](#13-key-elements) - [2. How to install?](#2-how-to-install) - [Git clone](#git-clone) - [Install](#install) @@ -37,6 +40,43 @@ This directory contains the OpenBB Platform's core functionality. It allows you to create an [extension](../../extensions/README.md) or a [provider](../../providers/README.md) that will be automatically turned into REST API endpoint and allow sharing data between commands. +### 1.1 Data Providers + +OpenBB aims to give a coherent access to financial data providers by introducing standardization procedures. + +### 1.2 Data Standardization + +It's like teaching everyone to speak the same language with their data so we can understand and compare it easily. + +**Think of it as a part of**: + +Data normalization, a bigger way of organizing data. + +**What We Do**: + +- **Match Column Names and Formats**: Like making sure everyone calls a "closing price" the same thing. + +- **For instance**: Some might say "Close", others might say "c". We make sure everyone uses one term. +**Unify Date and Time Styles**: Like having everyone use the same calendar format. + +**Example**: Whether it's "YYYY-MM-DD" or "MM-DD-YYYY", we pick one style for everyone. + +**What We Don’t Do**: + +- **Cleaning Data**: We don't act like data detectives and remove mistakes from what providers give us. + +- **Change & Combine Data**: Tweaking data or mixing data from different places. + +### 1.3 Key Elements + +- **QueryParams** : The input model for a particular query. To load equity market data, we would have `EquityPriceQueryParams`, which would have fields like `symbol`, `start_date`, and `end_date`. You can find the standard query params inside the `standard_models` directory. +- **Data** : The output model of a particular query. Equity market data would be `EquityPriceData` and have fields such as `Open`, `High`, `Low`, `Close`, and `Volume`. You can find the standard data models inside the `standard_models` directory. +- **Fetcher** : Class containing a set of methods to receive query parameters, extract data and transform it. This class is responsible for implementing the standardization procedures. +- **Provider** : Entry point class for each provider extension. Contains information about the provider, it's required credentials and available fetchers. +- **RegistryLoader** : Loads the registry with the installed provider extensions. +- **Registry** : Maintains a registry of provider extensions installed. +- **RegistryMap** : Stores the complete characterization of each provider. It centralizes information like required credentials, standardized and extra query parameters/data by provider. +- **QueryExecutor** : Executes a given query, routing it to the respective provider and fetcher. ## 2. How to install? @@ -83,9 +123,9 @@ def some_command( pass ``` -If your command only makes use of a standard model defined inside `openbb_provider/standard_models` directory, there is no need to repeat its structure in the parameters. Just pass the model name as an argument. +If your command only makes use of a standard model defined inside `openbb_core/provider/standard_models` directory, there is no need to repeat its structure in the parameters. Just pass the model name as an argument. -This is an example how we do it for `equity.price.historical` which only depends on `EquityHistorical` model defined in `openbb-provider`: +This is an example how we do it for `equity.price.historical` which only depends on `EquityHistorical` model defined in `openbb-core.provider.standard_models`: ```python @router.command(model="EquityHistorical") diff --git a/openbb_platform/platform/core/integration/test_obbject.py b/openbb_platform/core/integration/test_obbject.py similarity index 100% rename from openbb_platform/platform/core/integration/test_obbject.py rename to openbb_platform/core/integration/test_obbject.py diff --git a/openbb_platform/platform/core/openbb_core/__init__.py b/openbb_platform/core/openbb_core/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/__init__.py rename to openbb_platform/core/openbb_core/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/api/app_loader.py b/openbb_platform/core/openbb_core/api/app_loader.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/app_loader.py rename to openbb_platform/core/openbb_core/api/app_loader.py diff --git a/openbb_platform/platform/core/openbb_core/api/auth/user.py b/openbb_platform/core/openbb_core/api/auth/user.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/auth/user.py rename to openbb_platform/core/openbb_core/api/auth/user.py diff --git a/openbb_platform/platform/core/openbb_core/api/dependency/__init__.py b/openbb_platform/core/openbb_core/api/dependency/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/dependency/__init__.py rename to openbb_platform/core/openbb_core/api/dependency/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/api/dependency/coverage.py b/openbb_platform/core/openbb_core/api/dependency/coverage.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/dependency/coverage.py rename to openbb_platform/core/openbb_core/api/dependency/coverage.py diff --git a/openbb_platform/platform/core/openbb_core/api/dependency/system.py b/openbb_platform/core/openbb_core/api/dependency/system.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/dependency/system.py rename to openbb_platform/core/openbb_core/api/dependency/system.py diff --git a/openbb_platform/platform/core/openbb_core/api/rest_api.py b/openbb_platform/core/openbb_core/api/rest_api.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/rest_api.py rename to openbb_platform/core/openbb_core/api/rest_api.py diff --git a/openbb_platform/platform/core/openbb_core/api/router/__init__.py b/openbb_platform/core/openbb_core/api/router/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/router/__init__.py rename to openbb_platform/core/openbb_core/api/router/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/api/router/commands.py b/openbb_platform/core/openbb_core/api/router/commands.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/router/commands.py rename to openbb_platform/core/openbb_core/api/router/commands.py diff --git a/openbb_platform/platform/core/openbb_core/api/router/coverage.py b/openbb_platform/core/openbb_core/api/router/coverage.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/router/coverage.py rename to openbb_platform/core/openbb_core/api/router/coverage.py diff --git a/openbb_platform/platform/core/openbb_core/api/router/system.py b/openbb_platform/core/openbb_core/api/router/system.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/router/system.py rename to openbb_platform/core/openbb_core/api/router/system.py diff --git a/openbb_platform/platform/core/openbb_core/api/router/user.py b/openbb_platform/core/openbb_core/api/router/user.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/api/router/user.py rename to openbb_platform/core/openbb_core/api/router/user.py diff --git a/openbb_platform/platform/core/openbb_core/app/__init__.py b/openbb_platform/core/openbb_core/app/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/__init__.py rename to openbb_platform/core/openbb_core/app/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/app/charting_service.py b/openbb_platform/core/openbb_core/app/charting_service.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/charting_service.py rename to openbb_platform/core/openbb_core/app/charting_service.py diff --git a/openbb_platform/platform/core/openbb_core/app/command_runner.py b/openbb_platform/core/openbb_core/app/command_runner.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/command_runner.py rename to openbb_platform/core/openbb_core/app/command_runner.py diff --git a/openbb_platform/platform/core/openbb_core/app/constants.py b/openbb_platform/core/openbb_core/app/constants.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/constants.py rename to openbb_platform/core/openbb_core/app/constants.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/formatters/formatter_with_exceptions.py b/openbb_platform/core/openbb_core/app/logs/formatters/formatter_with_exceptions.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/formatters/formatter_with_exceptions.py rename to openbb_platform/core/openbb_core/app/logs/formatters/formatter_with_exceptions.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/handlers/path_tracking_file_handler.py b/openbb_platform/core/openbb_core/app/logs/handlers/path_tracking_file_handler.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/handlers/path_tracking_file_handler.py rename to openbb_platform/core/openbb_core/app/logs/handlers/path_tracking_file_handler.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/handlers/posthog_handler.py b/openbb_platform/core/openbb_core/app/logs/handlers/posthog_handler.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/handlers/posthog_handler.py rename to openbb_platform/core/openbb_core/app/logs/handlers/posthog_handler.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/handlers_manager.py b/openbb_platform/core/openbb_core/app/logs/handlers_manager.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/handlers_manager.py rename to openbb_platform/core/openbb_core/app/logs/handlers_manager.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/logging_service.py b/openbb_platform/core/openbb_core/app/logs/logging_service.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/logging_service.py rename to openbb_platform/core/openbb_core/app/logs/logging_service.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/models/logging_settings.py b/openbb_platform/core/openbb_core/app/logs/models/logging_settings.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/models/logging_settings.py rename to openbb_platform/core/openbb_core/app/logs/models/logging_settings.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/utils/expired_files.py b/openbb_platform/core/openbb_core/app/logs/utils/expired_files.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/utils/expired_files.py rename to openbb_platform/core/openbb_core/app/logs/utils/expired_files.py diff --git a/openbb_platform/platform/core/openbb_core/app/logs/utils/utils.py b/openbb_platform/core/openbb_core/app/logs/utils/utils.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/logs/utils/utils.py rename to openbb_platform/core/openbb_core/app/logs/utils/utils.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/__init__.py b/openbb_platform/core/openbb_core/app/model/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/__init__.py rename to openbb_platform/core/openbb_core/app/model/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/abstract/__init__.py b/openbb_platform/core/openbb_core/app/model/abstract/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/abstract/__init__.py rename to openbb_platform/core/openbb_core/app/model/abstract/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/abstract/error.py b/openbb_platform/core/openbb_core/app/model/abstract/error.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/abstract/error.py rename to openbb_platform/core/openbb_core/app/model/abstract/error.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/abstract/results.py b/openbb_platform/core/openbb_core/app/model/abstract/results.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/abstract/results.py rename to openbb_platform/core/openbb_core/app/model/abstract/results.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/abstract/singleton.py b/openbb_platform/core/openbb_core/app/model/abstract/singleton.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/abstract/singleton.py rename to openbb_platform/core/openbb_core/app/model/abstract/singleton.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/abstract/tagged.py b/openbb_platform/core/openbb_core/app/model/abstract/tagged.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/abstract/tagged.py rename to openbb_platform/core/openbb_core/app/model/abstract/tagged.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/abstract/warning.py b/openbb_platform/core/openbb_core/app/model/abstract/warning.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/abstract/warning.py rename to openbb_platform/core/openbb_core/app/model/abstract/warning.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/charts/chart.py b/openbb_platform/core/openbb_core/app/model/charts/chart.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/charts/chart.py rename to openbb_platform/core/openbb_core/app/model/charts/chart.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/charts/charting_settings.py b/openbb_platform/core/openbb_core/app/model/charts/charting_settings.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/charts/charting_settings.py rename to openbb_platform/core/openbb_core/app/model/charts/charting_settings.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/command_context.py b/openbb_platform/core/openbb_core/app/model/command_context.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/command_context.py rename to openbb_platform/core/openbb_core/app/model/command_context.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/credentials.py b/openbb_platform/core/openbb_core/app/model/credentials.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/credentials.py rename to openbb_platform/core/openbb_core/app/model/credentials.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/custom_parameter.py b/openbb_platform/core/openbb_core/app/model/custom_parameter.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/custom_parameter.py rename to openbb_platform/core/openbb_core/app/model/custom_parameter.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/defaults.py b/openbb_platform/core/openbb_core/app/model/defaults.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/defaults.py rename to openbb_platform/core/openbb_core/app/model/defaults.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/extension.py b/openbb_platform/core/openbb_core/app/model/extension.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/extension.py rename to openbb_platform/core/openbb_core/app/model/extension.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/hub/features_keys.py b/openbb_platform/core/openbb_core/app/model/hub/features_keys.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/hub/features_keys.py rename to openbb_platform/core/openbb_core/app/model/hub/features_keys.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/hub/hub_session.py b/openbb_platform/core/openbb_core/app/model/hub/hub_session.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/hub/hub_session.py rename to openbb_platform/core/openbb_core/app/model/hub/hub_session.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/hub/hub_user_settings.py b/openbb_platform/core/openbb_core/app/model/hub/hub_user_settings.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/hub/hub_user_settings.py rename to openbb_platform/core/openbb_core/app/model/hub/hub_user_settings.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/metadata.py b/openbb_platform/core/openbb_core/app/model/metadata.py similarity index 98% rename from openbb_platform/platform/core/openbb_core/app/model/metadata.py rename to openbb_platform/core/openbb_core/app/model/metadata.py index 91e789157f7..96921856d4a 100644 --- a/openbb_platform/platform/core/openbb_core/app/model/metadata.py +++ b/openbb_platform/core/openbb_core/app/model/metadata.py @@ -4,9 +4,10 @@ from typing import Any, Dict import numpy as np import pandas as pd -from openbb_provider.abstract.data import Data from pydantic import BaseModel, Field, field_validator +from openbb_core.provider.abstract.data import Data + class Metadata(BaseModel): arguments: Dict[str, Any] = Field( diff --git a/openbb_platform/platform/core/openbb_core/app/model/obbject.py b/openbb_platform/core/openbb_core/app/model/obbject.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/obbject.py rename to openbb_platform/core/openbb_core/app/model/obbject.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/preferences.py b/openbb_platform/core/openbb_core/app/model/preferences.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/preferences.py rename to openbb_platform/core/openbb_core/app/model/preferences.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/profile.py b/openbb_platform/core/openbb_core/app/model/profile.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/profile.py rename to openbb_platform/core/openbb_core/app/model/profile.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/rest_api_settings.py b/openbb_platform/core/openbb_core/app/model/rest_api_settings.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/rest_api_settings.py rename to openbb_platform/core/openbb_core/app/model/rest_api_settings.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/results/__init__.py b/openbb_platform/core/openbb_core/app/model/results/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/results/__init__.py rename to openbb_platform/core/openbb_core/app/model/results/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/results/empty.py b/openbb_platform/core/openbb_core/app/model/results/empty.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/results/empty.py rename to openbb_platform/core/openbb_core/app/model/results/empty.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/system_settings.py b/openbb_platform/core/openbb_core/app/model/system_settings.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/system_settings.py rename to openbb_platform/core/openbb_core/app/model/system_settings.py diff --git a/openbb_platform/platform/core/openbb_core/app/model/user_settings.py b/openbb_platform/core/openbb_core/app/model/user_settings.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/model/user_settings.py rename to openbb_platform/core/openbb_core/app/model/user_settings.py diff --git a/openbb_platform/platform/core/openbb_core/app/provider_interface.py b/openbb_platform/core/openbb_core/app/provider_interface.py similarity index 98% rename from openbb_platform/platform/core/openbb_core/app/provider_interface.py rename to openbb_platform/core/openbb_core/app/provider_interface.py index b8771f7de58..239ab129312 100644 --- a/openbb_platform/platform/core/openbb_core/app/provider_interface.py +++ b/openbb_platform/core/openbb_core/app/provider_interface.py @@ -4,9 +4,6 @@ from difflib import SequenceMatcher from typing import Any, Callable, Dict, List, Literal, Optional, Tuple, Type, Union from fastapi import Query -from openbb_provider.query_executor import QueryExecutor -from openbb_provider.registry_map import MapType, RegistryMap -from openbb_provider.utils.helpers import to_snake_case from pydantic import ( AliasChoices, BaseModel, @@ -17,6 +14,9 @@ from pydantic import ( from pydantic.fields import FieldInfo from openbb_core.app.model.abstract.singleton import SingletonMeta +from openbb_core.provider.query_executor import QueryExecutor +from openbb_core.provider.registry_map import MapType, RegistryMap +from openbb_core.provider.utils.helpers import to_snake_case TupleFieldType = Tuple[str, type, Any] @@ -58,8 +58,6 @@ class ProviderChoices: class ProviderInterface(metaclass=SingletonMeta): """Provider interface class. - Provides access to 'openbb_provider' package information. - Properties ---------- map : MapType diff --git a/openbb_platform/platform/core/openbb_core/app/query.py b/openbb_platform/core/openbb_core/app/query.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/query.py rename to openbb_platform/core/openbb_core/app/query.py diff --git a/openbb_platform/platform/core/openbb_core/app/router.py b/openbb_platform/core/openbb_core/app/router.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/router.py rename to openbb_platform/core/openbb_core/app/router.py diff --git a/openbb_platform/platform/core/openbb_core/app/service/auth_service.py b/openbb_platform/core/openbb_core/app/service/auth_service.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/service/auth_service.py rename to openbb_platform/core/openbb_core/app/service/auth_service.py diff --git a/openbb_platform/platform/core/openbb_core/app/service/hub_service.py b/openbb_platform/core/openbb_core/app/service/hub_service.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/service/hub_service.py rename to openbb_platform/core/openbb_core/app/service/hub_service.py diff --git a/openbb_platform/platform/core/openbb_core/app/service/system_service.py b/openbb_platform/core/openbb_core/app/service/system_service.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/service/system_service.py rename to openbb_platform/core/openbb_core/app/service/system_service.py diff --git a/openbb_platform/platform/core/openbb_core/app/service/user_service.py b/openbb_platform/core/openbb_core/app/service/user_service.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/service/user_service.py rename to openbb_platform/core/openbb_core/app/service/user_service.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/__init__.py b/openbb_platform/core/openbb_core/app/static/__init__.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/__init__.py rename to openbb_platform/core/openbb_core/app/static/__init__.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/account.py b/openbb_platform/core/openbb_core/app/static/account.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/account.py rename to openbb_platform/core/openbb_core/app/static/account.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/app_factory.py b/openbb_platform/core/openbb_core/app/static/app_factory.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/app_factory.py rename to openbb_platform/core/openbb_core/app/static/app_factory.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/build_utils.py b/openbb_platform/core/openbb_core/app/static/build_utils.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/build_utils.py rename to openbb_platform/core/openbb_core/app/static/build_utils.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/container.py b/openbb_platform/core/openbb_core/app/static/container.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/container.py rename to openbb_platform/core/openbb_core/app/static/container.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/coverage.py b/openbb_platform/core/openbb_core/app/static/coverage.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/coverage.py rename to openbb_platform/core/openbb_core/app/static/coverage.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/decorators.py b/openbb_platform/core/openbb_core/app/static/decorators.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/decorators.py rename to openbb_platform/core/openbb_core/app/static/decorators.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/filters.py b/openbb_platform/core/openbb_core/app/static/filters.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/static/filters.py rename to openbb_platform/core/openbb_core/app/static/filters.py diff --git a/openbb_platform/platform/core/openbb_core/app/static/package_builder.py b/openbb_platform/core/openbb_core/app/static/package_builder.py similarity index 99% rename from openbb_platform/platform/core/openbb_core/app/static/package_builder.py rename to openbb_platform/core/openbb_core/app/static/package_builder.py index 63c3b1dd8d3..f664378f814 100644 --- a/openbb_platform/platform/core/openbb_core/app/static/package_builder.py +++ b/openbb_platform/core/openbb_core/app/static/package_builder.py @@ -27,7 +27,6 @@ from typing import ( import numpy as np import pandas as pd from importlib_metadata import entry_points -from openbb_provider.abstract.data import Data from pydantic.fields import FieldInfo from pydantic_core import PydanticUndefined from starlette.routing import BaseRoute @@ -38,6 +37,7 @@ from openbb_core.app.model.custom_parameter import OpenBBCustomParameter from openbb_core.app.provider_interface import ProviderInterface from openbb_core.app.router import CommandMap, RouterLoader from openbb_core.env import Env +from openbb_core.provider.abstract.data import Data DataProcessingSupportedTypes = TypeVar( "DataProcessingSupportedTypes", @@ -267,7 +267,7 @@ class ImportDefinition: # These imports were not detected before build, so we add them manually and # ruff --fix the resulting code to remove unused imports. # TODO: Find a better way to handle this. This is a temporary solution. - code += "\nimport openbb_provider" + code += "\nimport openbb_core.provider" code += "\nimport pandas" code += "\nimport numpy" code += "\nimport datetime" @@ -284,7 +284,7 @@ class ImportDefinition: code += "\nfrom openbb_core.app.utils import df_to_basemodel" code += "\nfrom openbb_core.app.static.decorators import validate\n" code += "\nfrom openbb_core.app.static.filters import filter_inputs\n" - code += "\nfrom openbb_provider.abstract.data import Data" + code += "\nfrom openbb_core.provider.abstract.data import Data" if path.startswith("/quantitative"): code += "\nfrom openbb_quantitative.models import " code += "(CAPMModel,NormalityModel,OmegaModel,SummaryModel,UnitRootModel)" @@ -829,7 +829,9 @@ class MethodDefinition: func_params = func_params.replace( "pandas.core.frame.DataFrame", "pandas.DataFrame" ) - func_params = func_params.replace("openbb_provider.abstract.data.Data", "Data") + func_params = func_params.replace( + "openbb_core.provider.abstract.data.Data", "Data" + ) return func_params diff --git a/openbb_platform/platform/core/openbb_core/app/utils.py b/openbb_platform/core/openbb_core/app/utils.py similarity index 98% rename from openbb_platform/platform/core/openbb_core/app/utils.py rename to openbb_platform/core/openbb_core/app/utils.py index 8fcfcbb4208..b4b6682ad4e 100644 --- a/openbb_platform/platform/core/openbb_core/app/utils.py +++ b/openbb_platform/core/openbb_core/app/utils.py @@ -4,11 +4,11 @@ from typing import Dict, Iterable, List, Optional, Union import numpy as np import pandas as pd -from openbb_provider.abstract.data import Data from pydantic import ValidationError from openbb_core.app.model.preferences import Preferences from openbb_core.app.model.system_settings import SystemSettings +from openbb_core.provider.abstract.data import Data def basemodel_to_df( diff --git a/openbb_platform/platform/core/openbb_core/app/version.py b/openbb_platform/core/openbb_core/app/version.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/app/version.py rename to openbb_platform/core/openbb_core/app/version.py diff --git a/openbb_platform/platform/core/openbb_core/env.py b/openbb_platform/core/openbb_core/env.py similarity index 100% rename from openbb_platform/platform/core/openbb_core/env.py rename to openbb_platform/core/openbb_core/env.py diff --git a/openbb_platform/platform/provider/openbb_provider/__init__.py b/openbb_platform/core/openbb_core/provider/__init__.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/__init__.py rename to openbb_platform/core/openbb_core/provider/__init__.py diff --git a/openbb_platform/platform/provider/openbb_provider/abstract/__init__.py b/openbb_platform/core/openbb_core/provider/abstract/__init__.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/abstract/__init__.py rename to openbb_platform/core/openbb_core/provider/abstract/__init__.py diff --git a/openbb_platform/platform/provider/openbb_provider/abstract/data.py b/openbb_platform/core/openbb_core/provider/abstract/data.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/abstract/data.py rename to openbb_platform/core/openbb_core/provider/abstract/data.py diff --git a/openbb_platform/platform/provider/openbb_provider/abstract/fetcher.py b/openbb_platform/core/openbb_core/provider/abstract/fetcher.py similarity index 97% rename from openbb_platform/platform/provider/openbb_provider/abstract/fetcher.py rename to openbb_platform/core/openbb_core/provider/abstract/fetcher.py index 100a11f6ca0..804da39ee47 100644 --- a/openbb_platform/platform/provider/openbb_provider/abstract/fetcher.py +++ b/openbb_platform/core/openbb_core/provider/abstract/fetcher.py @@ -6,8 +6,8 @@ from typing import Any, Dict, Generic, Optional, TypeVar, get_args, get_origin from pandas import DataFrame -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams Q = TypeVar("Q", bound=QueryParams) D = TypeVar("D", bound=Data) diff --git a/openbb_platform/platform/provider/openbb_provider/abstract/provider.py b/openbb_platform/core/openbb_core/provider/abstract/provider.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/abstract/provider.py rename to openbb_platform/core/openbb_core/provider/abstract/provider.py index 03f6d1e4584..5bca35a02c5 100644 --- a/openbb_platform/platform/provider/openbb_provider/abstract/provider.py +++ b/openbb_platform/core/openbb_core/provider/abstract/provider.py @@ -2,7 +2,7 @@ from typing import Dict, List, Optional, Type -from openbb_provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.fetcher import Fetcher class Provider: diff --git a/openbb_platform/platform/provider/openbb_provider/abstract/query_params.py b/openbb_platform/core/openbb_core/provider/abstract/query_params.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/abstract/query_params.py rename to openbb_platform/core/openbb_core/provider/abstract/query_params.py diff --git a/openbb_platform/platform/core/openbb_core/py.typed b/openbb_platform/core/openbb_core/provider/py.typed similarity index 100% rename from openbb_platform/platform/core/openbb_core/py.typed rename to openbb_platform/core/openbb_core/provider/py.typed diff --git a/openbb_platform/platform/provider/openbb_provider/query_executor.py b/openbb_platform/core/openbb_core/provider/query_executor.py similarity index 92% rename from openbb_platform/platform/provider/openbb_provider/query_executor.py rename to openbb_platform/core/openbb_core/provider/query_executor.py index 8859aba99c5..da4f6668318 100644 --- a/openbb_platform/platform/provider/openbb_provider/query_executor.py +++ b/openbb_platform/core/openbb_core/provider/query_executor.py @@ -3,10 +3,10 @@ from typing import Any, Dict, Optional, Type from pydantic import SecretStr -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.abstract.provider import Provider -from openbb_provider.registry import Registry, RegistryLoader -from openbb_provider.utils.errors import ProviderError +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.provider import Provider +from openbb_core.provider.registry import Registry, RegistryLoader +from openbb_core.provider.utils.errors import ProviderError class QueryExecutor: diff --git a/openbb_platform/platform/provider/openbb_provider/registry.py b/openbb_platform/core/openbb_core/provider/registry.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/registry.py rename to openbb_platform/core/openbb_core/provider/registry.py index a0e344a832a..dc024dc0abd 100644 --- a/openbb_platform/platform/provider/openbb_provider/registry.py +++ b/openbb_platform/core/openbb_core/provider/registry.py @@ -6,7 +6,7 @@ from typing import Dict from importlib_metadata import entry_points -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider class Registry: diff --git a/openbb_platform/platform/provider/openbb_provider/registry_map.py b/openbb_platform/core/openbb_core/provider/registry_map.py similarity index 96% rename from openbb_platform/platform/provider/openbb_provider/registry_map.py rename to openbb_platform/core/openbb_core/provider/registry_map.py index a62f4df123a..2a82f73531a 100644 --- a/openbb_platform/platform/provider/openbb_provider/registry_map.py +++ b/openbb_platform/core/openbb_core/provider/registry_map.py @@ -6,10 +6,10 @@ from typing import Any, Dict, List, Literal, Optional, Tuple, Union, get_origin from pydantic import BaseModel -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.registry import Registry, RegistryLoader +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.registry import Registry, RegistryLoader MapType = Dict[str, Dict[str, Dict[str, Dict[str, Any]]]] diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/__init__.py b/openbb_platform/core/openbb_core/provider/standard_models/__init__.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/standard_models/__init__.py rename to openbb_platform/core/openbb_core/provider/standard_models/__init__.py diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/ameribor_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/ameribor_rates.py similarity index 74% rename from openbb_platform/platform/provider/openbb_provider/standard_models/ameribor_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/ameribor_rates.py index 1828294a624..b8d70dedf88 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/ameribor_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/ameribor_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class AMERIBORQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/analyst_estimates.py b/openbb_platform/core/openbb_core/provider/standard_models/analyst_estimates.py similarity index 93% rename from openbb_platform/platform/provider/openbb_provider/standard_models/analyst_estimates.py rename to openbb_platform/core/openbb_core/provider/standard_models/analyst_estimates.py index f6ec7b66128..a2276aa190c 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/analyst_estimates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/analyst_estimates.py @@ -6,9 +6,12 @@ from typing import List, Literal, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data, StrictInt -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data, StrictInt +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class AnalystEstimatesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/available_indices.py b/openbb_platform/core/openbb_core/provider/standard_models/available_indices.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/available_indices.py rename to openbb_platform/core/openbb_core/provider/standard_models/available_indices.py index 2a7ee79164b..14dcb2506ee 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/available_indices.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/available_indices.py @@ -5,8 +5,8 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class AvailableIndicesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/balance_of_payments.py b/openbb_platform/core/openbb_core/provider/standard_models/balance_of_payments.py similarity index 99% rename from openbb_platform/platform/provider/openbb_provider/standard_models/balance_of_payments.py rename to openbb_platform/core/openbb_core/provider/standard_models/balance_of_payments.py index 8a8f7338259..1cd73fc14d8 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/balance_of_payments.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/balance_of_payments.py @@ -7,8 +7,8 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class BalanceOfPaymentsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/balance_sheet.py b/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/standard_models/balance_sheet.py rename to openbb_platform/core/openbb_core/provider/standard_models/balance_sheet.py index 0471b328631..f59092df956 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/balance_sheet.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet.py @@ -9,9 +9,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, NonNegativeInt, StrictFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class BalanceSheetQueryParams(QueryParams): @@ -62,7 +65,9 @@ class BalanceSheetData(Data): accepted_date: Optional[datetime] = Field( default=None, description="Accepted date." ) - period: str = Field(default=None, description="Reporting period of the statement.") + period: Optional[str] = Field( + default=None, description="Reporting period of the statement." + ) cash_and_cash_equivalents: Optional[StrictFloat] = Field( default=None, description="Cash and cash equivalents" diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/balance_sheet_growth.py b/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py similarity index 96% rename from openbb_platform/platform/provider/openbb_provider/standard_models/balance_sheet_growth.py rename to openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py index 1573e93b389..132e310674d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/balance_sheet_growth.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/balance_sheet_growth.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class BalanceSheetGrowthQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/bond_prices.py b/openbb_platform/core/openbb_core/provider/standard_models/bond_prices.py similarity index 97% rename from openbb_platform/platform/provider/openbb_provider/standard_models/bond_prices.py rename to openbb_platform/core/openbb_core/provider/standard_models/bond_prices.py index 368107ba35e..dcb3c0d8248 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/bond_prices.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/bond_prices.py @@ -7,8 +7,8 @@ from typing import List, Optional, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class BondPricesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/bond_reference.py b/openbb_platform/core/openbb_core/provider/standard_models/bond_reference.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/standard_models/bond_reference.py rename to openbb_platform/core/openbb_core/provider/standard_models/bond_reference.py index bf983fc2814..37c0ee4a622 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/bond_reference.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/bond_reference.py @@ -7,8 +7,8 @@ from typing import List, Optional, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class BondReferenceQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/bond_trades.py b/openbb_platform/core/openbb_core/provider/standard_models/bond_trades.py similarity index 92% rename from openbb_platform/platform/provider/openbb_provider/standard_models/bond_trades.py rename to openbb_platform/core/openbb_core/provider/standard_models/bond_trades.py index 5a562782a12..29ac4487871 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/bond_trades.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/bond_trades.py @@ -8,9 +8,12 @@ from typing import Literal, Optional, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class BondTradesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_dividend.py b/openbb_platform/core/openbb_core/provider/standard_models/calendar_dividend.py similarity index 85% rename from openbb_platform/platform/provider/openbb_provider/standard_models/calendar_dividend.py rename to openbb_platform/core/openbb_core/provider/standard_models/calendar_dividend.py index ca52e146542..7354e3596dd 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_dividend.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/calendar_dividend.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class DividendCalendarQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_earnings.py b/openbb_platform/core/openbb_core/provider/standard_models/calendar_earnings.py similarity index 82% rename from openbb_platform/platform/provider/openbb_provider/standard_models/calendar_earnings.py rename to openbb_platform/core/openbb_core/provider/standard_models/calendar_earnings.py index ad0aa64abc2..5f6cfe173c7 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_earnings.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/calendar_earnings.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CalendarEarningsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_ipo.py b/openbb_platform/core/openbb_core/provider/standard_models/calendar_ipo.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/calendar_ipo.py rename to openbb_platform/core/openbb_core/provider/standard_models/calendar_ipo.py index ac08c8d8d3b..8b3f1251ea5 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_ipo.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/calendar_ipo.py @@ -8,9 +8,12 @@ from typing import Optional from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CalendarIpoQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_splits.py b/openbb_platform/core/openbb_core/provider/standard_models/calendar_splits.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/calendar_splits.py rename to openbb_platform/core/openbb_core/provider/standard_models/calendar_splits.py index ce3292ddb74..9f08a00d36b 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/calendar_splits.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/calendar_splits.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CalendarSplitsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/cash_flow.py b/openbb_platform/core/openbb_core/provider/standard_models/cash_flow.py similarity index 94% rename from openbb_platform/platform/provider/openbb_provider/standard_models/cash_flow.py rename to openbb_platform/core/openbb_core/provider/standard_models/cash_flow.py index ff3a7c214dc..47cee7c4921 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/cash_flow.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cash_flow.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, NonNegativeInt, StrictFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CashFlowStatementQueryParams(QueryParams): @@ -51,7 +54,9 @@ class CashFlowStatementData(Data): default=None, description=DATA_DESCRIPTIONS.get("symbol", "") ) date: dateType = Field(description=DATA_DESCRIPTIONS.get("date" "")) - period: str = Field(default=None, description="Reporting period of the statement.") + period: Optional[str] = Field( + default=None, description="Reporting period of the statement." + ) cik: Optional[str] = Field( default=None, description="Central Index Key (CIK) of the company." ) diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/cash_flow_growth.py b/openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/standard_models/cash_flow_growth.py rename to openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py index 3dd1417b5a4..8d5d76afe35 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/cash_flow_growth.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cash_flow_growth.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CashFlowStatementGrowthQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/company_filings.py b/openbb_platform/core/openbb_core/provider/standard_models/company_filings.py similarity index 91% rename from openbb_platform/platform/provider/openbb_provider/standard_models/company_filings.py rename to openbb_platform/core/openbb_core/provider/standard_models/company_filings.py index 5b7e9619687..2bc3541b3b3 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/company_filings.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/company_filings.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) SEC_FORM_TYPES = Literal[ "1", diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/company_news.py b/openbb_platform/core/openbb_core/provider/standard_models/company_news.py similarity index 84% rename from openbb_platform/platform/provider/openbb_provider/standard_models/company_news.py rename to openbb_platform/core/openbb_core/provider/standard_models/company_news.py index 678312a34c4..24f8e1edc8b 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/company_news.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/company_news.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field, NonNegativeInt, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CompanyNewsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/company_overview.py b/openbb_platform/core/openbb_core/provider/standard_models/company_overview.py similarity index 94% rename from openbb_platform/platform/provider/openbb_provider/standard_models/company_overview.py rename to openbb_platform/core/openbb_core/provider/standard_models/company_overview.py index b13ea54a0a4..fd4c0a6fb80 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/company_overview.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/company_overview.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data, StrictInt -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data, StrictInt +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CompanyOverviewQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/cot.py b/openbb_platform/core/openbb_core/provider/standard_models/cot.py similarity index 73% rename from openbb_platform/platform/provider/openbb_provider/standard_models/cot.py rename to openbb_platform/core/openbb_core/provider/standard_models/cot.py index 9cc6b55cbfe..bc0c887ea64 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/cot.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cot.py @@ -4,9 +4,9 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class COTQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/cot_search.py b/openbb_platform/core/openbb_core/provider/standard_models/cot_search.py similarity index 83% rename from openbb_platform/platform/provider/openbb_provider/standard_models/cot_search.py rename to openbb_platform/core/openbb_core/provider/standard_models/cot_search.py index 4dc23cba5b4..fddf551deec 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/cot_search.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cot_search.py @@ -4,9 +4,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class CotSearchQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/cp.py b/openbb_platform/core/openbb_core/provider/standard_models/cp.py similarity index 83% rename from openbb_platform/platform/provider/openbb_provider/standard_models/cp.py rename to openbb_platform/core/openbb_core/provider/standard_models/cp.py index 56463b67874..5b5d8520933 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/cp.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cp.py @@ -6,9 +6,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CommercialPaperParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/cpi.py b/openbb_platform/core/openbb_core/provider/standard_models/cpi.py similarity index 91% rename from openbb_platform/platform/provider/openbb_provider/standard_models/cpi.py rename to openbb_platform/core/openbb_core/provider/standard_models/cpi.py index 5c415caca33..321c23e5dd7 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/cpi.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/cpi.py @@ -5,9 +5,12 @@ from typing import List, Literal, Optional from dateutil import parser from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) CPI_COUNTRIES = Literal[ "australia", diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/crypto_historical.py b/openbb_platform/core/openbb_core/provider/standard_models/crypto_historical.py similarity index 89% rename from openbb_platform/platform/provider/openbb_provider/standard_models/crypto_historical.py rename to openbb_platform/core/openbb_core/provider/standard_models/crypto_historical.py index ebfa9981a9b..97a52a978ee 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/crypto_historical.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/crypto_historical.py @@ -10,9 +10,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, PositiveFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CryptoHistoricalQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/crypto_search.py b/openbb_platform/core/openbb_core/provider/standard_models/crypto_search.py similarity index 71% rename from openbb_platform/platform/provider/openbb_provider/standard_models/crypto_search.py rename to openbb_platform/core/openbb_core/provider/standard_models/crypto_search.py index 8b581d25da4..943ecb27907 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/crypto_search.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/crypto_search.py @@ -4,9 +4,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class CryptoSearchQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/currency_historical.py b/openbb_platform/core/openbb_core/provider/standard_models/currency_historical.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/currency_historical.py rename to openbb_platform/core/openbb_core/provider/standard_models/currency_historical.py index f4c4297e15e..cb5b980d216 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/currency_historical.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/currency_historical.py @@ -10,9 +10,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, PositiveFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class CurrencyHistoricalQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/currency_pairs.py b/openbb_platform/core/openbb_core/provider/standard_models/currency_pairs.py similarity index 71% rename from openbb_platform/platform/provider/openbb_provider/standard_models/currency_pairs.py rename to openbb_platform/core/openbb_core/provider/standard_models/currency_pairs.py index 38b269eaa31..3056fb09c0d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/currency_pairs.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/currency_pairs.py @@ -3,8 +3,8 @@ from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class CurrencyPairsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/currency_reference_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/currency_reference_rates.py similarity index 93% rename from openbb_platform/platform/provider/openbb_provider/standard_models/currency_reference_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/currency_reference_rates.py index 7631b818fbf..a0f3b9d23da 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/currency_reference_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/currency_reference_rates.py @@ -7,9 +7,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class CurrencyReferenceRatesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/dwpcr_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/dwpcr_rates.py similarity index 78% rename from openbb_platform/platform/provider/openbb_provider/standard_models/dwpcr_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/dwpcr_rates.py index d19193d1501..b367f04f4b2 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/dwpcr_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/dwpcr_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class DiscountWindowPrimaryCreditRateParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/earnings_call_transcript.py b/openbb_platform/core/openbb_core/provider/standard_models/earnings_call_transcript.py similarity index 87% rename from openbb_platform/platform/provider/openbb_provider/standard_models/earnings_call_transcript.py rename to openbb_platform/core/openbb_core/provider/standard_models/earnings_call_transcript.py index de9800a78d1..4c182538504 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/earnings_call_transcript.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/earnings_call_transcript.py @@ -6,9 +6,12 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EarningsCallTranscriptQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/ecb_interest_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/ecb_interest_rates.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/ecb_interest_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/ecb_interest_rates.py index 724b65725bf..c5806b2db70 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/ecb_interest_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/ecb_interest_rates.py @@ -6,9 +6,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EuropeanCentralBankInterestRatesParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/economic_calendar.py b/openbb_platform/core/openbb_core/provider/standard_models/economic_calendar.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/economic_calendar.py rename to openbb_platform/core/openbb_core/provider/standard_models/economic_calendar.py index 5c4cfed5a86..32460b7540c 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/economic_calendar.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/economic_calendar.py @@ -9,9 +9,12 @@ from typing import Literal, Optional, Union from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EconomicCalendarQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_ftd.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_ftd.py similarity index 87% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_ftd.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_ftd.py index 4f1eab175b9..043651315a1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_ftd.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_ftd.py @@ -8,9 +8,12 @@ from typing import Optional from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EquityFtdQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_historical.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_historical.py similarity index 89% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_historical.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_historical.py index 84e193cce1f..1b2bf5e8b0f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_historical.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_historical.py @@ -10,9 +10,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, PositiveFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EquityHistoricalQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_info.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_info.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_info.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_info.py index a281433b07e..ad13cfcc6d4 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_info.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_info.py @@ -4,9 +4,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EquityInfoQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_nbbo.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_nbbo.py similarity index 86% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_nbbo.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_nbbo.py index 686be287431..d8d5080cebf 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_nbbo.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_nbbo.py @@ -2,9 +2,9 @@ from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class EquityNBBOQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_ownership.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_ownership.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_ownership.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_ownership.py index 2ebbf87a104..b629b991fdb 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_ownership.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_ownership.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EquityOwnershipQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_peers.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_peers.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_peers.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_peers.py index e0d996fba66..11cc67ac192 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_peers.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_peers.py @@ -4,9 +4,9 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class EquityPeersQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_performance.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_performance.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_performance.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_performance.py index 290eea3374f..3e72258ae9a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_performance.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_performance.py @@ -2,9 +2,9 @@ from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class EquityPerformanceQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_quote.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_quote.py similarity index 83% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_quote.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_quote.py index e7d48d4ebad..d7c8354e2eb 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_quote.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_quote.py @@ -5,9 +5,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EquityQuoteQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_screener.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_screener.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_screener.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_screener.py index dc89287758e..b354281461b 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_screener.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_screener.py @@ -4,9 +4,9 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class EquityScreenerQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_search.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_search.py similarity index 82% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_search.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_search.py index 9b2ca844af2..cd23ba2a02a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_search.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_search.py @@ -4,9 +4,9 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class EquitySearchQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_short_interest.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_short_interest.py similarity index 93% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_short_interest.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_short_interest.py index b60468539ef..9e4da574429 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_short_interest.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_short_interest.py @@ -5,9 +5,12 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ShortInterestQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_valuation_multiples.py b/openbb_platform/core/openbb_core/provider/standard_models/equity_valuation_multiples.py similarity index 98% rename from openbb_platform/platform/provider/openbb_provider/standard_models/equity_valuation_multiples.py rename to openbb_platform/core/openbb_core/provider/standard_models/equity_valuation_multiples.py index 4412057d2ae..e362965710b 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/equity_valuation_multiples.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/equity_valuation_multiples.py @@ -4,9 +4,9 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class EquityValuationMultiplesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/esg_risk_rating.py b/openbb_platform/core/openbb_core/provider/standard_models/esg_risk_rating.py similarity index 87% rename from openbb_platform/platform/provider/openbb_provider/standard_models/esg_risk_rating.py rename to openbb_platform/core/openbb_core/provider/standard_models/esg_risk_rating.py index fd99e006895..232b5a315a1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/esg_risk_rating.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/esg_risk_rating.py @@ -5,9 +5,12 @@ from typing import List, Literal, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ESGRiskRatingQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/esg_score.py b/openbb_platform/core/openbb_core/provider/standard_models/esg_score.py similarity index 88% rename from openbb_platform/platform/provider/openbb_provider/standard_models/esg_score.py rename to openbb_platform/core/openbb_core/provider/standard_models/esg_score.py index 63ed3d01cc8..eb4529e106f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/esg_score.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/esg_score.py @@ -9,9 +9,12 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ESGScoreQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/esg_sector.py b/openbb_platform/core/openbb_core/provider/standard_models/esg_sector.py similarity index 87% rename from openbb_platform/platform/provider/openbb_provider/standard_models/esg_sector.py rename to openbb_platform/core/openbb_core/provider/standard_models/esg_sector.py index 43a5c8e36eb..0022f342b41 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/esg_sector.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/esg_sector.py @@ -1,8 +1,8 @@ """ESG Sector Standard Model.""" -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class ESGSectorQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/estr_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/estr_rates.py similarity index 73% rename from openbb_platform/platform/provider/openbb_provider/standard_models/estr_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/estr_rates.py index 927e176df7a..981657e00cd 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/estr_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/estr_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ESTRQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_countries.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_countries.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_countries.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_countries.py index 5483683fca8..522fb508af4 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_countries.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_countries.py @@ -4,9 +4,9 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class EtfCountriesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_historical.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_historical.py similarity index 88% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_historical.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_historical.py index fd3592333ad..fb837c96204 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_historical.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_historical.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, NonNegativeInt, PositiveFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EtfHistoricalQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_historical_nav.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_historical_nav.py similarity index 78% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_historical_nav.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_historical_nav.py index 1397aa46b70..1c3c7adf398 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_historical_nav.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_historical_nav.py @@ -5,9 +5,12 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EtfHistoricalNavQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_holdings.py similarity index 69% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_holdings.py index ceb2f65adef..9b9cd5f45c8 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_holdings.py @@ -4,9 +4,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EtfHoldingsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings_date.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_holdings_date.py similarity index 65% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings_date.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_holdings_date.py index 22a81037aed..3a50102fbf7 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings_date.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_holdings_date.py @@ -4,9 +4,12 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EtfHoldingsDateQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings_performance.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_holdings_performance.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_holdings_performance.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_holdings_performance.py diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_info.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_info.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_info.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_info.py index 87d7262dffd..abf3902197d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_info.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_info.py @@ -4,9 +4,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EtfInfoQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_performance.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_performance.py similarity index 82% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_performance.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_performance.py index d1e58723a3d..007cb20e0a5 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_performance.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_performance.py @@ -3,9 +3,12 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ETFPerformanceQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_search.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_search.py similarity index 70% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_search.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_search.py index d43b912dbed..12ea9ff83f5 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_search.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_search.py @@ -4,9 +4,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class EtfSearchQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_sectors.py b/openbb_platform/core/openbb_core/provider/standard_models/etf_sectors.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/etf_sectors.py rename to openbb_platform/core/openbb_core/provider/standard_models/etf_sectors.py index 5535df595e5..fb51ca4bf9a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/etf_sectors.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/etf_sectors.py @@ -4,9 +4,9 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class EtfSectorsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/eu_yield_curve.py b/openbb_platform/core/openbb_core/provider/standard_models/eu_yield_curve.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/eu_yield_curve.py rename to openbb_platform/core/openbb_core/provider/standard_models/eu_yield_curve.py index 253d9e584e7..09cca541562 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/eu_yield_curve.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/eu_yield_curve.py @@ -6,9 +6,9 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class EUYieldCurveQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/european_index_constituents.py b/openbb_platform/core/openbb_core/provider/standard_models/european_index_constituents.py similarity index 87% rename from openbb_platform/platform/provider/openbb_provider/standard_models/european_index_constituents.py rename to openbb_platform/core/openbb_core/provider/standard_models/european_index_constituents.py index a77765fb4fc..94c00eff908 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/european_index_constituents.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/european_index_constituents.py @@ -5,9 +5,12 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EuropeanIndexConstituentsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/european_indices.py b/openbb_platform/core/openbb_core/provider/standard_models/european_indices.py similarity index 83% rename from openbb_platform/platform/provider/openbb_provider/standard_models/european_indices.py rename to openbb_platform/core/openbb_core/provider/standard_models/european_indices.py index b4b910c30ce..aef7d5f7f4f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/european_indices.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/european_indices.py @@ -9,9 +9,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class EuropeanIndicesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/executive_compensation.py b/openbb_platform/core/openbb_core/provider/standard_models/executive_compensation.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/executive_compensation.py rename to openbb_platform/core/openbb_core/provider/standard_models/executive_compensation.py index 3764e37d9a0..2244b324437 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/executive_compensation.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/executive_compensation.py @@ -9,9 +9,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, NonNegativeFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ExecutiveCompensationQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/fed_projections.py b/openbb_platform/core/openbb_core/provider/standard_models/fed_projections.py similarity index 84% rename from openbb_platform/platform/provider/openbb_provider/standard_models/fed_projections.py rename to openbb_platform/core/openbb_core/provider/standard_models/fed_projections.py index abe305058a9..5893e94a4c2 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/fed_projections.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/fed_projections.py @@ -6,9 +6,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class PROJECTIONQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/fed_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/fed_rates.py similarity index 73% rename from openbb_platform/platform/provider/openbb_provider/standard_models/fed_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/fed_rates.py index a9f7e1638c1..d3974539e61 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/fed_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/fed_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FEDQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/ffrmc.py b/openbb_platform/core/openbb_core/provider/standard_models/ffrmc.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/ffrmc.py rename to openbb_platform/core/openbb_core/provider/standard_models/ffrmc.py index b7ad693e650..674d516d83f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/ffrmc.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/ffrmc.py @@ -6,9 +6,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class SelectedTreasuryConstantMaturityQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/filings.py b/openbb_platform/core/openbb_core/provider/standard_models/filings.py similarity index 85% rename from openbb_platform/platform/provider/openbb_provider/standard_models/filings.py rename to openbb_platform/core/openbb_core/provider/standard_models/filings.py index 0871743a2d8..dac0fd8f42a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/filings.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/filings.py @@ -8,9 +8,12 @@ from typing import Optional from pydantic import Field, NonNegativeInt -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FilingsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/financial_attributes.py b/openbb_platform/core/openbb_core/provider/standard_models/financial_attributes.py similarity index 85% rename from openbb_platform/platform/provider/openbb_provider/standard_models/financial_attributes.py rename to openbb_platform/core/openbb_core/provider/standard_models/financial_attributes.py index f96f95a95fe..deba93e57a1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/financial_attributes.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/financial_attributes.py @@ -5,9 +5,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FinancialAttributesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/financial_ratios.py b/openbb_platform/core/openbb_core/provider/standard_models/financial_ratios.py similarity index 97% rename from openbb_platform/platform/provider/openbb_provider/standard_models/financial_ratios.py rename to openbb_platform/core/openbb_core/provider/standard_models/financial_ratios.py index 5cc1435aef9..2411bb1ce20 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/financial_ratios.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/financial_ratios.py @@ -5,9 +5,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, NonNegativeInt, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FinancialRatiosQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/fred_indices.py b/openbb_platform/core/openbb_core/provider/standard_models/fred_indices.py similarity index 84% rename from openbb_platform/platform/provider/openbb_provider/standard_models/fred_indices.py rename to openbb_platform/core/openbb_core/provider/standard_models/fred_indices.py index 88a17ab290a..c705819ecf1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/fred_indices.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/fred_indices.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, PositiveFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FredIndicesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/futures_curve.py b/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/futures_curve.py rename to openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py index 82da004d169..9bf77e4f982 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/futures_curve.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/futures_curve.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FuturesCurveQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/futures_historical.py b/openbb_platform/core/openbb_core/provider/standard_models/futures_historical.py similarity index 88% rename from openbb_platform/platform/provider/openbb_provider/standard_models/futures_historical.py rename to openbb_platform/core/openbb_core/provider/standard_models/futures_historical.py index 719e1043fd2..ce3a97aa01c 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/futures_historical.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/futures_historical.py @@ -7,9 +7,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class FuturesHistoricalQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/gdp_forecast.py b/openbb_platform/core/openbb_core/provider/standard_models/gdp_forecast.py similarity index 83% rename from openbb_platform/platform/provider/openbb_provider/standard_models/gdp_forecast.py rename to openbb_platform/core/openbb_core/provider/standard_models/gdp_forecast.py index a0c04d8c047..d77539b57a8 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/gdp_forecast.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/gdp_forecast.py @@ -4,9 +4,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class GdpForecastQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/gdp_nominal.py b/openbb_platform/core/openbb_core/provider/standard_models/gdp_nominal.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/gdp_nominal.py rename to openbb_platform/core/openbb_core/provider/standard_models/gdp_nominal.py index fcffb979e34..e2f6d270cf0 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/gdp_nominal.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/gdp_nominal.py @@ -4,9 +4,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class GdpNominalQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/gdp_real.py b/openbb_platform/core/openbb_core/provider/standard_models/gdp_real.py similarity index 81% rename from openbb_platform/platform/provider/openbb_provider/standard_models/gdp_real.py rename to openbb_platform/core/openbb_core/provider/standard_models/gdp_real.py index 99b9a52f3a7..6bf45766460 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/gdp_real.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/gdp_real.py @@ -4,9 +4,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class GdpRealQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_dividends.py b/openbb_platform/core/openbb_core/provider/standard_models/historical_dividends.py similarity index 91% rename from openbb_platform/platform/provider/openbb_provider/standard_models/historical_dividends.py rename to openbb_platform/core/openbb_core/provider/standard_models/historical_dividends.py index b1724132ade..63aaf1ca508 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_dividends.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/historical_dividends.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class HistoricalDividendsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_employees.py b/openbb_platform/core/openbb_core/provider/standard_models/historical_employees.py similarity index 92% rename from openbb_platform/platform/provider/openbb_provider/standard_models/historical_employees.py rename to openbb_platform/core/openbb_core/provider/standard_models/historical_employees.py index 7e3c3b0d898..eaa92d805ea 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_employees.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/historical_employees.py @@ -5,9 +5,12 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class HistoricalEmployeesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_eps.py b/openbb_platform/core/openbb_core/provider/standard_models/historical_eps.py similarity index 86% rename from openbb_platform/platform/provider/openbb_provider/standard_models/historical_eps.py rename to openbb_platform/core/openbb_core/provider/standard_models/historical_eps.py index 43260f5082f..d477f9adadf 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_eps.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/historical_eps.py @@ -7,9 +7,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class HistoricalEpsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_splits.py b/openbb_platform/core/openbb_core/provider/standard_models/historical_splits.py similarity index 82% rename from openbb_platform/platform/provider/openbb_provider/standard_models/historical_splits.py rename to openbb_platform/core/openbb_core/provider/standard_models/historical_splits.py index e3c53edded5..09d5fe62b5f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/historical_splits.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/historical_splits.py @@ -6,9 +6,12 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class HistoricalSplitsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/hqm.py b/openbb_platform/core/openbb_core/provider/standard_models/hqm.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/hqm.py rename to openbb_platform/core/openbb_core/provider/standard_models/hqm.py index 104ed486881..35e6a66d92f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/hqm.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/hqm.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class HighQualityMarketCorporateBondQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/ice_bofa.py b/openbb_platform/core/openbb_core/provider/standard_models/ice_bofa.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/ice_bofa.py rename to openbb_platform/core/openbb_core/provider/standard_models/ice_bofa.py index 4aa691dc3a6..a694b4a8b2a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/ice_bofa.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/ice_bofa.py @@ -6,9 +6,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ICEBofAQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/income_statement.py b/openbb_platform/core/openbb_core/provider/standard_models/income_statement.py similarity index 94% rename from openbb_platform/platform/provider/openbb_provider/standard_models/income_statement.py rename to openbb_platform/core/openbb_core/provider/standard_models/income_statement.py index 03bcb71eb65..8419f1cc587 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/income_statement.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/income_statement.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, NonNegativeInt, StrictFloat, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class IncomeStatementQueryParams(QueryParams): @@ -54,7 +57,9 @@ class IncomeStatementData(Data): description=DATA_DESCRIPTIONS.get("date", "") + " In this case, the date of the income statement." ) - period: str = Field(default=None, description="Period of the income statement.") + period: Optional[str] = Field( + default=None, description="Period of the income statement." + ) cik: Optional[str] = Field(default=None, description="Central Index Key.") revenue: Optional[StrictFloat] = Field(default=None, description="Revenue.") diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/income_statement_growth.py b/openbb_platform/core/openbb_core/provider/standard_models/income_statement_growth.py similarity index 95% rename from openbb_platform/platform/provider/openbb_provider/standard_models/income_statement_growth.py rename to openbb_platform/core/openbb_core/provider/standard_models/income_statement_growth.py index 35c8d9b282f..f1b5f97ea35 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/income_statement_growth.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/income_statement_growth.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class IncomeStatementGrowthQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/index_constituents.py b/openbb_platform/core/openbb_core/provider/standard_models/index_constituents.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/index_constituents.py rename to openbb_platform/core/openbb_core/provider/standard_models/index_constituents.py index d70564d570c..90523efd5ad 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/index_constituents.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/index_constituents.py @@ -6,9 +6,9 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class IndexConstituentsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/index_info.py b/openbb_platform/core/openbb_core/provider/standard_models/index_info.py similarity index 84% rename from openbb_platform/platform/provider/openbb_provider/standard_models/index_info.py rename to openbb_platform/core/openbb_core/provider/standard_models/index_info.py index 80892f32454..e047d373e3e 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/index_info.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/index_info.py @@ -4,9 +4,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class IndexInfoQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/index_search.py b/openbb_platform/core/openbb_core/provider/standard_models/index_search.py similarity index 72% rename from openbb_platform/platform/provider/openbb_provider/standard_models/index_search.py rename to openbb_platform/core/openbb_core/provider/standard_models/index_search.py index aff26813cec..7e63aefdff0 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/index_search.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/index_search.py @@ -2,9 +2,9 @@ from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class IndexSearchQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/index_sectors.py b/openbb_platform/core/openbb_core/provider/standard_models/index_sectors.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/index_sectors.py rename to openbb_platform/core/openbb_core/provider/standard_models/index_sectors.py index 9d95acca461..1afd8b17c93 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/index_sectors.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/index_sectors.py @@ -4,9 +4,9 @@ from typing import List, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class IndexSectorsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/index_snapshots.py b/openbb_platform/core/openbb_core/provider/standard_models/index_snapshots.py similarity index 88% rename from openbb_platform/platform/provider/openbb_provider/standard_models/index_snapshots.py rename to openbb_platform/core/openbb_core/provider/standard_models/index_snapshots.py index 94eca211d1f..bf5fac3a991 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/index_snapshots.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/index_snapshots.py @@ -4,9 +4,9 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class IndexSnapshotsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/industry_pe.py b/openbb_platform/core/openbb_core/provider/standard_models/industry_pe.py similarity index 77% rename from openbb_platform/platform/provider/openbb_provider/standard_models/industry_pe.py rename to openbb_platform/core/openbb_core/provider/standard_models/industry_pe.py index 7f1edde1685..c019d49c6e2 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/industry_pe.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/industry_pe.py @@ -5,9 +5,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class IndustryPEQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/insider_trading.py b/openbb_platform/core/openbb_core/provider/standard_models/insider_trading.py similarity index 94% rename from openbb_platform/platform/provider/openbb_provider/standard_models/insider_trading.py rename to openbb_platform/core/openbb_core/provider/standard_models/insider_trading.py index d7d4d61e36e..c4d3d5dfcc7 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/insider_trading.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/insider_trading.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional, Set, Union from dateutil import parser from pydantic import Field, StrictInt, field_validator, model_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) TRANSACTION_TYPES = Literal[ "A-Award", diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/institutional_ownership.py b/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py similarity index 96% rename from openbb_platform/platform/provider/openbb_provider/standard_models/institutional_ownership.py rename to openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py index 13029a2af75..37705558c38 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/institutional_ownership.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/institutional_ownership.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class InstitutionalOwnershipQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/iorb_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/iorb_rates.py similarity index 73% rename from openbb_platform/platform/provider/openbb_provider/standard_models/iorb_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/iorb_rates.py index 2fa08757091..3004152c12a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/iorb_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/iorb_rates.py @@ -5,9 +5,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class IORBQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/key_executives.py b/openbb_platform/core/openbb_core/provider/standard_models/key_executives.py similarity index 86% rename from openbb_platform/platform/provider/openbb_provider/standard_models/key_executives.py rename to openbb_platform/core/openbb_core/provider/standard_models/key_executives.py index 733ad6843e0..b2e95152003 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/key_executives.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/key_executives.py @@ -4,9 +4,9 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data, StrictInt -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data, StrictInt +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class KeyExecutivesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/key_metrics.py b/openbb_platform/core/openbb_core/provider/standard_models/key_metrics.py similarity index 97% rename from openbb_platform/platform/provider/openbb_provider/standard_models/key_metrics.py rename to openbb_platform/core/openbb_core/provider/standard_models/key_metrics.py index 851452cdc3d..6658ba26e7f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/key_metrics.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/key_metrics.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class KeyMetricsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/market_indices.py b/openbb_platform/core/openbb_core/provider/standard_models/market_indices.py similarity index 88% rename from openbb_platform/platform/provider/openbb_provider/standard_models/market_indices.py rename to openbb_platform/core/openbb_core/provider/standard_models/market_indices.py index 53ee6e114a1..ac1427cb223 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/market_indices.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/market_indices.py @@ -9,9 +9,12 @@ from typing import List, Optional, Set, Union from dateutil import parser from pydantic import Field, StrictFloat, StrictInt, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class MarketIndicesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/market_movers.py b/openbb_platform/core/openbb_core/provider/standard_models/market_movers.py similarity index 77% rename from openbb_platform/platform/provider/openbb_provider/standard_models/market_movers.py rename to openbb_platform/core/openbb_core/provider/standard_models/market_movers.py index 88503432d46..6055332615d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/market_movers.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/market_movers.py @@ -4,9 +4,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class MarketMoversQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/market_snapshots.py b/openbb_platform/core/openbb_core/provider/standard_models/market_snapshots.py similarity index 86% rename from openbb_platform/platform/provider/openbb_provider/standard_models/market_snapshots.py rename to openbb_platform/core/openbb_core/provider/standard_models/market_snapshots.py index f108931d993..32a9a50ce8d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/market_snapshots.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/market_snapshots.py @@ -4,9 +4,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class MarketSnapshotsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/moody.py b/openbb_platform/core/openbb_core/provider/standard_models/moody.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/moody.py rename to openbb_platform/core/openbb_core/provider/standard_models/moody.py index a23cb738f08..7504b7cb35d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/moody.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/moody.py @@ -7,9 +7,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class MoodyCorporateBondIndexQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/options_chains.py b/openbb_platform/core/openbb_core/provider/standard_models/options_chains.py similarity index 94% rename from openbb_platform/platform/provider/openbb_provider/standard_models/options_chains.py rename to openbb_platform/core/openbb_core/provider/standard_models/options_chains.py index 0dbcaa4e833..6eec3e1bbe1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/options_chains.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/options_chains.py @@ -5,9 +5,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class OptionsChainsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/options_unusual.py b/openbb_platform/core/openbb_core/provider/standard_models/options_unusual.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/options_unusual.py rename to openbb_platform/core/openbb_core/provider/standard_models/options_unusual.py index 18424bc538b..ccd8310e85e 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/options_unusual.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/options_unusual.py @@ -4,9 +4,12 @@ from typing import Optional from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class OptionsUnusualQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/otc_aggregate.py b/openbb_platform/core/openbb_core/provider/standard_models/otc_aggregate.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/otc_aggregate.py rename to openbb_platform/core/openbb_core/provider/standard_models/otc_aggregate.py index 6a046af8eed..a6437ce791a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/otc_aggregate.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/otc_aggregate.py @@ -5,9 +5,9 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class OTCAggregateQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/price_target.py b/openbb_platform/core/openbb_core/provider/standard_models/price_target.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/price_target.py rename to openbb_platform/core/openbb_core/provider/standard_models/price_target.py index e2ac08b53f9..41944f9b3c6 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/price_target.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/price_target.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class PriceTargetQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/price_target_consensus.py b/openbb_platform/core/openbb_core/provider/standard_models/price_target_consensus.py similarity index 87% rename from openbb_platform/platform/provider/openbb_provider/standard_models/price_target_consensus.py rename to openbb_platform/core/openbb_core/provider/standard_models/price_target_consensus.py index 3431dcc93e1..2c007e446b8 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/price_target_consensus.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/price_target_consensus.py @@ -5,9 +5,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class PriceTargetConsensusQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/recent_performance.py b/openbb_platform/core/openbb_core/provider/standard_models/recent_performance.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/recent_performance.py rename to openbb_platform/core/openbb_core/provider/standard_models/recent_performance.py index 348888a3eef..f704f0799b1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/recent_performance.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/recent_performance.py @@ -4,9 +4,9 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class RecentPerformanceQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/revenue_business_line.py b/openbb_platform/core/openbb_core/provider/standard_models/revenue_business_line.py similarity index 84% rename from openbb_platform/platform/provider/openbb_provider/standard_models/revenue_business_line.py rename to openbb_platform/core/openbb_core/provider/standard_models/revenue_business_line.py index a662539d15b..54fbf0ace09 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/revenue_business_line.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/revenue_business_line.py @@ -6,9 +6,12 @@ from typing import Dict, List, Literal, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class RevenueBusinessLineQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/revenue_geographic.py b/openbb_platform/core/openbb_core/provider/standard_models/revenue_geographic.py similarity index 89% rename from openbb_platform/platform/provider/openbb_provider/standard_models/revenue_geographic.py rename to openbb_platform/core/openbb_core/provider/standard_models/revenue_geographic.py index 32e89ed07b7..ef2ba4f6ebc 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/revenue_geographic.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/revenue_geographic.py @@ -6,9 +6,12 @@ from typing import Dict, List, Literal, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data, StrictInt -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data, StrictInt +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class RevenueGeographicQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/risk_premium.py b/openbb_platform/core/openbb_core/provider/standard_models/risk_premium.py similarity index 85% rename from openbb_platform/platform/provider/openbb_provider/standard_models/risk_premium.py rename to openbb_platform/core/openbb_core/provider/standard_models/risk_premium.py index 62ba95ea022..64b1904c080 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/risk_premium.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/risk_premium.py @@ -5,8 +5,8 @@ from typing import Optional from pydantic import Field, NonNegativeFloat, PositiveFloat -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class RiskPremiumQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/search_financial_attributes.py b/openbb_platform/core/openbb_core/provider/standard_models/search_financial_attributes.py similarity index 89% rename from openbb_platform/platform/provider/openbb_provider/standard_models/search_financial_attributes.py rename to openbb_platform/core/openbb_core/provider/standard_models/search_financial_attributes.py index 96bc0b21446..9b3f96d2e3f 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/search_financial_attributes.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/search_financial_attributes.py @@ -4,9 +4,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class SearchFinancialAttributesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/sector_pe.py b/openbb_platform/core/openbb_core/provider/standard_models/sector_pe.py similarity index 76% rename from openbb_platform/platform/provider/openbb_provider/standard_models/sector_pe.py rename to openbb_platform/core/openbb_core/provider/standard_models/sector_pe.py index 0ed6defaf61..63d463525cb 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/sector_pe.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/sector_pe.py @@ -5,9 +5,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class SectorPEQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/sector_performance.py b/openbb_platform/core/openbb_core/provider/standard_models/sector_performance.py similarity index 75% rename from openbb_platform/platform/provider/openbb_provider/standard_models/sector_performance.py rename to openbb_platform/core/openbb_core/provider/standard_models/sector_performance.py index 76b9916863d..478f5baf509 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/sector_performance.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/sector_performance.py @@ -2,8 +2,8 @@ from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams class SectorPerformanceQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/share_statistics.py b/openbb_platform/core/openbb_core/provider/standard_models/share_statistics.py similarity index 88% rename from openbb_platform/platform/provider/openbb_provider/standard_models/share_statistics.py rename to openbb_platform/core/openbb_core/provider/standard_models/share_statistics.py index 098ccb0b4a8..c90701242f1 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/share_statistics.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/share_statistics.py @@ -6,9 +6,12 @@ from typing import List, Optional, Set, Union from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ShareStatisticsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/short_volume.py b/openbb_platform/core/openbb_core/provider/standard_models/short_volume.py similarity index 84% rename from openbb_platform/platform/provider/openbb_provider/standard_models/short_volume.py rename to openbb_platform/core/openbb_core/provider/standard_models/short_volume.py index ae0bf5e50e0..83726e124d9 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/short_volume.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/short_volume.py @@ -4,9 +4,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class ShortVolumeQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/sofr_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/sofr_rates.py similarity index 73% rename from openbb_platform/platform/provider/openbb_provider/standard_models/sofr_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/sofr_rates.py index 93767ab8277..5cfb44d8140 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/sofr_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/sofr_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class SOFRQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/sonia_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/sonia_rates.py similarity index 74% rename from openbb_platform/platform/provider/openbb_provider/standard_models/sonia_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/sonia_rates.py index f1d20d88686..60038824548 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/sonia_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/sonia_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class SONIAQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/sp500_multiples.py b/openbb_platform/core/openbb_core/provider/standard_models/sp500_multiples.py similarity index 90% rename from openbb_platform/platform/provider/openbb_provider/standard_models/sp500_multiples.py rename to openbb_platform/core/openbb_core/provider/standard_models/sp500_multiples.py index d151d87dab9..cd7b247a8d8 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/sp500_multiples.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/sp500_multiples.py @@ -5,9 +5,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class SP500MultiplesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/spot.py b/openbb_platform/core/openbb_core/provider/standard_models/spot.py similarity index 85% rename from openbb_platform/platform/provider/openbb_provider/standard_models/spot.py rename to openbb_platform/core/openbb_core/provider/standard_models/spot.py index fc3f977b385..707c6a27075 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/spot.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/spot.py @@ -6,9 +6,12 @@ from typing import List, Literal, Optional from pydantic import Field, field_validator -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class SpotRateQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/tbffr.py b/openbb_platform/core/openbb_core/provider/standard_models/tbffr.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/tbffr.py rename to openbb_platform/core/openbb_core/provider/standard_models/tbffr.py index 0d32b22d92a..70e699f3fbc 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/tbffr.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/tbffr.py @@ -6,9 +6,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class SelectedTreasuryBillQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/tmc.py b/openbb_platform/core/openbb_core/provider/standard_models/tmc.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/tmc.py rename to openbb_platform/core/openbb_core/provider/standard_models/tmc.py index 451218f6b6b..94bd589a33a 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/tmc.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/tmc.py @@ -6,9 +6,12 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class TreasuryConstantMaturityQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/top_retail.py b/openbb_platform/core/openbb_core/provider/standard_models/top_retail.py similarity index 74% rename from openbb_platform/platform/provider/openbb_provider/standard_models/top_retail.py rename to openbb_platform/core/openbb_core/provider/standard_models/top_retail.py index 0b2097393b2..f571e262a20 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/top_retail.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/top_retail.py @@ -4,9 +4,12 @@ from datetime import date as DateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class TopRetailQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/trailing_dividend_yield.py b/openbb_platform/core/openbb_core/provider/standard_models/trailing_dividend_yield.py similarity index 70% rename from openbb_platform/platform/provider/openbb_provider/standard_models/trailing_dividend_yield.py rename to openbb_platform/core/openbb_core/provider/standard_models/trailing_dividend_yield.py index 40d00afa4f4..78529e476ca 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/trailing_dividend_yield.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/trailing_dividend_yield.py @@ -5,9 +5,12 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class TrailingDivYieldQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/treasury_auctions.py b/openbb_platform/core/openbb_core/provider/standard_models/treasury_auctions.py similarity index 99% rename from openbb_platform/platform/provider/openbb_provider/standard_models/treasury_auctions.py rename to openbb_platform/core/openbb_core/provider/standard_models/treasury_auctions.py index 72dd9d5444f..78313535dcc 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/treasury_auctions.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/treasury_auctions.py @@ -9,9 +9,9 @@ from typing import Literal, Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class USTreasuryAuctionsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/treasury_rates.py b/openbb_platform/core/openbb_core/provider/standard_models/treasury_rates.py similarity index 86% rename from openbb_platform/platform/provider/openbb_provider/standard_models/treasury_rates.py rename to openbb_platform/core/openbb_core/provider/standard_models/treasury_rates.py index 0e8336c0321..129cc00d44b 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/treasury_rates.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/treasury_rates.py @@ -6,9 +6,12 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class TreasuryRatesQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/upcoming_release_days.py b/openbb_platform/core/openbb_core/provider/standard_models/upcoming_release_days.py similarity index 77% rename from openbb_platform/platform/provider/openbb_provider/standard_models/upcoming_release_days.py rename to openbb_platform/core/openbb_core/provider/standard_models/upcoming_release_days.py index 7e680a5c4fe..34560c90e5d 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/upcoming_release_days.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/upcoming_release_days.py @@ -4,9 +4,9 @@ from datetime import date as dateType from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS class UpcomingReleaseDaysQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/us_yield_curve.py b/openbb_platform/core/openbb_core/provider/standard_models/us_yield_curve.py similarity index 79% rename from openbb_platform/platform/provider/openbb_provider/standard_models/us_yield_curve.py rename to openbb_platform/core/openbb_core/provider/standard_models/us_yield_curve.py index 9a775838fbb..92c95baf232 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/us_yield_curve.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/us_yield_curve.py @@ -5,9 +5,9 @@ from typing import Optional from pydantic import Field -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS class USYieldCurveQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/standard_models/world_news.py b/openbb_platform/core/openbb_core/provider/standard_models/world_news.py similarity index 80% rename from openbb_platform/platform/provider/openbb_provider/standard_models/world_news.py rename to openbb_platform/core/openbb_core/provider/standard_models/world_news.py index e5ab0eaf615..e518a297da5 100644 --- a/openbb_platform/platform/provider/openbb_provider/standard_models/world_news.py +++ b/openbb_platform/core/openbb_core/provider/standard_models/world_news.py @@ -6,9 +6,12 @@ from typing import Dict, List, Optional from pydantic import Field, NonNegativeInt -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) class WorldNewsQueryParams(QueryParams): diff --git a/openbb_platform/platform/provider/openbb_provider/utils/__init__.py b/openbb_platform/core/openbb_core/provider/utils/__init__.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/utils/__init__.py rename to openbb_platform/core/openbb_core/provider/utils/__init__.py diff --git a/openbb_platform/platform/provider/openbb_provider/utils/descriptions.py b/openbb_platform/core/openbb_core/provider/utils/descriptions.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/utils/descriptions.py rename to openbb_platform/core/openbb_core/provider/utils/descriptions.py diff --git a/openbb_platform/platform/provider/openbb_provider/utils/errors.py b/openbb_platform/core/openbb_core/provider/utils/errors.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/utils/errors.py rename to openbb_platform/core/openbb_core/provider/utils/errors.py diff --git a/openbb_platform/platform/provider/openbb_provider/utils/helpers.py b/openbb_platform/core/openbb_core/provider/utils/helpers.py similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/utils/helpers.py rename to openbb_platform/core/openbb_core/provider/utils/helpers.py diff --git a/openbb_platform/platform/provider/openbb_provider/py.typed b/openbb_platform/core/openbb_core/py.typed similarity index 100% rename from openbb_platform/platform/provider/openbb_provider/py.typed rename to openbb_platform/core/openbb_core/py.typed diff --git a/openbb_platform/platform/core/poetry.lock b/openbb_platform/core/poetry.lock similarity index 60% rename from openbb_platform/platform/core/poetry.lock rename to openbb_platform/core/poetry.lock index 011e676a75b..756a06ffa44 100644 --- a/openbb_platform/platform/core/poetry.lock +++ b/openbb_platform/core/poetry.lock @@ -306,6 +306,89 @@ files = [ {file = "monotonic-1.6.tar.gz", hash = "sha256:3a55207bcfed53ddd5c5bae174524062935efed17792e9de2ad0205ce9ad63f7"}, ] +[[package]] +name = "multidict" +version = "6.0.4" +description = "multidict implementation" +optional = false +python-versions = ">=3.7" +files = [ + {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"}, + {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"}, + {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"}, + {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"}, + {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"}, + {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"}, + {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"}, + {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"}, + {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"}, + {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"}, + {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"}, + {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"}, + {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"}, + {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"}, + {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"}, + {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"}, + {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"}, + {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"}, + {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"}, + {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"}, + {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"}, + {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"}, + {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"}, + {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"}, + {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"}, + {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"}, + {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"}, + {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"}, + {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"}, + {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"}, + {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"}, + {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"}, + {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"}, + {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"}, + {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"}, + {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"}, + {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"}, + {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"}, + {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"}, + {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"}, + {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"}, + {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"}, + {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"}, + {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"}, + {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"}, + {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"}, + {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"}, + {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"}, + {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"}, + {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"}, + {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"}, + {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"}, + {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"}, + {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"}, + {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"}, + {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"}, + {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"}, + {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"}, + {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"}, + {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"}, + {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"}, + {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"}, + {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"}, + {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"}, + {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"}, + {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"}, + {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"}, + {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"}, + {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"}, + {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"}, + {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"}, + {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"}, + {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"}, + {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"}, +] + [[package]] name = "numpy" version = "1.24.4" @@ -418,23 +501,6 @@ files = [ {file = "numpy-1.26.0.tar.gz", hash = "sha256:f93fc78fe8bf15afe2b8d6b6499f1c73953169fad1e9a8dd086cdff3190e7fdf"}, ] -[[package]] -name = "openbb-provider" -version = "1.0.0b1" -description = "OpenBB package to execute queries to financial data providers" -optional = false -python-versions = ">=3.8,<4.0" -files = [ - {file = "openbb_provider-1.0.0b1-py3-none-any.whl", hash = "sha256:d4bf1a3fdf25ed14840275d549d4ea4de1cd27393ba24b5c3629c5f0a94887f4"}, - {file = "openbb_provider-1.0.0b1.tar.gz", hash = "sha256:a5832e54140a99a381b33e928a10efd7c921694cb21a36f79d24c9b825075c18"}, -] - -[package.dependencies] -importlib_metadata = ">=6.8.0,<7.0.0" -pydantic = ">=2.5.1,<3.0.0" -python-dotenv = ">=1.0.0,<2.0.0" -requests = ">=2.31.0,<3.0.0" - [[package]] name = "pandas" version = "2.0.3" @@ -672,6 +738,21 @@ files = [ [package.dependencies] typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" +[[package]] +name = "pytest-recorder" +version = "0.2.4" +description = "Pytest plugin, meant to facilitate unit tests writing for tools consumming Web APIs." +optional = false +python-versions = ">=3.8,<4.0" +files = [ + {file = "pytest_recorder-0.2.4-py3-none-any.whl", hash = "sha256:ec09c2a7e17779e98f6d7dedb6be8ad2497d15c9428d299acd63c6d14f7ad86f"}, + {file = "pytest_recorder-0.2.4.tar.gz", hash = "sha256:5a88a93644f8bcff2e8e2c6b8a829c802a325d1823e2f4b207ab69f69647aa26"}, +] + +[package.dependencies] +time-machine = ">=2.13.0,<3.0.0" +vcrpy = ">=5.1.0,<6.0.0" + [[package]] name = "python-dateutil" version = "2.8.2" @@ -746,6 +827,65 @@ files = [ {file = "pytz-2023.3.post1.tar.gz", hash = "sha256:7b4fddbeb94a1eba4b557da24f19fdf9db575192544270a9101d8509f9f43d7b"}, ] +[[package]] +name = "pyyaml" +version = "6.0.1" +description = "YAML parser and emitter for Python" +optional = false +python-versions = ">=3.6" +files = [ + {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, + {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, + {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, + {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, + {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, + {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, + {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, + {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, + {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, + {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, + {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, + {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, + {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, + {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, + {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, + {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, + {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, + {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, + {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, + {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, + {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, + {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, + {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, + {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, + {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, + {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, + {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, + {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, + {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, + {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, + {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, + {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, + {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, + {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, + {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, + {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, + {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, +] + [[package]] name = "requests" version = "2.31.0" @@ -821,6 +961,74 @@ typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\"" [package.extras] full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyaml"] +[[package]] +name = "time-machine" +version = "2.13.0" +description = "Travel through time in your tests." +optional = false +python-versions = ">=3.8" +files = [ + {file = "time_machine-2.13.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:685d98593f13649ad5e7ce3e58efe689feca1badcf618ba397d3ab877ee59326"}, + {file = "time_machine-2.13.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ccbce292380ebf63fb9a52e6b03d91677f6a003e0c11f77473efe3913a75f289"}, + {file = "time_machine-2.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:679cbf9b15bfde1654cf48124128d3fbe52f821fa158a98fcee5fe7e05db1917"}, + {file = "time_machine-2.13.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a26bdf3462d5f12a4c1009fdbe54366c6ef22c7b6f6808705b51dedaaeba8296"}, + {file = "time_machine-2.13.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dabb3b155819811b4602f7e9be936e2024e20dc99a90f103e36b45768badf9c3"}, + {file = "time_machine-2.13.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:0db97f92be3efe0ac62fd3f933c91a78438cef13f283b6dfc2ee11123bfd7d8a"}, + {file = "time_machine-2.13.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:12eed2e9171c85b703d75c985dab2ecad4fe7025b7d2f842596fce1576238ece"}, + {file = "time_machine-2.13.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bdfe4a7f033e6783c3e9a7f8d8fc0b115367330762e00a03ff35fedf663994f3"}, + {file = "time_machine-2.13.0-cp310-cp310-win32.whl", hash = "sha256:3a7a0a49ce50d9c306c4343a7d6a3baa11092d4399a4af4355c615ccc321a9d3"}, + {file = "time_machine-2.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:1812e48c6c58707db9988445a219a908a710ea065b2cc808d9a50636291f27d4"}, + {file = "time_machine-2.13.0-cp310-cp310-win_arm64.whl", hash = "sha256:5aee23cd046abf9caeddc982113e81ba9097a01f3972e9560f5ed64e3495f66d"}, + {file = "time_machine-2.13.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e9a9d150e098be3daee5c9f10859ab1bd14a61abebaed86e6d71f7f18c05b9d7"}, + {file = "time_machine-2.13.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2bd4169b808745d219a69094b3cb86006938d45e7293249694e6b7366225a186"}, + {file = "time_machine-2.13.0-cp311-cp311-macosx_13_0_arm64.whl", hash = "sha256:8d526cdcaca06a496877cfe61cc6608df2c3a6fce210e076761964ebac7f77cc"}, + {file = "time_machine-2.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cfef4ebfb4f055ce3ebc7b6c1c4d0dbfcffdca0e783ad8c6986c992915a57ed3"}, + {file = "time_machine-2.13.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9f128db8997c3339f04f7f3946dd9bb2a83d15e0a40d35529774da1e9e501511"}, + {file = "time_machine-2.13.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21bef5854d49b62e2c33848b5c3e8acf22a3b46af803ef6ff19529949cb7cf9f"}, + {file = "time_machine-2.13.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:32b71e50b07f86916ac04bd1eefc2bd2c93706b81393748b08394509ee6585dc"}, + {file = "time_machine-2.13.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1ac8ff145c63cd0dcfd9590fe694b5269aacbc130298dc7209b095d101f8cdde"}, + {file = "time_machine-2.13.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:19a3b10161c91ca8e0fd79348665cca711fd2eac6ce336ff9e6b447783817f93"}, + {file = "time_machine-2.13.0-cp311-cp311-win32.whl", hash = "sha256:5f87787d562e42bf1006a87eb689814105b98c4d5545874a281280d0f8b9a2d9"}, + {file = "time_machine-2.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:62fd14a80b8b71726e07018628daaee0a2e00937625083f96f69ed6b8e3304c0"}, + {file = "time_machine-2.13.0-cp311-cp311-win_arm64.whl", hash = "sha256:e9935aff447f5400a2665ab10ed2da972591713080e1befe1bb8954e7c0c7806"}, + {file = "time_machine-2.13.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:34dcdbbd25c1e124e17fe58050452960fd16a11f9d3476aaa87260e28ecca0fd"}, + {file = "time_machine-2.13.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e58d82fe0e59d6e096ada3281d647a2e7420f7da5453b433b43880e1c2e8e0c5"}, + {file = "time_machine-2.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71acbc1febbe87532c7355eca3308c073d6e502ee4ce272b5028967847c8e063"}, + {file = "time_machine-2.13.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dec0ec2135a4e2a59623e40c31d6e8a8ae73305ade2634380e4263d815855750"}, + {file = "time_machine-2.13.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e3a2611f8788608ebbcb060a5e36b45911bc3b8adc421b1dc29d2c81786ce4d"}, + {file = "time_machine-2.13.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:42ef5349135626ad6cd889a0a81400137e5c6928502b0817ea9e90bb10702000"}, + {file = "time_machine-2.13.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:6c16d90a597a8c2d3ce22d6be2eb3e3f14786974c11b01886e51b3cf0d5edaf7"}, + {file = "time_machine-2.13.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4f2ae8d0e359b216b695f1e7e7256f208c390db0480601a439c5dd1e1e4e16ce"}, + {file = "time_machine-2.13.0-cp312-cp312-win32.whl", hash = "sha256:f5fa9610f7e73fff42806a2ed8b06d862aa59ce4d178a52181771d6939c3e237"}, + {file = "time_machine-2.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:02b33a8c19768c94f7ffd6aa6f9f64818e88afce23250016b28583929d20fb12"}, + {file = "time_machine-2.13.0-cp312-cp312-win_arm64.whl", hash = "sha256:0cc116056a8a2a917a4eec85661dfadd411e0d8faae604ef6a0e19fe5cd57ef1"}, + {file = "time_machine-2.13.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:de01f33aa53da37530ad97dcd17e9affa25a8df4ab822506bb08101bab0c2673"}, + {file = "time_machine-2.13.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:67fa45cd813821e4f5bec0ac0820869e8e37430b15509d3f5fad74ba34b53852"}, + {file = "time_machine-2.13.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4a2d3db2c3b8e519d5ef436cd405abd33542a7b7761fb05ef5a5f782a8ce0b1"}, + {file = "time_machine-2.13.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7558622a62243be866a7e7c41da48eacd82c874b015ecf67d18ebf65ca3f7436"}, + {file = "time_machine-2.13.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab04cf4e56e1ee65bee2adaa26a04695e92eb1ed1ccc65fbdafd0d114399595a"}, + {file = "time_machine-2.13.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b0c8f24ae611a58782773af34dd356f1f26756272c04be2be7ea73b47e5da37d"}, + {file = "time_machine-2.13.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4ca20f85a973a4ca8b00cf466cd72c27ccc72372549b138fd48d7e70e5a190ab"}, + {file = "time_machine-2.13.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:9fad549521c4c13bdb1e889b2855a86ec835780d534ffd8f091c2647863243be"}, + {file = "time_machine-2.13.0-cp38-cp38-win32.whl", hash = "sha256:20205422fcf2caf9a7488394587df86e5b54fdb315c1152094fbb63eec4e9304"}, + {file = "time_machine-2.13.0-cp38-cp38-win_amd64.whl", hash = "sha256:2dc76ee55a7d915a55960a726ceaca7b9097f67e4b4e681ef89871bcf98f00be"}, + {file = "time_machine-2.13.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7693704c0f2f6b9beed912ff609781edf5fcf5d63aff30c92be4093e09d94b8e"}, + {file = "time_machine-2.13.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:918f8389de29b4f41317d121f1150176fae2cdb5fa41f68b2aee0b9dc88df5c3"}, + {file = "time_machine-2.13.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fe3fda5fa73fec74278912e438fce1612a79c36fd0cc323ea3dc2d5ce629f31"}, + {file = "time_machine-2.13.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5c6245db573863b335d9ca64b3230f623caf0988594ae554c0c794e7f80e3e66"}, + {file = "time_machine-2.13.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e433827eccd6700a34a2ab28fd9361ff6e4d4923f718d2d1dac6d1dcd9d54da6"}, + {file = "time_machine-2.13.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:924377d398b1c48e519ad86a71903f9f36117f69e68242c99fb762a2465f5ad2"}, + {file = "time_machine-2.13.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:66fb3877014dca0b9286b0f06fa74062357bd23f2d9d102d10e31e0f8fa9b324"}, + {file = "time_machine-2.13.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:0c9829b2edfcf6b5d72a6ff330d4380f36a937088314c675531b43d3423dd8af"}, + {file = "time_machine-2.13.0-cp39-cp39-win32.whl", hash = "sha256:1a22be4df364f49a507af4ac9ea38108a0105f39da3f9c60dce62d6c6ea4ccdc"}, + {file = "time_machine-2.13.0-cp39-cp39-win_amd64.whl", hash = "sha256:88601de1da06c7cab3d5ed3d5c3801ef683366e769e829e96383fdab6ae2fe42"}, + {file = "time_machine-2.13.0-cp39-cp39-win_arm64.whl", hash = "sha256:3c87856105dcb25b5bbff031d99f06ef4d1c8380d096222e1bc63b496b5258e6"}, + {file = "time_machine-2.13.0.tar.gz", hash = "sha256:c23b2408e3adcedec84ea1131e238f0124a5bc0e491f60d1137ad7239b37c01a"}, +] + +[package.dependencies] +python-dateutil = "*" + [[package]] name = "typing-extensions" version = "4.8.0" @@ -889,6 +1097,23 @@ typing-extensions = {version = ">=4.0", markers = "python_version < \"3.11\""} [package.extras] standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"] +[[package]] +name = "vcrpy" +version = "5.1.0" +description = "Automatically mock your HTTP interactions to simplify and speed up testing" +optional = false +python-versions = ">=3.8" +files = [ + {file = "vcrpy-5.1.0-py2.py3-none-any.whl", hash = "sha256:605e7b7a63dcd940db1df3ab2697ca7faf0e835c0852882142bafb19649d599e"}, + {file = "vcrpy-5.1.0.tar.gz", hash = "sha256:bbf1532f2618a04f11bce2a99af3a9647a32c880957293ff91e0a5f187b6b3d2"}, +] + +[package.dependencies] +PyYAML = "*" +urllib3 = {version = "<2", markers = "python_version < \"3.10\""} +wrapt = "*" +yarl = "*" + [[package]] name = "webencodings" version = "0.5.1" @@ -978,6 +1203,188 @@ files = [ {file = "websockets-10.4.tar.gz", hash = "sha256:eef610b23933c54d5d921c92578ae5f89813438fded840c2e9809d378dc765d3"}, ] +[[package]] +name = "wrapt" +version = "1.16.0" +description = "Module for decorators, wrappers and monkey patching." +optional = false +python-versions = ">=3.6" +files = [ + {file = "wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ffa565331890b90056c01db69c0fe634a776f8019c143a5ae265f9c6bc4bd6d4"}, + {file = "wrapt-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e4fdb9275308292e880dcbeb12546df7f3e0f96c6b41197e0cf37d2826359020"}, + {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb2dee3874a500de01c93d5c71415fcaef1d858370d405824783e7a8ef5db440"}, + {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a88e6010048489cda82b1326889ec075a8c856c2e6a256072b28eaee3ccf487"}, + {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ac83a914ebaf589b69f7d0a1277602ff494e21f4c2f743313414378f8f50a4cf"}, + {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:73aa7d98215d39b8455f103de64391cb79dfcad601701a3aa0dddacf74911d72"}, + {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:807cc8543a477ab7422f1120a217054f958a66ef7314f76dd9e77d3f02cdccd0"}, + {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bf5703fdeb350e36885f2875d853ce13172ae281c56e509f4e6eca049bdfb136"}, + {file = "wrapt-1.16.0-cp310-cp310-win32.whl", hash = "sha256:f6b2d0c6703c988d334f297aa5df18c45e97b0af3679bb75059e0e0bd8b1069d"}, + {file = "wrapt-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:decbfa2f618fa8ed81c95ee18a387ff973143c656ef800c9f24fb7e9c16054e2"}, + {file = "wrapt-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1a5db485fe2de4403f13fafdc231b0dbae5eca4359232d2efc79025527375b09"}, + {file = "wrapt-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:75ea7d0ee2a15733684badb16de6794894ed9c55aa5e9903260922f0482e687d"}, + {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a452f9ca3e3267cd4d0fcf2edd0d035b1934ac2bd7e0e57ac91ad6b95c0c6389"}, + {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:43aa59eadec7890d9958748db829df269f0368521ba6dc68cc172d5d03ed8060"}, + {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72554a23c78a8e7aa02abbd699d129eead8b147a23c56e08d08dfc29cfdddca1"}, + {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d2efee35b4b0a347e0d99d28e884dfd82797852d62fcd7ebdeee26f3ceb72cf3"}, + {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:6dcfcffe73710be01d90cae08c3e548d90932d37b39ef83969ae135d36ef3956"}, + {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:eb6e651000a19c96f452c85132811d25e9264d836951022d6e81df2fff38337d"}, + {file = "wrapt-1.16.0-cp311-cp311-win32.whl", hash = "sha256:66027d667efe95cc4fa945af59f92c5a02c6f5bb6012bff9e60542c74c75c362"}, + {file = "wrapt-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:aefbc4cb0a54f91af643660a0a150ce2c090d3652cf4052a5397fb2de549cd89"}, + {file = "wrapt-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5eb404d89131ec9b4f748fa5cfb5346802e5ee8836f57d516576e61f304f3b7b"}, + {file = "wrapt-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9090c9e676d5236a6948330e83cb89969f433b1943a558968f659ead07cb3b36"}, + {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94265b00870aa407bd0cbcfd536f17ecde43b94fb8d228560a1e9d3041462d73"}, + {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2058f813d4f2b5e3a9eb2eb3faf8f1d99b81c3e51aeda4b168406443e8ba809"}, + {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98b5e1f498a8ca1858a1cdbffb023bfd954da4e3fa2c0cb5853d40014557248b"}, + {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:14d7dc606219cdd7405133c713f2c218d4252f2a469003f8c46bb92d5d095d81"}, + {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:49aac49dc4782cb04f58986e81ea0b4768e4ff197b57324dcbd7699c5dfb40b9"}, + {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:418abb18146475c310d7a6dc71143d6f7adec5b004ac9ce08dc7a34e2babdc5c"}, + {file = "wrapt-1.16.0-cp312-cp312-win32.whl", hash = "sha256:685f568fa5e627e93f3b52fda002c7ed2fa1800b50ce51f6ed1d572d8ab3e7fc"}, + {file = "wrapt-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:dcdba5c86e368442528f7060039eda390cc4091bfd1dca41e8046af7c910dda8"}, + {file = "wrapt-1.16.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:d462f28826f4657968ae51d2181a074dfe03c200d6131690b7d65d55b0f360f8"}, + {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a33a747400b94b6d6b8a165e4480264a64a78c8a4c734b62136062e9a248dd39"}, + {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b3646eefa23daeba62643a58aac816945cadc0afaf21800a1421eeba5f6cfb9c"}, + {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ebf019be5c09d400cf7b024aa52b1f3aeebeff51550d007e92c3c1c4afc2a40"}, + {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:0d2691979e93d06a95a26257adb7bfd0c93818e89b1406f5a28f36e0d8c1e1fc"}, + {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:1acd723ee2a8826f3d53910255643e33673e1d11db84ce5880675954183ec47e"}, + {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:bc57efac2da352a51cc4658878a68d2b1b67dbe9d33c36cb826ca449d80a8465"}, + {file = "wrapt-1.16.0-cp36-cp36m-win32.whl", hash = "sha256:da4813f751142436b075ed7aa012a8778aa43a99f7b36afe9b742d3ed8bdc95e"}, + {file = "wrapt-1.16.0-cp36-cp36m-win_amd64.whl", hash = "sha256:6f6eac2360f2d543cc875a0e5efd413b6cbd483cb3ad7ebf888884a6e0d2e966"}, + {file = "wrapt-1.16.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a0ea261ce52b5952bf669684a251a66df239ec6d441ccb59ec7afa882265d593"}, + {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bd2d7ff69a2cac767fbf7a2b206add2e9a210e57947dd7ce03e25d03d2de292"}, + {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9159485323798c8dc530a224bd3ffcf76659319ccc7bbd52e01e73bd0241a0c5"}, + {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a86373cf37cd7764f2201b76496aba58a52e76dedfaa698ef9e9688bfd9e41cf"}, + {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:73870c364c11f03ed072dda68ff7aea6d2a3a5c3fe250d917a429c7432e15228"}, + {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:b935ae30c6e7400022b50f8d359c03ed233d45b725cfdd299462f41ee5ffba6f"}, + {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:db98ad84a55eb09b3c32a96c576476777e87c520a34e2519d3e59c44710c002c"}, + {file = "wrapt-1.16.0-cp37-cp37m-win32.whl", hash = "sha256:9153ed35fc5e4fa3b2fe97bddaa7cbec0ed22412b85bcdaf54aeba92ea37428c"}, + {file = "wrapt-1.16.0-cp37-cp37m-win_amd64.whl", hash = "sha256:66dfbaa7cfa3eb707bbfcd46dab2bc6207b005cbc9caa2199bcbc81d95071a00"}, + {file = "wrapt-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1dd50a2696ff89f57bd8847647a1c363b687d3d796dc30d4dd4a9d1689a706f0"}, + {file = "wrapt-1.16.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:44a2754372e32ab315734c6c73b24351d06e77ffff6ae27d2ecf14cf3d229202"}, + {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e9723528b9f787dc59168369e42ae1c3b0d3fadb2f1a71de14531d321ee05b0"}, + {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dbed418ba5c3dce92619656802cc5355cb679e58d0d89b50f116e4a9d5a9603e"}, + {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:941988b89b4fd6b41c3f0bfb20e92bd23746579736b7343283297c4c8cbae68f"}, + {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6a42cd0cfa8ffc1915aef79cb4284f6383d8a3e9dcca70c445dcfdd639d51267"}, + {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:1ca9b6085e4f866bd584fb135a041bfc32cab916e69f714a7d1d397f8c4891ca"}, + {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d5e49454f19ef621089e204f862388d29e6e8d8b162efce05208913dde5b9ad6"}, + {file = "wrapt-1.16.0-cp38-cp38-win32.whl", hash = "sha256:c31f72b1b6624c9d863fc095da460802f43a7c6868c5dda140f51da24fd47d7b"}, + {file = "wrapt-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:490b0ee15c1a55be9c1bd8609b8cecd60e325f0575fc98f50058eae366e01f41"}, + {file = "wrapt-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9b201ae332c3637a42f02d1045e1d0cccfdc41f1f2f801dafbaa7e9b4797bfc2"}, + {file = "wrapt-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2076fad65c6736184e77d7d4729b63a6d1ae0b70da4868adeec40989858eb3fb"}, + {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5cd603b575ebceca7da5a3a251e69561bec509e0b46e4993e1cac402b7247b8"}, + {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b47cfad9e9bbbed2339081f4e346c93ecd7ab504299403320bf85f7f85c7d46c"}, + {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8212564d49c50eb4565e502814f694e240c55551a5f1bc841d4fcaabb0a9b8a"}, + {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5f15814a33e42b04e3de432e573aa557f9f0f56458745c2074952f564c50e664"}, + {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:db2e408d983b0e61e238cf579c09ef7020560441906ca990fe8412153e3b291f"}, + {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:edfad1d29c73f9b863ebe7082ae9321374ccb10879eeabc84ba3b69f2579d537"}, + {file = "wrapt-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed867c42c268f876097248e05b6117a65bcd1e63b779e916fe2e33cd6fd0d3c3"}, + {file = "wrapt-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:eb1b046be06b0fce7249f1d025cd359b4b80fc1c3e24ad9eca33e0dcdb2e4a35"}, + {file = "wrapt-1.16.0-py3-none-any.whl", hash = "sha256:6906c4100a8fcbf2fa735f6059214bb13b97f75b1a61777fcf6432121ef12ef1"}, + {file = "wrapt-1.16.0.tar.gz", hash = "sha256:5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"}, +] + +[[package]] +name = "yarl" +version = "1.9.3" +description = "Yet another URL library" +optional = false +python-versions = ">=3.7" +files = [ + {file = "yarl-1.9.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:32435d134414e01d937cd9d6cc56e8413a8d4741dea36af5840c7750f04d16ab"}, + {file = "yarl-1.9.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9a5211de242754b5e612557bca701f39f8b1a9408dff73c6db623f22d20f470e"}, + {file = "yarl-1.9.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:525cd69eff44833b01f8ef39aa33a9cc53a99ff7f9d76a6ef6a9fb758f54d0ff"}, + {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc94441bcf9cb8c59f51f23193316afefbf3ff858460cb47b5758bf66a14d130"}, + {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e36021db54b8a0475805acc1d6c4bca5d9f52c3825ad29ae2d398a9d530ddb88"}, + {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e0f17d1df951336a02afc8270c03c0c6e60d1f9996fcbd43a4ce6be81de0bd9d"}, + {file = "yarl-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c5f3faeb8100a43adf3e7925d556801d14b5816a0ac9e75e22948e787feec642"}, + {file = "yarl-1.9.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:aed37db837ecb5962469fad448aaae0f0ee94ffce2062cf2eb9aed13328b5196"}, + {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:721ee3fc292f0d069a04016ef2c3a25595d48c5b8ddc6029be46f6158d129c92"}, + {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:b8bc5b87a65a4e64bc83385c05145ea901b613d0d3a434d434b55511b6ab0067"}, + {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:dd952b9c64f3b21aedd09b8fe958e4931864dba69926d8a90c90d36ac4e28c9a"}, + {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:c405d482c320a88ab53dcbd98d6d6f32ada074f2d965d6e9bf2d823158fa97de"}, + {file = "yarl-1.9.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:9df9a0d4c5624790a0dea2e02e3b1b3c69aed14bcb8650e19606d9df3719e87d"}, + {file = "yarl-1.9.3-cp310-cp310-win32.whl", hash = "sha256:d34c4f80956227f2686ddea5b3585e109c2733e2d4ef12eb1b8b4e84f09a2ab6"}, + {file = "yarl-1.9.3-cp310-cp310-win_amd64.whl", hash = "sha256:cf7a4e8de7f1092829caef66fd90eaf3710bc5efd322a816d5677b7664893c93"}, + {file = "yarl-1.9.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:d61a0ca95503867d4d627517bcfdc28a8468c3f1b0b06c626f30dd759d3999fd"}, + {file = "yarl-1.9.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:73cc83f918b69110813a7d95024266072d987b903a623ecae673d1e71579d566"}, + {file = "yarl-1.9.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d81657b23e0edb84b37167e98aefb04ae16cbc5352770057893bd222cdc6e45f"}, + {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26a1a8443091c7fbc17b84a0d9f38de34b8423b459fb853e6c8cdfab0eacf613"}, + {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fe34befb8c765b8ce562f0200afda3578f8abb159c76de3ab354c80b72244c41"}, + {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2c757f64afe53a422e45e3e399e1e3cf82b7a2f244796ce80d8ca53e16a49b9f"}, + {file = "yarl-1.9.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72a57b41a0920b9a220125081c1e191b88a4cdec13bf9d0649e382a822705c65"}, + {file = "yarl-1.9.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:632c7aeb99df718765adf58eacb9acb9cbc555e075da849c1378ef4d18bf536a"}, + {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b0b8c06afcf2bac5a50b37f64efbde978b7f9dc88842ce9729c020dc71fae4ce"}, + {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1d93461e2cf76c4796355494f15ffcb50a3c198cc2d601ad8d6a96219a10c363"}, + {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:4003f380dac50328c85e85416aca6985536812c082387255c35292cb4b41707e"}, + {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4d6d74a97e898c1c2df80339aa423234ad9ea2052f66366cef1e80448798c13d"}, + {file = "yarl-1.9.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:b61e64b06c3640feab73fa4ff9cb64bd8182de52e5dc13038e01cfe674ebc321"}, + {file = "yarl-1.9.3-cp311-cp311-win32.whl", hash = "sha256:29beac86f33d6c7ab1d79bd0213aa7aed2d2f555386856bb3056d5fdd9dab279"}, + {file = "yarl-1.9.3-cp311-cp311-win_amd64.whl", hash = "sha256:f7271d6bd8838c49ba8ae647fc06469137e1c161a7ef97d778b72904d9b68696"}, + {file = "yarl-1.9.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:dd318e6b75ca80bff0b22b302f83a8ee41c62b8ac662ddb49f67ec97e799885d"}, + {file = "yarl-1.9.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c4b1efb11a8acd13246ffb0bee888dd0e8eb057f8bf30112e3e21e421eb82d4a"}, + {file = "yarl-1.9.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c6f034386e5550b5dc8ded90b5e2ff7db21f0f5c7de37b6efc5dac046eb19c10"}, + {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cd49a908cb6d387fc26acee8b7d9fcc9bbf8e1aca890c0b2fdfd706057546080"}, + {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aa4643635f26052401750bd54db911b6342eb1a9ac3e74f0f8b58a25d61dfe41"}, + {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e741bd48e6a417bdfbae02e088f60018286d6c141639359fb8df017a3b69415a"}, + {file = "yarl-1.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7c86d0d0919952d05df880a1889a4f0aeb6868e98961c090e335671dea5c0361"}, + {file = "yarl-1.9.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3d5434b34100b504aabae75f0622ebb85defffe7b64ad8f52b8b30ec6ef6e4b9"}, + {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:79e1df60f7c2b148722fb6cafebffe1acd95fd8b5fd77795f56247edaf326752"}, + {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:44e91a669c43f03964f672c5a234ae0d7a4d49c9b85d1baa93dec28afa28ffbd"}, + {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:3cfa4dbe17b2e6fca1414e9c3bcc216f6930cb18ea7646e7d0d52792ac196808"}, + {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:88d2c3cc4b2f46d1ba73d81c51ec0e486f59cc51165ea4f789677f91a303a9a7"}, + {file = "yarl-1.9.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:cccdc02e46d2bd7cb5f38f8cc3d9db0d24951abd082b2f242c9e9f59c0ab2af3"}, + {file = "yarl-1.9.3-cp312-cp312-win32.whl", hash = "sha256:96758e56dceb8a70f8a5cff1e452daaeff07d1cc9f11e9b0c951330f0a2396a7"}, + {file = "yarl-1.9.3-cp312-cp312-win_amd64.whl", hash = "sha256:c4472fe53ebf541113e533971bd8c32728debc4c6d8cc177f2bff31d011ec17e"}, + {file = "yarl-1.9.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:126638ab961633f0940a06e1c9d59919003ef212a15869708dcb7305f91a6732"}, + {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c99ddaddb2fbe04953b84d1651149a0d85214780e4d0ee824e610ab549d98d92"}, + {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dab30b21bd6fb17c3f4684868c7e6a9e8468078db00f599fb1c14e324b10fca"}, + {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:828235a2a169160ee73a2fcfb8a000709edf09d7511fccf203465c3d5acc59e4"}, + {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc391e3941045fd0987c77484b2799adffd08e4b6735c4ee5f054366a2e1551d"}, + {file = "yarl-1.9.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:51382c72dd5377861b573bd55dcf680df54cea84147c8648b15ac507fbef984d"}, + {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:28a108cb92ce6cf867690a962372996ca332d8cda0210c5ad487fe996e76b8bb"}, + {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:8f18a7832ff85dfcd77871fe677b169b1bc60c021978c90c3bb14f727596e0ae"}, + {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:7eaf13af79950142ab2bbb8362f8d8d935be9aaf8df1df89c86c3231e4ff238a"}, + {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:66a6dbf6ca7d2db03cc61cafe1ee6be838ce0fbc97781881a22a58a7c5efef42"}, + {file = "yarl-1.9.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:1a0a4f3aaa18580038cfa52a7183c8ffbbe7d727fe581300817efc1e96d1b0e9"}, + {file = "yarl-1.9.3-cp37-cp37m-win32.whl", hash = "sha256:946db4511b2d815979d733ac6a961f47e20a29c297be0d55b6d4b77ee4b298f6"}, + {file = "yarl-1.9.3-cp37-cp37m-win_amd64.whl", hash = "sha256:2dad8166d41ebd1f76ce107cf6a31e39801aee3844a54a90af23278b072f1ccf"}, + {file = "yarl-1.9.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:bb72d2a94481e7dc7a0c522673db288f31849800d6ce2435317376a345728225"}, + {file = "yarl-1.9.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9a172c3d5447b7da1680a1a2d6ecdf6f87a319d21d52729f45ec938a7006d5d8"}, + {file = "yarl-1.9.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2dc72e891672343b99db6d497024bf8b985537ad6c393359dc5227ef653b2f17"}, + {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b8d51817cf4b8d545963ec65ff06c1b92e5765aa98831678d0e2240b6e9fd281"}, + {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:53ec65f7eee8655bebb1f6f1607760d123c3c115a324b443df4f916383482a67"}, + {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cfd77e8e5cafba3fb584e0f4b935a59216f352b73d4987be3af51f43a862c403"}, + {file = "yarl-1.9.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e73db54c967eb75037c178a54445c5a4e7461b5203b27c45ef656a81787c0c1b"}, + {file = "yarl-1.9.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:09c19e5f4404574fcfb736efecf75844ffe8610606f3fccc35a1515b8b6712c4"}, + {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6280353940f7e5e2efaaabd686193e61351e966cc02f401761c4d87f48c89ea4"}, + {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:c25ec06e4241e162f5d1f57c370f4078797ade95c9208bd0c60f484834f09c96"}, + {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:7217234b10c64b52cc39a8d82550342ae2e45be34f5bff02b890b8c452eb48d7"}, + {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:4ce77d289f8d40905c054b63f29851ecbfd026ef4ba5c371a158cfe6f623663e"}, + {file = "yarl-1.9.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5f74b015c99a5eac5ae589de27a1201418a5d9d460e89ccb3366015c6153e60a"}, + {file = "yarl-1.9.3-cp38-cp38-win32.whl", hash = "sha256:8a2538806be846ea25e90c28786136932ec385c7ff3bc1148e45125984783dc6"}, + {file = "yarl-1.9.3-cp38-cp38-win_amd64.whl", hash = "sha256:6465d36381af057d0fab4e0f24ef0e80ba61f03fe43e6eeccbe0056e74aadc70"}, + {file = "yarl-1.9.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2f3c8822bc8fb4a347a192dd6a28a25d7f0ea3262e826d7d4ef9cc99cd06d07e"}, + {file = "yarl-1.9.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b7831566595fe88ba17ea80e4b61c0eb599f84c85acaa14bf04dd90319a45b90"}, + {file = "yarl-1.9.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ff34cb09a332832d1cf38acd0f604c068665192c6107a439a92abfd8acf90fe2"}, + {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe8080b4f25dfc44a86bedd14bc4f9d469dfc6456e6f3c5d9077e81a5fedfba7"}, + {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8535e111a064f3bdd94c0ed443105934d6f005adad68dd13ce50a488a0ad1bf3"}, + {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0d155a092bf0ebf4a9f6f3b7a650dc5d9a5bbb585ef83a52ed36ba46f55cc39d"}, + {file = "yarl-1.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:778df71c8d0c8c9f1b378624b26431ca80041660d7be7c3f724b2c7a6e65d0d6"}, + {file = "yarl-1.9.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b9f9cafaf031c34d95c1528c16b2fa07b710e6056b3c4e2e34e9317072da5d1a"}, + {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ca6b66f69e30f6e180d52f14d91ac854b8119553b524e0e28d5291a724f0f423"}, + {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e0e7e83f31e23c5d00ff618045ddc5e916f9e613d33c5a5823bc0b0a0feb522f"}, + {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:af52725c7c39b0ee655befbbab5b9a1b209e01bb39128dce0db226a10014aacc"}, + {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:0ab5baaea8450f4a3e241ef17e3d129b2143e38a685036b075976b9c415ea3eb"}, + {file = "yarl-1.9.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6d350388ba1129bc867c6af1cd17da2b197dff0d2801036d2d7d83c2d771a682"}, + {file = "yarl-1.9.3-cp39-cp39-win32.whl", hash = "sha256:e2a16ef5fa2382af83bef4a18c1b3bcb4284c4732906aa69422cf09df9c59f1f"}, + {file = "yarl-1.9.3-cp39-cp39-win_amd64.whl", hash = "sha256:d92d897cb4b4bf915fbeb5e604c7911021a8456f0964f3b8ebbe7f9188b9eabb"}, + {file = "yarl-1.9.3-py3-none-any.whl", hash = "sha256:271d63396460b6607b588555ea27a1a02b717ca2e3f2cf53bdde4013d7790929"}, + {file = "yarl-1.9.3.tar.gz", hash = "sha256:4a14907b597ec55740f63e52d7fee0e9ee09d5b9d57a4f399a7423268e457b57"}, +] + +[package.dependencies] +idna = ">=2.0" +multidict = ">=4.0" + [[package]] name = "zipp" version = "3.17.0" @@ -996,4 +1403,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "d4504b3dd3be4ce89fd7a40a55b398de1dfcd3441f237a16cf42ac9e9468ebb6" +content-hash = "f3d361cb68950728a4fa1f5f7d80aebceae7b2c3d290d53ab2238e631ea98776" diff --git a/openbb_platform/platform/core/pyproject.toml b/openbb_platform/core/pyproject.toml similarity index 77% rename from openbb_platform/platform/core/pyproject.toml rename to openbb_platform/core/pyproject.toml index 7bd19a6fc0e..0b3052775e6 100644 --- a/openbb_platform/platform/core/pyproject.toml +++ b/openbb_platform/core/pyproject.toml @@ -18,7 +18,13 @@ python-jose = "^3.3.0" uuid7 = "^0.1.0" posthog = "^3.0.1" python-multipart = "^0.0.6" -openbb-provider = "^1.0.0b1" +pydantic = "^2.5.1" +requests = "^2.31.0" +importlib-metadata = "^6.8.0" +python-dotenv = "^1.0.0" + +[tool.poetry.group.dev.dependencies] +pytest-recorder = "^0.2.4" [build-system] requires = ["poetry-core"] diff --git a/openbb_platform/platform/core/tests/api/test_auth/test_user_auth.py b/openbb_platform/core/tests/api/test_auth/test_user_auth.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_auth/test_user_auth.py rename to openbb_platform/core/tests/api/test_auth/test_user_auth.py diff --git a/openbb_platform/platform/core/tests/api/test_dependency/__init__.py b/openbb_platform/core/tests/api/test_dependency/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_dependency/__init__.py rename to openbb_platform/core/tests/api/test_dependency/__init__.py diff --git a/openbb_platform/platform/core/tests/api/test_dependency/test_coverage.py b/openbb_platform/core/tests/api/test_dependency/test_coverage.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_dependency/test_coverage.py rename to openbb_platform/core/tests/api/test_dependency/test_coverage.py diff --git a/openbb_platform/platform/core/tests/api/test_dependency/test_system.py b/openbb_platform/core/tests/api/test_dependency/test_system.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_dependency/test_system.py rename to openbb_platform/core/tests/api/test_dependency/test_system.py diff --git a/openbb_platform/platform/core/tests/api/test_router/__init__.py b/openbb_platform/core/tests/api/test_router/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_router/__init__.py rename to openbb_platform/core/tests/api/test_router/__init__.py diff --git a/openbb_platform/platform/core/tests/api/test_router/test_router_coverage.py b/openbb_platform/core/tests/api/test_router/test_router_coverage.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_router/test_router_coverage.py rename to openbb_platform/core/tests/api/test_router/test_router_coverage.py diff --git a/openbb_platform/platform/core/tests/api/test_router/test_router_system.py b/openbb_platform/core/tests/api/test_router/test_router_system.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_router/test_router_system.py rename to openbb_platform/core/tests/api/test_router/test_router_system.py diff --git a/openbb_platform/platform/core/tests/api/test_router/test_router_user.py b/openbb_platform/core/tests/api/test_router/test_router_user.py similarity index 100% rename from openbb_platform/platform/core/tests/api/test_router/test_router_user.py rename to openbb_platform/core/tests/api/test_router/test_router_user.py diff --git a/openbb_platform/platform/core/tests/app/__init__.py b/openbb_platform/core/tests/app/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/__init__.py rename to openbb_platform/core/tests/app/__init__.py diff --git a/openbb_platform/platform/core/tests/app/logs/__init__.py b/openbb_platform/core/tests/app/logs/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/__init__.py rename to openbb_platform/core/tests/app/logs/__init__.py diff --git a/openbb_platform/platform/core/tests/app/logs/formatters/__init__.py b/openbb_platform/core/tests/app/logs/formatters/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/formatters/__init__.py rename to openbb_platform/core/tests/app/logs/formatters/__init__.py diff --git a/openbb_platform/platform/core/tests/app/logs/formatters/test_formatter_with_exceptions.py b/openbb_platform/core/tests/app/logs/formatters/test_formatter_with_exceptions.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/formatters/test_formatter_with_exceptions.py rename to openbb_platform/core/tests/app/logs/formatters/test_formatter_with_exceptions.py diff --git a/openbb_platform/platform/core/tests/app/logs/handlers/__init__.py b/openbb_platform/core/tests/app/logs/handlers/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/handlers/__init__.py rename to openbb_platform/core/tests/app/logs/handlers/__init__.py diff --git a/openbb_platform/platform/core/tests/app/logs/handlers/test_path_tracking_file_handler.py b/openbb_platform/core/tests/app/logs/handlers/test_path_tracking_file_handler.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/handlers/test_path_tracking_file_handler.py rename to openbb_platform/core/tests/app/logs/handlers/test_path_tracking_file_handler.py diff --git a/openbb_platform/platform/core/tests/app/logs/handlers/test_posthog_handler.py b/openbb_platform/core/tests/app/logs/handlers/test_posthog_handler.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/handlers/test_posthog_handler.py rename to openbb_platform/core/tests/app/logs/handlers/test_posthog_handler.py diff --git a/openbb_platform/platform/core/tests/app/logs/test_handlers_manager.py b/openbb_platform/core/tests/app/logs/test_handlers_manager.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/test_handlers_manager.py rename to openbb_platform/core/tests/app/logs/test_handlers_manager.py diff --git a/openbb_platform/platform/core/tests/app/logs/test_logging_service.py b/openbb_platform/core/tests/app/logs/test_logging_service.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/test_logging_service.py rename to openbb_platform/core/tests/app/logs/test_logging_service.py diff --git a/openbb_platform/platform/core/tests/app/logs/utils/__init__.py b/openbb_platform/core/tests/app/logs/utils/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/utils/__init__.py rename to openbb_platform/core/tests/app/logs/utils/__init__.py diff --git a/openbb_platform/platform/core/tests/app/logs/utils/test_expired_files.py b/openbb_platform/core/tests/app/logs/utils/test_expired_files.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/utils/test_expired_files.py rename to openbb_platform/core/tests/app/logs/utils/test_expired_files.py diff --git a/openbb_platform/platform/core/tests/app/logs/utils/test_utils.py b/openbb_platform/core/tests/app/logs/utils/test_utils.py similarity index 100% rename from openbb_platform/platform/core/tests/app/logs/utils/test_utils.py rename to openbb_platform/core/tests/app/logs/utils/test_utils.py diff --git a/openbb_platform/platform/core/tests/app/model/__init__.py b/openbb_platform/core/tests/app/model/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/__init__.py rename to openbb_platform/core/tests/app/model/__init__.py diff --git a/openbb_platform/platform/core/tests/app/model/abstract/__init__.py b/openbb_platform/core/tests/app/model/abstract/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/abstract/__init__.py rename to openbb_platform/core/tests/app/model/abstract/__init__.py diff --git a/openbb_platform/platform/core/tests/app/model/abstract/test_results.py b/openbb_platform/core/tests/app/model/abstract/test_results.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/abstract/test_results.py rename to openbb_platform/core/tests/app/model/abstract/test_results.py diff --git a/openbb_platform/platform/core/tests/app/model/abstract/test_singleton.py b/openbb_platform/core/tests/app/model/abstract/test_singleton.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/abstract/test_singleton.py rename to openbb_platform/core/tests/app/model/abstract/test_singleton.py diff --git a/openbb_platform/platform/core/tests/app/model/abstract/test_tagged.py b/openbb_platform/core/tests/app/model/abstract/test_tagged.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/abstract/test_tagged.py rename to openbb_platform/core/tests/app/model/abstract/test_tagged.py diff --git a/openbb_platform/platform/core/tests/app/model/abstract/test_warning.py b/openbb_platform/core/tests/app/model/abstract/test_warning.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/abstract/test_warning.py rename to openbb_platform/core/tests/app/model/abstract/test_warning.py diff --git a/openbb_platform/platform/core/tests/app/model/charts/__init__.py b/openbb_platform/core/tests/app/model/charts/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/charts/__init__.py rename to openbb_platform/core/tests/app/model/charts/__init__.py diff --git a/openbb_platform/platform/core/tests/app/model/charts/test_chart.py b/openbb_platform/core/tests/app/model/charts/test_chart.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/charts/test_chart.py rename to openbb_platform/core/tests/app/model/charts/test_chart.py diff --git a/openbb_platform/platform/core/tests/app/model/hub/__init__.py b/openbb_platform/core/tests/app/model/hub/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/hub/__init__.py rename to openbb_platform/core/tests/app/model/hub/__init__.py diff --git a/openbb_platform/platform/core/tests/app/model/hub/test_features_keys.py b/openbb_platform/core/tests/app/model/hub/test_features_keys.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/hub/test_features_keys.py rename to openbb_platform/core/tests/app/model/hub/test_features_keys.py diff --git a/openbb_platform/platform/core/tests/app/model/hub/test_hub_session.py b/openbb_platform/core/tests/app/model/hub/test_hub_session.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/hub/test_hub_session.py rename to openbb_platform/core/tests/app/model/hub/test_hub_session.py diff --git a/openbb_platform/platform/core/tests/app/model/hub/test_hub_user_settings.py b/openbb_platform/core/tests/app/model/hub/test_hub_user_settings.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/hub/test_hub_user_settings.py rename to openbb_platform/core/tests/app/model/hub/test_hub_user_settings.py diff --git a/openbb_platform/platform/core/tests/app/model/test_command_context.py b/openbb_platform/core/tests/app/model/test_command_context.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_command_context.py rename to openbb_platform/core/tests/app/model/test_command_context.py diff --git a/openbb_platform/platform/core/tests/app/model/test_credentials.py b/openbb_platform/core/tests/app/model/test_credentials.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_credentials.py rename to openbb_platform/core/tests/app/model/test_credentials.py diff --git a/openbb_platform/platform/core/tests/app/model/test_defaults.py b/openbb_platform/core/tests/app/model/test_defaults.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_defaults.py rename to openbb_platform/core/tests/app/model/test_defaults.py diff --git a/openbb_platform/platform/core/tests/app/model/test_metadata.py b/openbb_platform/core/tests/app/model/test_metadata.py similarity index 98% rename from openbb_platform/platform/core/tests/app/model/test_metadata.py rename to openbb_platform/core/tests/app/model/test_metadata.py index 9f6c9487a3e..9c5cd1e2f9d 100644 --- a/openbb_platform/platform/core/tests/app/model/test_metadata.py +++ b/openbb_platform/core/tests/app/model/test_metadata.py @@ -4,7 +4,7 @@ import numpy as np import pandas as pd import pytest from openbb_core.app.model.metadata import Metadata -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data def test_Metadata(): diff --git a/openbb_platform/platform/core/tests/app/model/test_obbject.py b/openbb_platform/core/tests/app/model/test_obbject.py similarity index 99% rename from openbb_platform/platform/core/tests/app/model/test_obbject.py rename to openbb_platform/core/tests/app/model/test_obbject.py index 37148b3c0af..686ac901c34 100644 --- a/openbb_platform/platform/core/tests/app/model/test_obbject.py +++ b/openbb_platform/core/tests/app/model/test_obbject.py @@ -4,7 +4,7 @@ from unittest.mock import MagicMock, patch import pandas as pd import pytest from openbb_core.app.model.obbject import Chart, OBBject, OpenBBError -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from pandas.testing import assert_frame_equal diff --git a/openbb_platform/platform/core/tests/app/model/test_preferences.py b/openbb_platform/core/tests/app/model/test_preferences.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_preferences.py rename to openbb_platform/core/tests/app/model/test_preferences.py diff --git a/openbb_platform/platform/core/tests/app/model/test_profile.py b/openbb_platform/core/tests/app/model/test_profile.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_profile.py rename to openbb_platform/core/tests/app/model/test_profile.py diff --git a/openbb_platform/platform/core/tests/app/model/test_system_settings.py b/openbb_platform/core/tests/app/model/test_system_settings.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_system_settings.py rename to openbb_platform/core/tests/app/model/test_system_settings.py diff --git a/openbb_platform/platform/core/tests/app/model/test_user_settings.py b/openbb_platform/core/tests/app/model/test_user_settings.py similarity index 100% rename from openbb_platform/platform/core/tests/app/model/test_user_settings.py rename to openbb_platform/core/tests/app/model/test_user_settings.py diff --git a/openbb_platform/platform/core/tests/app/results/__init__.py b/openbb_platform/core/tests/app/results/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/results/__init__.py rename to openbb_platform/core/tests/app/results/__init__.py diff --git a/openbb_platform/platform/core/tests/app/results/test_empty.py b/openbb_platform/core/tests/app/results/test_empty.py similarity index 100% rename from openbb_platform/platform/core/tests/app/results/test_empty.py rename to openbb_platform/core/tests/app/results/test_empty.py diff --git a/openbb_platform/platform/core/tests/app/service/__init__.py b/openbb_platform/core/tests/app/service/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/service/__init__.py rename to openbb_platform/core/tests/app/service/__init__.py diff --git a/openbb_platform/platform/core/tests/app/service/test_hub_service.py b/openbb_platform/core/tests/app/service/test_hub_service.py similarity index 100% rename from openbb_platform/platform/core/tests/app/service/test_hub_service.py rename to openbb_platform/core/tests/app/service/test_hub_service.py diff --git a/openbb_platform/platform/core/tests/app/service/test_system_service.py b/openbb_platform/core/tests/app/service/test_system_service.py similarity index 100% rename from openbb_platform/platform/core/tests/app/service/test_system_service.py rename to openbb_platform/core/tests/app/service/test_system_service.py diff --git a/openbb_platform/platform/core/tests/app/service/test_user_service.py b/openbb_platform/core/tests/app/service/test_user_service.py similarity index 100% rename from openbb_platform/platform/core/tests/app/service/test_user_service.py rename to openbb_platform/core/tests/app/service/test_user_service.py diff --git a/openbb_platform/platform/core/tests/app/static/__init__.py b/openbb_platform/core/tests/app/static/__init__.py similarity index 100% rename from openbb_platform/platform/core/tests/app/static/__init__.py rename to openbb_platform/core/tests/app/static/__init__.py diff --git a/openbb_platform/platform/core/tests/app/static/test_app_factory.py b/openbb_platform/core/tests/app/static/test_app_factory.py similarity index 100% rename from openbb_platform/platform/core/tests/app/static/test_app_factory.py rename to openbb_platform/core/tests/app/static/test_app_factory.py diff --git a/openbb_platform/platform/core/tests/app/static/test_build_utils.py b/openbb_platform/core/tests/app/static/test_build_utils.py similarity index 100% rename from openbb_platform/platform/core/tests/app/static/test_build_utils.py rename to openbb_platform/core/tests/app/static/test_build_utils.py diff --git a/openbb_platform/platform/core/tests/app/static/test_container.py b/openbb_platform/core/tests/app/static/test_container.py similarity index 100% rename from openbb_platform/platform/core/tests/app/static/test_container.py rename to openbb_platform/core/tests/app/static/test_container.py diff --git a/openbb_platform/platform/core/tests/app/static/test_coverage.py b/openbb_platform/core/tests/app/static/test_coverage.py similarity index 100% rename from openbb_platform/platform/core/tests/app/static/test_coverage.py rename to openbb_platform/core/tests/app/static/test_coverage.py diff --git a/openbb_platform/platform/core/tests/app/static/test_filters.py b/openbb_platform/core/tests/app/static/test_filters.py similarity index 97% rename from openbb_platform/platform/core/tests/app/static/test_filters.py rename to openbb_platform/core/tests/app/static/test_filters.py index 5673c5abb75..13e137a6abc 100644 --- a/openbb_platform/platform/core/tests/app/static/test_filters.py +++ b/openbb_platform/core/tests/app/static/test_filters.py @@ -4,7 +4,7 @@ import numpy as np import pandas as pd import pytest from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data def test_filter_inputs_not_df(): diff --git a/openbb_platform/platform/core/tests/app/static/test_package_builder.py b/openbb_platform/core/tests/app/static/test_package_builder.py similarity index 100% rename from openbb_platform/platform/core/tests/app/static/test_package_builder.py rename to openbb_platform/core/tests/app/static/test_package_builder.py diff --git a/openbb_platform/platform/core/tests/app/test_charting_manager.py b/openbb_platform/core/tests/app/test_charting_manager.py similarity index 100% rename from openbb_platform/platform/core/tests/app/test_charting_manager.py rename to openbb_platform/core/tests/app/test_charting_manager.py diff --git a/openbb_platform/platform/core/tests/app/test_charting_service.py b/openbb_platform/core/tests/app/test_charting_service.py similarity index 100% rename from openbb_platform/platform/core/tests/app/test_charting_service.py rename to openbb_platform/core/tests/app/test_charting_service.py diff --git a/openbb_platform/platform/core/tests/app/test_command_runner.py b/openbb_platform/core/tests/app/test_command_runner.py similarity index 100% rename from openbb_platform/platform/core/tests/app/test_command_runner.py rename to openbb_platform/core/tests/app/test_command_runner.py diff --git a/openbb_platform/platform/core/tests/app/test_platform_router.py b/openbb_platform/core/tests/app/test_platform_router.py similarity index 100% rename from openbb_platform/platform/core/tests/app/test_platform_router.py rename to openbb_platform/core/tests/app/test_platform_router.py diff --git a/openbb_platform/platform/core/tests/app/test_provider_interface.py b/openbb_platform/core/tests/app/test_provider_interface.py similarity index 100% rename from openbb_platform/platform/core/tests/app/test_provider_interface.py rename to openbb_platform/core/tests/app/test_provider_interface.py diff --git a/openbb_platform/platform/core/tests/app/test_query.py b/openbb_platform/core/tests/app/test_query.py similarity index 100% rename from openbb_platform/platform/core/tests/app/test_query.py rename to openbb_platform/core/tests/app/test_query.py diff --git a/openbb_platform/platform/core/tests/app/test_utils.py b/openbb_platform/core/tests/app/test_utils.py similarity index 98% rename from openbb_platform/platform/core/tests/app/test_utils.py rename to openbb_platform/core/tests/app/test_utils.py index 0c28fb2f608..e03bc406fef 100644 --- a/openbb_platform/platform/core/tests/app/test_utils.py +++ b/openbb_platform/core/tests/app/test_utils.py @@ -10,7 +10,7 @@ from openbb_core.app.utils import ( list_to_basemodel, ndarray_to_basemodel, ) -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data df = pd.DataFrame( { diff --git a/openbb_platform/platform/provider/tests/abstract/test_data.py b/openbb_platform/core/tests/provider/abstract/test_data.py similarity index 94% rename from openbb_platform/platform/provider/tests/abstract/test_data.py rename to openbb_platform/core/tests/provider/abstract/test_data.py index 00b15416437..488867a2697 100644 --- a/openbb_platform/platform/provider/tests/abstract/test_data.py +++ b/openbb_platform/core/tests/provider/abstract/test_data.py @@ -3,7 +3,7 @@ # pylint: disable=C2801 import pytest -from openbb_provider.abstract.data import Data, check_int +from openbb_core.provider.abstract.data import Data, check_int def test_check_int_valid(): diff --git a/openbb_platform/platform/provider/tests/abstract/test_fetcher.py b/openbb_platform/core/tests/provider/abstract/test_fetcher.py similarity index 96% rename from openbb_platform/platform/provider/tests/abstract/test_fetcher.py rename to openbb_platform/core/tests/provider/abstract/test_fetcher.py index 4a357c3c53f..aa7ab713076 100644 --- a/openbb_platform/platform/provider/tests/abstract/test_fetcher.py +++ b/openbb_platform/core/tests/provider/abstract/test_fetcher.py @@ -2,7 +2,7 @@ from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Data, Fetcher, QueryParams +from openbb_core.provider.abstract.fetcher import Data, Fetcher, QueryParams # Step 1: Create a dummy subclass of Fetcher diff --git a/openbb_platform/platform/provider/tests/abstract/test_provider.py b/openbb_platform/core/tests/provider/abstract/test_provider.py similarity index 96% rename from openbb_platform/platform/provider/tests/abstract/test_provider.py rename to openbb_platform/core/tests/provider/abstract/test_provider.py index f570012c7c8..7499ef88bb8 100644 --- a/openbb_platform/platform/provider/tests/abstract/test_provider.py +++ b/openbb_platform/core/tests/provider/abstract/test_provider.py @@ -1,6 +1,6 @@ """Test the Provider.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider def test_provider_initialization(): diff --git a/openbb_platform/platform/provider/tests/abstract/test_query_params.py b/openbb_platform/core/tests/provider/abstract/test_query_params.py similarity index 92% rename from openbb_platform/platform/provider/tests/abstract/test_query_params.py rename to openbb_platform/core/tests/provider/abstract/test_query_params.py index 5c668f200a1..753f6ea0041 100644 --- a/openbb_platform/platform/provider/tests/abstract/test_query_params.py +++ b/openbb_platform/core/tests/provider/abstract/test_query_params.py @@ -1,6 +1,6 @@ """Test QueryParams.""" -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.query_params import QueryParams def test_query_params_repr(): diff --git a/openbb_platform/platform/provider/tests/standard_models/test_standard_models.py b/openbb_platform/core/tests/provider/standard_models/test_standard_models.py similarity index 81% rename from openbb_platform/platform/provider/tests/standard_models/test_standard_models.py rename to openbb_platform/core/tests/provider/standard_models/test_standard_models.py index 424f842b91d..af2cc882d54 100644 --- a/openbb_platform/platform/provider/tests/standard_models/test_standard_models.py +++ b/openbb_platform/core/tests/provider/standard_models/test_standard_models.py @@ -6,12 +6,18 @@ from importlib import import_module from pathlib import Path import pytest -from openbb_provider.abstract.fetcher import Data, QueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.abstract.fetcher import Data, QueryParams +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) from pydantic.fields import FieldInfo models_path = ( - Path(__file__).parent.parent.parent / "openbb_provider" / "standard_models" + Path(__file__).parent.parent.parent.parent + / "openbb_core" + / "provider" + / "standard_models" ).resolve() model_files = models_path.glob("*.py") @@ -20,8 +26,9 @@ for model_file in model_files: if model_file.stem == "__init__": continue - model_module = import_module(f"openbb_provider.standard_models.{model_file.stem}") - + model_module = import_module( + f"openbb_core.provider.standard_models.{model_file.stem}" + ) for _, obj in inspect.getmembers(model_module): if inspect.isclass(obj) and ( issubclass(obj, Data) or issubclass(obj, QueryParams) @@ -49,13 +56,13 @@ def test_standard_models(standard_model): assert QUERY_DESCRIPTIONS[name] in field.description, ( f"Description for {name} is incorrect for the {standard_model.__name__}.\n" f"Please modify the description or change the field name to a non-reserved name." - f"To get a full list of reserved descriptions, navigate to openbb_provider.utils.descriptions.py" + f"To get a full list of reserved descriptions, navigate to openbb_core.provider.utils.descriptions.py" f"You can also add extra information to the existing reserved field description in your model." ) elif name in DATA_DESCRIPTIONS: assert DATA_DESCRIPTIONS[name] in field.description, ( f"Description for {name} is incorrect for the {standard_model.__name__}.\n" f"Please modify the description or change the field name to a non-reserved name." - f"To get a full list of reserved descriptions, navigate to openbb_provider.utils.descriptions.py" + f"To get a full list of reserved descriptions, navigate to openbb_core.provider.utils.descriptions.py" f"You can also add extra information to the existing reserved field description in your model." ) diff --git a/openbb_platform/platform/provider/tests/test_query_executor.py b/openbb_platform/core/tests/provider/test_query_executor.py similarity index 93% rename from openbb_platform/platform/provider/tests/test_query_executor.py rename to openbb_platform/core/tests/provider/test_query_executor.py index bdcb6696992..56c1621f936 100644 --- a/openbb_platform/platform/provider/tests/test_query_executor.py +++ b/openbb_platform/core/tests/provider/test_query_executor.py @@ -4,10 +4,10 @@ from unittest.mock import MagicMock, patch import pytest -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.abstract.provider import Provider -from openbb_provider.query_executor import QueryExecutor -from openbb_provider.utils.errors import ProviderError +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.provider import Provider +from openbb_core.provider.query_executor import QueryExecutor +from openbb_core.provider.utils.errors import ProviderError from pydantic import SecretStr diff --git a/openbb_platform/platform/provider/tests/test_registry.py b/openbb_platform/core/tests/provider/test_registry.py similarity index 86% rename from openbb_platform/platform/provider/tests/test_registry.py rename to openbb_platform/core/tests/provider/test_registry.py index 4afd3378d7f..a0e2aceaccc 100644 --- a/openbb_platform/platform/provider/tests/test_registry.py +++ b/openbb_platform/core/tests/provider/test_registry.py @@ -1,7 +1,7 @@ """Test the Registry.""" -from openbb_provider.abstract.provider import Provider -from openbb_provider.registry import Registry, RegistryLoader +from openbb_core.provider.abstract.provider import Provider +from openbb_core.provider.registry import Registry, RegistryLoader def test_registry(): diff --git a/openbb_platform/platform/provider/tests/test_registry_map.py b/openbb_platform/core/tests/provider/test_registry_map.py similarity index 94% rename from openbb_platform/platform/provider/tests/test_registry_map.py rename to openbb_platform/core/tests/provider/test_registry_map.py index 272c427958c..7444fb6c769 100644 --- a/openbb_platform/platform/provider/tests/test_registry_map.py +++ b/openbb_platform/core/tests/provider/test_registry_map.py @@ -2,7 +2,7 @@ # pylint: disable=W0621 import pytest -from openbb_provider.registry_map import RegistryMap +from openbb_core.provider.registry_map import RegistryMap @pytest.fixture diff --git a/openbb_platform/platform/provider/tests/utils/test_descriptions.py b/openbb_platform/core/tests/provider/utils/test_descriptions.py similarity index 69% rename from openbb_platform/platform/provider/tests/utils/test_descriptions.py rename to openbb_platform/core/tests/provider/utils/test_descriptions.py index 97155a8b24e..df45cee5f8a 100644 --- a/openbb_platform/platform/provider/tests/utils/test_descriptions.py +++ b/openbb_platform/core/tests/provider/utils/test_descriptions.py @@ -1,6 +1,9 @@ """Test the provider descriptions.""" -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) def test_query_descriptions(): diff --git a/openbb_platform/platform/provider/tests/utils/test_errors.py b/openbb_platform/core/tests/provider/utils/test_errors.py similarity index 93% rename from openbb_platform/platform/provider/tests/utils/test_errors.py rename to openbb_platform/core/tests/provider/utils/test_errors.py index ec370be7eaa..b9592732233 100644 --- a/openbb_platform/platform/provider/tests/utils/test_errors.py +++ b/openbb_platform/core/tests/provider/utils/test_errors.py @@ -1,7 +1,7 @@ """Test custom errors.""" import pytest -from openbb_provider.utils.errors import EmptyDataError, ProviderError +from openbb_core.provider.utils.errors import EmptyDataError, ProviderError def function_that_raises_provider_error(): diff --git a/openbb_platform/platform/provider/tests/utils/test_helpers.py b/openbb_platform/core/tests/provider/utils/test_helpers.py similarity index 97% rename from openbb_platform/platform/provider/tests/utils/test_helpers.py rename to openbb_platform/core/tests/provider/utils/test_helpers.py index 739c8a78683..52b56459850 100644 --- a/openbb_platform/platform/provider/tests/utils/test_helpers.py +++ b/openbb_platform/core/tests/provider/utils/test_helpers.py @@ -2,7 +2,7 @@ import pytest import requests -from openbb_provider.utils.helpers import ( +from openbb_core.provider.utils.helpers import ( get_querystring, get_user_agent, make_request, diff --git a/openbb_platform/dev_install.py b/openbb_platform/dev_install.py index 7335a382ca7..06a130144a5 100644 --- a/openbb_platform/dev_install.py +++ b/openbb_platform/dev_install.py @@ -15,8 +15,7 @@ LOCAL_DEPS = """ [tool.poetry.dependencies] python = ">=3.8,<3.12" openbb-devtools = { path = "./extensions/devtools", develop = true } -openbb-provider = { path = "./platform/provider", develop = true } -openbb-core = { path = "./platform/core", develop = true } +openbb-core = { path = "./core", develop = true } openbb-benzinga = { path = "./providers/benzinga", develop = true } openbb-fmp = { path = "./providers/fmp", develop = true } diff --git a/openbb_platform/extensions/charting/integration/test_charting_api.py b/openbb_platform/extensions/charting/integration/test_charting_api.py index d011a1d010e..a6f1f8d8ddd 100644 --- a/openbb_platform/extensions/charting/integration/test_charting_api.py +++ b/openbb_platform/extensions/charting/integration/test_charting_api.py @@ -4,7 +4,7 @@ import json import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") @@ -97,29 +97,6 @@ def test_chart_equity_fundamental_multiples(params, headers): assert list(chart.keys()) == ["content", "format"] -@pytest.mark.parametrize( - "params", - [({"provider": "yfinance", "symbols": "AAPL", "limit": 20, "chart": True})], -) -@pytest.mark.integration -def test_chart_equity_news(params, headers): - """Test chart equity news.""" - params = {p: v for p, v in params.items() if v} - - query_str = get_querystring(params, []) - url = f"http://0.0.0.0:8000/api/v1/equity/news?{query_str}" - result = requests.get(url, headers=headers, timeout=10) - assert isinstance(result, requests.Response) - assert result.status_code == 200 - - chart = result.json()["chart"] - fig = chart.pop("fig", {}) - - assert chart - assert not fig - assert list(chart.keys()) == ["content", "format"] - - @pytest.mark.parametrize( "params", [ diff --git a/openbb_platform/extensions/charting/integration/test_charting_python.py b/openbb_platform/extensions/charting/integration/test_charting_python.py index f3288929c5d..4e8a7ac92db 100644 --- a/openbb_platform/extensions/charting/integration/test_charting_python.py +++ b/openbb_platform/extensions/charting/integration/test_charting_python.py @@ -78,32 +78,6 @@ def test_chart_equity_fundamental_multiples(params, obb): assert isinstance(result.chart.fig, OpenBBFigure) -@pytest.mark.parametrize( - "params", - [ - ( - { - "provider": "fmp", - "symbols": "AAPL", - "limit": 20, - "chart": "True", - } - ), - ], -) -@pytest.mark.integration -def test_chart_equity_news(params, obb): - """Test chart equity news.""" - params = {p: v for p, v in params.items() if v} - - result = obb.equity.news(**params) - assert result - assert isinstance(result, OBBject) - assert len(result.results) > 0 - assert result.chart.content - assert isinstance(result.chart.fig, OpenBBFigure) - - @pytest.mark.parametrize( "params", [ diff --git a/openbb_platform/extensions/charting/openbb_charting/charting_router.py b/openbb_platform/extensions/charting/openbb_charting/charting_router.py index 8d7378f3f69..03f177fe70c 100644 --- a/openbb_platform/extensions/charting/openbb_charting/charting_router.py +++ b/openbb_platform/extensions/charting/openbb_charting/charting_router.py @@ -42,18 +42,6 @@ def equity_price_historical(**kwargs) -> Tuple[OpenBBFigure, Dict[str, Any]]: return fig, content -def equity_news(**kwargs) -> Tuple[OpenBBFigure, Dict[str, Any]]: - """Render equity news table.""" - data = basemodel_to_df(kwargs["obbject_item"], index=kwargs.get("index", "date")) - standard_params = kwargs["standard_params"].__dict__ - columnwidth = standard_params.get("columnwidth", None) - - tbl_fig = OpenBBFigureTable(tabular_data=data, columnwidth=columnwidth) - content = tbl_fig.to_table().show(external=True).to_plotly_json() - - return tbl_fig, content - - def _ta_ma(ma_type: str, **kwargs): """Plot moving average helper.""" data = basemodel_to_df(kwargs["data"], index=kwargs.get("index", "date")) diff --git a/openbb_platform/extensions/crypto/integration/test_crypto_api.py b/openbb_platform/extensions/crypto/integration/test_crypto_api.py index e5a278413a1..8ee52f8e4b6 100644 --- a/openbb_platform/extensions/crypto/integration/test_crypto_api.py +++ b/openbb_platform/extensions/crypto/integration/test_crypto_api.py @@ -4,7 +4,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring # pylint: disable=redefined-outer-name diff --git a/openbb_platform/extensions/currency/integration/test_currency_api.py b/openbb_platform/extensions/currency/integration/test_currency_api.py index 1fc98bd2c31..f868d0a6036 100644 --- a/openbb_platform/extensions/currency/integration/test_currency_api.py +++ b/openbb_platform/extensions/currency/integration/test_currency_api.py @@ -4,7 +4,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring # pylint: disable=redefined-outer-name diff --git a/openbb_platform/extensions/derivatives/integration/test_derivatives_api.py b/openbb_platform/extensions/derivatives/integration/test_derivatives_api.py index cd0aceebae7..45093aed6a5 100644 --- a/openbb_platform/extensions/derivatives/integration/test_derivatives_api.py +++ b/openbb_platform/extensions/derivatives/integration/test_derivatives_api.py @@ -2,7 +2,7 @@ import pytest import requests -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring # pylint: disable=too-many-lines,redefined-outer-name @@ -91,7 +91,7 @@ def test_derivatives_futures_historical(params, headers): @pytest.mark.parametrize( "params", [ - ({"provider": "cboe", "symbol": "VXM", "date": "2023-01-25"}), + ({"provider": "cboe", "symbol": "VX", "date": "2023-01-25"}), ({"provider": "yfinance", "symbol": "ES", "date": "2023-08-01"}), ], ) diff --git a/openbb_platform/extensions/derivatives/integration/test_derivatives_python.py b/openbb_platform/extensions/derivatives/integration/test_derivatives_python.py index e578bf1e0c9..0e03cf4cdd6 100644 --- a/openbb_platform/extensions/derivatives/integration/test_derivatives_python.py +++ b/openbb_platform/extensions/derivatives/integration/test_derivatives_python.py @@ -86,8 +86,7 @@ def test_derivatives_futures_historical(params, obb): @pytest.mark.parametrize( "params", [ - ({"symbol": "VX", "date": "2023-01-25"}), - ({"provider": "cboe", "symbol": "VXM", "date": "2023-01-25"}), + ({"symbol": "VX", "date": "2023-01-25", "provider": "cboe"}), ({"provider": "yfinance", "symbol": "ES", "date": "2023-08-01"}), ], ) diff --git a/openbb_platform/extensions/econometrics/openbb_econometrics/econometrics_router.py b/openbb_platform/extensions/econometrics/openbb_econometrics/econometrics_router.py index 73623a7d39d..071ebcca3c5 100644 --- a/openbb_platform/extensions/econometrics/openbb_econometrics/econometrics_router.py +++ b/openbb_platform/extensions/econometrics/openbb_econometrics/econometrics_router.py @@ -17,7 +17,7 @@ from linearmodels.panel import ( from openbb_core.app.model.obbject import OBBject from openbb_core.app.router import Router from openbb_core.app.utils import basemodel_to_df, get_target_column, get_target_columns -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from pydantic import PositiveInt from statsmodels.stats.diagnostic import acorr_breusch_godfrey # type: ignore from statsmodels.stats.stattools import durbin_watson # type: ignore diff --git a/openbb_platform/extensions/economy/integration/test_economy_api.py b/openbb_platform/extensions/economy/integration/test_economy_api.py index da60f85b11e..aa9a776f219 100644 --- a/openbb_platform/extensions/economy/integration/test_economy_api.py +++ b/openbb_platform/extensions/economy/integration/test_economy_api.py @@ -3,7 +3,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") diff --git a/openbb_platform/extensions/equity/integration/test_equity_api.py b/openbb_platform/extensions/equity/integration/test_equity_api.py index 098d7120f51..a512d83f06f 100644 --- a/openbb_platform/extensions/equity/integration/test_equity_api.py +++ b/openbb_platform/extensions/equity/integration/test_equity_api.py @@ -3,7 +3,7 @@ from datetime import time import pytest import requests -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring # pylint: disable=too-many-lines,redefined-outer-name @@ -267,21 +267,6 @@ def test_equity_fundamental_dividends(params, headers): assert result.status_code == 200 -@pytest.mark.parametrize( - "params", - [({"symbol": "AAPL", "limit": 50})], -) -@pytest.mark.integration -def test_equity_fundamental_earnings(params, headers): - params = {p: v for p, v in params.items() if v} - - query_str = get_querystring(params, []) - url = f"http://0.0.0.0:8000/api/v1/equity/fundamental/earnings?{query_str}" - result = requests.get(url, headers=headers, timeout=10) - assert isinstance(result, requests.Response) - assert result.status_code == 200 - - @pytest.mark.parametrize( "params", [({"symbol": "AAPL"})], @@ -890,7 +875,7 @@ def test_equity_fundamental_multiples(params, headers): ], ) @pytest.mark.integration -def test_equity_fundamental_search_financial_attributes(params, obb): +def test_equity_fundamental_search_financial_attributes(params, headers): params = {p: v for p, v in params.items() if v} query_str = get_querystring(params, []) @@ -919,7 +904,7 @@ def test_equity_fundamental_search_financial_attributes(params, obb): ], ) @pytest.mark.integration -def test_equity_fundamental_financial_attributes(params, obb): +def test_equity_fundamental_financial_attributes(params, headers): params = {p: v for p, v in params.items() if v} query_str = get_querystring(params, []) @@ -934,29 +919,6 @@ def test_equity_fundamental_financial_attributes(params, obb): [ ({"query": "AAPl", "is_symbol": True, "provider": "cboe"}), ({"query": "Apple", "provider": "sec", "use_cache": False, "is_fund": False}), - ( - { - "query": "residential", - "industry": "REIT", - "sector": "Real Estate", - "mktcap_min": None, - "mktcap_max": None, - "price_min": None, - "price_max": None, - "volume_min": None, - "volume_max": None, - "dividend_min": None, - "dividend_max": None, - "is_active": True, - "is_etf": False, - "beta_min": None, - "beta_max": None, - "country": "US", - "exchange": "nyse", - "limit": None, - "provider": "fmp", - } - ), ], ) @pytest.mark.integration @@ -1286,7 +1248,7 @@ def test_equity_shorts_short_interest(params, headers): { "symbol": "CLOV", "date": "2023-10-26", - "provider": "polygon", + "provider": "polygon", # premium endpoint "limit": 1000, "timestamp_lte": None, "timestamp_gte": None, @@ -1297,7 +1259,7 @@ def test_equity_shorts_short_interest(params, headers): ( { "symbol": "CLOV", - "provider": "polygon", + "provider": "polygon", # premium endpoint "timestamp_gt": "2023-10-26T15:20:00.000000000-04:00", "timestamp_lt": "2023-10-26T15:30:00.000000000-04:00", "limit": 5000, @@ -1332,7 +1294,12 @@ def test_equity_darkpool_otc(params, headers): query_str = get_querystring(params, []) url = f"http://0.0.0.0:8000/api/v1/equity/darkpool/otc?{query_str}" - result = requests.get(url, headers=headers, timeout=10) + + try: + result = requests.get(url, headers=headers, timeout=30) + except requests.exceptions.Timeout: + pytest.skip("Timeout: `equity/darkpool/otc` took too long to respond.") + assert isinstance(result, requests.Response) assert result.status_code == 200 @@ -1341,7 +1308,7 @@ def test_equity_darkpool_otc(params, headers): "params", [ ({"provider": "fmp", "market": "EURONEXT"}), - ({"provider": "polygon"}), + ({"provider": "polygon"}), # premium endpoint ], ) @pytest.mark.integration diff --git a/openbb_platform/extensions/equity/integration/test_equity_python.py b/openbb_platform/extensions/equity/integration/test_equity_python.py index 105dc4c3802..9402ccf22c8 100644 --- a/openbb_platform/extensions/equity/integration/test_equity_python.py +++ b/openbb_platform/extensions/equity/integration/test_equity_python.py @@ -251,20 +251,6 @@ def test_equity_fundamental_dividends(params, obb): assert len(result.results) > 0 -@pytest.mark.parametrize( - "params", - [ - ({"symbol": "AAPL", "limit": 50}), - ], -) -@pytest.mark.integration -def test_equity_fundamental_earnings(params, obb): - result = obb.equity.fundamental.earnings(**params) - assert result - assert isinstance(result, OBBject) - assert len(result.results) > 0 - - @pytest.mark.parametrize( "params", [ @@ -865,29 +851,6 @@ def test_equity_fundamental_financial_attributes(params, obb): [ ({"query": "AAPL", "is_symbol": True, "provider": "cboe"}), ({"query": "Apple", "provider": "sec", "use_cache": False, "is_fund": False}), - ( - { - "query": "residential", - "industry": "REIT", - "sector": "Real Estate", - "mktcap_min": None, - "mktcap_max": None, - "price_min": None, - "price_max": None, - "volume_min": None, - "volume_max": None, - "dividend_min": None, - "dividend_max": None, - "is_active": True, - "is_etf": False, - "beta_min": None, - "beta_max": None, - "country": "US", - "exchange": "nyse", - "limit": None, - "provider": "fmp", - } - ), ], ) @pytest.mark.integration @@ -1189,7 +1152,7 @@ def test_equity_shorts_short_interest(params, obb): { "symbol": "CLOV", "date": "2023-10-26", - "provider": "polygon", + "provider": "polygon", # premium endpoint "limit": 1000, "timestamp_lte": None, "timestamp_gte": None, @@ -1200,7 +1163,7 @@ def test_equity_shorts_short_interest(params, obb): ( { "symbol": "CLOV", - "provider": "polygon", + "provider": "polygon", # premium endpoint "timestamp_gt": "2023-10-26T15:20:00.000000000-04:00", "timestamp_lt": "2023-10-26T15:30:00.000000000-04:00", "limit": 5000, @@ -1240,7 +1203,7 @@ def test_equity_darkpool_otc(params, obb): "params", [ ({"provider": "fmp", "market": "EURONEXT"}), - ({"provider": "polygon"}), + ({"provider": "polygon"}), # premium endpoint ], ) @pytest.mark.integration diff --git a/openbb_platform/extensions/etf/integration/test_etf_api.py b/openbb_platform/extensions/etf/integration/test_etf_api.py index c600b942bd1..1825dbabbec 100644 --- a/openbb_platform/extensions/etf/integration/test_etf_api.py +++ b/openbb_platform/extensions/etf/integration/test_etf_api.py @@ -3,7 +3,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") @@ -106,8 +106,7 @@ def test_etf_sectors(params, headers): @pytest.mark.parametrize( "params", [ - ({"symbol": "IOO"}), - ({"symbol": "MISL", "cik": None, "provider": "fmp"}), + ({"symbol": "QQQ", "cik": None, "provider": "fmp"}), ], ) @pytest.mark.integration @@ -134,17 +133,9 @@ def test_etf_holdings_date(params, headers): ), ( { - "symbol": "SILJ", - "date": "2019-12-31", - "cik": None, - "provider": "fmp", - } - ), - ( - { - "symbol": "MISL", + "symbol": "VOO", "date": "2023-03-31", - "cik": "0001329377", + "cik": None, "provider": "fmp", } ), @@ -239,8 +230,8 @@ def test_etf_discovery_active(params, headers): @pytest.mark.parametrize( "params", [ - ({"symbol": "ioo"}), - ({"symbol": "silj", "provider": "fmp"}), + ({"symbol": "qqq", "provider": "fmp"}), + ({"symbol": "spy", "provider": "fmp"}), ], ) @pytest.mark.integration diff --git a/openbb_platform/extensions/etf/integration/test_etf_python.py b/openbb_platform/extensions/etf/integration/test_etf_python.py index 3571b306ed7..481b65fff24 100644 --- a/openbb_platform/extensions/etf/integration/test_etf_python.py +++ b/openbb_platform/extensions/etf/integration/test_etf_python.py @@ -100,8 +100,7 @@ def test_etf_sectors(params, obb): @pytest.mark.parametrize( "params", [ - ({"symbol": "IOO"}), - ({"symbol": "MISL", "cik": None, "provider": "fmp"}), + ({"symbol": "QQQ", "cik": None, "provider": "fmp"}), ], ) @pytest.mark.integration @@ -127,17 +126,9 @@ def test_etf_holdings_date(params, obb): ), ( { - "symbol": "SILJ", - "date": "2019-12-31", - "cik": None, - "provider": "fmp", - } - ), - ( - { - "symbol": "MISL", + "symbol": "VOO", "date": "2023-03-31", - "cik": "0001329377", + "cik": None, "provider": "fmp", } ), @@ -226,8 +217,8 @@ def test_etf_discovery_active(params, obb): @pytest.mark.parametrize( "params", [ - ({"symbol": "ioo"}), - ({"symbol": "silj", "provider": "fmp"}), + ({"symbol": "qqq", "provider": "fmp"}), + ({"symbol": "spy", "provider": "fmp"}), ], ) @pytest.mark.integration diff --git a/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py b/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py index 536c96ecfe7..30151c1411b 100644 --- a/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py +++ b/openbb_platform/extensions/fixedincome/integration/test_fixedincome_api.py @@ -3,7 +3,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring # pylint: disable=redefined-outer-name diff --git a/openbb_platform/extensions/index/integration/test_index_api.py b/openbb_platform/extensions/index/integration/test_index_api.py index f4ae2de00d1..da9bfebd25e 100644 --- a/openbb_platform/extensions/index/integration/test_index_api.py +++ b/openbb_platform/extensions/index/integration/test_index_api.py @@ -3,7 +3,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") @@ -277,7 +277,7 @@ def test_index_sp500_multiples(params, headers): "start_date": "2023-01-01", "end_date": "2023-06-06", "limit": 100, - "provider": "intrinio", + "provider": "nasdaq", } ) ], diff --git a/openbb_platform/extensions/news/integration/test_news_api.py b/openbb_platform/extensions/news/integration/test_news_api.py index a3ee8039436..3aff0a40c0a 100644 --- a/openbb_platform/extensions/news/integration/test_news_api.py +++ b/openbb_platform/extensions/news/integration/test_news_api.py @@ -1,6 +1,6 @@ import pytest import requests -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") @@ -14,22 +14,21 @@ def headers(): @pytest.mark.parametrize( "params", [ - ({"limit": 20, "provider": "benzinga"}), ( { "display": "full", - "date": "2023-01-01", + "date": None, "start_date": "2023-01-01", "end_date": "2023-06-06", - "updated_since": 1, - "published_since": 1, + "updated_since": None, + "published_since": None, "sort": "created", "order": "desc", - "isin": "US0378331005", - "cusip": "037833100", + "isin": None, + "cusip": None, "channels": "General", - "topics": "AAPL", - "authors": "Benzinga Insights", + "topics": "earnings", + "authors": None, "content_types": "headline", "provider": "benzinga", "limit": 20, @@ -132,12 +131,6 @@ def test_news_world(params, headers): "limit": 20, } ), - ( - { - "provider": "ultima", - "symbols": "AAPL,MSFT", - } - ), ( { "provider": "tiingo", diff --git a/openbb_platform/extensions/news/integration/test_news_python.py b/openbb_platform/extensions/news/integration/test_news_python.py index 4d0b523a990..9874f633b77 100644 --- a/openbb_platform/extensions/news/integration/test_news_python.py +++ b/openbb_platform/extensions/news/integration/test_news_python.py @@ -20,7 +20,6 @@ def obb(pytestconfig): # pylint: disable=inconsistent-return-statements @pytest.mark.parametrize( "params", [ - ({"limit": 20}), ( { "display": "full", @@ -81,22 +80,21 @@ def test_news_world(params, obb): @pytest.mark.parametrize( "params", [ - ({"symbols": "AAPL,MSFT", "limit": 20}), ( { "display": "full", - "date": "2023-01-01", + "date": None, "start_date": "2023-01-01", "end_date": "2023-06-06", - "updated_since": 1, - "published_since": 1, + "updated_since": None, + "published_since": None, "sort": "created", "order": "desc", - "isin": "US0378331005", - "cusip": "037833100", + "isin": None, + "cusip": None, "channels": "General", - "topics": "AAPL", - "authors": "Benzinga Insights", + "topics": "earnings", + "authors": None, "content_types": "headline", "provider": "benzinga", "symbols": "AAPL,MSFT", @@ -134,12 +132,6 @@ def test_news_world(params, obb): "limit": 20, } ), - ( - { - "provider": "ultima", - "symbols": "AAPL,MSFT", - } - ), ( { "provider": "tiingo", diff --git a/openbb_platform/extensions/quantitative/integration/test_quantitative_api.py b/openbb_platform/extensions/quantitative/integration/test_quantitative_api.py index 09a3d7c213f..d945ef62928 100644 --- a/openbb_platform/extensions/quantitative/integration/test_quantitative_api.py +++ b/openbb_platform/extensions/quantitative/integration/test_quantitative_api.py @@ -6,7 +6,7 @@ from typing import Literal import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring # pylint:disable=redefined-outer-name diff --git a/openbb_platform/extensions/quantitative/openbb_quantitative/quantitative_router.py b/openbb_platform/extensions/quantitative/openbb_quantitative/quantitative_router.py index 29c99754b61..c30f9bf92e6 100644 --- a/openbb_platform/extensions/quantitative/openbb_quantitative/quantitative_router.py +++ b/openbb_platform/extensions/quantitative/openbb_quantitative/quantitative_router.py @@ -11,7 +11,7 @@ from openbb_core.app.utils import ( get_target_column, get_target_columns, ) -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from pydantic import NonNegativeFloat, PositiveInt from .helpers import get_fama_raw diff --git a/openbb_platform/extensions/regulators/integration/test_regulators_api.py b/openbb_platform/extensions/regulators/integration/test_regulators_api.py index dc7a0bdf210..d2143643501 100644 --- a/openbb_platform/extensions/regulators/integration/test_regulators_api.py +++ b/openbb_platform/extensions/regulators/integration/test_regulators_api.py @@ -3,7 +3,7 @@ import base64 import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") diff --git a/openbb_platform/extensions/technical/integration/test_technical_api.py b/openbb_platform/extensions/technical/integration/test_technical_api.py index 0ff7179cb57..efa10e7d309 100644 --- a/openbb_platform/extensions/technical/integration/test_technical_api.py +++ b/openbb_platform/extensions/technical/integration/test_technical_api.py @@ -6,7 +6,7 @@ from typing import Literal import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring data: dict = {} diff --git a/openbb_platform/extensions/technical/openbb_technical/technical_router.py b/openbb_platform/extensions/technical/openbb_technical/technical_router.py index 58c019adee8..e46d70a08fa 100644 --- a/openbb_platform/extensions/technical/openbb_technical/technical_router.py +++ b/openbb_platform/extensions/technical/openbb_technical/technical_router.py @@ -11,7 +11,7 @@ from openbb_core.app.utils import ( get_target_column, get_target_columns, ) -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from pydantic import NonNegativeFloat, NonNegativeInt, PositiveFloat, PositiveInt from . import helpers diff --git a/openbb_platform/extensions/tests/utils/integration_tests_api_generator.py b/openbb_platform/extensions/tests/utils/integration_tests_api_generator.py index 1a175e99287..0516eec2853 100644 --- a/openbb_platform/extensions/tests/utils/integration_tests_api_generator.py +++ b/openbb_platform/extensions/tests/utils/integration_tests_api_generator.py @@ -33,7 +33,7 @@ def write_init_test_template(http_method: str, path: str): import pytest import requests from openbb_core.env import Env -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring @pytest.fixture(scope="session") diff --git a/openbb_platform/openbb/package/crypto.py b/openbb_platform/openbb/package/crypto.py index d36208ea926..0e1fbc520dc 100644 --- a/openbb_platform/openbb/package/crypto.py +++ b/openbb_platform/openbb/package/crypto.py @@ -7,7 +7,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/crypto_price.py b/openbb_platform/openbb/package/crypto_price.py index 1e44d206308..3ec45e122a3 100644 --- a/openbb_platform/openbb/package/crypto_price.py +++ b/openbb_platform/openbb/package/crypto_price.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/currency.py b/openbb_platform/openbb/package/currency.py index af739a0b6a9..a1c42cc0143 100644 --- a/openbb_platform/openbb/package/currency.py +++ b/openbb_platform/openbb/package/currency.py @@ -6,7 +6,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data class ROUTER_currency(Container): diff --git a/openbb_platform/openbb/package/currency_price.py b/openbb_platform/openbb/package/currency_price.py index 120d0b67ac3..05149045284 100644 --- a/openbb_platform/openbb/package/currency_price.py +++ b/openbb_platform/openbb/package/currency_price.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/economy.py b/openbb_platform/openbb/package/economy.py index 973ce79b0b2..3701b4b7d21 100644 --- a/openbb_platform/openbb/package/economy.py +++ b/openbb_platform/openbb/package/economy.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/economy_gdp.py b/openbb_platform/openbb/package/economy_gdp.py index cbf4e2159db..91b0a68d28b 100644 --- a/openbb_platform/openbb/package/economy_gdp.py +++ b/openbb_platform/openbb/package/economy_gdp.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity.py b/openbb_platform/openbb/package/equity.py index f67f9ee0210..a1bec3edc85 100644 --- a/openbb_platform/openbb/package/equity.py +++ b/openbb_platform/openbb/package/equity.py @@ -7,7 +7,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_calendar.py b/openbb_platform/openbb/package/equity_calendar.py index bd8572fcac2..19fa7a0c008 100644 --- a/openbb_platform/openbb/package/equity_calendar.py +++ b/openbb_platform/openbb/package/equity_calendar.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_compare.py b/openbb_platform/openbb/package/equity_compare.py index a6eb8b3e741..de0cfdefe63 100644 --- a/openbb_platform/openbb/package/equity_compare.py +++ b/openbb_platform/openbb/package/equity_compare.py @@ -7,7 +7,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_darkpool.py b/openbb_platform/openbb/package/equity_darkpool.py new file mode 100644 index 00000000000..703eef87f59 --- /dev/null +++ b/openbb_platform/openbb/package/equity_darkpool.py @@ -0,0 +1,94 @@ +### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ### + +from typing import List, Literal, Optional, Union + +from openbb_core.app.model.custom_parameter import OpenBBCustomParameter +from openbb_core.app.model.obbject import OBBject +from openbb_core.app.static.container import Container +from openbb_core.app.static.decorators import validate +from openbb_core.app.static.filters import filter_inputs +from openbb_core.provider.abstract.data import Data +from typing_extensions import Annotated + + +class ROUTER_equity_darkpool(Container): + """/equity/darkpool + otc + """ + + def __repr__(self) -> str: + return self.__doc__ or "" + + @validate + def otc( + self, + symbol: Annotated[ + Union[str, List[str]], + OpenBBCustomParameter(description="Symbol to get data for."), + ] = None, + provider: Optional[Literal["finra"]] = None, + **kwargs + ) -> OBBject[List[Data]]: + """Weekly aggregate trade data for Over The Counter deals. + + ATS and non-ATS trading data for each ATS/firm + with trade reporting obligations under FINRA rules. + + + Parameters + ---------- + symbol : str + Symbol to get data for. + provider : Optional[Literal['finra']] + The provider to use for the query, by default None. + If None, the provider specified in defaults is selected or 'finra' if there is + no default. + tier : Literal['T1', 'T2', 'OTCE'] + "T1 - Securities included in the S&P 500, Russell 1000 and selected exchange-traded products; + T2 - All other NMS stocks; OTC - Over-the-Counter equity securities (provider: finra) + is_ats : bool + ATS data if true, NON-ATS otherwise (provider: finra) + + Returns + ------- + OBBject + results : List[OTCAggregate] + Serializable results. + provider : Optional[Literal['finra']] + Provider name. + warnings : Optional[List[Warning_]] + List of warnings. + chart : Optional[Chart] + Chart object. + extra: Dict[str, Any] + Extra info. + + OTCAggregate + ------------ + update_date : date + Most recent date on which total trades is updated based on data received from each ATS/OTC. + share_quantity : float + Aggregate weekly total number of shares reported by each ATS for the Symbol. + trade_quantity : float + Aggregate weekly total number of trades reported by each ATS for the Symbol + + Example + ------- + >>> from openbb import obb + >>> obb.equity.darkpool.otc(symbol="AAPL") + """ # noqa: E501 + + inputs = filter_inputs( + provider_choices={ + "provider": provider, + }, + standard_params={ + "symbol": ",".join(symbol) if isinstance(symbol, list) else symbol, + }, + extra_params=kwargs, + ) + + return self._run( + "/equity/darkpool/otc", + **inputs, + ) diff --git a/openbb_platform/openbb/package/equity_discovery.py b/openbb_platform/openbb/package/equity_discovery.py index b9ad5f72c1f..5b0075d2396 100644 --- a/openbb_platform/openbb/package/equity_discovery.py +++ b/openbb_platform/openbb/package/equity_discovery.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_estimates.py b/openbb_platform/openbb/package/equity_estimates.py index cb6f9a9318e..79c73609b60 100644 --- a/openbb_platform/openbb/package/equity_estimates.py +++ b/openbb_platform/openbb/package/equity_estimates.py @@ -7,7 +7,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_fundamental.py b/openbb_platform/openbb/package/equity_fundamental.py index e2aabdaaa2f..40b0b5a998c 100644 --- a/openbb_platform/openbb/package/equity_fundamental.py +++ b/openbb_platform/openbb/package/equity_fundamental.py @@ -9,7 +9,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated @@ -36,6 +36,7 @@ class ROUTER_equity_fundamental(Container): revenue_per_geography revenue_per_segment search_financial_attributes + trailing_dividend_yield transcript """ @@ -57,7 +58,7 @@ class ROUTER_equity_fundamental(Container): Optional[Annotated[int, Ge(ge=0)]], OpenBBCustomParameter(description="The number of data entries to return."), ] = 5, - provider: Optional[Literal["fmp", "intrinio", "polygon"]] = None, + provider: Optional[Literal["fmp", "intrinio", "polygon", "yfinance"]] = None, **kwargs ) -> OBBject[List[Data]]: """Balance Sheet. Balance sheet statement. @@ -70,7 +71,7 @@ class ROUTER_equity_fundamental(Container): Time period of the data to return. limit : Optional[Annotated[int, Ge(ge=0)]] The number of data entries to return. - provider : Optional[Literal['fmp', 'intrinio', 'polygon']] + provider : Optional[Literal['fmp', 'intrinio', 'polygon', 'yfinance']] The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default. @@ -108,7 +109,7 @@ class ROUTER_equity_fundamental(Container): OBBject results : List[BalanceSheet] Serializable results. - provider : Optional[Literal['fmp', 'intrinio', 'polygon']] + provider : Optional[Literal['fmp', 'intrinio', 'polygon', 'yfinance']] Provider name. warnings : Optional[List[Warning_]] List of warnings. @@ -422,7 +423,7 @@ class ROUTER_equity_fundamental(Container): Optional[Annotated[int, Ge(ge=0)]], OpenBBCustomParameter(description="The number of data entries to return."), ] = 5, - provider: Optional[Literal["fmp", "intrinio", "polygon"]] = None, + provider: Optional[Literal["fmp", "intrinio", "polygon", "yfinance"]] = None, **kwargs ) -> OBBject[List[Data]]: """Cash Flow Statement. Information about the cash flow statement. @@ -435,7 +436,7 @@ class ROUTER_equity_fundamental(Container): Time period of the data to return. limit : Optional[Annotated[int, Ge(ge=0)]] The number of data entries to return. - provider : Optional[Literal['fmp', 'intrinio', 'polygon']] + provider : Optional[Literal['fmp', 'intrinio', 'polygon', 'yfinance']] The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default. @@ -473,7 +474,7 @@ class ROUTER_equity_fundamental(Container): OBBject results : List[CashFlowStatement] Serializable results. - provider : Optional[Literal['fmp', 'intrinio', 'polygon']] + provider : Optional[Literal['fmp', 'intrinio', 'polygon', 'yfinance']] Provider name. warnings : Optional[List[Warning_]] List of warnings. @@ -1278,7 +1279,7 @@ class ROUTER_equity_fundamental(Container): Optional[Annotated[int, Ge(ge=0)]], OpenBBCustomParameter(description="The number of data entries to return."), ] = 5, - provider: Optional[Literal["fmp", "intrinio", "polygon"]] = None, + provider: Optional[Literal["fmp", "intrinio", "polygon", "yfinance"]] = None, **kwargs ) -> OBBject[List[Data]]: """Income Statement. Report on a company's financial performance. @@ -1291,7 +1292,7 @@ class ROUTER_equity_fundamental(Container): Time period of the data to return. limit : Optional[Annotated[int, Ge(ge=0)]] The number of data entries to return. - provider : Optional[Literal['fmp', 'intrinio', 'polygon']] + provider : Optional[Literal['fmp', 'intrinio', 'polygon', 'yfinance']] The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default. @@ -1329,7 +1330,7 @@ class ROUTER_equity_fundamental(Container): OBBject results : List[IncomeStatement] Serializable results. - provider : Optional[Literal['fmp', 'intrinio', 'polygon']] + provider : Optional[Literal['fmp', 'intrinio', 'polygon', 'yfinance']] Provider name. warnings : Optional[List[Warning_]] List of warnings. @@ -1957,6 +1958,7 @@ class ROUTER_equity_fundamental(Container): Optional[int], OpenBBCustomParameter(description="The number of data entries to return."), ] = 100, + chart: bool = False, provider: Optional[Literal["fmp"]] = None, **kwargs ) -> OBBject[List[Data]]: @@ -1968,6 +1970,8 @@ class ROUTER_equity_fundamental(Container): Symbol to get data for. limit : Optional[int] The number of data entries to return. + chart : bool + Whether to create a chart or not, by default False. provider : Optional[Literal['fmp']] The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is @@ -2125,6 +2129,7 @@ class ROUTER_equity_fundamental(Container): "limit": limit, }, extra_params=kwargs, + chart=chart, ) return self._run( @@ -2703,6 +2708,69 @@ class ROUTER_equity_fundamental(Container): **inputs, ) + @validate + def trailing_dividend_yield( + self, + symbol: Annotated[ + Union[str, List[str]], + OpenBBCustomParameter(description="Symbol to get data for."), + ] = None, + provider: Optional[Literal["tiingo"]] = None, + **kwargs + ) -> OBBject[List[Data]]: + """Trailing 1yr dividend yield. + + Parameters + ---------- + symbol : str + Symbol to get data for. + provider : Optional[Literal['tiingo']] + The provider to use for the query, by default None. + If None, the provider specified in defaults is selected or 'tiingo' if there is + no default. + + Returns + ------- + OBBject + results : List[TrailingDividendYield] + Serializable results. + provider : Optional[Literal['tiingo']] + Provider name. + warnings : Optional[List[Warning_]] + List of warnings. + chart : Optional[Chart] + Chart object. + extra: Dict[str, Any] + Extra info. + + TrailingDividendYield + --------------------- + date : date + The date of the data. + trailing_dividend_yield : float + Trailing dividend yield. + + Example + ------- + >>> from openbb import obb + >>> obb.equity.fundamental.trailing_dividend_yield(symbol="AAPL") + """ # noqa: E501 + + inputs = filter_inputs( + provider_choices={ + "provider": provider, + }, + standard_params={ + "symbol": ",".join(symbol) if isinstance(symbol, list) else symbol, + }, + extra_params=kwargs, + ) + + return self._run( + "/equity/fundamental/trailing_dividend_yield", + **inputs, + ) + @validate def transcript( self, diff --git a/openbb_platform/openbb/package/equity_ownership.py b/openbb_platform/openbb/package/equity_ownership.py index 45a211ee020..5d4d229df9d 100644 --- a/openbb_platform/openbb/package/equity_ownership.py +++ b/openbb_platform/openbb/package/equity_ownership.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_price.py b/openbb_platform/openbb/package/equity_price.py index 45d6399b0ca..4c55770f0c2 100644 --- a/openbb_platform/openbb/package/equity_price.py +++ b/openbb_platform/openbb/package/equity_price.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/equity_shorts.py b/openbb_platform/openbb/package/equity_shorts.py index b4ab6d82372..9fb98bb4d5c 100644 --- a/openbb_platform/openbb/package/equity_shorts.py +++ b/openbb_platform/openbb/package/equity_shorts.py @@ -7,13 +7,15 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated class ROUTER_equity_shorts(Container): """/equity/shorts fails_to_deliver + short_interest + short_volume """ def __repr__(self) -> str: @@ -98,3 +100,155 @@ class ROUTER_equity_shorts(Container): "/equity/shorts/fails_to_deliver", **inputs, ) + + @validate + def short_interest( + self, + symbol: Annotated[ + Union[str, List[str]], + OpenBBCustomParameter(description="Symbol to get data for."), + ] = None, + provider: Optional[Literal["finra"]] = None, + **kwargs + ) -> OBBject[List[Data]]: + """Get reported Short Volume and Days to Cover data. + + Parameters + ---------- + symbol : str + Symbol to get data for. + provider : Optional[Literal['finra']] + The provider to use for the query, by default None. + If None, the provider specified in defaults is selected or 'finra' if there is + no default. + + Returns + ------- + OBBject + results : List[EquityShortInterest] + Serializable results. + provider : Optional[Literal['finra']] + Provider name. + warnings : Optional[List[Warning_]] + List of warnings. + chart : Optional[Chart] + Chart object. + extra: Dict[str, Any] + Extra info. + + EquityShortInterest + ------------------- + settlement_date : date + The mid-month short interest report is based on short positions held by members on the settlement date of the 15th of each month. If the 15th falls on a weekend or another non-settlement date, the designated settlement date will be the previous business day on which transactions settled. The end-of-month short interest report is based on short positions held on the last business day of the month on which transactions settle. Once the short position reports are received, the short interest data is compiled for each equity security and provided for publication on the 7th business day after the reporting settlement date. + symbol : str + Symbol representing the entity requested in the data. + issue_name : str + Unique identifier of the issue. + market_class : str + Primary listing market. + current_short_position : float + The total number of shares in the issue that are reflected on the books and records of the reporting firms as short as defined by Rule 200 of Regulation SHO as of the current cycle’s designated settlement date. + previous_short_position : float + The total number of shares in the issue that are reflected on the books and records of the reporting firms as short as defined by Rule 200 of Regulation SHO as of the previous cycle’s designated settlement date. + avg_daily_volume : float + Total Volume or Adjusted Volume in case of splits / Total trade days between (previous settlement date + 1) to (current settlement date). The NULL values are translated as zero. + days_to_cover : float + The number of days of average share volume it would require to buy all of the shares that were sold short during the reporting cycle. Formula: Short Interest / Average Daily Share Volume, Rounded to Hundredths. 1.00 will be displayed for any values equal or less than 1 (i.e., Average Daily Share is equal to or greater than Short Interest). N/A will be displayed If the days to cover is Zero (i.e., Average Daily Share Volume is Zero). + change : float + Change in Shares Short from Previous Cycle: Difference in short interest between the current cycle and the previous cycle. + change_pct : float + Change in Shares Short from Previous Cycle as a percent. + + Example + ------- + >>> from openbb import obb + >>> obb.equity.shorts.short_interest(symbol="AAPL") + """ # noqa: E501 + + inputs = filter_inputs( + provider_choices={ + "provider": provider, + }, + standard_params={ + "symbol": ",".join(symbol) if isinstance(symbol, list) else symbol, + }, + extra_params=kwargs, + ) + + return self._run( + "/equity/shorts/short_interest", + **inputs, + ) + + @validate + def short_volume( + self, + symbol: Annotated[ + Union[str, List[str]], + OpenBBCustomParameter(description="Symbol to get data for."), + ] = None, + provider: Optional[Literal["stockgrid"]] = None, + **kwargs + ) -> OBBject[List[Data]]: + """Get reported Fail-to-deliver (FTD) data. + + Parameters + ---------- + symbol : str + Symbol to get data for. + provider : Optional[Literal['stockgrid']] + The provider to use for the query, by default None. + If None, the provider specified in defaults is selected or 'stockgrid' if there is + no default. + + Returns + ------- + OBBject + results : List[ShortVolume] + Serializable results. + provider : Optional[Literal['stockgrid']] + Provider name. + warnings : Optional[List[Warning_]] + List of warnings. + chart : Optional[Chart] + Chart object. + extra: Dict[str, Any] + Extra info. + + ShortVolume + ----------- + date : Optional[date] + The date of the data. + market : Optional[str] + Reporting Facility ID. N=NYSE TRF, Q=NASDAQ TRF Carteret, B=NASDAQ TRY Chicago, D=FINRA ADF + short_volume : Optional[int] + Aggregate reported share volume of executed short sale and short sale exempt trades during regular trading hours + short_exempt_volume : Optional[int] + Aggregate reported share volume of executed short sale exempt trades during regular trading hours + total_volume : Optional[int] + Aggregate reported share volume of executed trades during regular trading hours + close : Optional[float] + Closing price of the stock on the date. (provider: stockgrid) + short_volume_percent : Optional[float] + Percentage of the total volume that was short volume. (provider: stockgrid) + + Example + ------- + >>> from openbb import obb + >>> obb.equity.shorts.short_volume(symbol="AAPL") + """ # noqa: E501 + + inputs = filter_inputs( + provider_choices={ + "provider": provider, + }, + standard_params={ + "symbol": ",".join(symbol) if isinstance(symbol, list) else symbol, + }, + extra_params=kwargs, + ) + + return self._run( + "/equity/shorts/short_volume", + **inputs, + ) diff --git a/openbb_platform/openbb/package/etf.py b/openbb_platform/openbb/package/etf.py index b103b2d4971..3fa06a8a8d8 100644 --- a/openbb_platform/openbb/package/etf.py +++ b/openbb_platform/openbb/package/etf.py @@ -1,5 +1,6 @@ ### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ### +import datetime from typing import List, Literal, Optional, Union from openbb_core.app.model.custom_parameter import OpenBBCustomParameter @@ -7,13 +8,15 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated class ROUTER_etf(Container): """/etf countries + /discovery + historical holdings holdings_date holdings_performance @@ -69,7 +72,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.etf.countries(symbol="AAPL") + >>> obb.etf.countries(symbol="SPY") """ # noqa: E501 inputs = filter_inputs( @@ -87,6 +90,103 @@ class ROUTER_etf(Container): **inputs, ) + @property + def discovery(self): # route = "/etf/discovery" + from . import etf_discovery + + return etf_discovery.ROUTER_etf_discovery(command_runner=self._command_runner) + + @validate + def historical( + self, + symbol: Annotated[ + Union[str, List[str]], + OpenBBCustomParameter(description="Symbol to get data for. (ETF)"), + ], + start_date: Annotated[ + Union[datetime.date, None, str], + OpenBBCustomParameter( + description="Start date of the data, in YYYY-MM-DD format." + ), + ] = None, + end_date: Annotated[ + Union[datetime.date, None, str], + OpenBBCustomParameter( + description="End date of the data, in YYYY-MM-DD format." + ), + ] = None, + provider: Optional[Literal["yfinance"]] = None, + **kwargs + ) -> OBBject[List[Data]]: + """ETF Historical Market Price. + + Parameters + ---------- + symbol : str + Symbol to get data for. (ETF) + start_date : Optional[datetime.date] + Start date of the data, in YYYY-MM-DD format. + end_date : Optional[datetime.date] + End date of the data, in YYYY-MM-DD format. + provider : Optional[Literal['yfinance']] + The provider to use for the query, by default None. + If None, the provider specified in defaults is selected or 'yfinance' if there is + no default. + + Returns + ------- + OBBject + results : List[EtfHistorical] + Serializable results. + provider : Optional[Literal['yfinance']] + Provider name. + warnings : Optional[List[Warning_]] + List of warnings. + chart : Optional[Chart] + Chart object. + extra: Dict[str, Any] + Extra info. + + EtfHistorical + ------------- + date : date + The date of the data. + open : float + The open price. + high : float + The high price. + low : float + The low price. + close : float + The close price. + volume : Optional[Annotated[int, Ge(ge=0)]] + The trading volume. + adj_close : Optional[float] + The adjusted closing price of the ETF. (provider: yfinance) + + Example + ------- + >>> from openbb import obb + >>> obb.etf.historical(symbol="SPY") + """ # noqa: E501 + + inputs = filter_inputs( + provider_choices={ + "provider": provider, + }, + standard_params={ + "symbol": ",".join(symbol) if isinstance(symbol, list) else symbol, + "start_date": start_date, + "end_date": end_date, + }, + extra_params=kwargs, + ) + + return self._run( + "/etf/historical", + **inputs, + ) + @validate def holdings( self, @@ -176,7 +276,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.etf.holdings(symbol="AAPL") + >>> obb.etf.holdings(symbol="SPY", date="2021-03-31") """ # noqa: E501 inputs = filter_inputs( @@ -239,7 +339,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.etf.holdings_date(symbol="AAPL") + >>> obb.etf.holdings_date(symbol="SPY") """ # noqa: E501 inputs = filter_inputs( @@ -328,7 +428,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.etf.holdings_performance(symbol="AAPL") + >>> obb.etf.holdings_performance(symbol="SPY") """ # noqa: E501 inputs = filter_inputs( @@ -419,7 +519,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.etf.info(symbol="AAPL") + >>> obb.etf.info(symbol="SPY") """ # noqa: E501 inputs = filter_inputs( @@ -508,7 +608,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.equity.price.performance(symbol="AAPL") + >>> obb.equity.price.performance(symbol="SPY") """ # noqa: E501 inputs = filter_inputs( @@ -662,7 +762,7 @@ class ROUTER_etf(Container): Example ------- >>> from openbb import obb - >>> obb.etf.sectors(symbol="AAPL") + >>> obb.etf.sectors(symbol="SPY") """ # noqa: E501 inputs = filter_inputs( diff --git a/openbb_platform/openbb/package/fixedincome.py b/openbb_platform/openbb/package/fixedincome.py index 79c0bffe3fb..0f8be6b74c6 100644 --- a/openbb_platform/openbb/package/fixedincome.py +++ b/openbb_platform/openbb/package/fixedincome.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/fixedincome_corporate.py b/openbb_platform/openbb/package/fixedincome_corporate.py index 7ae45bd764b..23998d072c6 100644 --- a/openbb_platform/openbb/package/fixedincome_corporate.py +++ b/openbb_platform/openbb/package/fixedincome_corporate.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/fixedincome_government.py b/openbb_platform/openbb/package/fixedincome_government.py index 36d0aff16c6..e811936f4b7 100644 --- a/openbb_platform/openbb/package/fixedincome_government.py +++ b/openbb_platform/openbb/package/fixedincome_government.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/fixedincome_rate.py b/openbb_platform/openbb/package/fixedincome_rate.py index 0ef5f6906bd..1649130c159 100644 --- a/openbb_platform/openbb/package/fixedincome_rate.py +++ b/openbb_platform/openbb/package/fixedincome_rate.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/fixedincome_spreads.py b/openbb_platform/openbb/package/fixedincome_spreads.py index 32876a66e20..ecab218f818 100644 --- a/openbb_platform/openbb/package/fixedincome_spreads.py +++ b/openbb_platform/openbb/package/fixedincome_spreads.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/index.py b/openbb_platform/openbb/package/index.py index 78f32974218..993025ba449 100644 --- a/openbb_platform/openbb/package/index.py +++ b/openbb_platform/openbb/package/index.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/news.py b/openbb_platform/openbb/package/news.py index 6a2fa065ad8..b7f885c4138 100644 --- a/openbb_platform/openbb/package/news.py +++ b/openbb_platform/openbb/package/news.py @@ -8,7 +8,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated diff --git a/openbb_platform/openbb/package/regulators_sec.py b/openbb_platform/openbb/package/regulators_sec.py index aa42b930aca..e9a24b723a7 100644 --- a/openbb_platform/openbb/package/regulators_sec.py +++ b/openbb_platform/openbb/package/regulators_sec.py @@ -7,7 +7,7 @@ from openbb_core.app.model.obbject import OBBject from openbb_core.app.static.container import Container from openbb_core.app.static.decorators import validate from openbb_core.app.static.filters import filter_inputs -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from typing_extensions import Annotated @@ -479,7 +479,7 @@ class ROUTER_regulators_sec(Container): Example ------- >>> from openbb import obb - >>> obb.regulators.sec.symbol_map() + >>> obb.regulators.sec.symbol_map(query="320193") """ # noqa: E501 inputs = filter_inputs( diff --git a/openbb_platform/platform/provider/README.md b/openbb_platform/platform/provider/README.md deleted file mode 100644 index e4644e42b5a..00000000000 --- a/openbb_platform/platform/provider/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# Table of contents - -- [Table of contents](#table-of-contents) - - [Provider](#provider) - - [What is Data Standardization?](#what-is-data-standardization) - - [Key Elements](#key-elements) - - [Installation](#installation) - -## Provider - -The OpenBB Provider aims to give a coherent access to financial data providers by introducing standardization procedures. - -## What is Data Standardization? - -It's like teaching everyone to speak the same language with their data so we can understand and compare it easily. - -**Think of it as a part of**: - -Data normalization, a bigger way of organizing data. - -**What We Do**: - -- **Match Column Names and Formats**: Like making sure everyone calls a "closing price" the same thing. - -- **For instance**: Some might say "Close", others might say "c". We make sure everyone uses one term. -**Unify Date and Time Styles**: Like having everyone use the same calendar format. - -**Example**: Whether it's "YYYY-MM-DD" or "MM-DD-YYYY", we pick one style for everyone. - -**What We Don’t Do**: - -- **Cleaning Data**: We don't act like data detectives and remove mistakes from what providers give us. - -- **Change & Combine Data**: Tweaking data or mixing data from different places. - -## Key Elements - -- **QueryParams** : The input model for a particular query. To load equity market data, we would have `EquityPriceQueryParams`, which would have fields like `symbol`, `start_date`, and `end_date`. You can find the standard query params inside the `standard_models` directory. -- **Data** : The output model of a particular query. Equity market data would be `EquityPriceData` and have fields such as `Open`, `High`, `Low`, `Close`, and `Volume`. You can find the standard data models inside the `standard_models` directory. -- **Fetcher** : Class containing a set of methods to receive query parameters, extract data and transform it. This class is responsible for implementing the standardization procedures. -- **Provider** : Entry point class for each provider extension. Contains information about the provider, it's required credentials and available fetchers. -- **RegistryLoader** : Loads the registry with the installed provider extensions. -- **Registry** : Maintains a registry of provider extensions installed. -- **RegistryMap** : Stores the complete characterization of each provider. It centralizes information like required credentials, standardized and extra query parameters/data by provider. -- **QueryExecutor** : Executes a given query, routing it to the respective provider and fetcher. - -## Installation - -To install the provider, run the following command in this folder: - -```bash -pip install . -``` diff --git a/openbb_platform/platform/provider/poetry.lock b/openbb_platform/platform/provider/poetry.lock deleted file mode 100644 index 45eabfee49c..00000000000 --- a/openbb_platform/platform/provider/poetry.lock +++ /dev/null @@ -1,806 +0,0 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. - -[[package]] -name = "annotated-types" -version = "0.6.0" -description = "Reusable constraint types to use with typing.Annotated" -optional = false -python-versions = ">=3.8" -files = [ - {file = "annotated_types-0.6.0-py3-none-any.whl", hash = "sha256:0641064de18ba7a25dee8f96403ebc39113d0cb953a01429249d5c7564666a43"}, - {file = "annotated_types-0.6.0.tar.gz", hash = "sha256:563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d"}, -] - -[package.dependencies] -typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.9\""} - -[[package]] -name = "certifi" -version = "2023.11.17" -description = "Python package for providing Mozilla's CA Bundle." -optional = false -python-versions = ">=3.6" -files = [ - {file = "certifi-2023.11.17-py3-none-any.whl", hash = "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"}, - {file = "certifi-2023.11.17.tar.gz", hash = "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"}, -] - -[[package]] -name = "charset-normalizer" -version = "3.3.2" -description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, - {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, -] - -[[package]] -name = "idna" -version = "3.4" -description = "Internationalized Domain Names in Applications (IDNA)" -optional = false -python-versions = ">=3.5" -files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, -] - -[[package]] -name = "importlib-metadata" -version = "6.8.0" -description = "Read metadata from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_metadata-6.8.0-py3-none-any.whl", hash = "sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb"}, - {file = "importlib_metadata-6.8.0.tar.gz", hash = "sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743"}, -] - -[package.dependencies] -zipp = ">=0.5" - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -perf = ["ipython"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] - -[[package]] -name = "multidict" -version = "6.0.4" -description = "multidict implementation" -optional = false -python-versions = ">=3.7" -files = [ - {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"}, - {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"}, - {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"}, - {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"}, - {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"}, - {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"}, - {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"}, - {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"}, - {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"}, - {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"}, - {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"}, - {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"}, - {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"}, - {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"}, - {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"}, - {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"}, - {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"}, - {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"}, - {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"}, - {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"}, - {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"}, - {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"}, - {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"}, - {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"}, - {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"}, - {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"}, - {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"}, - {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"}, - {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"}, - {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"}, - {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"}, - {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"}, - {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"}, - {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"}, -] - -[[package]] -name = "pydantic" -version = "2.5.1" -description = "Data validation using Python type hints" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pydantic-2.5.1-py3-none-any.whl", hash = "sha256:dc5244a8939e0d9a68f1f1b5f550b2e1c879912033b1becbedb315accc75441b"}, - {file = "pydantic-2.5.1.tar.gz", hash = "sha256:0b8be5413c06aadfbe56f6dc1d45c9ed25fd43264414c571135c97dd77c2bedb"}, -] - -[package.dependencies] -annotated-types = ">=0.4.0" -pydantic-core = "2.14.3" -typing-extensions = ">=4.6.1" - -[package.extras] -email = ["email-validator (>=2.0.0)"] - -[[package]] -name = "pydantic-core" -version = "2.14.3" -description = "" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pydantic_core-2.14.3-cp310-cp310-macosx_10_7_x86_64.whl", hash = "sha256:ba44fad1d114539d6a1509966b20b74d2dec9a5b0ee12dd7fd0a1bb7b8785e5f"}, - {file = "pydantic_core-2.14.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4a70d23eedd88a6484aa79a732a90e36701048a1509078d1b59578ef0ea2cdf5"}, - {file = "pydantic_core-2.14.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7cc24728a1a9cef497697e53b3d085fb4d3bc0ef1ef4d9b424d9cf808f52c146"}, - {file = "pydantic_core-2.14.3-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ab4a2381005769a4af2ffddae74d769e8a4aae42e970596208ec6d615c6fb080"}, - {file = "pydantic_core-2.14.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905a12bf088d6fa20e094f9a477bf84bd823651d8b8384f59bcd50eaa92e6a52"}, - {file = "pydantic_core-2.14.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:38aed5a1bbc3025859f56d6a32f6e53ca173283cb95348e03480f333b1091e7d"}, - {file = "pydantic_core-2.14.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1767bd3f6370458e60c1d3d7b1d9c2751cc1ad743434e8ec84625a610c8b9195"}, - {file = "pydantic_core-2.14.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7cb0c397f29688a5bd2c0dbd44451bc44ebb9b22babc90f97db5ec3e5bb69977"}, - {file = "pydantic_core-2.14.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:9ff737f24b34ed26de62d481ef522f233d3c5927279f6b7229de9b0deb3f76b5"}, - {file = "pydantic_core-2.14.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a1a39fecb5f0b19faee9a8a8176c805ed78ce45d760259a4ff3d21a7daa4dfc1"}, - {file = "pydantic_core-2.14.3-cp310-none-win32.whl", hash = "sha256:ccbf355b7276593c68fa824030e68cb29f630c50e20cb11ebb0ee450ae6b3d08"}, - {file = "pydantic_core-2.14.3-cp310-none-win_amd64.whl", hash = "sha256:536e1f58419e1ec35f6d1310c88496f0d60e4f182cacb773d38076f66a60b149"}, - {file = "pydantic_core-2.14.3-cp311-cp311-macosx_10_7_x86_64.whl", hash = "sha256:f1f46700402312bdc31912f6fc17f5ecaaaa3bafe5487c48f07c800052736289"}, - {file = "pydantic_core-2.14.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:88ec906eb2d92420f5b074f59cf9e50b3bb44f3cb70e6512099fdd4d88c2f87c"}, - {file = "pydantic_core-2.14.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:056ea7cc3c92a7d2a14b5bc9c9fa14efa794d9f05b9794206d089d06d3433dc7"}, - {file = "pydantic_core-2.14.3-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:076edc972b68a66870cec41a4efdd72a6b655c4098a232314b02d2bfa3bfa157"}, - {file = "pydantic_core-2.14.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e71f666c3bf019f2490a47dddb44c3ccea2e69ac882f7495c68dc14d4065eac2"}, - {file = "pydantic_core-2.14.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f518eac285c9632be337323eef9824a856f2680f943a9b68ac41d5f5bad7df7c"}, - {file = "pydantic_core-2.14.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9dbab442a8d9ca918b4ed99db8d89d11b1f067a7dadb642476ad0889560dac79"}, - {file = "pydantic_core-2.14.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0653fb9fc2fa6787f2fa08631314ab7fc8070307bd344bf9471d1b7207c24623"}, - {file = "pydantic_core-2.14.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c54af5069da58ea643ad34ff32fd6bc4eebb8ae0fef9821cd8919063e0aeeaab"}, - {file = "pydantic_core-2.14.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cc956f78651778ec1ab105196e90e0e5f5275884793ab67c60938c75bcca3989"}, - {file = "pydantic_core-2.14.3-cp311-none-win32.whl", hash = "sha256:5b73441a1159f1fb37353aaefb9e801ab35a07dd93cb8177504b25a317f4215a"}, - {file = "pydantic_core-2.14.3-cp311-none-win_amd64.whl", hash = "sha256:7349f99f1ef8b940b309179733f2cad2e6037a29560f1b03fdc6aa6be0a8d03c"}, - {file = "pydantic_core-2.14.3-cp311-none-win_arm64.whl", hash = "sha256:ec79dbe23702795944d2ae4c6925e35a075b88acd0d20acde7c77a817ebbce94"}, - {file = "pydantic_core-2.14.3-cp312-cp312-macosx_10_7_x86_64.whl", hash = "sha256:8f5624f0f67f2b9ecaa812e1dfd2e35b256487566585160c6c19268bf2ffeccc"}, - {file = "pydantic_core-2.14.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6c2d118d1b6c9e2d577e215567eedbe11804c3aafa76d39ec1f8bc74e918fd07"}, - {file = "pydantic_core-2.14.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe863491664c6720d65ae438d4efaa5eca766565a53adb53bf14bc3246c72fe0"}, - {file = "pydantic_core-2.14.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:136bc7247e97a921a020abbd6ef3169af97569869cd6eff41b6a15a73c44ea9b"}, - {file = "pydantic_core-2.14.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aeafc7f5bbddc46213707266cadc94439bfa87ecf699444de8be044d6d6eb26f"}, - {file = "pydantic_core-2.14.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e16aaf788f1de5a85c8f8fcc9c1ca1dd7dd52b8ad30a7889ca31c7c7606615b8"}, - {file = "pydantic_core-2.14.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8fc652c354d3362e2932a79d5ac4bbd7170757a41a62c4fe0f057d29f10bebb"}, - {file = "pydantic_core-2.14.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f1b92e72babfd56585c75caf44f0b15258c58e6be23bc33f90885cebffde3400"}, - {file = "pydantic_core-2.14.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:75f3f534f33651b73f4d3a16d0254de096f43737d51e981478d580f4b006b427"}, - {file = "pydantic_core-2.14.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c9ffd823c46e05ef3eb28b821aa7bc501efa95ba8880b4a1380068e32c5bed47"}, - {file = "pydantic_core-2.14.3-cp312-none-win32.whl", hash = "sha256:12e05a76b223577a4696c76d7a6b36a0ccc491ffb3c6a8cf92d8001d93ddfd63"}, - {file = "pydantic_core-2.14.3-cp312-none-win_amd64.whl", hash = "sha256:1582f01eaf0537a696c846bea92082082b6bfc1103a88e777e983ea9fbdc2a0f"}, - {file = "pydantic_core-2.14.3-cp312-none-win_arm64.whl", hash = "sha256:96fb679c7ca12a512d36d01c174a4fbfd912b5535cc722eb2c010c7b44eceb8e"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-macosx_10_7_x86_64.whl", hash = "sha256:71ed769b58d44e0bc2701aa59eb199b6665c16e8a5b8b4a84db01f71580ec448"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-macosx_11_0_arm64.whl", hash = "sha256:5402ee0f61e7798ea93a01b0489520f2abfd9b57b76b82c93714c4318c66ca06"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eaab9dc009e22726c62fe3b850b797e7f0e7ba76d245284d1064081f512c7226"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:92486a04d54987054f8b4405a9af9d482e5100d6fe6374fc3303015983fc8bda"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cf08b43d1d5d1678f295f0431a4a7e1707d4652576e1d0f8914b5e0213bfeee5"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8ca13480ce16daad0504be6ce893b0ee8ec34cd43b993b754198a89e2787f7e"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:44afa3c18d45053fe8d8228950ee4c8eaf3b5a7f3b64963fdeac19b8342c987f"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:56814b41486e2d712a8bc02a7b1f17b87fa30999d2323bbd13cf0e52296813a1"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c3dc2920cc96f9aa40c6dc54256e436cc95c0a15562eb7bd579e1811593c377e"}, - {file = "pydantic_core-2.14.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e483b8b913fcd3b48badec54185c150cb7ab0e6487914b84dc7cde2365e0c892"}, - {file = "pydantic_core-2.14.3-cp37-none-win32.whl", hash = "sha256:364dba61494e48f01ef50ae430e392f67ee1ee27e048daeda0e9d21c3ab2d609"}, - {file = "pydantic_core-2.14.3-cp37-none-win_amd64.whl", hash = "sha256:a402ae1066be594701ac45661278dc4a466fb684258d1a2c434de54971b006ca"}, - {file = "pydantic_core-2.14.3-cp38-cp38-macosx_10_7_x86_64.whl", hash = "sha256:10904368261e4509c091cbcc067e5a88b070ed9a10f7ad78f3029c175487490f"}, - {file = "pydantic_core-2.14.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:260692420028319e201b8649b13ac0988974eeafaaef95d0dfbf7120c38dc000"}, - {file = "pydantic_core-2.14.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c1bf1a7b05a65d3b37a9adea98e195e0081be6b17ca03a86f92aeb8b110f468"}, - {file = "pydantic_core-2.14.3-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d7abd17a838a52140e3aeca271054e321226f52df7e0a9f0da8f91ea123afe98"}, - {file = "pydantic_core-2.14.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a5c51460ede609fbb4fa883a8fe16e749964ddb459966d0518991ec02eb8dfb9"}, - {file = "pydantic_core-2.14.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d06c78074646111fb01836585f1198367b17d57c9f427e07aaa9ff499003e58d"}, - {file = "pydantic_core-2.14.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:af452e69446fadf247f18ac5d153b1f7e61ef708f23ce85d8c52833748c58075"}, - {file = "pydantic_core-2.14.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e3ad4968711fb379a67c8c755beb4dae8b721a83737737b7bcee27c05400b047"}, - {file = "pydantic_core-2.14.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:c5ea0153482e5b4d601c25465771c7267c99fddf5d3f3bdc238ef930e6d051cf"}, - {file = "pydantic_core-2.14.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:96eb10ef8920990e703da348bb25fedb8b8653b5966e4e078e5be382b430f9e0"}, - {file = "pydantic_core-2.14.3-cp38-none-win32.whl", hash = "sha256:ea1498ce4491236d1cffa0eee9ad0968b6ecb0c1cd711699c5677fc689905f00"}, - {file = "pydantic_core-2.14.3-cp38-none-win_amd64.whl", hash = "sha256:2bc736725f9bd18a60eec0ed6ef9b06b9785454c8d0105f2be16e4d6274e63d0"}, - {file = "pydantic_core-2.14.3-cp39-cp39-macosx_10_7_x86_64.whl", hash = "sha256:1ea992659c03c3ea811d55fc0a997bec9dde863a617cc7b25cfde69ef32e55af"}, - {file = "pydantic_core-2.14.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d2b53e1f851a2b406bbb5ac58e16c4a5496038eddd856cc900278fa0da97f3fc"}, - {file = "pydantic_core-2.14.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0c7f8e8a7cf8e81ca7d44bea4f181783630959d41b4b51d2f74bc50f348a090f"}, - {file = "pydantic_core-2.14.3-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8d3b9c91eeb372a64ec6686c1402afd40cc20f61a0866850f7d989b6bf39a41a"}, - {file = "pydantic_core-2.14.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9ef3e2e407e4cad2df3c89488a761ed1f1c33f3b826a2ea9a411b0a7d1cccf1b"}, - {file = "pydantic_core-2.14.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f86f20a9d5bee1a6ede0f2757b917bac6908cde0f5ad9fcb3606db1e2968bcf5"}, - {file = "pydantic_core-2.14.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61beaa79d392d44dc19d6f11ccd824d3cccb865c4372157c40b92533f8d76dd0"}, - {file = "pydantic_core-2.14.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d41df8e10b094640a6b234851b624b76a41552f637b9fb34dc720b9fe4ef3be4"}, - {file = "pydantic_core-2.14.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:2c08ac60c3caa31f825b5dbac47e4875bd4954d8f559650ad9e0b225eaf8ed0c"}, - {file = "pydantic_core-2.14.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:98d8b3932f1a369364606417ded5412c4ffb15bedbcf797c31317e55bd5d920e"}, - {file = "pydantic_core-2.14.3-cp39-none-win32.whl", hash = "sha256:caa94726791e316f0f63049ee00dff3b34a629b0d099f3b594770f7d0d8f1f56"}, - {file = "pydantic_core-2.14.3-cp39-none-win_amd64.whl", hash = "sha256:2494d20e4c22beac30150b4be3b8339bf2a02ab5580fa6553ca274bc08681a65"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-macosx_10_7_x86_64.whl", hash = "sha256:fe272a72c7ed29f84c42fedd2d06c2f9858dc0c00dae3b34ba15d6d8ae0fbaaf"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:7e63a56eb7fdee1587d62f753ccd6d5fa24fbeea57a40d9d8beaef679a24bdd6"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b7692f539a26265cece1e27e366df5b976a6db6b1f825a9e0466395b314ee48b"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:af46f0b7a1342b49f208fed31f5a83b8495bb14b652f621e0a6787d2f10f24ee"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6e2f9d76c00e805d47f19c7a96a14e4135238a7551a18bfd89bb757993fd0933"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:de52ddfa6e10e892d00f747bf7135d7007302ad82e243cf16d89dd77b03b649d"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:38113856c7fad8c19be7ddd57df0c3e77b1b2336459cb03ee3903ce9d5e236ce"}, - {file = "pydantic_core-2.14.3-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:354db020b1f8f11207b35360b92d95725621eb92656725c849a61e4b550f4acc"}, - {file = "pydantic_core-2.14.3-pp37-pypy37_pp73-macosx_10_7_x86_64.whl", hash = "sha256:76fc18653a5c95e5301a52d1b5afb27c9adc77175bf00f73e94f501caf0e05ad"}, - {file = "pydantic_core-2.14.3-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2646f8270f932d79ba61102a15ea19a50ae0d43b314e22b3f8f4b5fabbfa6e38"}, - {file = "pydantic_core-2.14.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:37dad73a2f82975ed563d6a277fd9b50e5d9c79910c4aec787e2d63547202315"}, - {file = "pydantic_core-2.14.3-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:113752a55a8eaece2e4ac96bc8817f134c2c23477e477d085ba89e3aa0f4dc44"}, - {file = "pydantic_core-2.14.3-pp37-pypy37_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:8488e973547e8fb1b4193fd9faf5236cf1b7cd5e9e6dc7ff6b4d9afdc4c720cb"}, - {file = "pydantic_core-2.14.3-pp37-pypy37_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:3d1dde10bd9962b1434053239b1d5490fc31a2b02d8950a5f731bc584c7a5a0f"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:2c83892c7bf92b91d30faca53bb8ea21f9d7e39f0ae4008ef2c2f91116d0464a"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:849cff945284c577c5f621d2df76ca7b60f803cc8663ff01b778ad0af0e39bb9"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa89919fbd8a553cd7d03bf23d5bc5deee622e1b5db572121287f0e64979476"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf15145b1f8056d12c67255cd3ce5d317cd4450d5ee747760d8d088d85d12a2d"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4cc6bb11f4e8e5ed91d78b9880774fbc0856cb226151b0a93b549c2b26a00c19"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:832d16f248ca0cc96929139734ec32d21c67669dcf8a9f3f733c85054429c012"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:b02b5e1f54c3396c48b665050464803c23c685716eb5d82a1d81bf81b5230da4"}, - {file = "pydantic_core-2.14.3-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:1f2d4516c32255782153e858f9a900ca6deadfb217fd3fb21bb2b60b4e04d04d"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:0a3e51c2be472b7867eb0c5d025b91400c2b73a0823b89d4303a9097e2ec6655"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:df33902464410a1f1a0411a235f0a34e7e129f12cb6340daca0f9d1390f5fe10"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:27828f0227b54804aac6fb077b6bb48e640b5435fdd7fbf0c274093a7b78b69c"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1e2979dc80246e18e348de51246d4c9b410186ffa3c50e77924bec436b1e36cb"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b28996872b48baf829ee75fa06998b607c66a4847ac838e6fd7473a6b2ab68e7"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:ca55c9671bb637ce13d18ef352fd32ae7aba21b4402f300a63f1fb1fd18e0364"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:aecd5ed096b0e5d93fb0367fd8f417cef38ea30b786f2501f6c34eabd9062c38"}, - {file = "pydantic_core-2.14.3-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:44aaf1a07ad0824e407dafc637a852e9a44d94664293bbe7d8ee549c356c8882"}, - {file = "pydantic_core-2.14.3.tar.gz", hash = "sha256:3ad083df8fe342d4d8d00cc1d3c1a23f0dc84fce416eb301e69f1ddbbe124d3f"}, -] - -[package.dependencies] -typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" - -[[package]] -name = "pytest-recorder" -version = "0.2.4" -description = "Pytest plugin, meant to facilitate unit tests writing for tools consumming Web APIs." -optional = false -python-versions = ">=3.8,<4.0" -files = [ - {file = "pytest_recorder-0.2.4-py3-none-any.whl", hash = "sha256:ec09c2a7e17779e98f6d7dedb6be8ad2497d15c9428d299acd63c6d14f7ad86f"}, - {file = "pytest_recorder-0.2.4.tar.gz", hash = "sha256:5a88a93644f8bcff2e8e2c6b8a829c802a325d1823e2f4b207ab69f69647aa26"}, -] - -[package.dependencies] -time-machine = ">=2.13.0,<3.0.0" -vcrpy = ">=5.1.0,<6.0.0" - -[[package]] -name = "python-dateutil" -version = "2.8.2" -description = "Extensions to the standard Python datetime module" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, -] - -[package.dependencies] -six = ">=1.5" - -[[package]] -name = "python-dotenv" -version = "1.0.0" -description = "Read key-value pairs from a .env file and set them as environment variables" -optional = false -python-versions = ">=3.8" -files = [ - {file = "python-dotenv-1.0.0.tar.gz", hash = "sha256:a8df96034aae6d2d50a4ebe8216326c61c3eb64836776504fcca410e5937a3ba"}, - {file = "python_dotenv-1.0.0-py3-none-any.whl", hash = "sha256:f5971a9226b701070a4bf2c38c89e5a3f0d64de8debda981d1db98583009122a"}, -] - -[package.extras] -cli = ["click (>=5.0)"] - -[[package]] -name = "pyyaml" -version = "6.0.1" -description = "YAML parser and emitter for Python" -optional = false -python-versions = ">=3.6" -files = [ - {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, - {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, - {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, - {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, - {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, - {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, - {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, - {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, - {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, - {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, - {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, - {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, - {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, - {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, - {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, - {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, - {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, - {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, - {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, - {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, - {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, -] - -[[package]] -name = "requests" -version = "2.31.0" -description = "Python HTTP for Humans." -optional = false -python-versions = ">=3.7" -files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, -] - -[package.dependencies] -certifi = ">=2017.4.17" -charset-normalizer = ">=2,<4" -idna = ">=2.5,<4" -urllib3 = ">=1.21.1,<3" - -[package.extras] -socks = ["PySocks (>=1.5.6,!=1.5.7)"] -use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] - -[[package]] -name = "six" -version = "1.16.0" -description = "Python 2 and 3 compatibility utilities" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, -] - -[[package]] -name = "time-machine" -version = "2.13.0" -description = "Travel through time in your tests." -optional = false -python-versions = ">=3.8" -files = [ - {file = "time_machine-2.13.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:685d98593f13649ad5e7ce3e58efe689feca1badcf618ba397d3ab877ee59326"}, - {file = "time_machine-2.13.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ccbce292380ebf63fb9a52e6b03d91677f6a003e0c11f77473efe3913a75f289"}, - {file = "time_machine-2.13.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:679cbf9b15bfde1654cf48124128d3fbe52f821fa158a98fcee5fe7e05db1917"}, - {file = "time_machine-2.13.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a26bdf3462d5f12a4c1009fdbe54366c6ef22c7b6f6808705b51dedaaeba8296"}, - {file = "time_machine-2.13.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dabb3b155819811b4602f7e9be936e2024e20dc99a90f103e36b45768badf9c3"}, - {file = "time_machine-2.13.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:0db97f92be3efe0ac62fd3f933c91a78438cef13f283b6dfc2ee11123bfd7d8a"}, - {file = "time_machine-2.13.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:12eed2e9171c85b703d75c985dab2ecad4fe7025b7d2f842596fce1576238ece"}, - {file = "time_machine-2.13.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bdfe4a7f033e6783c3e9a7f8d8fc0b115367330762e00a03ff35fedf663994f3"}, - {file = "time_machine-2.13.0-cp310-cp310-win32.whl", hash = "sha256:3a7a0a49ce50d9c306c4343a7d6a3baa11092d4399a4af4355c615ccc321a9d3"}, - {file = "time_machine-2.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:1812e48c6c58707db9988445a219a908a710ea065b2cc808d9a50636291f27d4"}, - {file = "time_machine-2.13.0-cp310-cp310-win_arm64.whl", hash = "sha256:5aee23cd046abf9caeddc982113e81ba9097a01f3972e9560f5ed64e3495f66d"}, - {file = "time_machine-2.13.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e9a9d150e098be3daee5c9f10859ab1bd14a61abebaed86e6d71f7f18c05b9d7"}, - {file = "time_machine-2.13.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2bd4169b808745d219a69094b3cb86006938d45e7293249694e6b7366225a186"}, - {file = "time_machine-2.13.0-cp311-cp311-macosx_13_0_arm64.whl", hash = "sha256:8d526cdcaca06a496877cfe61cc6608df2c3a6fce210e076761964ebac7f77cc"}, - {file = "time_machine-2.13.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cfef4ebfb4f055ce3ebc7b6c1c4d0dbfcffdca0e783ad8c6986c992915a57ed3"}, - {file = "time_machine-2.13.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9f128db8997c3339f04f7f3946dd9bb2a83d15e0a40d35529774da1e9e501511"}, - {file = "time_machine-2.13.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21bef5854d49b62e2c33848b5c3e8acf22a3b46af803ef6ff19529949cb7cf9f"}, - {file = "time_machine-2.13.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:32b71e50b07f86916ac04bd1eefc2bd2c93706b81393748b08394509ee6585dc"}, - {file = "time_machine-2.13.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1ac8ff145c63cd0dcfd9590fe694b5269aacbc130298dc7209b095d101f8cdde"}, - {file = "time_machine-2.13.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:19a3b10161c91ca8e0fd79348665cca711fd2eac6ce336ff9e6b447783817f93"}, - {file = "time_machine-2.13.0-cp311-cp311-win32.whl", hash = "sha256:5f87787d562e42bf1006a87eb689814105b98c4d5545874a281280d0f8b9a2d9"}, - {file = "time_machine-2.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:62fd14a80b8b71726e07018628daaee0a2e00937625083f96f69ed6b8e3304c0"}, - {file = "time_machine-2.13.0-cp311-cp311-win_arm64.whl", hash = "sha256:e9935aff447f5400a2665ab10ed2da972591713080e1befe1bb8954e7c0c7806"}, - {file = "time_machine-2.13.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:34dcdbbd25c1e124e17fe58050452960fd16a11f9d3476aaa87260e28ecca0fd"}, - {file = "time_machine-2.13.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e58d82fe0e59d6e096ada3281d647a2e7420f7da5453b433b43880e1c2e8e0c5"}, - {file = "time_machine-2.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71acbc1febbe87532c7355eca3308c073d6e502ee4ce272b5028967847c8e063"}, - {file = "time_machine-2.13.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dec0ec2135a4e2a59623e40c31d6e8a8ae73305ade2634380e4263d815855750"}, - {file = "time_machine-2.13.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e3a2611f8788608ebbcb060a5e36b45911bc3b8adc421b1dc29d2c81786ce4d"}, - {file = "time_machine-2.13.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:42ef5349135626ad6cd889a0a81400137e5c6928502b0817ea9e90bb10702000"}, - {file = "time_machine-2.13.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:6c16d90a597a8c2d3ce22d6be2eb3e3f14786974c11b01886e51b3cf0d5edaf7"}, - {file = "time_machine-2.13.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4f2ae8d0e359b216b695f1e7e7256f208c390db0480601a439c5dd1e1e4e16ce"}, - {file = "time_machine-2.13.0-cp312-cp312-win32.whl", hash = "sha256:f5fa9610f7e73fff42806a2ed8b06d862aa59ce4d178a52181771d6939c3e237"}, - {file = "time_machine-2.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:02b33a8c19768c94f7ffd6aa6f9f64818e88afce23250016b28583929d20fb12"}, - {file = "time_machine-2.13.0-cp312-cp312-win_arm64.whl", hash = "sha256:0cc116056a8a2a917a4eec85661dfadd411e0d8faae604ef6a0e19fe5cd57ef1"}, - {file = "time_machine-2.13.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:de01f33aa53da37530ad97dcd17e9affa25a8df4ab822506bb08101bab0c2673"}, - {file = "time_machine-2.13.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:67fa45cd813821e4f5bec0ac0820869e8e37430b15509d3f5fad74ba34b53852"}, - {file = "time_machine-2.13.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4a2d3db2c3b8e519d5ef436cd405abd33542a7b7761fb05ef5a5f782a8ce0b1"}, - {file = "time_machine-2.13.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7558622a62243be866a7e7c41da48eacd82c874b015ecf67d18ebf65ca3f7436"}, - {file = "time_machine-2.13.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ab04cf4e56e1ee65bee2adaa26a04695e92eb1ed1ccc65fbdafd0d114399595a"}, - {file = "time_machine-2.13.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b0c8f24ae611a58782773af34dd356f1f26756272c04be2be7ea73b47e5da37d"}, - {file = "time_machine-2.13.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4ca20f85a973a4ca8b00cf466cd72c27ccc72372549b138fd48d7e70e5a190ab"}, - {file = "time_machine-2.13.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:9fad549521c4c13bdb1e889b2855a86ec835780d534ffd8f091c2647863243be"}, - {file = "time_machine-2.13.0-cp38-cp38-win32.whl", hash = "sha256:20205422fcf2caf9a7488394587df86e5b54fdb315c1152094fbb63eec4e9304"}, - {file = "time_machine-2.13.0-cp38-cp38-win_amd64.whl", hash = "sha256:2dc76ee55a7d915a55960a726ceaca7b9097f67e4b4e681ef89871bcf98f00be"}, - {file = "time_machine-2.13.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7693704c0f2f6b9beed912ff609781edf5fcf5d63aff30c92be4093e09d94b8e"}, - {file = "time_machine-2.13.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:918f8389de29b4f41317d121f1150176fae2cdb5fa41f68b2aee0b9dc88df5c3"}, - {file = "time_machine-2.13.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fe3fda5fa73fec74278912e438fce1612a79c36fd0cc323ea3dc2d5ce629f31"}, - {file = "time_machine-2.13.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5c6245db573863b335d9ca64b3230f623caf0988594ae554c0c794e7f80e3e66"}, - {file = "time_machine-2.13.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e433827eccd6700a34a2ab28fd9361ff6e4d4923f718d2d1dac6d1dcd9d54da6"}, - {file = "time_machine-2.13.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:924377d398b1c48e519ad86a71903f9f36117f69e68242c99fb762a2465f5ad2"}, - {file = "time_machine-2.13.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:66fb3877014dca0b9286b0f06fa74062357bd23f2d9d102d10e31e0f8fa9b324"}, - {file = "time_machine-2.13.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:0c9829b2edfcf6b5d72a6ff330d4380f36a937088314c675531b43d3423dd8af"}, - {file = "time_machine-2.13.0-cp39-cp39-win32.whl", hash = "sha256:1a22be4df364f49a507af4ac9ea38108a0105f39da3f9c60dce62d6c6ea4ccdc"}, - {file = "time_machine-2.13.0-cp39-cp39-win_amd64.whl", hash = "sha256:88601de1da06c7cab3d5ed3d5c3801ef683366e769e829e96383fdab6ae2fe42"}, - {file = "time_machine-2.13.0-cp39-cp39-win_arm64.whl", hash = "sha256:3c87856105dcb25b5bbff031d99f06ef4d1c8380d096222e1bc63b496b5258e6"}, - {file = "time_machine-2.13.0.tar.gz", hash = "sha256:c23b2408e3adcedec84ea1131e238f0124a5bc0e491f60d1137ad7239b37c01a"}, -] - -[package.dependencies] -python-dateutil = "*" - -[[package]] -name = "typing-extensions" -version = "4.8.0" -description = "Backported and Experimental Type Hints for Python 3.8+" -optional = false -python-versions = ">=3.8" -files = [ - {file = "typing_extensions-4.8.0-py3-none-any.whl", hash = "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0"}, - {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, -] - -[[package]] -name = "urllib3" -version = "1.26.18" -description = "HTTP library with thread-safe connection pooling, file post, and more." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" -files = [ - {file = "urllib3-1.26.18-py2.py3-none-any.whl", hash = "sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07"}, - {file = "urllib3-1.26.18.tar.gz", hash = "sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0"}, -] - -[package.extras] -brotli = ["brotli (==1.0.9)", "brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"] -secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"] -socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] - -[[package]] -name = "vcrpy" -version = "5.1.0" -description = "Automatically mock your HTTP interactions to simplify and speed up testing" -optional = false -python-versions = ">=3.8" -files = [ - {file = "vcrpy-5.1.0-py2.py3-none-any.whl", hash = "sha256:605e7b7a63dcd940db1df3ab2697ca7faf0e835c0852882142bafb19649d599e"}, - {file = "vcrpy-5.1.0.tar.gz", hash = "sha256:bbf1532f2618a04f11bce2a99af3a9647a32c880957293ff91e0a5f187b6b3d2"}, -] - -[package.dependencies] -PyYAML = "*" -urllib3 = {version = "<2", markers = "python_version < \"3.10\""} -wrapt = "*" -yarl = "*" - -[[package]] -name = "wrapt" -version = "1.16.0" -description = "Module for decorators, wrappers and monkey patching." -optional = false -python-versions = ">=3.6" -files = [ - {file = "wrapt-1.16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ffa565331890b90056c01db69c0fe634a776f8019c143a5ae265f9c6bc4bd6d4"}, - {file = "wrapt-1.16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e4fdb9275308292e880dcbeb12546df7f3e0f96c6b41197e0cf37d2826359020"}, - {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb2dee3874a500de01c93d5c71415fcaef1d858370d405824783e7a8ef5db440"}, - {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a88e6010048489cda82b1326889ec075a8c856c2e6a256072b28eaee3ccf487"}, - {file = "wrapt-1.16.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ac83a914ebaf589b69f7d0a1277602ff494e21f4c2f743313414378f8f50a4cf"}, - {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:73aa7d98215d39b8455f103de64391cb79dfcad601701a3aa0dddacf74911d72"}, - {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:807cc8543a477ab7422f1120a217054f958a66ef7314f76dd9e77d3f02cdccd0"}, - {file = "wrapt-1.16.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:bf5703fdeb350e36885f2875d853ce13172ae281c56e509f4e6eca049bdfb136"}, - {file = "wrapt-1.16.0-cp310-cp310-win32.whl", hash = "sha256:f6b2d0c6703c988d334f297aa5df18c45e97b0af3679bb75059e0e0bd8b1069d"}, - {file = "wrapt-1.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:decbfa2f618fa8ed81c95ee18a387ff973143c656ef800c9f24fb7e9c16054e2"}, - {file = "wrapt-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1a5db485fe2de4403f13fafdc231b0dbae5eca4359232d2efc79025527375b09"}, - {file = "wrapt-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:75ea7d0ee2a15733684badb16de6794894ed9c55aa5e9903260922f0482e687d"}, - {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a452f9ca3e3267cd4d0fcf2edd0d035b1934ac2bd7e0e57ac91ad6b95c0c6389"}, - {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:43aa59eadec7890d9958748db829df269f0368521ba6dc68cc172d5d03ed8060"}, - {file = "wrapt-1.16.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:72554a23c78a8e7aa02abbd699d129eead8b147a23c56e08d08dfc29cfdddca1"}, - {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d2efee35b4b0a347e0d99d28e884dfd82797852d62fcd7ebdeee26f3ceb72cf3"}, - {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:6dcfcffe73710be01d90cae08c3e548d90932d37b39ef83969ae135d36ef3956"}, - {file = "wrapt-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:eb6e651000a19c96f452c85132811d25e9264d836951022d6e81df2fff38337d"}, - {file = "wrapt-1.16.0-cp311-cp311-win32.whl", hash = "sha256:66027d667efe95cc4fa945af59f92c5a02c6f5bb6012bff9e60542c74c75c362"}, - {file = "wrapt-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:aefbc4cb0a54f91af643660a0a150ce2c090d3652cf4052a5397fb2de549cd89"}, - {file = "wrapt-1.16.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5eb404d89131ec9b4f748fa5cfb5346802e5ee8836f57d516576e61f304f3b7b"}, - {file = "wrapt-1.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9090c9e676d5236a6948330e83cb89969f433b1943a558968f659ead07cb3b36"}, - {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94265b00870aa407bd0cbcfd536f17ecde43b94fb8d228560a1e9d3041462d73"}, - {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f2058f813d4f2b5e3a9eb2eb3faf8f1d99b81c3e51aeda4b168406443e8ba809"}, - {file = "wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98b5e1f498a8ca1858a1cdbffb023bfd954da4e3fa2c0cb5853d40014557248b"}, - {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:14d7dc606219cdd7405133c713f2c218d4252f2a469003f8c46bb92d5d095d81"}, - {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:49aac49dc4782cb04f58986e81ea0b4768e4ff197b57324dcbd7699c5dfb40b9"}, - {file = "wrapt-1.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:418abb18146475c310d7a6dc71143d6f7adec5b004ac9ce08dc7a34e2babdc5c"}, - {file = "wrapt-1.16.0-cp312-cp312-win32.whl", hash = "sha256:685f568fa5e627e93f3b52fda002c7ed2fa1800b50ce51f6ed1d572d8ab3e7fc"}, - {file = "wrapt-1.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:dcdba5c86e368442528f7060039eda390cc4091bfd1dca41e8046af7c910dda8"}, - {file = "wrapt-1.16.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:d462f28826f4657968ae51d2181a074dfe03c200d6131690b7d65d55b0f360f8"}, - {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a33a747400b94b6d6b8a165e4480264a64a78c8a4c734b62136062e9a248dd39"}, - {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b3646eefa23daeba62643a58aac816945cadc0afaf21800a1421eeba5f6cfb9c"}, - {file = "wrapt-1.16.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ebf019be5c09d400cf7b024aa52b1f3aeebeff51550d007e92c3c1c4afc2a40"}, - {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:0d2691979e93d06a95a26257adb7bfd0c93818e89b1406f5a28f36e0d8c1e1fc"}, - {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:1acd723ee2a8826f3d53910255643e33673e1d11db84ce5880675954183ec47e"}, - {file = "wrapt-1.16.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:bc57efac2da352a51cc4658878a68d2b1b67dbe9d33c36cb826ca449d80a8465"}, - {file = "wrapt-1.16.0-cp36-cp36m-win32.whl", hash = "sha256:da4813f751142436b075ed7aa012a8778aa43a99f7b36afe9b742d3ed8bdc95e"}, - {file = "wrapt-1.16.0-cp36-cp36m-win_amd64.whl", hash = "sha256:6f6eac2360f2d543cc875a0e5efd413b6cbd483cb3ad7ebf888884a6e0d2e966"}, - {file = "wrapt-1.16.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a0ea261ce52b5952bf669684a251a66df239ec6d441ccb59ec7afa882265d593"}, - {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bd2d7ff69a2cac767fbf7a2b206add2e9a210e57947dd7ce03e25d03d2de292"}, - {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9159485323798c8dc530a224bd3ffcf76659319ccc7bbd52e01e73bd0241a0c5"}, - {file = "wrapt-1.16.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a86373cf37cd7764f2201b76496aba58a52e76dedfaa698ef9e9688bfd9e41cf"}, - {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:73870c364c11f03ed072dda68ff7aea6d2a3a5c3fe250d917a429c7432e15228"}, - {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:b935ae30c6e7400022b50f8d359c03ed233d45b725cfdd299462f41ee5ffba6f"}, - {file = "wrapt-1.16.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:db98ad84a55eb09b3c32a96c576476777e87c520a34e2519d3e59c44710c002c"}, - {file = "wrapt-1.16.0-cp37-cp37m-win32.whl", hash = "sha256:9153ed35fc5e4fa3b2fe97bddaa7cbec0ed22412b85bcdaf54aeba92ea37428c"}, - {file = "wrapt-1.16.0-cp37-cp37m-win_amd64.whl", hash = "sha256:66dfbaa7cfa3eb707bbfcd46dab2bc6207b005cbc9caa2199bcbc81d95071a00"}, - {file = "wrapt-1.16.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1dd50a2696ff89f57bd8847647a1c363b687d3d796dc30d4dd4a9d1689a706f0"}, - {file = "wrapt-1.16.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:44a2754372e32ab315734c6c73b24351d06e77ffff6ae27d2ecf14cf3d229202"}, - {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e9723528b9f787dc59168369e42ae1c3b0d3fadb2f1a71de14531d321ee05b0"}, - {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dbed418ba5c3dce92619656802cc5355cb679e58d0d89b50f116e4a9d5a9603e"}, - {file = "wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:941988b89b4fd6b41c3f0bfb20e92bd23746579736b7343283297c4c8cbae68f"}, - {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6a42cd0cfa8ffc1915aef79cb4284f6383d8a3e9dcca70c445dcfdd639d51267"}, - {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:1ca9b6085e4f866bd584fb135a041bfc32cab916e69f714a7d1d397f8c4891ca"}, - {file = "wrapt-1.16.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d5e49454f19ef621089e204f862388d29e6e8d8b162efce05208913dde5b9ad6"}, - {file = "wrapt-1.16.0-cp38-cp38-win32.whl", hash = "sha256:c31f72b1b6624c9d863fc095da460802f43a7c6868c5dda140f51da24fd47d7b"}, - {file = "wrapt-1.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:490b0ee15c1a55be9c1bd8609b8cecd60e325f0575fc98f50058eae366e01f41"}, - {file = "wrapt-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9b201ae332c3637a42f02d1045e1d0cccfdc41f1f2f801dafbaa7e9b4797bfc2"}, - {file = "wrapt-1.16.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2076fad65c6736184e77d7d4729b63a6d1ae0b70da4868adeec40989858eb3fb"}, - {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5cd603b575ebceca7da5a3a251e69561bec509e0b46e4993e1cac402b7247b8"}, - {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b47cfad9e9bbbed2339081f4e346c93ecd7ab504299403320bf85f7f85c7d46c"}, - {file = "wrapt-1.16.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8212564d49c50eb4565e502814f694e240c55551a5f1bc841d4fcaabb0a9b8a"}, - {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5f15814a33e42b04e3de432e573aa557f9f0f56458745c2074952f564c50e664"}, - {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:db2e408d983b0e61e238cf579c09ef7020560441906ca990fe8412153e3b291f"}, - {file = "wrapt-1.16.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:edfad1d29c73f9b863ebe7082ae9321374ccb10879eeabc84ba3b69f2579d537"}, - {file = "wrapt-1.16.0-cp39-cp39-win32.whl", hash = "sha256:ed867c42c268f876097248e05b6117a65bcd1e63b779e916fe2e33cd6fd0d3c3"}, - {file = "wrapt-1.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:eb1b046be06b0fce7249f1d025cd359b4b80fc1c3e24ad9eca33e0dcdb2e4a35"}, - {file = "wrapt-1.16.0-py3-none-any.whl", hash = "sha256:6906c4100a8fcbf2fa735f6059214bb13b97f75b1a61777fcf6432121ef12ef1"}, - {file = "wrapt-1.16.0.tar.gz", hash = "sha256:5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"}, -] - -[[package]] -name = "yarl" -version = "1.9.2" -description = "Yet another URL library" -optional = false -python-versions = ">=3.7" -files = [ - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8c2ad583743d16ddbdf6bb14b5cd76bf43b0d0006e918809d5d4ddf7bde8dd82"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:82aa6264b36c50acfb2424ad5ca537a2060ab6de158a5bd2a72a032cc75b9eb8"}, - {file = "yarl-1.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c0c77533b5ed4bcc38e943178ccae29b9bcf48ffd1063f5821192f23a1bd27b9"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee4afac41415d52d53a9833ebae7e32b344be72835bbb589018c9e938045a560"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9bf345c3a4f5ba7f766430f97f9cc1320786f19584acc7086491f45524a551ac"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2a96c19c52ff442a808c105901d0bdfd2e28575b3d5f82e2f5fd67e20dc5f4ea"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:891c0e3ec5ec881541f6c5113d8df0315ce5440e244a716b95f2525b7b9f3608"}, - {file = "yarl-1.9.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3a53ba34a636a256d767c086ceb111358876e1fb6b50dfc4d3f4951d40133d5"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:566185e8ebc0898b11f8026447eacd02e46226716229cea8db37496c8cdd26e0"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:2b0738fb871812722a0ac2154be1f049c6223b9f6f22eec352996b69775b36d4"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:32f1d071b3f362c80f1a7d322bfd7b2d11e33d2adf395cc1dd4df36c9c243095"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:e9fdc7ac0d42bc3ea78818557fab03af6181e076a2944f43c38684b4b6bed8e3"}, - {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:56ff08ab5df8429901ebdc5d15941b59f6253393cb5da07b4170beefcf1b2528"}, - {file = "yarl-1.9.2-cp310-cp310-win32.whl", hash = "sha256:8ea48e0a2f931064469bdabca50c2f578b565fc446f302a79ba6cc0ee7f384d3"}, - {file = "yarl-1.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:50f33040f3836e912ed16d212f6cc1efb3231a8a60526a407aeb66c1c1956dde"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:646d663eb2232d7909e6601f1a9107e66f9791f290a1b3dc7057818fe44fc2b6"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aff634b15beff8902d1f918012fc2a42e0dbae6f469fce134c8a0dc51ca423bb"}, - {file = "yarl-1.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a83503934c6273806aed765035716216cc9ab4e0364f7f066227e1aaea90b8d0"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b25322201585c69abc7b0e89e72790469f7dad90d26754717f3310bfe30331c2"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:22a94666751778629f1ec4280b08eb11815783c63f52092a5953faf73be24191"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ec53a0ea2a80c5cd1ab397925f94bff59222aa3cf9c6da938ce05c9ec20428d"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:159d81f22d7a43e6eabc36d7194cb53f2f15f498dbbfa8edc8a3239350f59fe7"}, - {file = "yarl-1.9.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:832b7e711027c114d79dffb92576acd1bd2decc467dec60e1cac96912602d0e6"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:95d2ecefbcf4e744ea952d073c6922e72ee650ffc79028eb1e320e732898d7e8"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d4e2c6d555e77b37288eaf45b8f60f0737c9efa3452c6c44626a5455aeb250b9"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:783185c75c12a017cc345015ea359cc801c3b29a2966c2655cd12b233bf5a2be"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:b8cc1863402472f16c600e3e93d542b7e7542a540f95c30afd472e8e549fc3f7"}, - {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:822b30a0f22e588b32d3120f6d41e4ed021806418b4c9f0bc3048b8c8cb3f92a"}, - {file = "yarl-1.9.2-cp311-cp311-win32.whl", hash = "sha256:a60347f234c2212a9f0361955007fcf4033a75bf600a33c88a0a8e91af77c0e8"}, - {file = "yarl-1.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:be6b3fdec5c62f2a67cb3f8c6dbf56bbf3f61c0f046f84645cd1ca73532ea051"}, - {file = "yarl-1.9.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:38a3928ae37558bc1b559f67410df446d1fbfa87318b124bf5032c31e3447b74"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac9bb4c5ce3975aeac288cfcb5061ce60e0d14d92209e780c93954076c7c4367"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3da8a678ca8b96c8606bbb8bfacd99a12ad5dd288bc6f7979baddd62f71c63ef"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:13414591ff516e04fcdee8dc051c13fd3db13b673c7a4cb1350e6b2ad9639ad3"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf74d08542c3a9ea97bb8f343d4fcbd4d8f91bba5ec9d5d7f792dbe727f88938"}, - {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e7221580dc1db478464cfeef9b03b95c5852cc22894e418562997df0d074ccc"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:494053246b119b041960ddcd20fd76224149cfea8ed8777b687358727911dd33"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:52a25809fcbecfc63ac9ba0c0fb586f90837f5425edfd1ec9f3372b119585e45"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:e65610c5792870d45d7b68c677681376fcf9cc1c289f23e8e8b39c1485384185"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:1b1bba902cba32cdec51fca038fd53f8beee88b77efc373968d1ed021024cc04"}, - {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:662e6016409828ee910f5d9602a2729a8a57d74b163c89a837de3fea050c7582"}, - {file = "yarl-1.9.2-cp37-cp37m-win32.whl", hash = "sha256:f364d3480bffd3aa566e886587eaca7c8c04d74f6e8933f3f2c996b7f09bee1b"}, - {file = "yarl-1.9.2-cp37-cp37m-win_amd64.whl", hash = "sha256:6a5883464143ab3ae9ba68daae8e7c5c95b969462bbe42e2464d60e7e2698368"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5610f80cf43b6202e2c33ba3ec2ee0a2884f8f423c8f4f62906731d876ef4fac"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9a4e67ad7b646cd6f0938c7ebfd60e481b7410f574c560e455e938d2da8e0f4"}, - {file = "yarl-1.9.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:83fcc480d7549ccebe9415d96d9263e2d4226798c37ebd18c930fce43dfb9574"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fcd436ea16fee7d4207c045b1e340020e58a2597301cfbcfdbe5abd2356c2fb"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84e0b1599334b1e1478db01b756e55937d4614f8654311eb26012091be109d59"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3458a24e4ea3fd8930e934c129b676c27452e4ebda80fbe47b56d8c6c7a63a9e"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:838162460b3a08987546e881a2bfa573960bb559dfa739e7800ceeec92e64417"}, - {file = "yarl-1.9.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f4e2d08f07a3d7d3e12549052eb5ad3eab1c349c53ac51c209a0e5991bbada78"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:de119f56f3c5f0e2fb4dee508531a32b069a5f2c6e827b272d1e0ff5ac040333"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:149ddea5abf329752ea5051b61bd6c1d979e13fbf122d3a1f9f0c8be6cb6f63c"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:674ca19cbee4a82c9f54e0d1eee28116e63bc6fd1e96c43031d11cbab8b2afd5"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:9b3152f2f5677b997ae6c804b73da05a39daa6a9e85a512e0e6823d81cdad7cc"}, - {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5415d5a4b080dc9612b1b63cba008db84e908b95848369aa1da3686ae27b6d2b"}, - {file = "yarl-1.9.2-cp38-cp38-win32.whl", hash = "sha256:f7a3d8146575e08c29ed1cd287068e6d02f1c7bdff8970db96683b9591b86ee7"}, - {file = "yarl-1.9.2-cp38-cp38-win_amd64.whl", hash = "sha256:63c48f6cef34e6319a74c727376e95626f84ea091f92c0250a98e53e62c77c72"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:75df5ef94c3fdc393c6b19d80e6ef1ecc9ae2f4263c09cacb178d871c02a5ba9"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c027a6e96ef77d401d8d5a5c8d6bc478e8042f1e448272e8d9752cb0aff8b5c8"}, - {file = "yarl-1.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f3b078dbe227f79be488ffcfc7a9edb3409d018e0952cf13f15fd6512847f3f7"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59723a029760079b7d991a401386390c4be5bfec1e7dd83e25a6a0881859e716"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b03917871bf859a81ccb180c9a2e6c1e04d2f6a51d953e6a5cdd70c93d4e5a2a"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1012fa63eb6c032f3ce5d2171c267992ae0c00b9e164efe4d73db818465fac3"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a74dcbfe780e62f4b5a062714576f16c2f3493a0394e555ab141bf0d746bb955"}, - {file = "yarl-1.9.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c56986609b057b4839968ba901944af91b8e92f1725d1a2d77cbac6972b9ed1"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:2c315df3293cd521033533d242d15eab26583360b58f7ee5d9565f15fee1bef4"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b7232f8dfbd225d57340e441d8caf8652a6acd06b389ea2d3222b8bc89cbfca6"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:53338749febd28935d55b41bf0bcc79d634881195a39f6b2f767870b72514caf"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:066c163aec9d3d073dc9ffe5dd3ad05069bcb03fcaab8d221290ba99f9f69ee3"}, - {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8288d7cd28f8119b07dd49b7230d6b4562f9b61ee9a4ab02221060d21136be80"}, - {file = "yarl-1.9.2-cp39-cp39-win32.whl", hash = "sha256:b124e2a6d223b65ba8768d5706d103280914d61f5cae3afbc50fc3dfcc016623"}, - {file = "yarl-1.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:61016e7d582bc46a5378ffdd02cd0314fb8ba52f40f9cf4d9a5e7dbef88dee18"}, - {file = "yarl-1.9.2.tar.gz", hash = "sha256:04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571"}, -] - -[package.dependencies] -idna = ">=2.0" -multidict = ">=4.0" - -[[package]] -name = "zipp" -version = "3.17.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.8" -files = [ - {file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"}, - {file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] - -[metadata] -lock-version = "2.0" -python-versions = "^3.8" -content-hash = "349c852a906bedb9cb9032e400c5a6a9683ad14fefce22fcfcced2e0e9d91421" diff --git a/openbb_platform/platform/provider/pyproject.toml b/openbb_platform/platform/provider/pyproject.toml deleted file mode 100644 index 7e9c0bebab0..00000000000 --- a/openbb_platform/platform/provider/pyproject.toml +++ /dev/null @@ -1,22 +0,0 @@ -[tool.poetry] -name = "openbb-provider" -version = "1.0.0b1" -description = "OpenBB package to execute queries to financial data providers" -authors = ["OpenBB Team "] -readme = "README.md" -packages = [{ include = "openbb_provider" }] - -[tool.poetry.dependencies] -python = "^3.8" -importlib_metadata = "^6.8.0" -pydantic = "^2.5.1" -requests = "^2.31.0" -importlib-metadata = "^6.8.0" -python-dotenv = "^1.0.0" - -[tool.poetry.group.dev.dependencies] -pytest-recorder = "^0.2.4" - -[build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" diff --git a/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/__init__.py b/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/__init__.py index 9c093ae1028..c72bf361538 100644 --- a/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/__init__.py +++ b/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/__init__.py @@ -1,6 +1,6 @@ """Alpha Vantage Provider module.""" from openbb_alpha_vantage.models.equity_historical import AVEquityHistoricalFetcher -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider alpha_vantage_provider = Provider( name="alpha_vantage", diff --git a/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/models/equity_historical.py b/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/models/equity_historical.py index dded5f2937b..ee3c7620e5d 100644 --- a/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/models/equity_historical.py +++ b/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/models/equity_historical.py @@ -6,13 +6,16 @@ from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta from openbb_alpha_vantage.utils.helpers import extract_key_name, get_data, get_interval -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.descriptions import ( + DATA_DESCRIPTIONS, + QUERY_DESCRIPTIONS, +) +from openbb_core.provider.utils.helpers import get_querystring from pydantic import ( Field, NonNegativeFloat, diff --git a/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/utils/helpers.py b/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/utils/helpers.py index d64810d781e..341a64a1b18 100644 --- a/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/utils/helpers.py +++ b/openbb_platform/providers/alpha_vantage/openbb_alpha_vantage/utils/helpers.py @@ -6,9 +6,9 @@ from io import StringIO from typing import Any, List, Optional, TypeVar, Union import requests -from openbb_provider import helpers -from openbb_provider.utils.errors import EmptyDataError -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider import helpers +from openbb_core.provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.helpers import get_querystring from pydantic import BaseModel from requests.exceptions import SSLError diff --git a/openbb_platform/providers/benzinga/openbb_benzinga/__init__.py b/openbb_platform/providers/benzinga/openbb_benzinga/__init__.py index 13097e90f4f..4ab72a4dddb 100644 --- a/openbb_platform/providers/benzinga/openbb_benzinga/__init__.py +++ b/openbb_platform/providers/benzinga/openbb_benzinga/__init__.py @@ -1,7 +1,7 @@ """Benzinga provider module.""" from openbb_benzinga.models.company_news import BenzingaCompanyNewsFetcher from openbb_benzinga.models.world_news import BenzingaWorldNewsFetcher -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider benzinga_provider = Provider( name="benzinga", diff --git a/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py b/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py index ac784da0d9c..8b44e66fd16 100644 --- a/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py +++ b/openbb_platform/providers/benzinga/openbb_benzinga/models/company_news.py @@ -6,12 +6,12 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from openbb_benzinga.utils.helpers import get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring from pydantic import Field, field_validator diff --git a/openbb_platform/providers/benzinga/openbb_benzinga/models/world_news.py b/openbb_platform/providers/benzinga/openbb_benzinga/models/world_news.py index dfa625495b3..f33bcc8c069 100644 --- a/openbb_platform/providers/benzinga/openbb_benzinga/models/world_news.py +++ b/openbb_platform/providers/benzinga/openbb_benzinga/models/world_news.py @@ -5,12 +5,12 @@ import math from datetime import datetime from typing import Any, Dict, List, Literal, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.world_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.world_news import ( WorldNewsData, WorldNewsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring from pydantic import Field, field_validator from ..utils.helpers import get_data diff --git a/openbb_platform/providers/benzinga/openbb_benzinga/utils/helpers.py b/openbb_platform/providers/benzinga/openbb_benzinga/utils/helpers.py index e28d9f8f2ae..ea5e7e5ee1f 100644 --- a/openbb_platform/providers/benzinga/openbb_benzinga/utils/helpers.py +++ b/openbb_platform/providers/benzinga/openbb_benzinga/utils/helpers.py @@ -3,7 +3,7 @@ from typing import Any, Dict -from openbb_provider import helpers +from openbb_core.provider import helpers def get_data(url: str, **kwargs: Any) -> Dict: diff --git a/openbb_platform/providers/biztoc/openbb_biztoc/__init__.py b/openbb_platform/providers/biztoc/openbb_biztoc/__init__.py index 866bd316f3f..6c31b409d8b 100644 --- a/openbb_platform/providers/biztoc/openbb_biztoc/__init__.py +++ b/openbb_platform/providers/biztoc/openbb_biztoc/__init__.py @@ -1,7 +1,7 @@ """Biztoc provider module.""" from openbb_biztoc.models.world_news import BiztocWorldNewsFetcher -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider biztoc_provider = Provider( name="biztoc", diff --git a/openbb_platform/providers/biztoc/openbb_biztoc/models/world_news.py b/openbb_platform/providers/biztoc/openbb_biztoc/models/world_news.py index e988f03e4c4..f45ad9987d0 100644 --- a/openbb_platform/providers/biztoc/openbb_biztoc/models/world_news.py +++ b/openbb_platform/providers/biztoc/openbb_biztoc/models/world_news.py @@ -3,8 +3,8 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Literal, Optional from openbb_biztoc.utils.helpers import get_news -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.world_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.world_news import ( WorldNewsData, WorldNewsQueryParams, ) diff --git a/openbb_platform/providers/cboe/openbb_cboe/__init__.py b/openbb_platform/providers/cboe/openbb_cboe/__init__.py index e4f898704e1..3d72a61c32f 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/__init__.py +++ b/openbb_platform/providers/cboe/openbb_cboe/__init__.py @@ -18,7 +18,7 @@ from openbb_cboe.models.market_indices import ( CboeMarketIndicesFetcher, ) from openbb_cboe.models.options_chains import CboeOptionsChainsFetcher -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider cboe_provider = Provider( name="cboe", diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/available_indices.py b/openbb_platform/providers/cboe/openbb_cboe/models/available_indices.py index b0142a66d41..9d89a114a56 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/available_indices.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/available_indices.py @@ -4,8 +4,8 @@ from datetime import time from typing import Any, Dict, List, Optional from openbb_cboe.utils.helpers import Europe, get_cboe_index_directory -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.available_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.available_indices import ( AvailableIndicesData, AvailableIndicesQueryParams, ) diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/equity_historical.py b/openbb_platform/providers/cboe/openbb_cboe/models/equity_historical.py index 3d9a6b8bd8c..3e665cf4511 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/equity_historical.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/equity_historical.py @@ -11,13 +11,13 @@ from openbb_cboe.utils.helpers import ( get_cboe_index_directory, get_ticker_info, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.helpers import make_request from pydantic import Field diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/equity_info.py b/openbb_platform/providers/cboe/openbb_cboe/models/equity_info.py index 8ffdf3c1fa1..296baab8bd3 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/equity_info.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/equity_info.py @@ -11,8 +11,8 @@ from openbb_cboe.utils.helpers import ( get_ticker_info, get_ticker_iv, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_info import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_info import ( EquityInfoData, EquityInfoQueryParams, ) diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/equity_search.py b/openbb_platform/providers/cboe/openbb_cboe/models/equity_search.py index 7593074b7e4..1f2746abbc6 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/equity_search.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/equity_search.py @@ -3,8 +3,8 @@ from typing import Any, Dict, List, Optional from openbb_cboe.utils.helpers import get_cboe_directory -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_search import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_search import ( EquitySearchData, EquitySearchQueryParams, ) diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/european_index_constituents.py b/openbb_platform/providers/cboe/openbb_cboe/models/european_index_constituents.py index 814127a5c75..1ac75d367a1 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/european_index_constituents.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/european_index_constituents.py @@ -5,12 +5,12 @@ from typing import Any, Dict, List, Optional import pandas as pd from openbb_cboe.utils.helpers import EUR_INDEX_CONSTITUENTS_COLUMNS, Europe -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.european_index_constituents import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.european_index_constituents import ( EuropeanIndexConstituentsData, EuropeanIndexConstituentsQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from pydantic import Field, field_validator diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/european_indices.py b/openbb_platform/providers/cboe/openbb_cboe/models/european_indices.py index 8b8b70d9041..8150a199209 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/european_indices.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/european_indices.py @@ -6,12 +6,12 @@ from typing import Any, Dict, List, Literal, Optional import pandas as pd from dateutil.relativedelta import relativedelta from openbb_cboe.utils.helpers import Europe -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.european_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.european_indices import ( EuropeanIndicesData, EuropeanIndicesQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from pydantic import Field, field_validator diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/futures_curve.py b/openbb_platform/providers/cboe/openbb_cboe/models/futures_curve.py index 2879a68c04f..c84f8346669 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/futures_curve.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/futures_curve.py @@ -4,8 +4,8 @@ from typing import Any, Dict, List, Optional from openbb_cboe.utils.helpers import get_settlement_prices -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.futures_curve import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.futures_curve import ( FuturesCurveData, FuturesCurveQueryParams, ) diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/index_search.py b/openbb_platform/providers/cboe/openbb_cboe/models/index_search.py index 5d935b88ece..c195e198b28 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/index_search.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/index_search.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd from openbb_cboe.utils.helpers import Europe, get_cboe_index_directory -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.index_search import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.index_search import ( IndexSearchData, IndexSearchQueryParams, ) diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/index_snapshots.py b/openbb_platform/providers/cboe/openbb_cboe/models/index_snapshots.py index 94c2748c06b..aacdb44286f 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/index_snapshots.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/index_snapshots.py @@ -11,12 +11,12 @@ from openbb_cboe.utils.helpers import ( get_cboe_directory, get_cboe_index_directory, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.index_snapshots import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.index_snapshots import ( IndexSnapshotsData, IndexSnapshotsQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from pydantic import Field diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/market_indices.py b/openbb_platform/providers/cboe/openbb_cboe/models/market_indices.py index 0f52ddbaaf2..1adf41327d3 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/market_indices.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/market_indices.py @@ -9,12 +9,12 @@ from openbb_cboe.utils.helpers import ( get_cboe_index_directory, get_ticker_info, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.market_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.market_indices import ( MarketIndicesData, MarketIndicesQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from pydantic import Field diff --git a/openbb_platform/providers/cboe/openbb_cboe/models/options_chains.py b/openbb_platform/providers/cboe/openbb_cboe/models/options_chains.py index 4950b76c859..4916fb18b55 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/models/options_chains.py +++ b/openbb_platform/providers/cboe/openbb_cboe/models/options_chains.py @@ -9,12 +9,12 @@ from openbb_cboe.utils.helpers import ( get_cboe_directory, get_cboe_index_directory, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.options_chains import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.options_chains import ( OptionsChainsData, OptionsChainsQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from pydantic import Field, field_validator diff --git a/openbb_platform/providers/cboe/openbb_cboe/utils/helpers.py b/openbb_platform/providers/cboe/openbb_cboe/utils/helpers.py index 48d271358fb..0d073fd271e 100644 --- a/openbb_platform/providers/cboe/openbb_cboe/utils/helpers.py +++ b/openbb_platform/providers/cboe/openbb_cboe/utils/helpers.py @@ -8,7 +8,7 @@ import pandas as pd import requests import requests_cache from openbb_core.app.utils import get_user_cache_directory -from openbb_provider.utils.helpers import to_snake_case +from openbb_core.provider.utils.helpers import to_snake_case cache_dir = get_user_cache_directory() cboe_session = requests_cache.CachedSession( diff --git a/openbb_platform/providers/ecb/openbb_ecb/__init__.py b/openbb_platform/providers/ecb/openbb_ecb/__init__.py index b6948a2838c..8796464ea37 100644 --- a/openbb_platform/providers/ecb/openbb_ecb/__init__.py +++ b/openbb_platform/providers/ecb/openbb_ecb/__init__.py @@ -1,9 +1,9 @@ """ECB provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_ecb.models.balance_of_payments import ECBBalanceOfPaymentsFetcher from openbb_ecb.models.currency_reference_rates import ECBCurrencyReferenceRatesFetcher from openbb_ecb.models.eu_yield_curve import ECBEUYieldCurveFetcher -from openbb_provider.abstract.provider import Provider ecb_provider = Provider( name="ECB", diff --git a/openbb_platform/providers/ecb/openbb_ecb/models/balance_of_payments.py b/openbb_platform/providers/ecb/openbb_ecb/models/balance_of_payments.py index c0804bc5b5a..efaf2ed2269 100644 --- a/openbb_platform/providers/ecb/openbb_ecb/models/balance_of_payments.py +++ b/openbb_platform/providers/ecb/openbb_ecb/models/balance_of_payments.py @@ -4,15 +4,8 @@ import concurrent.futures from typing import Any, Dict, List, Optional import pandas as pd -from openbb_ecb.utils.bps_series import ( - BPS_COUNTRIES, - BPS_FREQUENCIES, - BPS_REPORT_TYPES, - generate_bps_series_ids, -) -from openbb_ecb.utils.ecb_helpers import get_series_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.balance_of_payments import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.balance_of_payments import ( BalanceOfPaymentsQueryParams, ECBCountry, ECBDirectInvestment, @@ -23,6 +16,13 @@ from openbb_provider.standard_models.balance_of_payments import ( ECBServices, ECBSummary, ) +from openbb_ecb.utils.bps_series import ( + BPS_COUNTRIES, + BPS_FREQUENCIES, + BPS_REPORT_TYPES, + generate_bps_series_ids, +) +from openbb_ecb.utils.ecb_helpers import get_series_data from pydantic import Field diff --git a/openbb_platform/providers/ecb/openbb_ecb/models/currency_reference_rates.py b/openbb_platform/providers/ecb/openbb_ecb/models/currency_reference_rates.py index 77e0f7457ac..3eea898ff3c 100644 --- a/openbb_platform/providers/ecb/openbb_ecb/models/currency_reference_rates.py +++ b/openbb_platform/providers/ecb/openbb_ecb/models/currency_reference_rates.py @@ -4,8 +4,8 @@ from typing import Any, Dict, Optional import requests import xmltodict -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_reference_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_reference_rates import ( CurrencyReferenceRatesData, CurrencyReferenceRatesQueryParams, ) diff --git a/openbb_platform/providers/ecb/openbb_ecb/models/eu_yield_curve.py b/openbb_platform/providers/ecb/openbb_ecb/models/eu_yield_curve.py index 98eaaea4c90..6ddac54e54c 100644 --- a/openbb_platform/providers/ecb/openbb_ecb/models/eu_yield_curve.py +++ b/openbb_platform/providers/ecb/openbb_ecb/models/eu_yield_curve.py @@ -4,12 +4,12 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Literal, Optional -from openbb_ecb.utils.ecb_helpers import get_series_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.eu_yield_curve import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.eu_yield_curve import ( EUYieldCurveData, EUYieldCurveQueryParams, ) +from openbb_ecb.utils.ecb_helpers import get_series_data from pydantic import Field, field_validator diff --git a/openbb_platform/providers/finra/openbb_finra/__init__.py b/openbb_platform/providers/finra/openbb_finra/__init__.py index f417be487be..7e82f28aafe 100644 --- a/openbb_platform/providers/finra/openbb_finra/__init__.py +++ b/openbb_platform/providers/finra/openbb_finra/__init__.py @@ -1,7 +1,7 @@ """FINRA provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_finra.models.equity_short_interest import FinraShortInterestFetcher from openbb_finra.models.otc_aggregate import FinraOTCAggregateFetcher -from openbb_provider.abstract.provider import Provider finra_provider = Provider( name="finra", diff --git a/openbb_platform/providers/finra/openbb_finra/models/equity_short_interest.py b/openbb_platform/providers/finra/openbb_finra/models/equity_short_interest.py index 255b3f66913..d63e67540ea 100644 --- a/openbb_platform/providers/finra/openbb_finra/models/equity_short_interest.py +++ b/openbb_platform/providers/finra/openbb_finra/models/equity_short_interest.py @@ -3,12 +3,12 @@ import sqlite3 from typing import Any, Dict, List, Optional -from openbb_finra.utils.data_storage import DB_PATH, prepare_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_short_interest import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_short_interest import ( ShortInterestData, ShortInterestQueryParams, ) +from openbb_finra.utils.data_storage import DB_PATH, prepare_data class FinraShortInterestQueryParams(ShortInterestQueryParams): diff --git a/openbb_platform/providers/finra/openbb_finra/models/otc_aggregate.py b/openbb_platform/providers/finra/openbb_finra/models/otc_aggregate.py index 39609ad1c63..0dce1f6f144 100644 --- a/openbb_platform/providers/finra/openbb_finra/models/otc_aggregate.py +++ b/openbb_platform/providers/finra/openbb_finra/models/otc_aggregate.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_finra.utils.helpers import get_full_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.otc_aggregate import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.otc_aggregate import ( OTCAggregateData, OTCAggregateQueryParams, ) +from openbb_finra.utils.helpers import get_full_data from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/__init__.py b/openbb_platform/providers/fmp/openbb_fmp/__init__.py index 8ef9dd0efab..912565234a3 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/__init__.py +++ b/openbb_platform/providers/fmp/openbb_fmp/__init__.py @@ -1,4 +1,5 @@ """FMP Provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_fmp.models.analyst_estimates import FMPAnalystEstimatesFetcher from openbb_fmp.models.available_indices import FMPAvailableIndicesFetcher from openbb_fmp.models.balance_sheet import FMPBalanceSheetFetcher @@ -57,7 +58,6 @@ from openbb_fmp.models.risk_premium import FMPRiskPremiumFetcher from openbb_fmp.models.share_statistics import FMPShareStatisticsFetcher from openbb_fmp.models.treasury_rates import FMPTreasuryRatesFetcher from openbb_fmp.models.world_news import FMPWorldNewsFetcher -from openbb_provider.abstract.provider import Provider fmp_provider = Provider( name="fmp", diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/analyst_estimates.py b/openbb_platform/providers/fmp/openbb_fmp/models/analyst_estimates.py index c40ea4cc470..0c6c91b9dc6 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/analyst_estimates.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/analyst_estimates.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.analyst_estimates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.analyst_estimates import ( AnalystEstimatesData, AnalystEstimatesQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPAnalystEstimatesQueryParams(AnalystEstimatesQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/available_indices.py b/openbb_platform/providers/fmp/openbb_fmp/models/available_indices.py index b7cb15d8370..d79fd8ced9a 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/available_indices.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/available_indices.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.available_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.available_indices import ( AvailableIndicesData, AvailableIndicesQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet.py b/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet.py index 85ba4494ed8..bc16ed27c99 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet.py @@ -3,14 +3,14 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.data import StrictInt -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.balance_sheet import ( +from openbb_core.provider.abstract.data import StrictInt +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.balance_sheet import ( BalanceSheetData, BalanceSheetQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field, model_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet_growth.py b/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet_growth.py index c08d04ec874..78348a91161 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet_growth.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/balance_sheet_growth.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.balance_sheet_growth import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.balance_sheet_growth import ( BalanceSheetGrowthData, BalanceSheetGrowthQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/calendar_dividend.py b/openbb_platform/providers/fmp/openbb_fmp/models/calendar_dividend.py index 80d8dfb7ebb..7d90b3268f4 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/calendar_dividend.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/calendar_dividend.py @@ -5,12 +5,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_fmp.utils.helpers import get_data_many, get_querystring -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_dividend import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_dividend import ( DividendCalendarData, DividendCalendarQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many, get_querystring from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/calendar_earnings.py b/openbb_platform/providers/fmp/openbb_fmp/models/calendar_earnings.py index fecfcca2774..59013128f7d 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/calendar_earnings.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/calendar_earnings.py @@ -8,12 +8,12 @@ from datetime import ( ) from typing import Any, Dict, List, Optional, Union -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_earnings import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_earnings import ( CalendarEarningsData, CalendarEarningsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/calendar_splits.py b/openbb_platform/providers/fmp/openbb_fmp/models/calendar_splits.py index 387ad5258c3..5d524991d9b 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/calendar_splits.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/calendar_splits.py @@ -4,12 +4,12 @@ from datetime import date from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_splits import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_splits import ( CalendarSplitsData, CalendarSplitsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPCalendarSplitsQueryParams(CalendarSplitsQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow.py b/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow.py index f62e9bb71c2..bad1b07825e 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow.py @@ -7,14 +7,14 @@ from datetime import ( ) from typing import Any, Dict, List, Literal, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.data import StrictInt -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cash_flow import ( +from openbb_core.provider.abstract.data import StrictInt +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cash_flow import ( CashFlowStatementData, CashFlowStatementQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field, model_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow_growth.py b/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow_growth.py index 3d6c5be1373..a7963240a5e 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow_growth.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/cash_flow_growth.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cash_flow_growth import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cash_flow_growth import ( CashFlowStatementGrowthData, CashFlowStatementGrowthQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/company_filings.py b/openbb_platform/providers/fmp/openbb_fmp/models/company_filings.py index edbc1760255..592ade8dec5 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/company_filings.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/company_filings.py @@ -3,13 +3,13 @@ from datetime import datetime from typing import Any, Dict, List, Optional, Set, Union -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_filings import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_filings import ( SEC_FORM_TYPES, CompanyFilingsData, CompanyFilingsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/company_news.py b/openbb_platform/providers/fmp/openbb_fmp/models/company_news.py index c5ae78a2345..f379a7ab1a1 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/company_news.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/company_news.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional, Union -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/company_overview.py b/openbb_platform/providers/fmp/openbb_fmp/models/company_overview.py index 34bfceb55f7..8ecf1e2c753 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/company_overview.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/company_overview.py @@ -5,12 +5,12 @@ from datetime import ( ) from typing import Any, Dict, Optional -from openbb_fmp.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_overview import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_overview import ( CompanyOverviewData, CompanyOverviewQueryParams, ) +from openbb_fmp.utils.helpers import get_data_one from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/crypto_historical.py b/openbb_platform/providers/fmp/openbb_fmp/models/crypto_historical.py index 08a795f7422..80595390f65 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/crypto_historical.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/crypto_historical.py @@ -5,13 +5,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.crypto_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.crypto_historical import ( CryptoHistoricalData, CryptoHistoricalQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field, NonNegativeInt diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/crypto_search.py b/openbb_platform/providers/fmp/openbb_fmp/models/crypto_search.py index db62d054074..a3b4573b827 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/crypto_search.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/crypto_search.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional import pandas as pd -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.crypto_search import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.crypto_search import ( CryptoSearchData, CryptoSearchQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/currency_historical.py b/openbb_platform/providers/fmp/openbb_fmp/models/currency_historical.py index cf49498ca96..211311c4e9b 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/currency_historical.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/currency_historical.py @@ -5,12 +5,12 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_fmp.utils.helpers import get_data_many, get_querystring -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_historical import ( CurrencyHistoricalData, CurrencyHistoricalQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many, get_querystring from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/currency_pairs.py b/openbb_platform/providers/fmp/openbb_fmp/models/currency_pairs.py index f2493b55ee2..9b2347f7839 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/currency_pairs.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/currency_pairs.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_pairs import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_pairs import ( CurrencyPairsData, CurrencyPairsQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/discovery_filings.py b/openbb_platform/providers/fmp/openbb_fmp/models/discovery_filings.py index 4e24f0c31d2..16bcb57a1a7 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/discovery_filings.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/discovery_filings.py @@ -3,13 +3,13 @@ import datetime from typing import Any, Dict, List, Literal, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.filings import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.filings import ( FilingsData, FilingsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/earnings_call_transcript.py b/openbb_platform/providers/fmp/openbb_fmp/models/earnings_call_transcript.py index 40dbe43fa8b..5b11882fd93 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/earnings_call_transcript.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/earnings_call_transcript.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.earnings_call_transcript import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.earnings_call_transcript import ( EarningsCallTranscriptData, EarningsCallTranscriptQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/economic_calendar.py b/openbb_platform/providers/fmp/openbb_fmp/models/economic_calendar.py index e2f17d74fdf..95ca86a1ebd 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/economic_calendar.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/economic_calendar.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.economic_calendar import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.economic_calendar import ( EconomicCalendarData, EconomicCalendarQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/equity_historical.py b/openbb_platform/providers/fmp/openbb_fmp/models/equity_historical.py index c3ace3637a2..213ec2f7e16 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/equity_historical.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/equity_historical.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_fmp.utils.helpers import get_data_many, get_interval -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_fmp.utils.helpers import get_data_many, get_interval from pydantic import Field, NonNegativeInt diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/equity_ownership.py b/openbb_platform/providers/fmp/openbb_fmp/models/equity_ownership.py index 400221fa8b3..81b56b301dc 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/equity_ownership.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/equity_ownership.py @@ -6,12 +6,12 @@ from datetime import ( ) from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many, most_recent_quarter -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_ownership import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_ownership import ( EquityOwnershipData, EquityOwnershipQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many, most_recent_quarter from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/equity_peers.py b/openbb_platform/providers/fmp/openbb_fmp/models/equity_peers.py index ca2e3fa4507..be2d419020b 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/equity_peers.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/equity_peers.py @@ -2,12 +2,12 @@ from typing import Any, Dict, Optional -from openbb_fmp.utils.helpers import create_url, get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_peers import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_peers import ( EquityPeersData, EquityPeersQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_one class FMPEquityPeersQueryParams(EquityPeersQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/equity_quote.py b/openbb_platform/providers/fmp/openbb_fmp/models/equity_quote.py index 8ab08884fa9..cf9d288825e 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/equity_quote.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/equity_quote.py @@ -3,13 +3,13 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many, get_querystring -from openbb_provider.abstract.data import StrictInt -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_quote import ( +from openbb_core.provider.abstract.data import StrictInt +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_quote import ( EquityQuoteData, EquityQuoteQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many, get_querystring from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/equity_screener.py b/openbb_platform/providers/fmp/openbb_fmp/models/equity_screener.py index faf0e98098b..8439a41298c 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/equity_screener.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/equity_screener.py @@ -3,13 +3,13 @@ from typing import Any, Dict, List, Literal, Optional import pandas as pd -from openbb_fmp.utils.definitions import EXCHANGES, SECTORS -from openbb_fmp.utils.helpers import create_url, get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_screener import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_screener import ( EquityScreenerData, EquityScreenerQueryParams, ) +from openbb_fmp.utils.definitions import EXCHANGES, SECTORS +from openbb_fmp.utils.helpers import create_url, get_data from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/equity_valuation_multiples.py b/openbb_platform/providers/fmp/openbb_fmp/models/equity_valuation_multiples.py index 2ad8efa8b14..69caa2b260e 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/equity_valuation_multiples.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/equity_valuation_multiples.py @@ -4,12 +4,12 @@ from concurrent.futures import ThreadPoolExecutor from itertools import repeat from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_valuation_multiples import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_valuation_multiples import ( EquityValuationMultiplesData, EquityValuationMultiplesQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPEquityValuationMultiplesQueryParams(EquityValuationMultiplesQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_countries.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_countries.py index 5bd3db77ae6..7163f3e805d 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_countries.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_countries.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional import pandas as pd -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_countries import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_countries import ( EtfCountriesData, EtfCountriesQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPEtfCountriesQueryParams(EtfCountriesQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings.py index bd0a3cea88e..6f478bedece 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings.py @@ -3,13 +3,13 @@ from datetime import date as dateType from typing import Any, Dict, List, Optional, Union -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_holdings import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_holdings import ( EtfHoldingsData, EtfHoldingsQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_date.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_date.py index 5fc41df6b70..766a6511d1d 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_date.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_date.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_holdings_date import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_holdings_date import ( EtfHoldingsDateData, EtfHoldingsDateQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_performance.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_performance.py index 3d498f7acac..e7508cc9d34 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_performance.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_holdings_performance.py @@ -2,7 +2,7 @@ from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.fetcher import Fetcher from .etf_holdings import FMPEtfHoldingsFetcher from .etf_holdings_date import FMPEtfHoldingsDateFetcher diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_info.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_info.py index 818ef6b43d7..1481bbd8832 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_info.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_info.py @@ -2,9 +2,12 @@ from typing import Any, Dict, List, Optional +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_info import ( + EtfInfoData, + EtfInfoQueryParams, +) from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_info import EtfInfoData, EtfInfoQueryParams from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_search.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_search.py index 430bababbc1..dd55e4db837 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_search.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_search.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Literal, Optional import pandas as pd -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_search import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_search import ( EtfSearchData, EtfSearchQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/etf_sectors.py b/openbb_platform/providers/fmp/openbb_fmp/models/etf_sectors.py index 9a030c53810..567699845f5 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/etf_sectors.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/etf_sectors.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_sectors import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_sectors import ( EtfSectorsData, EtfSectorsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPEtfSectorsQueryParams(EtfSectorsQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py b/openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py index a0c491ca2e0..cf29ae13d93 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/executive_compensation.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.executive_compensation import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.executive_compensation import ( ExecutiveCompensationData, ExecutiveCompensationQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py b/openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py index 6c9895b6204..064df4afed7 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/financial_ratios.py @@ -5,12 +5,12 @@ from datetime import datetime from itertools import repeat from typing import Any, Dict, List, Literal, Optional -from openbb_fmp.utils.helpers import get_data_many, get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.financial_ratios import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.financial_ratios import ( FinancialRatiosData, FinancialRatiosQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many, get_data_one from pydantic import Field PeriodType = Literal["annual", "quarter"] diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/historical_dividends.py b/openbb_platform/providers/fmp/openbb_fmp/models/historical_dividends.py index 90f133fef48..8acedd48f23 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/historical_dividends.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/historical_dividends.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.historical_dividends import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.historical_dividends import ( HistoricalDividendsData, HistoricalDividendsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPHistoricalDividendsQueryParams(HistoricalDividendsQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/historical_employees.py b/openbb_platform/providers/fmp/openbb_fmp/models/historical_employees.py index b0d3ccef266..4d6fddd50e2 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/historical_employees.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/historical_employees.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.historical_employees import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.historical_employees import ( HistoricalEmployeesData, HistoricalEmployeesQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPHistoricalEmployeesQueryParams(HistoricalEmployeesQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/historical_eps.py b/openbb_platform/providers/fmp/openbb_fmp/models/historical_eps.py index b462125a263..f3dbf59541d 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/historical_eps.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/historical_eps.py @@ -6,13 +6,13 @@ from datetime import ( ) from typing import Any, Dict, List, Optional, Union -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.historical_eps import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.historical_eps import ( HistoricalEpsData, HistoricalEpsQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/historical_splits.py b/openbb_platform/providers/fmp/openbb_fmp/models/historical_splits.py index e083e13e238..63f5af845c5 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/historical_splits.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/historical_splits.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.historical_splits import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.historical_splits import ( HistoricalSplitsData, HistoricalSplitsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/income_statement.py b/openbb_platform/providers/fmp/openbb_fmp/models/income_statement.py index 8eeb38be243..b1bac1f0e79 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/income_statement.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/income_statement.py @@ -6,12 +6,12 @@ from datetime import ( ) from typing import Any, Dict, List, Literal, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.income_statement import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.income_statement import ( IncomeStatementData, IncomeStatementQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field, model_validator PeriodType = Literal["annual", "quarter"] diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/income_statement_growth.py b/openbb_platform/providers/fmp/openbb_fmp/models/income_statement_growth.py index e629db5f5ff..9709615548f 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/income_statement_growth.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/income_statement_growth.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.income_statement_growth import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.income_statement_growth import ( IncomeStatementGrowthData, IncomeStatementGrowthQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/index_constituents.py b/openbb_platform/providers/fmp/openbb_fmp/models/index_constituents.py index d796cfdec6e..480eda77458 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/index_constituents.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/index_constituents.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.index_constituents import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.index_constituents import ( IndexConstituentsData, IndexConstituentsQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/insider_trading.py b/openbb_platform/providers/fmp/openbb_fmp/models/insider_trading.py index 31d01082fb0..e25edc2571d 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/insider_trading.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/insider_trading.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.insider_trading import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.insider_trading import ( InsiderTradingData, InsiderTradingQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_fmp.utils.helpers import get_data_many class FMPInsiderTradingQueryParams(InsiderTradingQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/institutional_ownership.py b/openbb_platform/providers/fmp/openbb_fmp/models/institutional_ownership.py index f9f186fdd62..839c35e935a 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/institutional_ownership.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/institutional_ownership.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.institutional_ownership import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.institutional_ownership import ( InstitutionalOwnershipData, InstitutionalOwnershipQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/key_executives.py b/openbb_platform/providers/fmp/openbb_fmp/models/key_executives.py index bee3ac60da6..3e89cbf9d82 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/key_executives.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/key_executives.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.key_executives import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.key_executives import ( KeyExecutivesData, KeyExecutivesQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/key_metrics.py b/openbb_platform/providers/fmp/openbb_fmp/models/key_metrics.py index b0198a7b476..f3e7b16e99a 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/key_metrics.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/key_metrics.py @@ -5,13 +5,13 @@ from datetime import datetime from itertools import repeat from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many, get_data_one -from openbb_provider.abstract.data import StrictInt -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.key_metrics import ( +from openbb_core.provider.abstract.data import StrictInt +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.key_metrics import ( KeyMetricsData, KeyMetricsQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many, get_data_one from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/market_indices.py b/openbb_platform/providers/fmp/openbb_fmp/models/market_indices.py index 7bad792d7a7..b98dc5c5113 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/market_indices.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/market_indices.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.market_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.market_indices import ( MarketIndicesData, MarketIndicesQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field, NonNegativeInt diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/market_snapshots.py b/openbb_platform/providers/fmp/openbb_fmp/models/market_snapshots.py index d69102ba684..9532081c588 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/market_snapshots.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/market_snapshots.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional, Union -from openbb_fmp.utils.helpers import MARKETS, get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.market_snapshots import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.market_snapshots import ( MarketSnapshotsData, MarketSnapshotsQueryParams, ) +from openbb_fmp.utils.helpers import MARKETS, get_data from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/price_performance.py b/openbb_platform/providers/fmp/openbb_fmp/models/price_performance.py index 10552b6da59..1614dd89b33 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/price_performance.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/price_performance.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.recent_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.recent_performance import ( RecentPerformanceData, RecentPerformanceQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/price_target.py b/openbb_platform/providers/fmp/openbb_fmp/models/price_target.py index 242e37bb252..b46f0d3c205 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/price_target.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/price_target.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.price_target import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.price_target import ( PriceTargetData, PriceTargetQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/price_target_consensus.py b/openbb_platform/providers/fmp/openbb_fmp/models/price_target_consensus.py index 2c508750868..b8df5c3bab1 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/price_target_consensus.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/price_target_consensus.py @@ -2,12 +2,12 @@ from typing import Any, Dict, Optional -from openbb_fmp.utils.helpers import create_url, get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.price_target_consensus import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.price_target_consensus import ( PriceTargetConsensusData, PriceTargetConsensusQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_one class FMPPriceTargetConsensusQueryParams(PriceTargetConsensusQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/revenue_business_line.py b/openbb_platform/providers/fmp/openbb_fmp/models/revenue_business_line.py index ccc33b7d6bf..fed17e2dc61 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/revenue_business_line.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/revenue_business_line.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.revenue_business_line import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.revenue_business_line import ( RevenueBusinessLineData, RevenueBusinessLineQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/revenue_geographic.py b/openbb_platform/providers/fmp/openbb_fmp/models/revenue_geographic.py index e9aea0f3c67..fea0e25b71a 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/revenue_geographic.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/revenue_geographic.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.revenue_geographic import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.revenue_geographic import ( RevenueGeographicData, RevenueGeographicQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/risk_premium.py b/openbb_platform/providers/fmp/openbb_fmp/models/risk_premium.py index 32bad10bfb4..c1e4e2d9302 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/risk_premium.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/risk_premium.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.risk_premium import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.risk_premium import ( RiskPremiumData, RiskPremiumQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many class FMPRiskPremiumQueryParams(RiskPremiumQueryParams): diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/share_statistics.py b/openbb_platform/providers/fmp/openbb_fmp/models/share_statistics.py index ee96bfb7089..86e1792f546 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/share_statistics.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/share_statistics.py @@ -6,12 +6,12 @@ from datetime import ( ) from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import create_url, get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.share_statistics import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.share_statistics import ( ShareStatisticsData, ShareStatisticsQueryParams, ) +from openbb_fmp.utils.helpers import create_url, get_data_many from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/treasury_rates.py b/openbb_platform/providers/fmp/openbb_fmp/models/treasury_rates.py index 27ce4d8b3cd..4c260a652a5 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/treasury_rates.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/treasury_rates.py @@ -3,12 +3,12 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many, get_querystring -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.treasury_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.treasury_rates import ( TreasuryRatesData, TreasuryRatesQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many, get_querystring from pydantic import field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/models/world_news.py b/openbb_platform/providers/fmp/openbb_fmp/models/world_news.py index 12609659b97..c3fb2cf1904 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/models/world_news.py +++ b/openbb_platform/providers/fmp/openbb_fmp/models/world_news.py @@ -4,12 +4,12 @@ import math from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_fmp.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.world_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.world_news import ( WorldNewsData, WorldNewsQueryParams, ) +from openbb_fmp.utils.helpers import get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fmp/openbb_fmp/utils/helpers.py b/openbb_platform/providers/fmp/openbb_fmp/utils/helpers.py index c7d1046f60f..a3b799f5630 100644 --- a/openbb_platform/providers/fmp/openbb_fmp/utils/helpers.py +++ b/openbb_platform/providers/fmp/openbb_fmp/utils/helpers.py @@ -6,9 +6,9 @@ from io import StringIO from typing import Any, Dict, List, Literal, Optional, TypeVar, Union import requests -from openbb_provider import helpers -from openbb_provider.utils.errors import EmptyDataError -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider import helpers +from openbb_core.provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.helpers import get_querystring from pydantic import BaseModel from requests.exceptions import SSLError diff --git a/openbb_platform/providers/fred/openbb_fred/__init__.py b/openbb_platform/providers/fred/openbb_fred/__init__.py index 0fe27e95ac9..a8a2e0fd0dc 100644 --- a/openbb_platform/providers/fred/openbb_fred/__init__.py +++ b/openbb_platform/providers/fred/openbb_fred/__init__.py @@ -1,4 +1,5 @@ """FRED provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_fred.models.ameribor_rates import FREDAMERIBORFetcher from openbb_fred.models.cp import FREDCommercialPaperFetcher from openbb_fred.models.cpi import FREDConsumerPriceIndexFetcher @@ -20,7 +21,6 @@ from openbb_fred.models.spot import FREDSpotRateFetcher from openbb_fred.models.tbffr import FREDSelectedTreasuryBillFetcher from openbb_fred.models.tmc import FREDTreasuryConstantMaturityFetcher from openbb_fred.models.us_yield_curve import FREDYieldCurveFetcher -from openbb_provider.abstract.provider import Provider fred_provider = Provider( name="fred", diff --git a/openbb_platform/providers/fred/openbb_fred/models/ameribor_rates.py b/openbb_platform/providers/fred/openbb_fred/models/ameribor_rates.py index 18afb8ec668..e96a2b67a94 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/ameribor_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/ameribor_rates.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.ameribor_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.ameribor_rates import ( AMERIBORData, AMERIBORQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import Field, field_validator AMERIBOR_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/cp.py b/openbb_platform/providers/fred/openbb_fred/models/cp.py index f1623dd99ae..b957ff08495 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/cp.py +++ b/openbb_platform/providers/fred/openbb_fred/models/cp.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_fred.utils.fred_helpers import get_cp_series_id -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cp import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cp import ( CommercialPaperData, CommercialPaperParams, ) +from openbb_fred.utils.fred_base import Fred +from openbb_fred.utils.fred_helpers import get_cp_series_id from pydantic import field_validator diff --git a/openbb_platform/providers/fred/openbb_fred/models/cpi.py b/openbb_platform/providers/fred/openbb_fred/models/cpi.py index c8a6ee38b48..a212eda1d8b 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/cpi.py +++ b/openbb_platform/providers/fred/openbb_fred/models/cpi.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_fred.utils.fred_helpers import all_cpi_options -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cpi import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cpi import ( ConsumerPriceIndexData, ConsumerPriceIndexQueryParams, ) +from openbb_fred.utils.fred_base import Fred +from openbb_fred.utils.fred_helpers import all_cpi_options class FREDConsumerPriceIndexQueryParams(ConsumerPriceIndexQueryParams): diff --git a/openbb_platform/providers/fred/openbb_fred/models/dwpcr_rates.py b/openbb_platform/providers/fred/openbb_fred/models/dwpcr_rates.py index 009257b093e..732c4347aa1 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/dwpcr_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/dwpcr_rates.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.dwpcr_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.dwpcr_rates import ( DiscountWindowPrimaryCreditRateData, DiscountWindowPrimaryCreditRateParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import Field, field_validator DWPCR_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/ecb_interest_rates.py b/openbb_platform/providers/fred/openbb_fred/models/ecb_interest_rates.py index eeeb5ad5948..75f8a6157c4 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/ecb_interest_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/ecb_interest_rates.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.ecb_interest_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.ecb_interest_rates import ( EuropeanCentralBankInterestRatesData, EuropeanCentralBankInterestRatesParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import field_validator NAME_TO_ID_ECB = {"deposit": "ECBDFR", "lending": "ECBMLFR", "refinancing": "ECBMRRFR"} diff --git a/openbb_platform/providers/fred/openbb_fred/models/estr_rates.py b/openbb_platform/providers/fred/openbb_fred/models/estr_rates.py index 18ec50aec00..fcdbf1e99f8 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/estr_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/estr_rates.py @@ -2,9 +2,9 @@ from typing import Any, Dict, List, Literal, Optional +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.estr_rates import ESTRData, ESTRQueryParams from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.estr_rates import ESTRData, ESTRQueryParams from pydantic import Field, field_validator ESTR_PARAMETER_TO_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/fed_projections.py b/openbb_platform/providers/fred/openbb_fred/models/fed_projections.py index 38fc088c275..e22418c9e92 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/fed_projections.py +++ b/openbb_platform/providers/fred/openbb_fred/models/fed_projections.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_fred.utils.fred_helpers import process_projections -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.fed_projections import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.fed_projections import ( PROJECTIONData, PROJECTIONQueryParams, ) +from openbb_fred.utils.fred_base import Fred +from openbb_fred.utils.fred_helpers import process_projections from pydantic import Field NAME_TO_ID_PROJECTION = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/fed_rates.py b/openbb_platform/providers/fred/openbb_fred/models/fed_rates.py index 558dfa1f81c..220ee8cf26f 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/fed_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/fed_rates.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.fed_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.fed_rates import ( FEDData, FEDQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import Field, field_validator FED_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/ffrmc.py b/openbb_platform/providers/fred/openbb_fred/models/ffrmc.py index 39f3d166821..098991dee54 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/ffrmc.py +++ b/openbb_platform/providers/fred/openbb_fred/models/ffrmc.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.ffrmc import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.ffrmc import ( SelectedTreasuryConstantMaturityData, SelectedTreasuryConstantMaturityQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import field_validator FFRMC_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/hqm.py b/openbb_platform/providers/fred/openbb_fred/models/hqm.py index 5d77e0b8403..649c5bc488c 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/hqm.py +++ b/openbb_platform/providers/fred/openbb_fred/models/hqm.py @@ -4,16 +4,16 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.hqm import ( + HighQualityMarketCorporateBondData, + HighQualityMarketCorporateBondQueryParams, +) from openbb_fred.utils.fred_base import Fred from openbb_fred.utils.fred_helpers import ( YIELD_CURVE_SERIES_CORPORATE_PAR, YIELD_CURVE_SERIES_CORPORATE_SPOT, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.hqm import ( - HighQualityMarketCorporateBondData, - HighQualityMarketCorporateBondQueryParams, -) from pydantic import field_validator diff --git a/openbb_platform/providers/fred/openbb_fred/models/ice_bofa.py b/openbb_platform/providers/fred/openbb_fred/models/ice_bofa.py index 2d98badeca5..33e89597d4f 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/ice_bofa.py +++ b/openbb_platform/providers/fred/openbb_fred/models/ice_bofa.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_fred.utils.fred_helpers import get_ice_bofa_series_id -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.ice_bofa import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.ice_bofa import ( ICEBofAData, ICEBofAQueryParams, ) +from openbb_fred.utils.fred_base import Fred +from openbb_fred.utils.fred_helpers import get_ice_bofa_series_id from pydantic import Field, field_validator diff --git a/openbb_platform/providers/fred/openbb_fred/models/iorb_rates.py b/openbb_platform/providers/fred/openbb_fred/models/iorb_rates.py index f22cab86789..22bfece52d2 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/iorb_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/iorb_rates.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.iorb_rates import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.iorb_rates import ( IORBData, IORBQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import field_validator diff --git a/openbb_platform/providers/fred/openbb_fred/models/moody.py b/openbb_platform/providers/fred/openbb_fred/models/moody.py index 7c28e6b0688..26fab6c34a6 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/moody.py +++ b/openbb_platform/providers/fred/openbb_fred/models/moody.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.moody import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.moody import ( MoodyCorporateBondIndexData, MoodyCorporateBondIndexQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import Field, field_validator MOODY_TO_OPTIONS = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/sofr_rates.py b/openbb_platform/providers/fred/openbb_fred/models/sofr_rates.py index ffdd37ac0d2..c50e6e1b1cd 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/sofr_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/sofr_rates.py @@ -2,9 +2,9 @@ from typing import Any, Dict, List, Literal, Optional +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.sofr_rates import SOFRData, SOFRQueryParams from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.sofr_rates import SOFRData, SOFRQueryParams from pydantic import Field, field_validator SOFR_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/sonia_rates.py b/openbb_platform/providers/fred/openbb_fred/models/sonia_rates.py index 723ae555215..f1665e554d1 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/sonia_rates.py +++ b/openbb_platform/providers/fred/openbb_fred/models/sonia_rates.py @@ -2,9 +2,9 @@ from typing import Any, Dict, List, Literal, Optional +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.sonia_rates import SONIAData, SONIAQueryParams from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.sonia_rates import SONIAData, SONIAQueryParams from pydantic import Field, field_validator SONIA_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/spot.py b/openbb_platform/providers/fred/openbb_fred/models/spot.py index 76971edae49..2dae3a230ec 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/spot.py +++ b/openbb_platform/providers/fred/openbb_fred/models/spot.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_fred.utils.fred_helpers import get_spot_series_id -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.spot import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.spot import ( SpotRateData, SpotRateQueryParams, ) +from openbb_fred.utils.fred_base import Fred +from openbb_fred.utils.fred_helpers import get_spot_series_id from pydantic import field_validator diff --git a/openbb_platform/providers/fred/openbb_fred/models/tbffr.py b/openbb_platform/providers/fred/openbb_fred/models/tbffr.py index 63f2e70ef77..18fa0ea97c5 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/tbffr.py +++ b/openbb_platform/providers/fred/openbb_fred/models/tbffr.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.tbffr import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.tbffr import ( SelectedTreasuryBillData, SelectedTreasuryBillQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import field_validator TBFFR_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/tmc.py b/openbb_platform/providers/fred/openbb_fred/models/tmc.py index 15ddd6990e5..2b118e524d5 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/tmc.py +++ b/openbb_platform/providers/fred/openbb_fred/models/tmc.py @@ -2,12 +2,12 @@ from typing import Any, Dict, List, Optional -from openbb_fred.utils.fred_base import Fred -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.tmc import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.tmc import ( TreasuryConstantMaturityData, TreasuryConstantMaturityQueryParams, ) +from openbb_fred.utils.fred_base import Fred from pydantic import field_validator TMC_PARAMETER_TO_FRED_ID = { diff --git a/openbb_platform/providers/fred/openbb_fred/models/us_yield_curve.py b/openbb_platform/providers/fred/openbb_fred/models/us_yield_curve.py index eb55a385ff9..10c2eeef7ab 100644 --- a/openbb_platform/providers/fred/openbb_fred/models/us_yield_curve.py +++ b/openbb_platform/providers/fred/openbb_fred/models/us_yield_curve.py @@ -3,6 +3,11 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.us_yield_curve import ( + USYieldCurveData, + USYieldCurveQueryParams, +) from openbb_fred.utils.fred_base import Fred from openbb_fred.utils.fred_helpers import ( YIELD_CURVE_NOMINAL_RATES, @@ -10,11 +15,6 @@ from openbb_fred.utils.fred_helpers import ( YIELD_CURVE_SERIES_NOMINAL, YIELD_CURVE_SERIES_REAL, ) -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.us_yield_curve import ( - USYieldCurveData, - USYieldCurveQueryParams, -) class FREDYieldCurveQueryParams(USYieldCurveQueryParams): diff --git a/openbb_platform/providers/fred/openbb_fred/utils/fred_base.py b/openbb_platform/providers/fred/openbb_fred/utils/fred_base.py index 527726fecce..92019231d45 100644 --- a/openbb_platform/providers/fred/openbb_fred/utils/fred_base.py +++ b/openbb_platform/providers/fred/openbb_fred/utils/fred_base.py @@ -3,7 +3,7 @@ from datetime import date from typing import Any, Optional from urllib.parse import urlencode -from openbb_provider import helpers +from openbb_core.provider import helpers ROOT_URL = "https://api.stlouisfed.org/fred" diff --git a/openbb_platform/providers/government_us/openbb_government_us/__init__.py b/openbb_platform/providers/government_us/openbb_government_us/__init__.py index 2da0cb5bb66..dd2fc6b7b2d 100644 --- a/openbb_platform/providers/government_us/openbb_government_us/__init__.py +++ b/openbb_platform/providers/government_us/openbb_government_us/__init__.py @@ -1,9 +1,9 @@ """Government US provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_government_us.models.treasury_auctions import ( GovernmentUSTreasuryAuctionsFetcher, ) -from openbb_provider.abstract.provider import Provider government_us_provider = Provider( name="government_us", diff --git a/openbb_platform/providers/government_us/openbb_government_us/models/treasury_auctions.py b/openbb_platform/providers/government_us/openbb_government_us/models/treasury_auctions.py index b5e80055443..5995fbe1cbe 100644 --- a/openbb_platform/providers/government_us/openbb_government_us/models/treasury_auctions.py +++ b/openbb_platform/providers/government_us/openbb_government_us/models/treasury_auctions.py @@ -8,12 +8,12 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.treasury_auctions import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.treasury_auctions import ( USTreasuryAuctionsData, USTreasuryAuctionsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring class GovernmentUSTreasuryAuctionsQueryParams(USTreasuryAuctionsQueryParams): diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/__init__.py b/openbb_platform/providers/intrinio/openbb_intrinio/__init__.py index 3598a8ce1ae..01a86467623 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/__init__.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/__init__.py @@ -1,5 +1,6 @@ """Intrinio provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_intrinio.models.balance_sheet import IntrinioBalanceSheetFetcher from openbb_intrinio.models.calendar_ipo import IntrinioCalendarIpoFetcher from openbb_intrinio.models.cash_flow import IntrinioCashFlowStatementFetcher @@ -18,7 +19,6 @@ from openbb_intrinio.models.search_financial_attributes import ( IntrinioSearchFinancialAttributesFetcher, ) from openbb_intrinio.models.world_news import IntrinioWorldNewsFetcher -from openbb_provider.abstract.provider import Provider intrinio_provider = Provider( name="intrinio", diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/balance_sheet.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/balance_sheet.py index 6bada1e7b33..35029f95da9 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/balance_sheet.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/balance_sheet.py @@ -5,12 +5,12 @@ from concurrent.futures import ThreadPoolExecutor from itertools import repeat from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.balance_sheet import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.balance_sheet import ( BalanceSheetData, BalanceSheetQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_one from pydantic import alias_generators diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/calendar_ipo.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/calendar_ipo.py index 4904bb4e3d9..0d1d8373323 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/calendar_ipo.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/calendar_ipo.py @@ -2,14 +2,14 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_intrinio.utils.helpers import get_data_one -from openbb_intrinio.utils.references import IntrinioCompany, IntrinioSecurity -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_ipo import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_ipo import ( CalendarIpoData, CalendarIpoQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_intrinio.utils.helpers import get_data_one +from openbb_intrinio.utils.references import IntrinioCompany, IntrinioSecurity from pydantic import Field diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/cash_flow.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/cash_flow.py index 786cbe0b908..dde523698c0 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/cash_flow.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/cash_flow.py @@ -5,12 +5,12 @@ from concurrent.futures import ThreadPoolExecutor from itertools import repeat from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cash_flow import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cash_flow import ( CashFlowStatementData, CashFlowStatementQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_one from pydantic import alias_generators diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/company_news.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/company_news.py index 61f8cb4c3c8..5f238ec6f89 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/company_news.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/company_news.py @@ -5,13 +5,13 @@ from concurrent.futures import ThreadPoolExecutor from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_intrinio.utils.helpers import get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/currency_pairs.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/currency_pairs.py index b62511313ac..2371963082a 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/currency_pairs.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/currency_pairs.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_pairs import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_pairs import ( CurrencyPairsData, CurrencyPairsQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_many from pydantic import Field diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_historical.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_historical.py index 59fcf23d4f7..4589a87a1a0 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_historical.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_historical.py @@ -4,14 +4,14 @@ from datetime import datetime, time from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.helpers import get_querystring +from openbb_intrinio.utils.helpers import get_data_one from pydantic import Field, PrivateAttr, model_validator diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_quote.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_quote.py index f165b46c878..54330e19f31 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_quote.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/equity_quote.py @@ -4,13 +4,13 @@ from concurrent.futures import ThreadPoolExecutor from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_one -from openbb_intrinio.utils.references import SOURCES -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_quote import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_quote import ( EquityQuoteData, EquityQuoteQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_one +from openbb_intrinio.utils.references import SOURCES from pydantic import Field, field_validator diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/financial_attributes.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/financial_attributes.py index 3cb45f22d69..2ada6d9e517 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/financial_attributes.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/financial_attributes.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_intrinio.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.financial_attributes import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.financial_attributes import ( FinancialAttributesData, FinancialAttributesQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_intrinio.utils.helpers import get_data_many class IntrinioFinancialAttributesQueryParams(FinancialAttributesQueryParams): diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/fred_indices.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/fred_indices.py index d8c76e87948..64b06d43642 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/fred_indices.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/fred_indices.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.fred_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.fred_indices import ( FredIndicesData, FredIndicesQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_intrinio.utils.helpers import get_data_one from pydantic import Field diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/income_statement.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/income_statement.py index aeeb212aa1c..a09de7030e5 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/income_statement.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/income_statement.py @@ -5,12 +5,12 @@ from concurrent.futures import ThreadPoolExecutor from itertools import repeat from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.income_statement import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.income_statement import ( IncomeStatementData, IncomeStatementQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_one from pydantic import alias_generators diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/options_chains.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/options_chains.py index d544afe6e62..fb936dd45a0 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/options_chains.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/options_chains.py @@ -10,12 +10,12 @@ from itertools import repeat from typing import Any, Dict, List, Optional from dateutil import parser -from openbb_intrinio.utils.helpers import get_data_many, get_weekday -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.options_chains import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.options_chains import ( OptionsChainsData, OptionsChainsQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_many, get_weekday from pydantic import Field, field_validator diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/options_unusual.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/options_unusual.py index b3a86e23f09..6ffb84513da 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/options_unusual.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/options_unusual.py @@ -3,12 +3,12 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional, Union -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.options_unusual import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.options_unusual import ( OptionsUnusualData, OptionsUnusualQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_one from pydantic import Field, field_validator diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/search_financial_attributes.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/search_financial_attributes.py index 0b18e2333d1..371620a7578 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/search_financial_attributes.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/search_financial_attributes.py @@ -2,13 +2,13 @@ from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_one -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.search_financial_attributes import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.search_financial_attributes import ( SearchFinancialAttributesData, SearchFinancialAttributesQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_intrinio.utils.helpers import get_data_one class IntrinioSearchFinancialAttributesQueryParams( diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/world_news.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/world_news.py index adb205f6bcc..e7db947b613 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/world_news.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/world_news.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_intrinio.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.world_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.world_news import ( WorldNewsData, WorldNewsQueryParams, ) +from openbb_intrinio.utils.helpers import get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/utils/helpers.py b/openbb_platform/providers/intrinio/openbb_intrinio/utils/helpers.py index 7f47e3b1c33..6b15de8281e 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/utils/helpers.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/utils/helpers.py @@ -9,8 +9,8 @@ from io import StringIO from typing import Any, List, Optional, TypeVar, Union import requests -from openbb_provider import helpers -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider import helpers +from openbb_core.provider.utils.errors import EmptyDataError from pydantic import BaseModel from requests.exceptions import SSLError diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/utils/references.py b/openbb_platform/providers/intrinio/openbb_intrinio/utils/references.py index 003bb7ba3a2..876350ae34f 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/utils/references.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/utils/references.py @@ -2,7 +2,7 @@ from typing import Literal, Optional -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data from pydantic import Field SOURCES = Literal[ diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/__init__.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/__init__.py index 6afd1b705ff..6bfd671c507 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/__init__.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/__init__.py @@ -1,4 +1,5 @@ """Nasdaq provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_nasdaq.models.calendar_dividend import NasdaqDividendCalendarFetcher from openbb_nasdaq.models.calendar_earnings import NasdaqCalendarEarningsFetcher from openbb_nasdaq.models.calendar_ipo import NasdaqCalendarIpoFetcher @@ -7,11 +8,10 @@ from openbb_nasdaq.models.cot_search import NasdaqCotSearchFetcher from openbb_nasdaq.models.economic_calendar import NasdaqEconomicCalendarFetcher from openbb_nasdaq.models.sp500_multiples import NasdaqSP500MultiplesFetcher from openbb_nasdaq.models.top_retail import NasdaqTopRetailFetcher -from openbb_provider.abstract.provider import Provider nasdaq_provider = Provider( name="nasdaq", - website="https://www.nasdaq.com", + website="https://data.nasdaq.com", description="""Positioned at the nexus of technology and the capital markets, Nasdaq provides premier platforms and services for global capital markets and beyond with unmatched technology, insights and markets expertise.""", diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_dividend.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_dividend.py index e51d96c47d4..10f4f09c4a1 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_dividend.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_dividend.py @@ -5,12 +5,12 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional import requests -from openbb_nasdaq.utils.helpers import IPO_HEADERS, date_range -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_dividend import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_dividend import ( DividendCalendarData, DividendCalendarQueryParams, ) +from openbb_nasdaq.utils.helpers import IPO_HEADERS, date_range from pydantic import Field, field_validator diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_earnings.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_earnings.py index 1e213d4dda9..1766ddb142f 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_earnings.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_earnings.py @@ -9,12 +9,12 @@ from datetime import ( from typing import Any, Dict, List, Optional import requests -from openbb_nasdaq.utils.helpers import IPO_HEADERS, date_range -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_earnings import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_earnings import ( CalendarEarningsData, CalendarEarningsQueryParams, ) +from openbb_nasdaq.utils.helpers import IPO_HEADERS, date_range from pydantic import Field, field_validator diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py index 40df1bb6483..0e1bde2eb98 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/calendar_ipo.py @@ -9,12 +9,12 @@ from datetime import ( from typing import Any, Dict, List, Literal, Optional import requests -from openbb_nasdaq.utils.helpers import IPO_HEADERS, date_range -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.calendar_ipo import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.calendar_ipo import ( CalendarIpoData, CalendarIpoQueryParams, ) +from openbb_nasdaq.utils.helpers import IPO_HEADERS, date_range from pydantic import Field, field_validator diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot.py index 86b6abd07c2..c3514c03d9f 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot.py @@ -8,10 +8,10 @@ from typing import Any, Dict, List, Literal, Optional import nasdaqdatalink import pandas as pd +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cot import COTData, COTQueryParams +from openbb_core.provider.utils.helpers import to_snake_case from openbb_nasdaq.utils.series_ids import CFTC -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cot import COTData, COTQueryParams -from openbb_provider.utils.helpers import to_snake_case from pydantic import Field, field_validator diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot_search.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot_search.py index 9b1516d16f7..820a86eb55e 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot_search.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot_search.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Optional import pandas as pd -from openbb_nasdaq.utils.series_ids import CFTC -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cot_search import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cot_search import ( CotSearchData, CotSearchQueryParams, ) +from openbb_nasdaq.utils.series_ids import CFTC class NasdaqCotSearchQueryParams(CotSearchQueryParams): diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/economic_calendar.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/economic_calendar.py index 0cb2737e61d..45af58cf718 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/economic_calendar.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/economic_calendar.py @@ -8,12 +8,12 @@ from itertools import repeat from typing import Any, Dict, List, Optional, Set, Union import requests -from openbb_nasdaq.utils.helpers import HEADERS, date_range, remove_html_tags -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.economic_calendar import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.economic_calendar import ( EconomicCalendarData, EconomicCalendarQueryParams, ) +from openbb_nasdaq.utils.helpers import HEADERS, date_range, remove_html_tags from pydantic import Field, field_validator diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/sp500_multiples.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/sp500_multiples.py index ffd8e45f857..d62997b340f 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/sp500_multiples.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/sp500_multiples.py @@ -3,12 +3,12 @@ from typing import Any, Dict, List, Literal, Optional import nasdaqdatalink -from openbb_nasdaq.utils.series_ids import SP500MULTIPLES -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.sp500_multiples import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.sp500_multiples import ( SP500MultiplesData, SP500MultiplesQueryParams, ) +from openbb_nasdaq.utils.series_ids import SP500MULTIPLES from pydantic import Field diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/top_retail.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/top_retail.py index 38b949448b9..05300025132 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/models/top_retail.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/models/top_retail.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.top_retail import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.top_retail import ( TopRetailData, TopRetailQueryParams, ) diff --git a/openbb_platform/providers/nasdaq/openbb_nasdaq/utils/helpers.py b/openbb_platform/providers/nasdaq/openbb_nasdaq/utils/helpers.py index ae1a1763fc0..aa8c5cf556c 100644 --- a/openbb_platform/providers/nasdaq/openbb_nasdaq/utils/helpers.py +++ b/openbb_platform/providers/nasdaq/openbb_nasdaq/utils/helpers.py @@ -7,8 +7,8 @@ from io import StringIO from typing import Any, List, Optional, TypeVar, Union import requests -from openbb_provider import helpers -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider import helpers +from openbb_core.provider.utils.errors import EmptyDataError from pydantic import BaseModel from random_user_agent.user_agent import UserAgent from requests.exceptions import SSLError diff --git a/openbb_platform/providers/oecd/openbb_oecd/__init__.py b/openbb_platform/providers/oecd/openbb_oecd/__init__.py index 7059ef0e6dd..e723f117d3b 100644 --- a/openbb_platform/providers/oecd/openbb_oecd/__init__.py +++ b/openbb_platform/providers/oecd/openbb_oecd/__init__.py @@ -1,8 +1,8 @@ """FRED provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_oecd.models.gdp_forecast import OECDGdpForecastFetcher from openbb_oecd.models.gdp_nominal import OECDGdpNominalFetcher from openbb_oecd.models.gdp_real import OECDGdpRealFetcher -from openbb_provider.abstract.provider import Provider oecd_provider = Provider( name="oecd", diff --git a/openbb_platform/providers/oecd/openbb_oecd/models/gdp_forecast.py b/openbb_platform/providers/oecd/openbb_oecd/models/gdp_forecast.py index c0cdb84dcf0..a204919fdbc 100644 --- a/openbb_platform/providers/oecd/openbb_oecd/models/gdp_forecast.py +++ b/openbb_platform/providers/oecd/openbb_oecd/models/gdp_forecast.py @@ -4,12 +4,12 @@ import re from datetime import date from typing import Any, Dict, List, Literal, Optional, Union -from openbb_oecd.utils import constants, helpers -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.gdp_forecast import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.gdp_forecast import ( GdpForecastData, GdpForecastQueryParams, ) +from openbb_oecd.utils import constants, helpers from pydantic import Field, field_validator gdp_countries = tuple(constants.COUNTRY_TO_CODE_GDP_FORECAST.keys()) diff --git a/openbb_platform/providers/oecd/openbb_oecd/models/gdp_nominal.py b/openbb_platform/providers/oecd/openbb_oecd/models/gdp_nominal.py index 478cb1b519c..6c3a3f7ca58 100644 --- a/openbb_platform/providers/oecd/openbb_oecd/models/gdp_nominal.py +++ b/openbb_platform/providers/oecd/openbb_oecd/models/gdp_nominal.py @@ -3,12 +3,12 @@ from datetime import date from typing import Any, Dict, List, Literal, Optional, Union -from openbb_oecd.utils import constants, helpers -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.gdp_nominal import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.gdp_nominal import ( GdpNominalData, GdpNominalQueryParams, ) +from openbb_oecd.utils import constants, helpers from pydantic import Field, field_validator gdp_countries = tuple(constants.COUNTRY_TO_CODE_GDP.keys()) diff --git a/openbb_platform/providers/oecd/openbb_oecd/models/gdp_real.py b/openbb_platform/providers/oecd/openbb_oecd/models/gdp_real.py index 2f020697409..713e426751e 100644 --- a/openbb_platform/providers/oecd/openbb_oecd/models/gdp_real.py +++ b/openbb_platform/providers/oecd/openbb_oecd/models/gdp_real.py @@ -4,9 +4,12 @@ from datetime import date from typing import Any, Dict, List, Literal, Optional, Union +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.gdp_real import ( + GdpRealData, + GdpRealQueryParams, +) from openbb_oecd.utils import constants, helpers -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.gdp_real import GdpRealData, GdpRealQueryParams from pydantic import Field, field_validator rgdp_countries = tuple(constants.COUNTRY_TO_CODE_RGDP.keys()) diff --git a/openbb_platform/providers/oecd/openbb_oecd/utils/helpers.py b/openbb_platform/providers/oecd/openbb_oecd/utils/helpers.py index 448bf8763c9..0f7ee3f2d9d 100644 --- a/openbb_platform/providers/oecd/openbb_oecd/utils/helpers.py +++ b/openbb_platform/providers/oecd/openbb_oecd/utils/helpers.py @@ -4,7 +4,7 @@ from typing import Any, Dict, Optional import requests import urllib3 -from openbb_provider import helpers +from openbb_core.provider import helpers from pandas import DataFrame, read_csv # OECD does not play well with newer python. This code block from stackoverflow helps diff --git a/openbb_platform/providers/polygon/openbb_polygon/__init__.py b/openbb_platform/providers/polygon/openbb_polygon/__init__.py index f4fbc61d617..849d9938d9d 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/__init__.py +++ b/openbb_platform/providers/polygon/openbb_polygon/__init__.py @@ -1,4 +1,5 @@ """Polygon provider module.""" +from openbb_core.provider.abstract.provider import Provider from openbb_polygon.models.balance_sheet import PolygonBalanceSheetFetcher from openbb_polygon.models.cash_flow import PolygonCashFlowStatementFetcher from openbb_polygon.models.company_news import PolygonCompanyNewsFetcher @@ -12,7 +13,6 @@ from openbb_polygon.models.market_indices import ( PolygonMarketIndicesFetcher, ) from openbb_polygon.models.market_snapshots import PolygonMarketSnapshotsFetcher -from openbb_provider.abstract.provider import Provider polygon_provider = Provider( name="polygon", diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/balance_sheet.py b/openbb_platform/providers/polygon/openbb_polygon/models/balance_sheet.py index 601bf4bec10..3a66517a0da 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/balance_sheet.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/balance_sheet.py @@ -3,13 +3,13 @@ from datetime import date from typing import Any, Dict, List, Literal, Optional -from openbb_polygon.utils.helpers import get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.balance_sheet import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.balance_sheet import ( BalanceSheetData, BalanceSheetQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_polygon.utils.helpers import get_data from pydantic import Field, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/cash_flow.py b/openbb_platform/providers/polygon/openbb_polygon/models/cash_flow.py index 4006a1fc011..dce14c921fc 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/cash_flow.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/cash_flow.py @@ -3,13 +3,13 @@ from datetime import date from typing import Any, Dict, List, Literal, Optional -from openbb_polygon.utils.helpers import get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cash_flow import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cash_flow import ( CashFlowStatementData, CashFlowStatementQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_polygon.utils.helpers import get_data from pydantic import Field, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/company_news.py b/openbb_platform/providers/polygon/openbb_polygon/models/company_news.py index b555be900ef..b886fd42f6b 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/company_news.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/company_news.py @@ -3,13 +3,13 @@ from typing import Any, Dict, List, Literal, Optional -from openbb_polygon.utils.helpers import get_data_many, get_date_condition -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_polygon.utils.helpers import get_data_many, get_date_condition from pydantic import BaseModel, Field, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/crypto_historical.py b/openbb_platform/providers/polygon/openbb_polygon/models/crypto_historical.py index 47d21ca1dd7..6e0ecb25bec 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/crypto_historical.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/crypto_historical.py @@ -5,13 +5,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_polygon.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.crypto_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.crypto_historical import ( CryptoHistoricalData, CryptoHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_polygon.utils.helpers import get_data_many from pydantic import Field, PositiveInt diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/currency_historical.py b/openbb_platform/providers/polygon/openbb_polygon/models/currency_historical.py index a36dac4941d..330db95de4f 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/currency_historical.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/currency_historical.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_polygon.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_historical import ( CurrencyHistoricalData, CurrencyHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_polygon.utils.helpers import get_data_many from pydantic import Field, PositiveInt diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/currency_pairs.py b/openbb_platform/providers/polygon/openbb_polygon/models/currency_pairs.py index 5a2a8e25686..c2c7c2e57d0 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/currency_pairs.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/currency_pairs.py @@ -6,13 +6,13 @@ from datetime import ( ) from typing import Any, Dict, List, Literal, Optional -from openbb_polygon.utils.helpers import get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_pairs import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_pairs import ( CurrencyPairsData, CurrencyPairsQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_polygon.utils.helpers import get_data from pydantic import Field, PositiveInt, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/equity_historical.py b/openbb_platform/providers/polygon/openbb_polygon/models/equity_historical.py index d392895d00b..f79dc9413f6 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/equity_historical.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/equity_historical.py @@ -6,13 +6,13 @@ from itertools import repeat from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_polygon.utils.helpers import get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_polygon.utils.helpers import get_data from pydantic import ( Field, PositiveInt, diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/equity_nbbo.py b/openbb_platform/providers/polygon/openbb_polygon/models/equity_nbbo.py index 80caf6cbbe8..91e3a692b90 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/equity_nbbo.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/equity_nbbo.py @@ -6,14 +6,14 @@ from datetime import ( ) from typing import Any, Dict, List, Optional, Union -from openbb_polygon.utils.helpers import get_data_one, map_tape -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_nbbo import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_nbbo import ( EquityNBBOData, EquityNBBOQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.helpers import get_querystring +from openbb_polygon.utils.helpers import get_data_one, map_tape from pandas import to_datetime from pydantic import Field, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/income_statement.py b/openbb_platform/providers/polygon/openbb_polygon/models/income_statement.py index 771a04ed252..bbef1313364 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/income_statement.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/income_statement.py @@ -3,14 +3,14 @@ from datetime import date from typing import Any, Dict, List, Literal, Optional -from openbb_polygon.utils.helpers import get_data -from openbb_provider.abstract.data import StrictInt -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.income_statement import ( +from openbb_core.provider.abstract.data import StrictInt +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.income_statement import ( IncomeStatementData, IncomeStatementQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring +from openbb_polygon.utils.helpers import get_data from pydantic import Field, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/market_indices.py b/openbb_platform/providers/polygon/openbb_polygon/models/market_indices.py index d7dcdee66ae..eb636e4235a 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/market_indices.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/market_indices.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_polygon.utils.helpers import get_data_many -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.market_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.market_indices import ( MarketIndicesData, MarketIndicesQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_polygon.utils.helpers import get_data_many from pydantic import Field, PositiveInt diff --git a/openbb_platform/providers/polygon/openbb_polygon/models/market_snapshots.py b/openbb_platform/providers/polygon/openbb_polygon/models/market_snapshots.py index a6d8380b8db..774d8d6234b 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/models/market_snapshots.py +++ b/openbb_platform/providers/polygon/openbb_polygon/models/market_snapshots.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional import pandas as pd -from openbb_polygon.utils.helpers import get_data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.market_snapshots import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.market_snapshots import ( MarketSnapshotsData, MarketSnapshotsQueryParams, ) +from openbb_polygon.utils.helpers import get_data from pydantic import Field, field_validator diff --git a/openbb_platform/providers/polygon/openbb_polygon/utils/helpers.py b/openbb_platform/providers/polygon/openbb_polygon/utils/helpers.py index 7fe37c59d12..f56958c82c0 100644 --- a/openbb_platform/providers/polygon/openbb_polygon/utils/helpers.py +++ b/openbb_platform/providers/polygon/openbb_polygon/utils/helpers.py @@ -5,8 +5,8 @@ from io import StringIO from typing import Any, List, Optional, Tuple, TypeVar, Union import requests -from openbb_provider import helpers -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider import helpers +from openbb_core.provider.utils.errors import EmptyDataError from pydantic import BaseModel from requests.exceptions import SSLError diff --git a/openbb_platform/providers/sec/openbb_sec/__init__.py b/openbb_platform/providers/sec/openbb_sec/__init__.py index bc15b25164e..a89e2de545f 100644 --- a/openbb_platform/providers/sec/openbb_sec/__init__.py +++ b/openbb_platform/providers/sec/openbb_sec/__init__.py @@ -1,5 +1,5 @@ """SEC provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_sec.models.cik_map import SecCikMapFetcher from openbb_sec.models.company_filings import SecCompanyFilingsFetcher from openbb_sec.models.equity_ftd import SecEquityFtdFetcher diff --git a/openbb_platform/providers/sec/openbb_sec/models/cik_map.py b/openbb_platform/providers/sec/openbb_sec/models/cik_map.py index 488622890b6..da06b3766b4 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/cik_map.py +++ b/openbb_platform/providers/sec/openbb_sec/models/cik_map.py @@ -2,9 +2,9 @@ from typing import Any, Dict, Optional, Union -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_info import EquityInfoQueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_info import EquityInfoQueryParams from openbb_sec.utils.helpers import symbol_map from pydantic import Field diff --git a/openbb_platform/providers/sec/openbb_sec/models/company_filings.py b/openbb_platform/providers/sec/openbb_sec/models/company_filings.py index 2cec4a46030..58e1e43d06f 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/company_filings.py +++ b/openbb_platform/providers/sec/openbb_sec/models/company_filings.py @@ -10,12 +10,12 @@ from typing import Any, Dict, List, Optional, Union import pandas as pd import requests import requests_cache -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_filings import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_filings import ( CompanyFilingsData, CompanyFilingsQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS from openbb_sec.utils.definitions import FORM_TYPES, HEADERS from openbb_sec.utils.helpers import symbol_map from pydantic import Field diff --git a/openbb_platform/providers/sec/openbb_sec/models/equity_ftd.py b/openbb_platform/providers/sec/openbb_sec/models/equity_ftd.py index 177be0c85ba..ad8039bbc91 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/equity_ftd.py +++ b/openbb_platform/providers/sec/openbb_sec/models/equity_ftd.py @@ -3,8 +3,8 @@ import concurrent.futures from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_ftd import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_ftd import ( EquityFtdData, EquityFtdQueryParams, ) diff --git a/openbb_platform/providers/sec/openbb_sec/models/equity_search.py b/openbb_platform/providers/sec/openbb_sec/models/equity_search.py index 660d833aeec..0438bc694f1 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/equity_search.py +++ b/openbb_platform/providers/sec/openbb_sec/models/equity_search.py @@ -2,8 +2,8 @@ from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_search import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_search import ( EquitySearchData, EquitySearchQueryParams, ) diff --git a/openbb_platform/providers/sec/openbb_sec/models/institutions_search.py b/openbb_platform/providers/sec/openbb_sec/models/institutions_search.py index 9f8a053496a..c2a1adc58b3 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/institutions_search.py +++ b/openbb_platform/providers/sec/openbb_sec/models/institutions_search.py @@ -2,9 +2,9 @@ from typing import Any, Dict, List, Optional, Union -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cot_search import CotSearchQueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cot_search import CotSearchQueryParams from openbb_sec.utils.helpers import get_all_ciks from pydantic import Field diff --git a/openbb_platform/providers/sec/openbb_sec/models/rss_litigation.py b/openbb_platform/providers/sec/openbb_sec/models/rss_litigation.py index b0e78aab72f..146d241be18 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/rss_litigation.py +++ b/openbb_platform/providers/sec/openbb_sec/models/rss_litigation.py @@ -6,9 +6,9 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests import xmltodict -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.query_params import QueryParams from openbb_sec.utils.definitions import SEC_HEADERS from pydantic import Field diff --git a/openbb_platform/providers/sec/openbb_sec/models/schema_files.py b/openbb_platform/providers/sec/openbb_sec/models/schema_files.py index 722a1c9605e..236fda02b55 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/schema_files.py +++ b/openbb_platform/providers/sec/openbb_sec/models/schema_files.py @@ -3,9 +3,9 @@ from typing import Any, Dict, List, Optional -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cot_search import CotSearchQueryParams +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cot_search import CotSearchQueryParams from openbb_sec.utils.helpers import get_schema_filelist from pydantic import Field diff --git a/openbb_platform/providers/sec/openbb_sec/models/sic_search.py b/openbb_platform/providers/sec/openbb_sec/models/sic_search.py index ed5062d1e6e..e3d7ae6d6da 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/sic_search.py +++ b/openbb_platform/providers/sec/openbb_sec/models/sic_search.py @@ -4,10 +4,10 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cot_search import CotSearchQueryParams -from openbb_sec.utils.helpers import sec_session_companies +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cot_search import CotSearchQueryParams +from openbb_sec.utils.helpers import SEC_HEADERS, sec_session_companies from pydantic import Field @@ -63,9 +63,9 @@ class SecSicSearchFetcher( "division-of-corporation-finance-standard-industrial-classification-sic-code-list" ) r = ( - sec_session_companies.get(url, timeout=5) + sec_session_companies.get(url, timeout=5, headers=SEC_HEADERS) if query.use_cache is True - else requests.get(url, timeout=5) + else requests.get(url, timeout=5, headers=SEC_HEADERS) ) if r.status_code == 200: diff --git a/openbb_platform/providers/sec/openbb_sec/models/symbol_map.py b/openbb_platform/providers/sec/openbb_sec/models/symbol_map.py index 5e098971f7f..7d977093a5b 100644 --- a/openbb_platform/providers/sec/openbb_sec/models/symbol_map.py +++ b/openbb_platform/providers/sec/openbb_sec/models/symbol_map.py @@ -2,10 +2,10 @@ from typing import Any, Dict, Optional -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cot_search import CotSearchQueryParams -from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cot_search import CotSearchQueryParams +from openbb_core.provider.utils.descriptions import DATA_DESCRIPTIONS from openbb_sec.utils.helpers import cik_map from pydantic import Field diff --git a/openbb_platform/providers/sec/openbb_sec/utils/helpers.py b/openbb_platform/providers/sec/openbb_sec/utils/helpers.py index 39f3547ae9a..db6a3e4bc7a 100644 --- a/openbb_platform/providers/sec/openbb_sec/utils/helpers.py +++ b/openbb_platform/providers/sec/openbb_sec/utils/helpers.py @@ -298,7 +298,7 @@ def get_ftd_urls() -> Dict: key = "title" value = "Fails-to-Deliver Data" - r = requests.get("https://www.sec.gov/data.json", timeout=5) + r = requests.get("https://www.sec.gov/data.json", timeout=5, headers=SEC_HEADERS) if r.status_code != 200: raise RuntimeError(f"Request failed with status code {str(r.status_code)}") data = r.json()["dataset"] diff --git a/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/__init__.py b/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/__init__.py index 578781e0f11..ebcfc0dde36 100644 --- a/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/__init__.py +++ b/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/__init__.py @@ -1,5 +1,5 @@ """Seeking Alpha Provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_seeking_alpha.models.upcoming_release_days import ( SAUpcomingReleaseDaysFetcher, ) diff --git a/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/models/upcoming_release_days.py b/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/models/upcoming_release_days.py index 9d35f10f5d8..3dda9734307 100644 --- a/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/models/upcoming_release_days.py +++ b/openbb_platform/providers/seeking_alpha/openbb_seeking_alpha/models/upcoming_release_days.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.upcoming_release_days import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.upcoming_release_days import ( UpcomingReleaseDaysData, UpcomingReleaseDaysQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS from pydantic import Field, field_validator @@ -62,12 +62,13 @@ class SAUpcomingReleaseDaysFetcher( **kwargs: Any, ) -> Dict: """Return the raw data from the Seeking Alpha endpoint.""" + url = ( + f"https://seekingalpha.com/api/v3/earnings_calendar/tickers?" + f"filter%5Bselected_date%5D={str(datetime.now().date())}" # cspell:disable-line + f"&filter%5Bwith_rating%5D=false&filter%5Bcurrency%5D=USD" # cspell:disable-line + ) response = requests.get( - url=( - f"https://seekingalpha.com/api/v3/earnings_calendar/tickers?" - f"filter%5Bselected_date%5D={str(datetime.now().date())}" # cspell:disable-line - f"&filter%5Bwith_rating%5D=false&filter%5Bcurrency%5D=USD" # cspell:disable-line - ), + url=url, timeout=5, ) if response.status_code != 200: diff --git a/openbb_platform/providers/stockgrid/openbb_stockgrid/__init__.py b/openbb_platform/providers/stockgrid/openbb_stockgrid/__init__.py index b368f8fcb02..8aff091f1e2 100644 --- a/openbb_platform/providers/stockgrid/openbb_stockgrid/__init__.py +++ b/openbb_platform/providers/stockgrid/openbb_stockgrid/__init__.py @@ -1,5 +1,5 @@ """stockgrid provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_stockgrid.models.short_volume import StockgridShortVolumeFetcher stockgrid_provider = Provider( diff --git a/openbb_platform/providers/stockgrid/openbb_stockgrid/models/short_volume.py b/openbb_platform/providers/stockgrid/openbb_stockgrid/models/short_volume.py index bca00b25e63..f95f5cbfbda 100644 --- a/openbb_platform/providers/stockgrid/openbb_stockgrid/models/short_volume.py +++ b/openbb_platform/providers/stockgrid/openbb_stockgrid/models/short_volume.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.short_volume import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.short_volume import ( ShortVolumeData, ShortVolumeQueryParams, ) diff --git a/openbb_platform/providers/tests/test_provider_fetcher.py b/openbb_platform/providers/tests/test_provider_fetcher.py index e3c5e18dffc..107c0825f80 100644 --- a/openbb_platform/providers/tests/test_provider_fetcher.py +++ b/openbb_platform/providers/tests/test_provider_fetcher.py @@ -4,8 +4,8 @@ import unittest from importlib import import_module from typing import Dict -from openbb_provider.abstract.provider import Provider -from openbb_provider.registry import RegistryLoader +from openbb_core.provider.abstract.provider import Provider +from openbb_core.provider.registry import RegistryLoader from providers.tests.utils.unit_tests_generator import ( check_pattern_in_file, diff --git a/openbb_platform/providers/tests/test_provider_field_dupes.py b/openbb_platform/providers/tests/test_provider_field_dupes.py index 5cdf0aea6ae..58b1efcef12 100644 --- a/openbb_platform/providers/tests/test_provider_field_dupes.py +++ b/openbb_platform/providers/tests/test_provider_field_dupes.py @@ -7,10 +7,10 @@ import unittest from typing import Dict, List, Type import pytest -from openbb_provider import standard_models -from openbb_provider.abstract.data import Data -from openbb_provider.abstract.query_params import QueryParams -from openbb_provider.registry import RegistryLoader +from openbb_core.provider import standard_models +from openbb_core.provider.abstract.data import Data +from openbb_core.provider.abstract.query_params import QueryParams +from openbb_core.provider.registry import RegistryLoader def get_module(file_path: str, package_name: str): diff --git a/openbb_platform/providers/tests/utils/unit_tests_generator.py b/openbb_platform/providers/tests/utils/unit_tests_generator.py index 7396c1d8150..86b32ab0308 100644 --- a/openbb_platform/providers/tests/utils/unit_tests_generator.py +++ b/openbb_platform/providers/tests/utils/unit_tests_generator.py @@ -4,9 +4,9 @@ from pathlib import Path from typing import Any, Dict, Tuple from openbb_core.app.provider_interface import ProviderInterface -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.registry import RegistryLoader -from openbb_provider.utils.helpers import to_snake_case +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.registry import RegistryLoader +from openbb_core.provider.utils.helpers import to_snake_case from pydantic.fields import FieldInfo from pydantic_core import PydanticUndefined diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/__init__.py b/openbb_platform/providers/tiingo/openbb_tiingo/__init__.py index c85001c8000..4bcc7d18f4e 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/__init__.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/__init__.py @@ -1,6 +1,6 @@ """Tiingo provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_tiingo.models.company_news import TiingoCompanyNewsFetcher from openbb_tiingo.models.crypto_historical import TiingoCryptoHistoricalFetcher from openbb_tiingo.models.currency_historical import TiingoCurrencyHistoricalFetcher diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/company_news.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/company_news.py index 02a3778c61f..eae14225c50 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/company_news.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/company_news.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional from dateutil import parser -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring from openbb_tiingo.utils.helpers import get_data_many from pydantic import Field, field_validator diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/crypto_historical.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/crypto_historical.py index b905038054f..fee11d8f399 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/crypto_historical.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/crypto_historical.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.crypto_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.crypto_historical import ( CryptoHistoricalData, CryptoHistoricalQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring from openbb_tiingo.utils.helpers import get_data_one from pydantic import Field diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py index 53e134a77ab..e685ae20efa 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/currency_historical.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_historical import ( CurrencyHistoricalData, CurrencyHistoricalQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring from openbb_tiingo.utils.helpers import get_data_many from pydantic import Field diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/equity_historical.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/equity_historical.py index 19da7ac62fd..7b6b38419c4 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/equity_historical.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/equity_historical.py @@ -4,13 +4,13 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.helpers import get_querystring from openbb_tiingo.utils.helpers import get_data_many from pydantic import Field, PrivateAttr, model_validator diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/trailing_dividend_yield.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/trailing_dividend_yield.py index 13764e56527..57acaa6aa5e 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/trailing_dividend_yield.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/trailing_dividend_yield.py @@ -2,8 +2,8 @@ from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.trailing_dividend_yield import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.trailing_dividend_yield import ( TrailingDivYieldData, TrailingDivYieldQueryParams, ) diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/models/world_news.py b/openbb_platform/providers/tiingo/openbb_tiingo/models/world_news.py index 4312f8d06aa..20b8bba356c 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/models/world_news.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/models/world_news.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional from dateutil import parser -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.world_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.world_news import ( WorldNewsData, WorldNewsQueryParams, ) -from openbb_provider.utils.helpers import get_querystring +from openbb_core.provider.utils.helpers import get_querystring from pydantic import Field, field_validator from ..utils.helpers import get_data_many diff --git a/openbb_platform/providers/tiingo/openbb_tiingo/utils/helpers.py b/openbb_platform/providers/tiingo/openbb_tiingo/utils/helpers.py index b84f78a8273..3564d654655 100644 --- a/openbb_platform/providers/tiingo/openbb_tiingo/utils/helpers.py +++ b/openbb_platform/providers/tiingo/openbb_tiingo/utils/helpers.py @@ -5,8 +5,8 @@ from io import StringIO from typing import Any, List, Optional, TypeVar, Union import requests -from openbb_provider import helpers -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider import helpers +from openbb_core.provider.utils.errors import EmptyDataError from pydantic import BaseModel from requests.exceptions import SSLError diff --git a/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/__init__.py b/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/__init__.py index 9cfa093bdeb..15336d165d0 100644 --- a/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/__init__.py +++ b/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/__init__.py @@ -1,5 +1,5 @@ """Trading Economics provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_tradingeconomics.models.economic_calendar import TEEconomicCalendarFetcher tradingeconomics_provider = Provider( diff --git a/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/models/economic_calendar.py b/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/models/economic_calendar.py index 31e436aeb75..3a118179780 100644 --- a/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/models/economic_calendar.py +++ b/openbb_platform/providers/tradingeconomics/openbb_tradingeconomics/models/economic_calendar.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Literal, Optional, Set, Union -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.economic_calendar import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.economic_calendar import ( EconomicCalendarData, EconomicCalendarQueryParams, ) -from openbb_provider.utils.helpers import make_request +from openbb_core.provider.utils.helpers import make_request from openbb_tradingeconomics.utils import url_generator from openbb_tradingeconomics.utils.countries import country_list from pandas import to_datetime diff --git a/openbb_platform/providers/ultima/openbb_ultima/__init__.py b/openbb_platform/providers/ultima/openbb_ultima/__init__.py index 2ab19fdba14..a97af768e9b 100644 --- a/openbb_platform/providers/ultima/openbb_ultima/__init__.py +++ b/openbb_platform/providers/ultima/openbb_ultima/__init__.py @@ -1,5 +1,5 @@ """Ultima provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_ultima.models.company_news import UltimaCompanyNewsFetcher ultima_provider = Provider( diff --git a/openbb_platform/providers/ultima/openbb_ultima/models/company_news.py b/openbb_platform/providers/ultima/openbb_ultima/models/company_news.py index 69e202c6aa1..6377177bd9f 100644 --- a/openbb_platform/providers/ultima/openbb_ultima/models/company_news.py +++ b/openbb_platform/providers/ultima/openbb_ultima/models/company_news.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) diff --git a/openbb_platform/providers/ultima/openbb_ultima/utils/helpers.py b/openbb_platform/providers/ultima/openbb_ultima/utils/helpers.py index d623d560b51..3048e3878c5 100644 --- a/openbb_platform/providers/ultima/openbb_ultima/utils/helpers.py +++ b/openbb_platform/providers/ultima/openbb_ultima/utils/helpers.py @@ -3,7 +3,7 @@ from typing import Any, Dict -from openbb_provider import helpers +from openbb_core.provider import helpers def get_data(url: str, **kwargs: Any) -> Dict: diff --git a/openbb_platform/providers/wsj/openbb_wsj/__init__.py b/openbb_platform/providers/wsj/openbb_wsj/__init__.py index ae57fac5e24..8c412e21ddd 100644 --- a/openbb_platform/providers/wsj/openbb_wsj/__init__.py +++ b/openbb_platform/providers/wsj/openbb_wsj/__init__.py @@ -1,5 +1,5 @@ """WSJ provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_wsj.models.active import WSJActiveFetcher from openbb_wsj.models.gainers import WSJGainersFetcher from openbb_wsj.models.losers import WSJLosersFetcher diff --git a/openbb_platform/providers/wsj/openbb_wsj/models/active.py b/openbb_platform/providers/wsj/openbb_wsj/models/active.py index a43e38a4b40..50e462fcd1d 100644 --- a/openbb_platform/providers/wsj/openbb_wsj/models/active.py +++ b/openbb_platform/providers/wsj/openbb_wsj/models/active.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_performance import ( ETFPerformanceData, ETFPerformanceQueryParams, ) diff --git a/openbb_platform/providers/wsj/openbb_wsj/models/gainers.py b/openbb_platform/providers/wsj/openbb_wsj/models/gainers.py index 37094411aae..0ab5f3c8ffe 100644 --- a/openbb_platform/providers/wsj/openbb_wsj/models/gainers.py +++ b/openbb_platform/providers/wsj/openbb_wsj/models/gainers.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_performance import ( ETFPerformanceData, ETFPerformanceQueryParams, ) diff --git a/openbb_platform/providers/wsj/openbb_wsj/models/losers.py b/openbb_platform/providers/wsj/openbb_wsj/models/losers.py index 90805beb260..e22ed2f7880 100644 --- a/openbb_platform/providers/wsj/openbb_wsj/models/losers.py +++ b/openbb_platform/providers/wsj/openbb_wsj/models/losers.py @@ -4,8 +4,8 @@ from datetime import datetime from typing import Any, Dict, List, Optional import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_performance import ( ETFPerformanceData, ETFPerformanceQueryParams, ) diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/__init__.py b/openbb_platform/providers/yfinance/openbb_yfinance/__init__.py index e1216d84d70..815540f4382 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/__init__.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/__init__.py @@ -1,7 +1,7 @@ """Yahoo Finance provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_yfinance.models.active import YFActiveFetcher from openbb_yfinance.models.aggressive_small_caps import YFAggressiveSmallCapsFetcher from openbb_yfinance.models.available_indices import YFinanceAvailableIndicesFetcher diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/active.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/active.py index ed9be56315d..4cc254a33be 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/active.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/active.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -72,7 +72,8 @@ class YFActiveFetcher(Fetcher[YFActiveQueryParams, List[YFActiveData]]): df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -88,7 +89,6 @@ class YFActiveFetcher(Fetcher[YFActiveQueryParams, List[YFActiveData]]): data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data = data.apply(pd.to_numeric, errors="ignore") data = data.to_dict(orient="records") data = sorted(data, key=lambda d: d["Volume"], reverse=query.sort == "desc") return [YFActiveData.model_validate(d) for d in data] diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/aggressive_small_caps.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/aggressive_small_caps.py index ea7933a63fc..52327e7d693 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/aggressive_small_caps.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/aggressive_small_caps.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -74,7 +74,8 @@ class YFAggressiveSmallCapsFetcher( df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -90,7 +91,6 @@ class YFAggressiveSmallCapsFetcher( data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data = data.apply(pd.to_numeric, errors="ignore") data = data.to_dict(orient="records") data = sorted(data, key=lambda d: d["% Change"], reverse=query.sort == "desc") return [YFAggressiveSmallCapsData.model_validate(d) for d in data] diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/available_indices.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/available_indices.py index 303b0ef6329..cb5eda90a15 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/available_indices.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/available_indices.py @@ -3,8 +3,8 @@ from typing import Any, Dict, List, Optional import pandas as pd -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.available_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.available_indices import ( AvailableIndicesData, AvailableIndicesQueryParams, ) diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/balance_sheet.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/balance_sheet.py index 8f3321f99c3..03fe0f8edc8 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/balance_sheet.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/balance_sheet.py @@ -5,13 +5,13 @@ import json from datetime import datetime from typing import Any, Dict, List, Literal, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.balance_sheet import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.balance_sheet import ( BalanceSheetData, BalanceSheetQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from pydantic import Field, field_validator from yfinance import Ticker diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/cash_flow.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/cash_flow.py index c68d602ee0c..64f933369a8 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/cash_flow.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/cash_flow.py @@ -4,13 +4,13 @@ import json from datetime import datetime from typing import Any, Dict, List, Literal, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.cash_flow import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.cash_flow import ( CashFlowStatementData, CashFlowStatementQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from pydantic import Field, field_validator from yfinance import Ticker diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/company_news.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/company_news.py index abbbb1eb411..6cc34c79952 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/company_news.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/company_news.py @@ -4,8 +4,8 @@ import json from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/crypto_historical.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/crypto_historical.py index d2b5b46952e..f3293ee95f4 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/crypto_historical.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/crypto_historical.py @@ -6,13 +6,13 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.crypto_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.crypto_historical import ( CryptoHistoricalData, CryptoHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from openbb_yfinance.utils.helpers import yf_download from openbb_yfinance.utils.references import INTERVALS, PERIODS from pandas import to_datetime diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/currency_historical.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/currency_historical.py index 048d42227da..e9f349a8af3 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/currency_historical.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/currency_historical.py @@ -6,13 +6,13 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.currency_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.currency_historical import ( CurrencyHistoricalData, CurrencyHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from openbb_yfinance.utils.helpers import yf_download from openbb_yfinance.utils.references import INTERVALS, PERIODS from pandas import to_datetime diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/equity_historical.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/equity_historical.py index f9105780da8..bfe6955838e 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/equity_historical.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/equity_historical.py @@ -5,13 +5,13 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Literal, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from openbb_yfinance.utils.helpers import yf_download from openbb_yfinance.utils.references import PERIODS from pandas import Timestamp, to_datetime diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/etf_historical.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/etf_historical.py index 716516e598f..002578f81b8 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/etf_historical.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/etf_historical.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.etf_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.etf_historical import ( EtfHistoricalData, EtfHistoricalQueryParams, ) -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.errors import EmptyDataError from pandas import Timestamp from pydantic import Field, field_validator diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_curve.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_curve.py index 12f23938ce0..83d5f2da8e8 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_curve.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_curve.py @@ -4,12 +4,12 @@ from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.futures_curve import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.futures_curve import ( FuturesCurveData, FuturesCurveQueryParams, ) -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.errors import EmptyDataError from openbb_yfinance.utils.helpers import get_futures_curve diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py index 035bf7308c5..72213843e69 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/futures_historical.py @@ -6,13 +6,13 @@ from datetime import datetime, timedelta from typing import Any, Dict, List, Optional from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.futures_historical import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.futures_historical import ( FuturesHistoricalData, FuturesHistoricalQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from openbb_yfinance.utils.helpers import get_futures_data from openbb_yfinance.utils.references import INTERVALS, MONTHS, PERIODS from pandas import Timestamp, to_datetime diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/gainers.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/gainers.py index e60b7400be6..5350c6d5be5 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/gainers.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/gainers.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -72,7 +72,8 @@ class YFGainersFetcher(Fetcher[YFGainersQueryParams, List[YFGainersData]]): df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -83,12 +84,14 @@ class YFGainersFetcher(Fetcher[YFGainersQueryParams, List[YFGainersData]]): **kwargs: Any, ) -> List[YFGainersData]: """Transform data.""" - data["% Change"] = data["% Change"].str.replace("%", "") + data["% Change"] = data["% Change"].str.replace("%", "").astype(float) data["Volume"] = data["Volume"].str.replace("M", "").astype(float) * 1000000 data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data = data.apply(pd.to_numeric, errors="ignore") - data = data.to_dict(orient="records") - data = sorted(data, key=lambda d: d["% Change"], reverse=query.sort == "desc") - return [YFGainersData.model_validate(d) for d in data] + return [ + YFGainersData.model_validate(d) + for d in data.sort_values("% Change", ascending=False).to_dict( + orient="records" + ) + ] diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/growth_tech_equities.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/growth_tech_equities.py index 36b42be99c0..0c0881d6c0f 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/growth_tech_equities.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/growth_tech_equities.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -74,7 +74,8 @@ class YFGrowthTechEquitiesFetcher( df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -90,7 +91,6 @@ class YFGrowthTechEquitiesFetcher( data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data = data.apply(pd.to_numeric, errors="ignore") data = data.to_dict(orient="records") data = sorted(data, key=lambda d: d["Volume"], reverse=query.sort == "desc") return [YFGrowthTechEquitiesData.model_validate(d) for d in data] diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/income_statement.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/income_statement.py index ecb2eda8c9b..97afbb84931 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/income_statement.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/income_statement.py @@ -4,8 +4,8 @@ import json from datetime import datetime from typing import Any, Dict, List, Optional -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.income_statement import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.income_statement import ( IncomeStatementData, IncomeStatementQueryParams, ) diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/losers.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/losers.py index 90830c61b03..fdb7a84a8ea 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/losers.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/losers.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -72,7 +72,8 @@ class YFLosersFetcher(Fetcher[YFLosersQueryParams, List[YFLosersData]]): df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -84,12 +85,14 @@ class YFLosersFetcher(Fetcher[YFLosersQueryParams, List[YFLosersData]]): **kwargs: Any, ) -> List[YFLosersData]: """Transform data.""" - data["% Change"] = data["% Change"].str.replace("%", "") + data["% Change"] = data["% Change"].str.replace("%", "").astype(float) data["Volume"] = data["Volume"].str.replace("M", "").astype(float) * 1000000 data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data = data.apply(pd.to_numeric, errors="ignore") - data = data.to_dict(orient="records") - data = sorted(data, key=lambda d: d["% Change"], reverse=query.sort == "asc") - return [YFLosersData.model_validate(d) for d in data] + return [ + YFLosersData.model_validate(d) + for d in data.sort_values("% Change", ascending=True).to_dict( + orient="records" + ) + ] diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/market_indices.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/market_indices.py index 722aae11b08..b54b47df0ec 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/market_indices.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/market_indices.py @@ -7,13 +7,13 @@ from typing import Any, Dict, List, Optional import pandas as pd from dateutil.relativedelta import relativedelta -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.market_indices import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.market_indices import ( MarketIndicesData, MarketIndicesQueryParams, ) -from openbb_provider.utils.descriptions import QUERY_DESCRIPTIONS -from openbb_provider.utils.errors import EmptyDataError +from openbb_core.provider.utils.descriptions import QUERY_DESCRIPTIONS +from openbb_core.provider.utils.errors import EmptyDataError from openbb_yfinance.utils.helpers import yf_download from openbb_yfinance.utils.references import INDICES, INTERVALS, PERIODS from pandas import to_datetime diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_growth_equities.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_growth_equities.py index 7b56c349d42..9adf1067a29 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_growth_equities.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_growth_equities.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -78,7 +78,8 @@ class YFUndervaluedGrowthEquitiesFetcher( df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -94,7 +95,6 @@ class YFUndervaluedGrowthEquitiesFetcher( data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data = data.apply(pd.to_numeric, errors="ignore") data = data.to_dict(orient="records") data = sorted(data, key=lambda d: d["Volume"], reverse=query.sort == "desc") return [YFUndervaluedGrowthEquitiesData.model_validate(d) for d in data] diff --git a/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_large_caps.py b/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_large_caps.py index 622e9808241..83ff2234877 100644 --- a/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_large_caps.py +++ b/openbb_platform/providers/yfinance/openbb_yfinance/models/undervalued_large_caps.py @@ -5,8 +5,8 @@ from typing import Any, Dict, List, Optional import pandas as pd import requests -from openbb_provider.abstract.fetcher import Fetcher -from openbb_provider.standard_models.equity_performance import ( +from openbb_core.provider.abstract.fetcher import Fetcher +from openbb_core.provider.standard_models.equity_performance import ( EquityPerformanceData, EquityPerformanceQueryParams, ) @@ -75,7 +75,8 @@ class YFUndervaluedLargeCapsFetcher( df = ( pd.read_html(html_clean, header=None)[0] .dropna(how="all", axis=1) - .replace(float("NaN"), "") + .fillna("-") + .replace("-", None) ) return df @@ -91,8 +92,6 @@ class YFUndervaluedLargeCapsFetcher( data["Avg Vol (3 month)"] = ( data["Avg Vol (3 month)"].str.replace("M", "").astype(float) * 1000000 ) - data["Market Cap"] = data["Market Cap"].str.replace("B", "") - data = data.apply(pd.to_numeric, errors="ignore") + data["Market Cap"] = data["Market Cap"].str.replace("B", "").astype(float) data = data.to_dict(orient="records") - data = sorted(data, key=lambda d: d["Market Cap"], reverse=query.sort == "desc") return [YFUndervaluedLargeCapsData.model_validate(d) for d in data] diff --git a/openbb_platform/tests/test_extension_map.py b/openbb_platform/tests/test_extension_map.py index 73c42735345..7cc4b96af23 100644 --- a/openbb_platform/tests/test_extension_map.py +++ b/openbb_platform/tests/test_extension_map.py @@ -25,7 +25,7 @@ def load_req_ext(file: Path) -> Dict[str, VersionConstraint]: deps = pyproject.data["tool"]["poetry"]["dependencies"] req_ext = {} for k, v in deps.items(): - if k.startswith("openbb-") and k not in ("openbb-core", "openbb-provider"): + if k.startswith("openbb-") and k not in ("openbb-core"): name = k[7:] if isinstance(v, str): req_ext[name] = parse_constraint(v) diff --git a/website/content/platform/data_models/AMERIBOR.md b/website/content/platform/data_models/AMERIBOR.md index 8b1c04ace86..89ebd541757 100644 --- a/website/content/platform/data_models/AMERIBOR.md +++ b/website/content/platform/data_models/AMERIBOR.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.ameribor_rates import ( +from openbb_core.provider.standard_models.ameribor_rates import ( AMERIBORData, AMERIBORQueryParams, ) @@ -63,4 +63,3 @@ AMERIBORQueryParams, - diff --git a/website/content/platform/data_models/AnalystEstimates.md b/website/content/platform/data_models/AnalystEstimates.md index 5e8a1e1a8a0..f4520af2a46 100644 --- a/website/content/platform/data_models/AnalystEstimates.md +++ b/website/content/platform/data_models/AnalystEstimates.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.analyst_estimates import ( +from openbb_core.provider.standard_models.analyst_estimates import ( AnalystEstimatesData, AnalystEstimatesQueryParams, ) @@ -74,4 +74,3 @@ AnalystEstimatesQueryParams, - diff --git a/website/content/platform/data_models/AvailableIndices.md b/website/content/platform/data_models/AvailableIndices.md index 6e25c7e1318..b22b06cbe4c 100644 --- a/website/content/platform/data_models/AvailableIndices.md +++ b/website/content/platform/data_models/AvailableIndices.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.available_indices import ( +from openbb_core.provider.standard_models.available_indices import ( AvailableIndicesData, AvailableIndicesQueryParams, ) @@ -98,4 +98,3 @@ AvailableIndicesQueryParams, - diff --git a/website/content/platform/data_models/BalanceSheet.md b/website/content/platform/data_models/BalanceSheet.md index 9a6c0729434..b1349ab3e1a 100644 --- a/website/content/platform/data_models/BalanceSheet.md +++ b/website/content/platform/data_models/BalanceSheet.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.balance_sheet import ( +from openbb_core.provider.standard_models.balance_sheet import ( BalanceSheetData, BalanceSheetQueryParams, ) @@ -195,4 +195,3 @@ BalanceSheetQueryParams, - diff --git a/website/content/platform/data_models/BalanceSheetGrowth.md b/website/content/platform/data_models/BalanceSheetGrowth.md index 3241dd7a8c6..8a24665263f 100644 --- a/website/content/platform/data_models/BalanceSheetGrowth.md +++ b/website/content/platform/data_models/BalanceSheetGrowth.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.balance_sheet_growth import ( +from openbb_core.provider.standard_models.balance_sheet_growth import ( BalanceSheetGrowthData, BalanceSheetGrowthQueryParams, ) @@ -93,4 +93,3 @@ BalanceSheetGrowthQueryParams, - diff --git a/website/content/platform/data_models/COT.md b/website/content/platform/data_models/COT.md index e6549fb8613..4ae0c74c3a9 100644 --- a/website/content/platform/data_models/COT.md +++ b/website/content/platform/data_models/COT.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.cot import ( +from openbb_core.provider.standard_models.cot import ( COTData, COTQueryParams, ) @@ -44,7 +44,7 @@ COTQueryParams, | ---- | ---- | ----------- | ------- | -------- | | id | str | The series ID string for the report. Default report is Two-Year Treasury Note Futures. | 042601 | True | | provider | Literal['nasdaq'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'nasdaq' if there is no default. | nasdaq | True | -| data_type | Literal['F', 'FO', 'CITS'] | +| data_type | Literal['F', 'FO', 'CITS'] | The type of data to reuturn. Default is "FO". F = Futures only @@ -54,7 +54,7 @@ COTQueryParams, CITS = Commodity Index Trader Supplemental. Only valid for commodities. | FO | True | | legacy_format | bool | Returns the legacy format of report. Default is False. | False | True | -| report_type | Literal['ALL', 'CHG', 'OLD', 'OTR'] | +| report_type | Literal['ALL', 'CHG', 'OLD', 'OTR'] | The type of report to return. Default is "ALL". ALL = All @@ -65,7 +65,7 @@ COTQueryParams, OTR = Other Crop Years | ALL | True | -| measure | Literal['CR', 'NT', 'OI', 'CHG'] | +| measure | Literal['CR', 'NT', 'OI', 'CHG'] | The measure to return. Default is None. CR = Concentration Ratios @@ -94,4 +94,3 @@ COTQueryParams, - diff --git a/website/content/platform/data_models/COTSearch.md b/website/content/platform/data_models/COTSearch.md index 0f5a30d9ac5..ca4204036b1 100644 --- a/website/content/platform/data_models/COTSearch.md +++ b/website/content/platform/data_models/COTSearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( COTSearchData, COTSearchQueryParams, ) @@ -56,4 +56,3 @@ COTSearchQueryParams, - diff --git a/website/content/platform/data_models/CalendarDividend.md b/website/content/platform/data_models/CalendarDividend.md index aaf3dfdbfd8..187aa31b4bb 100644 --- a/website/content/platform/data_models/CalendarDividend.md +++ b/website/content/platform/data_models/CalendarDividend.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( CalendarDividendData, CalendarDividendQueryParams, ) @@ -87,4 +87,3 @@ CalendarDividendQueryParams, - diff --git a/website/content/platform/data_models/CalendarEarnings.md b/website/content/platform/data_models/CalendarEarnings.md index 923e186b297..f1d59784681 100644 --- a/website/content/platform/data_models/CalendarEarnings.md +++ b/website/content/platform/data_models/CalendarEarnings.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.calendar_earnings import ( +from openbb_core.provider.standard_models.calendar_earnings import ( CalendarEarningsData, CalendarEarningsQueryParams, ) @@ -60,4 +60,3 @@ CalendarEarningsQueryParams, - diff --git a/website/content/platform/data_models/CalendarIpo.md b/website/content/platform/data_models/CalendarIpo.md index 1380b3fe408..f1ac1cfcd45 100644 --- a/website/content/platform/data_models/CalendarIpo.md +++ b/website/content/platform/data_models/CalendarIpo.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.calendar_ipo import ( +from openbb_core.provider.standard_models.calendar_ipo import ( CalendarIpoData, CalendarIpoQueryParams, ) @@ -87,55 +87,55 @@ CalendarIpoQueryParams, | ---- | ---- | ----------- | | symbol | str | Symbol representing the entity requested in the data. | | ipo_date | date | The date of the IPO, when the stock first trades on a major exchange. | -| status | Literal['upcoming', 'priced', 'withdrawn'] | +| status | Literal['upcoming', 'priced', 'withdrawn'] | The status of the IPO. Upcoming IPOs have not taken place yet but are expected to. Priced IPOs have taken place. Withdrawn IPOs were expected to take place, but were subsequently withdrawn and did not take place | -| exchange | str | +| exchange | str | The acronym of the stock exchange that the company is going to trade publicly on. Typically NYSE or NASDAQ. | | offer_amount | float | The total dollar amount of shares offered in the IPO. Typically this is share price * share count | | share_price | float | The price per share at which the IPO was offered. | -| share_price_lowest | float | +| share_price_lowest | float | The expected lowest price per share at which the IPO will be offered. Before an IPO is priced, companies typically provide a range of prices per share at which they expect to offer the IPO (typically available for upcoming IPOs). | -| share_price_highest | float | +| share_price_highest | float | The expected highest price per share at which the IPO will be offered. Before an IPO is priced, companies typically provide a range of prices per share at which they expect to offer the IPO (typically available for upcoming IPOs). | | share_count | int | The number of shares offered in the IPO. | -| share_count_lowest | int | +| share_count_lowest | int | The expected lowest number of shares that will be offered in the IPO. Before an IPO is priced, companies typically provide a range of shares that they expect to offer in the IPO (typically available for upcoming IPOs). | -| share_count_highest | int | +| share_count_highest | int | The expected highest number of shares that will be offered in the IPO. Before an IPO is priced, companies typically provide a range of shares that they expect to offer in the IPO (typically available for upcoming IPOs). | | announcement_url | str | The URL to the company's announcement of the IPO | -| sec_report_url | str | +| sec_report_url | str | The URL to the company's S-1, S-1/A, F-1, or F-1/A SEC filing, which is required to be filed before an IPO takes place. | | open_price | float | The opening price at the beginning of the first trading day (only available for priced IPOs). | | close_price | float | The closing price at the end of the first trading day (only available for priced IPOs). | | volume | int | The volume at the end of the first trading day (only available for priced IPOs). | -| day_change | float | +| day_change | float | The percentage change between the open price and the close price on the first trading day (only available for priced IPOs). | -| week_change | float | +| week_change | float | The percentage change between the open price on the first trading day and the close price approximately a week after the first trading day (only available for priced IPOs). | -| month_change | float | +| month_change | float | The percentage change between the open price on the first trading day and the close price approximately a month after the first trading day (only available for priced IPOs). | @@ -160,4 +160,3 @@ CalendarIpoQueryParams, - diff --git a/website/content/platform/data_models/CalendarSplits.md b/website/content/platform/data_models/CalendarSplits.md index 4f204a519df..af4eb7fc526 100644 --- a/website/content/platform/data_models/CalendarSplits.md +++ b/website/content/platform/data_models/CalendarSplits.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.calendar_splits import ( +from openbb_core.provider.standard_models.calendar_splits import ( CalendarSplitsData, CalendarSplitsQueryParams, ) @@ -56,4 +56,3 @@ CalendarSplitsQueryParams, - diff --git a/website/content/platform/data_models/CashFlowStatement.md b/website/content/platform/data_models/CashFlowStatement.md index a711bcd4ddd..2f95cf20ee7 100644 --- a/website/content/platform/data_models/CashFlowStatement.md +++ b/website/content/platform/data_models/CashFlowStatement.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.cash_flow import ( +from openbb_core.provider.standard_models.cash_flow import ( CashFlowStatementData, CashFlowStatementQueryParams, ) @@ -171,4 +171,3 @@ CashFlowStatementQueryParams, - diff --git a/website/content/platform/data_models/CashFlowStatementGrowth.md b/website/content/platform/data_models/CashFlowStatementGrowth.md index eed1aa84fc5..67071e835a1 100644 --- a/website/content/platform/data_models/CashFlowStatementGrowth.md +++ b/website/content/platform/data_models/CashFlowStatementGrowth.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.cash_flow_growth import ( +from openbb_core.provider.standard_models.cash_flow_growth import ( CashFlowStatementGrowthData, CashFlowStatementGrowthQueryParams, ) @@ -84,4 +84,3 @@ CashFlowStatementGrowthQueryParams, - diff --git a/website/content/platform/data_models/CikMap.md b/website/content/platform/data_models/CikMap.md index 36220602c07..e1c46a4b5f4 100644 --- a/website/content/platform/data_models/CikMap.md +++ b/website/content/platform/data_models/CikMap.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( CikMapData, CikMapQueryParams, ) @@ -57,4 +57,3 @@ CikMapQueryParams, - diff --git a/website/content/platform/data_models/CommercialPaper.md b/website/content/platform/data_models/CommercialPaper.md index 8a120f80b80..13a18f73f0d 100644 --- a/website/content/platform/data_models/CommercialPaper.md +++ b/website/content/platform/data_models/CommercialPaper.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.cp import ( +from openbb_core.provider.standard_models.cp import ( CommercialPaperData, CommercialPaperQueryParams, ) @@ -56,4 +56,3 @@ CommercialPaperQueryParams, - diff --git a/website/content/platform/data_models/CompanyFilings.md b/website/content/platform/data_models/CompanyFilings.md index 3f303ba8cc9..71d6fcf15f3 100644 --- a/website/content/platform/data_models/CompanyFilings.md +++ b/website/content/platform/data_models/CompanyFilings.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.company_filings import ( +from openbb_core.provider.standard_models.company_filings import ( CompanyFilingsData, CompanyFilingsQueryParams, ) @@ -114,4 +114,3 @@ CompanyFilingsQueryParams, - diff --git a/website/content/platform/data_models/CompanyNews.md b/website/content/platform/data_models/CompanyNews.md index b5be06c7d37..2d6f73e82ca 100644 --- a/website/content/platform/data_models/CompanyNews.md +++ b/website/content/platform/data_models/CompanyNews.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.company_news import ( +from openbb_core.provider.standard_models.company_news import ( CompanyNewsData, CompanyNewsQueryParams, ) @@ -193,4 +193,3 @@ CompanyNewsQueryParams, - diff --git a/website/content/platform/data_models/CompanyOverview.md b/website/content/platform/data_models/CompanyOverview.md index 6e308c6f28b..b30792138e7 100644 --- a/website/content/platform/data_models/CompanyOverview.md +++ b/website/content/platform/data_models/CompanyOverview.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.company_overview import ( +from openbb_core.provider.standard_models.company_overview import ( CompanyOverviewData, CompanyOverviewQueryParams, ) @@ -86,4 +86,3 @@ CompanyOverviewQueryParams, - diff --git a/website/content/platform/data_models/ConsumerPriceIndex.md b/website/content/platform/data_models/ConsumerPriceIndex.md index ae754fc51ba..1f323b15d02 100644 --- a/website/content/platform/data_models/ConsumerPriceIndex.md +++ b/website/content/platform/data_models/ConsumerPriceIndex.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.cpi import ( +from openbb_core.provider.standard_models.cpi import ( ConsumerPriceIndexData, ConsumerPriceIndexQueryParams, ) @@ -61,4 +61,3 @@ ConsumerPriceIndexQueryParams, - diff --git a/website/content/platform/data_models/CryptoHistorical.md b/website/content/platform/data_models/CryptoHistorical.md index 98e7c2f7e28..c27b0903419 100644 --- a/website/content/platform/data_models/CryptoHistorical.md +++ b/website/content/platform/data_models/CryptoHistorical.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.crypto_historical import ( +from openbb_core.provider.standard_models.crypto_historical import ( CryptoHistoricalData, CryptoHistoricalQueryParams, ) @@ -131,4 +131,3 @@ CryptoHistoricalQueryParams, - diff --git a/website/content/platform/data_models/CryptoSearch.md b/website/content/platform/data_models/CryptoSearch.md index 45679742218..6d5eb90d883 100644 --- a/website/content/platform/data_models/CryptoSearch.md +++ b/website/content/platform/data_models/CryptoSearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.crypto_search import ( +from openbb_core.provider.standard_models.crypto_search import ( CryptoSearchData, CryptoSearchQueryParams, ) @@ -63,4 +63,3 @@ CryptoSearchQueryParams, - diff --git a/website/content/platform/data_models/CurrencyHistorical.md b/website/content/platform/data_models/CurrencyHistorical.md index b6c57fdb4dc..973900c360f 100644 --- a/website/content/platform/data_models/CurrencyHistorical.md +++ b/website/content/platform/data_models/CurrencyHistorical.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.currency_historical import ( +from openbb_core.provider.standard_models.currency_historical import ( CurrencyHistoricalData, CurrencyHistoricalQueryParams, ) @@ -130,4 +130,3 @@ CurrencyHistoricalQueryParams, - diff --git a/website/content/platform/data_models/CurrencyPairs.md b/website/content/platform/data_models/CurrencyPairs.md index 878862c7830..3e8cbc2b4b9 100644 --- a/website/content/platform/data_models/CurrencyPairs.md +++ b/website/content/platform/data_models/CurrencyPairs.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.currency_pairs import ( +from openbb_core.provider.standard_models.currency_pairs import ( CurrencyPairsData, CurrencyPairsQueryParams, ) @@ -100,4 +100,3 @@ CurrencyPairsQueryParams, - diff --git a/website/content/platform/data_models/DiscountWindowPrimaryCreditRate.md b/website/content/platform/data_models/DiscountWindowPrimaryCreditRate.md index c21225ac819..4bfe3e9b8de 100644 --- a/website/content/platform/data_models/DiscountWindowPrimaryCreditRate.md +++ b/website/content/platform/data_models/DiscountWindowPrimaryCreditRate.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.dwpcr_rates import ( +from openbb_core.provider.standard_models.dwpcr_rates import ( DiscountWindowPrimaryCreditRateData, DiscountWindowPrimaryCreditRateQueryParams, ) @@ -63,4 +63,3 @@ DiscountWindowPrimaryCreditRateQueryParams, - diff --git a/website/content/platform/data_models/DiscoveryFilings.md b/website/content/platform/data_models/DiscoveryFilings.md index 0b6e5a05948..ede85503615 100644 --- a/website/content/platform/data_models/DiscoveryFilings.md +++ b/website/content/platform/data_models/DiscoveryFilings.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( DiscoveryFilingsData, DiscoveryFilingsQueryParams, ) @@ -84,4 +84,3 @@ DiscoveryFilingsQueryParams, - diff --git a/website/content/platform/data_models/ESTR.md b/website/content/platform/data_models/ESTR.md index 96932b9fbab..b853d3ab266 100644 --- a/website/content/platform/data_models/ESTR.md +++ b/website/content/platform/data_models/ESTR.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.estr_rates import ( +from openbb_core.provider.standard_models.estr_rates import ( ESTRData, ESTRQueryParams, ) @@ -63,4 +63,3 @@ ESTRQueryParams, - diff --git a/website/content/platform/data_models/ETFActive.md b/website/content/platform/data_models/ETFActive.md index c33b5dabaef..16d990b39a5 100644 --- a/website/content/platform/data_models/ETFActive.md +++ b/website/content/platform/data_models/ETFActive.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( ETFActiveData, ETFActiveQueryParams, ) @@ -79,4 +79,3 @@ ETFActiveQueryParams, - diff --git a/website/content/platform/data_models/ETFGainers.md b/website/content/platform/data_models/ETFGainers.md index 98dcdd11bea..af69544fc9f 100644 --- a/website/content/platform/data_models/ETFGainers.md +++ b/website/content/platform/data_models/ETFGainers.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( ETFGainersData, ETFGainersQueryParams, ) @@ -80,4 +80,3 @@ ETFGainersQueryParams, - diff --git a/website/content/platform/data_models/ETFLosers.md b/website/content/platform/data_models/ETFLosers.md index 954e43ec2b2..cbe46919741 100644 --- a/website/content/platform/data_models/ETFLosers.md +++ b/website/content/platform/data_models/ETFLosers.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( ETFLosersData, ETFLosersQueryParams, ) @@ -80,4 +80,3 @@ ETFLosersQueryParams, - diff --git a/website/content/platform/data_models/EUYieldCurve.md b/website/content/platform/data_models/EUYieldCurve.md index a2d126efa10..b2145fd74fc 100644 --- a/website/content/platform/data_models/EUYieldCurve.md +++ b/website/content/platform/data_models/EUYieldCurve.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.eu_yield_curve import ( +from openbb_core.provider.standard_models.eu_yield_curve import ( EUYieldCurveData, EUYieldCurveQueryParams, ) @@ -63,4 +63,3 @@ EUYieldCurveQueryParams, - diff --git a/website/content/platform/data_models/EarningsCallTranscript.md b/website/content/platform/data_models/EarningsCallTranscript.md index e3ed9eba68d..0b231491cf8 100644 --- a/website/content/platform/data_models/EarningsCallTranscript.md +++ b/website/content/platform/data_models/EarningsCallTranscript.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.earnings_call_transcript import ( +from openbb_core.provider.standard_models.earnings_call_transcript import ( EarningsCallTranscriptData, EarningsCallTranscriptQueryParams, ) @@ -56,4 +56,3 @@ EarningsCallTranscriptQueryParams, - diff --git a/website/content/platform/data_models/EconomicCalendar.md b/website/content/platform/data_models/EconomicCalendar.md index 57e12a1181c..8b06183c388 100644 --- a/website/content/platform/data_models/EconomicCalendar.md +++ b/website/content/platform/data_models/EconomicCalendar.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.economic_calendar import ( +from openbb_core.provider.standard_models.economic_calendar import ( EconomicCalendarData, EconomicCalendarQueryParams, ) @@ -132,4 +132,3 @@ EconomicCalendarQueryParams, - diff --git a/website/content/platform/data_models/EquityActive.md b/website/content/platform/data_models/EquityActive.md index 6ef56784291..ad11ee4cf12 100644 --- a/website/content/platform/data_models/EquityActive.md +++ b/website/content/platform/data_models/EquityActive.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityActiveData, EquityActiveQueryParams, ) @@ -71,4 +71,3 @@ EquityActiveQueryParams, - diff --git a/website/content/platform/data_models/EquityAggressiveSmallCaps.md b/website/content/platform/data_models/EquityAggressiveSmallCaps.md index ec4382d28fc..349044cb2cd 100644 --- a/website/content/platform/data_models/EquityAggressiveSmallCaps.md +++ b/website/content/platform/data_models/EquityAggressiveSmallCaps.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityAggressiveSmallCapsData, EquityAggressiveSmallCapsQueryParams, ) @@ -71,4 +71,3 @@ EquityAggressiveSmallCapsQueryParams, - diff --git a/website/content/platform/data_models/EquityFTD.md b/website/content/platform/data_models/EquityFTD.md index 9c657ef4342..b98af2f804c 100644 --- a/website/content/platform/data_models/EquityFTD.md +++ b/website/content/platform/data_models/EquityFTD.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityFTDData, EquityFTDQueryParams, ) @@ -44,11 +44,11 @@ EquityFTDQueryParams, | ---- | ---- | ----------- | ------- | -------- | | symbol | Union[str, List[str]] | Symbol to get data for. | | False | | provider | Literal['sec'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'sec' if there is no default. | sec | True | -| limit | int | +| limit | int | Limit the number of reports to parse, from most recent. Approximately 24 reports per year, going back to 2009. | 24 | True | -| skip_reports | int | +| skip_reports | int | Skip N number of reports from current. A value of 1 will skip the most recent report. | 0 | True | @@ -71,4 +71,3 @@ EquityFTDQueryParams, - diff --git a/website/content/platform/data_models/EquityGainers.md b/website/content/platform/data_models/EquityGainers.md index 760135927d5..261a31db2b0 100644 --- a/website/content/platform/data_models/EquityGainers.md +++ b/website/content/platform/data_models/EquityGainers.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityGainersData, EquityGainersQueryParams, ) @@ -71,4 +71,3 @@ EquityGainersQueryParams, - diff --git a/website/content/platform/data_models/EquityHistorical.md b/website/content/platform/data_models/EquityHistorical.md index 52b58c2d0c3..df2b564bf9b 100644 --- a/website/content/platform/data_models/EquityHistorical.md +++ b/website/content/platform/data_models/EquityHistorical.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_historical import ( +from openbb_core.provider.standard_models.equity_historical import ( EquityHistoricalData, EquityHistoricalQueryParams, ) @@ -232,4 +232,3 @@ EquityHistoricalQueryParams, - diff --git a/website/content/platform/data_models/EquityInfo.md b/website/content/platform/data_models/EquityInfo.md index 37e81d4bffc..e80b5b03507 100644 --- a/website/content/platform/data_models/EquityInfo.md +++ b/website/content/platform/data_models/EquityInfo.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_info import ( +from openbb_core.provider.standard_models.equity_info import ( EquityInfoData, EquityInfoQueryParams, ) @@ -97,4 +97,3 @@ EquityInfoQueryParams, - diff --git a/website/content/platform/data_models/EquityLosers.md b/website/content/platform/data_models/EquityLosers.md index 017517162e3..557923f6236 100644 --- a/website/content/platform/data_models/EquityLosers.md +++ b/website/content/platform/data_models/EquityLosers.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityLosersData, EquityLosersQueryParams, ) @@ -71,4 +71,3 @@ EquityLosersQueryParams, - diff --git a/website/content/platform/data_models/EquityNBBO.md b/website/content/platform/data_models/EquityNBBO.md index 6ae99cccfd4..72917d41bea 100644 --- a/website/content/platform/data_models/EquityNBBO.md +++ b/website/content/platform/data_models/EquityNBBO.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_nbbo import ( +from openbb_core.provider.standard_models.equity_nbbo import ( EquityNBBOData, EquityNBBOQueryParams, ) @@ -46,20 +46,20 @@ EquityNBBOQueryParams, | provider | Literal['polygon'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'polygon' if there is no default. | polygon | True | | limit | int | The number of data entries to return. Up to ten million records will be returned. Pagination occurs in groups of 50,000. Remaining limit values will always return 50,000 more records unless it is the last page. High volume tickers will require multiple max requests for a single day's NBBO records. Expect stocks, like SPY, to approach 1GB in size, per day, as a raw CSV. Splitting large requests into chunks is recommended for full-day requests of high-volume symbols. | 50000 | True | | date | date | A specific date to get data for. Use bracketed the timestamp parameters to specify exact time ranges. | None | True | -| timestamp_lt | Union[datetime, str] | +| timestamp_lt | Union[datetime, str] | Query by datetime, less than. Either a date with the format YYYY-MM-DD or a TZ-aware timestamp string, YYYY-MM-DDTH:M:S.000000000-04:00". Include all nanoseconds and the 'T' between the day and hour. | None | True | -| timestamp_gt | Union[datetime, str] | +| timestamp_gt | Union[datetime, str] | Query by datetime, greater than. Either a date with the format YYYY-MM-DD or a TZ-aware timestamp string, YYYY-MM-DDTH:M:S.000000000-04:00". Include all nanoseconds and the 'T' between the day and hour. | None | True | -| timestamp_lte | Union[datetime, str] | +| timestamp_lte | Union[datetime, str] | Query by datetime, less than or equal to. Either a date with the format YYYY-MM-DD or a TZ-aware timestamp string, YYYY-MM-DDTH:M:S.000000000-04:00". Include all nanoseconds and the 'T' between the day and hour. | None | True | -| timestamp_gte | Union[datetime, str] | +| timestamp_gte | Union[datetime, str] | Query by datetime, greater than or equal to. Either a date with the format YYYY-MM-DD or a TZ-aware timestamp string, YYYY-MM-DDTH:M:S.000000000-04:00". Include all nanoseconds and the 'T' between the day and hour. @@ -77,7 +77,7 @@ EquityNBBOQueryParams, | ---- | ---- | ----------- | | ask_exchange | str | The exchange ID for the ask. | | ask | float | The last ask price. | -| ask_size | int | +| ask_size | int | The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price. @@ -93,7 +93,7 @@ EquityNBBOQueryParams, | ---- | ---- | ----------- | | ask_exchange | str | The exchange ID for the ask. | | ask | float | The last ask price. | -| ask_size | int | +| ask_size | int | The ask size. This represents the number of round lot orders at the given ask price. The normal round lot size is 100 shares. An ask size of 2 means there are 200 shares available to purchase at the given ask price. @@ -104,24 +104,23 @@ EquityNBBOQueryParams, | tape | str | The exchange tape. | | conditions | Union[str, List[int], List[str]] | A list of condition codes. | | indicators | List | A list of indicator codes. | -| sequence_num | int | +| sequence_num | int | The sequence number represents the sequence in which message events happened. These are increasing and unique per ticker symbol, but will not always be sequential (e.g., 1, 2, 6, 9, 10, 11) | -| participant_timestamp | datetime | +| participant_timestamp | datetime | The nanosecond accuracy Participant/Exchange Unix Timestamp. This is the timestamp of when the quote was actually generated at the exchange. | -| sip_timestamp | datetime | +| sip_timestamp | datetime | The nanosecond accuracy SIP Unix Timestamp. This is the timestamp of when the SIP received this quote from the exchange which produced it. | -| trf_timestamp | datetime | +| trf_timestamp | datetime | The nanosecond accuracy TRF (Trade Reporting Facility) Unix Timestamp. This is the timestamp of when the trade reporting facility received this quote. | - diff --git a/website/content/platform/data_models/EquityOwnership.md b/website/content/platform/data_models/EquityOwnership.md index d7a80aca0e5..545ba078049 100644 --- a/website/content/platform/data_models/EquityOwnership.md +++ b/website/content/platform/data_models/EquityOwnership.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_ownership import ( +from openbb_core.provider.standard_models.equity_ownership import ( EquityOwnershipData, EquityOwnershipQueryParams, ) @@ -91,4 +91,3 @@ EquityOwnershipQueryParams, - diff --git a/website/content/platform/data_models/EquityPeers.md b/website/content/platform/data_models/EquityPeers.md index 764b04b4c27..c4f823b796e 100644 --- a/website/content/platform/data_models/EquityPeers.md +++ b/website/content/platform/data_models/EquityPeers.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_peers import ( +from openbb_core.provider.standard_models.equity_peers import ( EquityPeersData, EquityPeersQueryParams, ) @@ -51,4 +51,3 @@ EquityPeersQueryParams, - diff --git a/website/content/platform/data_models/EquityQuote.md b/website/content/platform/data_models/EquityQuote.md index c057b3727bf..ad07d57dcb6 100644 --- a/website/content/platform/data_models/EquityQuote.md +++ b/website/content/platform/data_models/EquityQuote.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_quote import ( +from openbb_core.provider.standard_models.equity_quote import ( EquityQuoteData, EquityQuoteQueryParams, ) @@ -121,4 +121,3 @@ EquityQuoteQueryParams, - diff --git a/website/content/platform/data_models/EquitySearch.md b/website/content/platform/data_models/EquitySearch.md index 5a6bfc31c8c..c9a766b9557 100644 --- a/website/content/platform/data_models/EquitySearch.md +++ b/website/content/platform/data_models/EquitySearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_search import ( +from openbb_core.provider.standard_models.equity_search import ( EquitySearchData, EquitySearchQueryParams, ) @@ -129,4 +129,3 @@ EquitySearchQueryParams, - diff --git a/website/content/platform/data_models/EquityShortInterest.md b/website/content/platform/data_models/EquityShortInterest.md index 4db597053e4..19908047d92 100644 --- a/website/content/platform/data_models/EquityShortInterest.md +++ b/website/content/platform/data_models/EquityShortInterest.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityShortInterestData, EquityShortInterestQueryParams, ) @@ -60,4 +60,3 @@ EquityShortInterestQueryParams, - diff --git a/website/content/platform/data_models/EquityUndervaluedGrowth.md b/website/content/platform/data_models/EquityUndervaluedGrowth.md index e0998985472..1cad2704ff3 100644 --- a/website/content/platform/data_models/EquityUndervaluedGrowth.md +++ b/website/content/platform/data_models/EquityUndervaluedGrowth.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityUndervaluedGrowthData, EquityUndervaluedGrowthQueryParams, ) @@ -71,4 +71,3 @@ EquityUndervaluedGrowthQueryParams, - diff --git a/website/content/platform/data_models/EquityUndervaluedLargeCaps.md b/website/content/platform/data_models/EquityUndervaluedLargeCaps.md index bb795d762b4..8c48e39bbe3 100644 --- a/website/content/platform/data_models/EquityUndervaluedLargeCaps.md +++ b/website/content/platform/data_models/EquityUndervaluedLargeCaps.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EquityUndervaluedLargeCapsData, EquityUndervaluedLargeCapsQueryParams, ) @@ -71,4 +71,3 @@ EquityUndervaluedLargeCapsQueryParams, - diff --git a/website/content/platform/data_models/EquityValuationMultiples.md b/website/content/platform/data_models/EquityValuationMultiples.md index e07700af3d3..3cd566869ca 100644 --- a/website/content/platform/data_models/EquityValuationMultiples.md +++ b/website/content/platform/data_models/EquityValuationMultiples.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.equity_valuation_multiples import ( +from openbb_core.provider.standard_models.equity_valuation_multiples import ( EquityValuationMultiplesData, EquityValuationMultiplesQueryParams, ) @@ -112,4 +112,3 @@ EquityValuationMultiplesQueryParams, - diff --git a/website/content/platform/data_models/EtfCountries.md b/website/content/platform/data_models/EtfCountries.md index a03bd437f59..104adcc5513 100644 --- a/website/content/platform/data_models/EtfCountries.md +++ b/website/content/platform/data_models/EtfCountries.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_countries import ( +from openbb_core.provider.standard_models.etf_countries import ( EtfCountriesData, EtfCountriesQueryParams, ) @@ -51,4 +51,3 @@ EtfCountriesQueryParams, - diff --git a/website/content/platform/data_models/EtfHistorical.md b/website/content/platform/data_models/EtfHistorical.md index 6f92ec5fa5f..15f153dbe3c 100644 --- a/website/content/platform/data_models/EtfHistorical.md +++ b/website/content/platform/data_models/EtfHistorical.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_historical import ( +from openbb_core.provider.standard_models.etf_historical import ( EtfHistoricalData, EtfHistoricalQueryParams, ) @@ -71,4 +71,3 @@ EtfHistoricalQueryParams, - diff --git a/website/content/platform/data_models/EtfHoldings.md b/website/content/platform/data_models/EtfHoldings.md index 8d9e006b0d0..4ed7ac115fa 100644 --- a/website/content/platform/data_models/EtfHoldings.md +++ b/website/content/platform/data_models/EtfHoldings.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_holdings import ( +from openbb_core.provider.standard_models.etf_holdings import ( EtfHoldingsData, EtfHoldingsQueryParams, ) @@ -90,4 +90,3 @@ EtfHoldingsQueryParams, - diff --git a/website/content/platform/data_models/EtfHoldingsDate.md b/website/content/platform/data_models/EtfHoldingsDate.md index 536dee14cd8..946d7d2d567 100644 --- a/website/content/platform/data_models/EtfHoldingsDate.md +++ b/website/content/platform/data_models/EtfHoldingsDate.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_holdings_date import ( +from openbb_core.provider.standard_models.etf_holdings_date import ( EtfHoldingsDateData, EtfHoldingsDateQueryParams, ) @@ -60,4 +60,3 @@ EtfHoldingsDateQueryParams, - diff --git a/website/content/platform/data_models/EtfHoldingsPerformance.md b/website/content/platform/data_models/EtfHoldingsPerformance.md index c67a3fa0ef9..835bab5405b 100644 --- a/website/content/platform/data_models/EtfHoldingsPerformance.md +++ b/website/content/platform/data_models/EtfHoldingsPerformance.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( EtfHoldingsPerformanceData, EtfHoldingsPerformanceQueryParams, ) @@ -85,4 +85,3 @@ EtfHoldingsPerformanceQueryParams, - diff --git a/website/content/platform/data_models/EtfInfo.md b/website/content/platform/data_models/EtfInfo.md index 62a40ac4bb2..3622d0e5601 100644 --- a/website/content/platform/data_models/EtfInfo.md +++ b/website/content/platform/data_models/EtfInfo.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_info import ( +from openbb_core.provider.standard_models.etf_info import ( EtfInfoData, EtfInfoQueryParams, ) @@ -75,4 +75,3 @@ EtfInfoQueryParams, - diff --git a/website/content/platform/data_models/EtfSearch.md b/website/content/platform/data_models/EtfSearch.md index d0288848e0a..17fd0a3a95f 100644 --- a/website/content/platform/data_models/EtfSearch.md +++ b/website/content/platform/data_models/EtfSearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_search import ( +from openbb_core.provider.standard_models.etf_search import ( EtfSearchData, EtfSearchQueryParams, ) @@ -81,4 +81,3 @@ EtfSearchQueryParams, - diff --git a/website/content/platform/data_models/EtfSectors.md b/website/content/platform/data_models/EtfSectors.md index 21d2fc25f78..54097a49e2a 100644 --- a/website/content/platform/data_models/EtfSectors.md +++ b/website/content/platform/data_models/EtfSectors.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.etf_sectors import ( +from openbb_core.provider.standard_models.etf_sectors import ( EtfSectorsData, EtfSectorsQueryParams, ) @@ -52,4 +52,3 @@ EtfSectorsQueryParams, - diff --git a/website/content/platform/data_models/EuropeanCentralBankInterestRates.md b/website/content/platform/data_models/EuropeanCentralBankInterestRates.md index a99f0a19a52..aef1cd0ef23 100644 --- a/website/content/platform/data_models/EuropeanCentralBankInterestRates.md +++ b/website/content/platform/data_models/EuropeanCentralBankInterestRates.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.ecb_interest_rates import ( +from openbb_core.provider.standard_models.ecb_interest_rates import ( EuropeanCentralBankInterestRatesData, EuropeanCentralBankInterestRatesQueryParams, ) @@ -54,4 +54,3 @@ EuropeanCentralBankInterestRatesQueryParams, - diff --git a/website/content/platform/data_models/EuropeanIndexConstituents.md b/website/content/platform/data_models/EuropeanIndexConstituents.md index ba00122b978..ee2fc62ff92 100644 --- a/website/content/platform/data_models/EuropeanIndexConstituents.md +++ b/website/content/platform/data_models/EuropeanIndexConstituents.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.european_index_constituents import ( +from openbb_core.provider.standard_models.european_index_constituents import ( EuropeanIndexConstituentsData, EuropeanIndexConstituentsQueryParams, ) @@ -78,4 +78,3 @@ EuropeanIndexConstituentsQueryParams, - diff --git a/website/content/platform/data_models/EuropeanIndices.md b/website/content/platform/data_models/EuropeanIndices.md index 923c229d008..728568cb98a 100644 --- a/website/content/platform/data_models/EuropeanIndices.md +++ b/website/content/platform/data_models/EuropeanIndices.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.european_indices import ( +from openbb_core.provider.standard_models.european_indices import ( EuropeanIndicesData, EuropeanIndicesQueryParams, ) @@ -77,4 +77,3 @@ EuropeanIndicesQueryParams, - diff --git a/website/content/platform/data_models/ExecutiveCompensation.md b/website/content/platform/data_models/ExecutiveCompensation.md index 5d040c9048a..c07a99d7964 100644 --- a/website/content/platform/data_models/ExecutiveCompensation.md +++ b/website/content/platform/data_models/ExecutiveCompensation.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.executive_compensation import ( +from openbb_core.provider.standard_models.executive_compensation import ( ExecutiveCompensationData, ExecutiveCompensationQueryParams, ) @@ -63,4 +63,3 @@ ExecutiveCompensationQueryParams, - diff --git a/website/content/platform/data_models/FEDFUNDS.md b/website/content/platform/data_models/FEDFUNDS.md index 34f5c1aa4fc..e32ee3c39c8 100644 --- a/website/content/platform/data_models/FEDFUNDS.md +++ b/website/content/platform/data_models/FEDFUNDS.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( FEDFUNDSData, FEDFUNDSQueryParams, ) @@ -63,4 +63,3 @@ FEDFUNDSQueryParams, - diff --git a/website/content/platform/data_models/Filings.md b/website/content/platform/data_models/Filings.md index 39495fc4f1f..8731ac4387f 100644 --- a/website/content/platform/data_models/Filings.md +++ b/website/content/platform/data_models/Filings.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.filings import ( +from openbb_core.provider.standard_models.filings import ( FilingsData, FilingsQueryParams, ) @@ -90,4 +90,3 @@ FilingsQueryParams, - diff --git a/website/content/platform/data_models/FinancialRatios.md b/website/content/platform/data_models/FinancialRatios.md index 49ec293e69f..fe34d746ce1 100644 --- a/website/content/platform/data_models/FinancialRatios.md +++ b/website/content/platform/data_models/FinancialRatios.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.financial_ratios import ( +from openbb_core.provider.standard_models.financial_ratios import ( FinancialRatiosData, FinancialRatiosQueryParams, ) @@ -120,4 +120,3 @@ FinancialRatiosQueryParams, - diff --git a/website/content/platform/data_models/FredIndices.md b/website/content/platform/data_models/FredIndices.md index 7ec5513727d..a091f5ad137 100644 --- a/website/content/platform/data_models/FredIndices.md +++ b/website/content/platform/data_models/FredIndices.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.fred_indices import ( +from openbb_core.provider.standard_models.fred_indices import ( FredIndicesData, FredIndicesQueryParams, ) @@ -68,4 +68,3 @@ FredIndicesQueryParams, - diff --git a/website/content/platform/data_models/FuturesCurve.md b/website/content/platform/data_models/FuturesCurve.md index c24f2f0ddc7..fc3be242192 100644 --- a/website/content/platform/data_models/FuturesCurve.md +++ b/website/content/platform/data_models/FuturesCurve.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.futures_curve import ( +from openbb_core.provider.standard_models.futures_curve import ( FuturesCurveData, FuturesCurveQueryParams, ) @@ -62,4 +62,3 @@ FuturesCurveQueryParams, - diff --git a/website/content/platform/data_models/FuturesHistorical.md b/website/content/platform/data_models/FuturesHistorical.md index 086039d3feb..0a0cabe5bbe 100644 --- a/website/content/platform/data_models/FuturesHistorical.md +++ b/website/content/platform/data_models/FuturesHistorical.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.futures_historical import ( +from openbb_core.provider.standard_models.futures_historical import ( FuturesHistoricalData, FuturesHistoricalQueryParams, ) @@ -75,4 +75,3 @@ FuturesHistoricalQueryParams, - diff --git a/website/content/platform/data_models/GdpForecast.md b/website/content/platform/data_models/GdpForecast.md index 9101fe39f91..722b9c82513 100644 --- a/website/content/platform/data_models/GdpForecast.md +++ b/website/content/platform/data_models/GdpForecast.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.gdp_forecast import ( +from openbb_core.provider.standard_models.gdp_forecast import ( GdpForecastData, GdpForecastQueryParams, ) @@ -67,4 +67,3 @@ GdpForecastQueryParams, - diff --git a/website/content/platform/data_models/GdpNominal.md b/website/content/platform/data_models/GdpNominal.md index 3eaa6c29230..e4ae1e89ef0 100644 --- a/website/content/platform/data_models/GdpNominal.md +++ b/website/content/platform/data_models/GdpNominal.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.gdp_nominal import ( +from openbb_core.provider.standard_models.gdp_nominal import ( GdpNominalData, GdpNominalQueryParams, ) @@ -65,4 +65,3 @@ GdpNominalQueryParams, - diff --git a/website/content/platform/data_models/GdpReal.md b/website/content/platform/data_models/GdpReal.md index e964b6bc688..6bb86313691 100644 --- a/website/content/platform/data_models/GdpReal.md +++ b/website/content/platform/data_models/GdpReal.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.gdp_real import ( +from openbb_core.provider.standard_models.gdp_real import ( GdpRealData, GdpRealQueryParams, ) @@ -65,4 +65,3 @@ GdpRealQueryParams, - diff --git a/website/content/platform/data_models/GlobalNews.md b/website/content/platform/data_models/GlobalNews.md index 1d1cfa7d342..89253e8a8ad 100644 --- a/website/content/platform/data_models/GlobalNews.md +++ b/website/content/platform/data_models/GlobalNews.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.global_news import ( +from openbb_core.provider.standard_models.global_news import ( GlobalNewsData, GlobalNewsQueryParams, ) @@ -147,4 +147,3 @@ GlobalNewsQueryParams, - diff --git a/website/content/platform/data_models/GrowthTechEquities.md b/website/content/platform/data_models/GrowthTechEquities.md index 26fd5fd65b2..8c3e25bbd12 100644 --- a/website/content/platform/data_models/GrowthTechEquities.md +++ b/website/content/platform/data_models/GrowthTechEquities.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( GrowthTechEquitiesData, GrowthTechEquitiesQueryParams, ) @@ -71,4 +71,3 @@ GrowthTechEquitiesQueryParams, - diff --git a/website/content/platform/data_models/HighQualityMarketCorporateBond.md b/website/content/platform/data_models/HighQualityMarketCorporateBond.md index fa5f2630087..c7a976c44a5 100644 --- a/website/content/platform/data_models/HighQualityMarketCorporateBond.md +++ b/website/content/platform/data_models/HighQualityMarketCorporateBond.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.hqm import ( +from openbb_core.provider.standard_models.hqm import ( HighQualityMarketCorporateBondData, HighQualityMarketCorporateBondQueryParams, ) @@ -55,4 +55,3 @@ HighQualityMarketCorporateBondQueryParams, - diff --git a/website/content/platform/data_models/HistoricalDividends.md b/website/content/platform/data_models/HistoricalDividends.md index cbdfaff2b0d..7ecf63db912 100644 --- a/website/content/platform/data_models/HistoricalDividends.md +++ b/website/content/platform/data_models/HistoricalDividends.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.historical_dividends import ( +from openbb_core.provider.standard_models.historical_dividends import ( HistoricalDividendsData, HistoricalDividendsQueryParams, ) @@ -57,4 +57,3 @@ HistoricalDividendsQueryParams, - diff --git a/website/content/platform/data_models/HistoricalEmployees.md b/website/content/platform/data_models/HistoricalEmployees.md index bf70b3ef2a6..2757ca5bf21 100644 --- a/website/content/platform/data_models/HistoricalEmployees.md +++ b/website/content/platform/data_models/HistoricalEmployees.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.historical_employees import ( +from openbb_core.provider.standard_models.historical_employees import ( HistoricalEmployeesData, HistoricalEmployeesQueryParams, ) @@ -59,4 +59,3 @@ HistoricalEmployeesQueryParams, - diff --git a/website/content/platform/data_models/HistoricalStockSplits.md b/website/content/platform/data_models/HistoricalStockSplits.md index e2fa4a454e1..8c3f4c1d0b4 100644 --- a/website/content/platform/data_models/HistoricalStockSplits.md +++ b/website/content/platform/data_models/HistoricalStockSplits.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.historical_splits import ( +from openbb_core.provider.standard_models.historical_splits import ( HistoricalStockSplitsData, HistoricalStockSplitsQueryParams, ) @@ -54,4 +54,3 @@ HistoricalStockSplitsQueryParams, - diff --git a/website/content/platform/data_models/ICEBofA.md b/website/content/platform/data_models/ICEBofA.md index 9f3b5ce1707..4b725d03201 100644 --- a/website/content/platform/data_models/ICEBofA.md +++ b/website/content/platform/data_models/ICEBofA.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.ice_bofa import ( +from openbb_core.provider.standard_models.ice_bofa import ( ICEBofAData, ICEBofAQueryParams, ) @@ -68,4 +68,3 @@ ICEBofAQueryParams, - diff --git a/website/content/platform/data_models/IORB.md b/website/content/platform/data_models/IORB.md index a67271429c4..e0959f1436a 100644 --- a/website/content/platform/data_models/IORB.md +++ b/website/content/platform/data_models/IORB.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.iorb_rates import ( +from openbb_core.provider.standard_models.iorb_rates import ( IORBData, IORBQueryParams, ) @@ -53,4 +53,3 @@ IORBQueryParams, - diff --git a/website/content/platform/data_models/IncomeStatement.md b/website/content/platform/data_models/IncomeStatement.md index 7fbfb34e18c..05696ffde5f 100644 --- a/website/content/platform/data_models/IncomeStatement.md +++ b/website/content/platform/data_models/IncomeStatement.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.income_statement import ( +from openbb_core.provider.standard_models.income_statement import ( IncomeStatementData, IncomeStatementQueryParams, ) @@ -213,4 +213,3 @@ IncomeStatementQueryParams, - diff --git a/website/content/platform/data_models/IncomeStatementGrowth.md b/website/content/platform/data_models/IncomeStatementGrowth.md index 8d7de45a546..d006095b831 100644 --- a/website/content/platform/data_models/IncomeStatementGrowth.md +++ b/website/content/platform/data_models/IncomeStatementGrowth.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.income_statement_growth import ( +from openbb_core.provider.standard_models.income_statement_growth import ( IncomeStatementGrowthData, IncomeStatementGrowthQueryParams, ) @@ -81,4 +81,3 @@ IncomeStatementGrowthQueryParams, - diff --git a/website/content/platform/data_models/IndexConstituents.md b/website/content/platform/data_models/IndexConstituents.md index ede3af3e87d..18a09dae1b1 100644 --- a/website/content/platform/data_models/IndexConstituents.md +++ b/website/content/platform/data_models/IndexConstituents.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.index_constituents import ( +from openbb_core.provider.standard_models.index_constituents import ( IndexConstituentsData, IndexConstituentsQueryParams, ) @@ -58,4 +58,3 @@ IndexConstituentsQueryParams, - diff --git a/website/content/platform/data_models/IndexSearch.md b/website/content/platform/data_models/IndexSearch.md index 928703dd875..8772de7ebc8 100644 --- a/website/content/platform/data_models/IndexSearch.md +++ b/website/content/platform/data_models/IndexSearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.index_search import ( +from openbb_core.provider.standard_models.index_search import ( IndexSearchData, IndexSearchQueryParams, ) @@ -82,4 +82,3 @@ IndexSearchQueryParams, - diff --git a/website/content/platform/data_models/IndexSnapshots.md b/website/content/platform/data_models/IndexSnapshots.md index 5b4b307b9d2..36ce5d10cea 100644 --- a/website/content/platform/data_models/IndexSnapshots.md +++ b/website/content/platform/data_models/IndexSnapshots.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.index_snapshots import ( +from openbb_core.provider.standard_models.index_snapshots import ( IndexSnapshotsData, IndexSnapshotsQueryParams, ) @@ -80,4 +80,3 @@ IndexSnapshotsQueryParams, - diff --git a/website/content/platform/data_models/InstitutionalOwnership.md b/website/content/platform/data_models/InstitutionalOwnership.md index 3bb4ed591d3..a21f11d61a5 100644 --- a/website/content/platform/data_models/InstitutionalOwnership.md +++ b/website/content/platform/data_models/InstitutionalOwnership.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.institutional_ownership import ( +from openbb_core.provider.standard_models.institutional_ownership import ( InstitutionalOwnershipData, InstitutionalOwnershipQueryParams, ) @@ -88,4 +88,3 @@ InstitutionalOwnershipQueryParams, - diff --git a/website/content/platform/data_models/InstitutionsSearch.md b/website/content/platform/data_models/InstitutionsSearch.md index fe2c6874e75..4461416e25b 100644 --- a/website/content/platform/data_models/InstitutionsSearch.md +++ b/website/content/platform/data_models/InstitutionsSearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( InstitutionsSearchData, InstitutionsSearchQueryParams, ) @@ -67,4 +67,3 @@ InstitutionsSearchQueryParams, - diff --git a/website/content/platform/data_models/KeyExecutives.md b/website/content/platform/data_models/KeyExecutives.md index c58a6591b79..8eafa3d4d48 100644 --- a/website/content/platform/data_models/KeyExecutives.md +++ b/website/content/platform/data_models/KeyExecutives.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.key_executives import ( +from openbb_core.provider.standard_models.key_executives import ( KeyExecutivesData, KeyExecutivesQueryParams, ) @@ -57,4 +57,3 @@ KeyExecutivesQueryParams, - diff --git a/website/content/platform/data_models/KeyMetrics.md b/website/content/platform/data_models/KeyMetrics.md index f82f0fed5c7..2188843cc3c 100644 --- a/website/content/platform/data_models/KeyMetrics.md +++ b/website/content/platform/data_models/KeyMetrics.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.key_metrics import ( +from openbb_core.provider.standard_models.key_metrics import ( KeyMetricsData, KeyMetricsQueryParams, ) @@ -190,4 +190,3 @@ KeyMetricsQueryParams, - diff --git a/website/content/platform/data_models/MarketIndices.md b/website/content/platform/data_models/MarketIndices.md index 612ceb1a977..9132a1f50a4 100644 --- a/website/content/platform/data_models/MarketIndices.md +++ b/website/content/platform/data_models/MarketIndices.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.market_indices import ( +from openbb_core.provider.standard_models.market_indices import ( MarketIndicesData, MarketIndicesQueryParams, ) @@ -156,4 +156,3 @@ MarketIndicesQueryParams, - diff --git a/website/content/platform/data_models/MarketSnapshots.md b/website/content/platform/data_models/MarketSnapshots.md index cbd08e83ad2..0ddc3b1d088 100644 --- a/website/content/platform/data_models/MarketSnapshots.md +++ b/website/content/platform/data_models/MarketSnapshots.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.market_snapshots import ( +from openbb_core.provider.standard_models.market_snapshots import ( MarketSnapshotsData, MarketSnapshotsQueryParams, ) @@ -127,4 +127,3 @@ MarketSnapshotsQueryParams, - diff --git a/website/content/platform/data_models/MoodyCorporateBondIndex.md b/website/content/platform/data_models/MoodyCorporateBondIndex.md index d824ed7a5bf..b1eaddc88ba 100644 --- a/website/content/platform/data_models/MoodyCorporateBondIndex.md +++ b/website/content/platform/data_models/MoodyCorporateBondIndex.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.moody import ( +from openbb_core.provider.standard_models.moody import ( MoodyCorporateBondIndexData, MoodyCorporateBondIndexQueryParams, ) @@ -65,4 +65,3 @@ MoodyCorporateBondIndexQueryParams, - diff --git a/website/content/platform/data_models/OTCAggregate.md b/website/content/platform/data_models/OTCAggregate.md index 697d8a89a0c..935035da3ab 100644 --- a/website/content/platform/data_models/OTCAggregate.md +++ b/website/content/platform/data_models/OTCAggregate.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.otc_aggregate import ( +from openbb_core.provider.standard_models.otc_aggregate import ( OTCAggregateData, OTCAggregateQueryParams, ) @@ -64,4 +64,3 @@ OTCAggregateQueryParams, - diff --git a/website/content/platform/data_models/OptionsChains.md b/website/content/platform/data_models/OptionsChains.md index 90f19a3df70..cfcc94e67c9 100644 --- a/website/content/platform/data_models/OptionsChains.md +++ b/website/content/platform/data_models/OptionsChains.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.options_chains import ( +from openbb_core.provider.standard_models.options_chains import ( OptionsChainsData, OptionsChainsQueryParams, ) @@ -128,4 +128,3 @@ OptionsChainsQueryParams, - diff --git a/website/content/platform/data_models/OptionsUnusual.md b/website/content/platform/data_models/OptionsUnusual.md index 65101486900..3b4e50f23b7 100644 --- a/website/content/platform/data_models/OptionsUnusual.md +++ b/website/content/platform/data_models/OptionsUnusual.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.options_unusual import ( +from openbb_core.provider.standard_models.options_unusual import ( OptionsUnusualData, OptionsUnusualQueryParams, ) @@ -78,4 +78,3 @@ OptionsUnusualQueryParams, - diff --git a/website/content/platform/data_models/PROJECTIONS.md b/website/content/platform/data_models/PROJECTIONS.md index b4710eda8cd..f979ee0a1ae 100644 --- a/website/content/platform/data_models/PROJECTIONS.md +++ b/website/content/platform/data_models/PROJECTIONS.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( PROJECTIONSData, PROJECTIONSQueryParams, ) @@ -65,4 +65,3 @@ PROJECTIONSQueryParams, - diff --git a/website/content/platform/data_models/PricePerformance.md b/website/content/platform/data_models/PricePerformance.md index 628320dcbf4..67a45c393e0 100644 --- a/website/content/platform/data_models/PricePerformance.md +++ b/website/content/platform/data_models/PricePerformance.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( PricePerformanceData, PricePerformanceQueryParams, ) @@ -85,4 +85,3 @@ PricePerformanceQueryParams, - diff --git a/website/content/platform/data_models/PriceTarget.md b/website/content/platform/data_models/PriceTarget.md index e594080f1e1..c2dd414b5f7 100644 --- a/website/content/platform/data_models/PriceTarget.md +++ b/website/content/platform/data_models/PriceTarget.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.price_target import ( +from openbb_core.provider.standard_models.price_target import ( PriceTargetData, PriceTargetQueryParams, ) @@ -90,4 +90,3 @@ PriceTargetQueryParams, - diff --git a/website/content/platform/data_models/PriceTargetConsensus.md b/website/content/platform/data_models/PriceTargetConsensus.md index 78b7e5eb77f..1730070ee56 100644 --- a/website/content/platform/data_models/PriceTargetConsensus.md +++ b/website/content/platform/data_models/PriceTargetConsensus.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.price_target_consensus import ( +from openbb_core.provider.standard_models.price_target_consensus import ( PriceTargetConsensusData, PriceTargetConsensusQueryParams, ) @@ -55,4 +55,3 @@ PriceTargetConsensusQueryParams, - diff --git a/website/content/platform/data_models/RevenueBusinessLine.md b/website/content/platform/data_models/RevenueBusinessLine.md index b562f1911d1..10458daf26e 100644 --- a/website/content/platform/data_models/RevenueBusinessLine.md +++ b/website/content/platform/data_models/RevenueBusinessLine.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.revenue_business_line import ( +from openbb_core.provider.standard_models.revenue_business_line import ( RevenueBusinessLineData, RevenueBusinessLineQueryParams, ) @@ -54,4 +54,3 @@ RevenueBusinessLineQueryParams, - diff --git a/website/content/platform/data_models/RevenueGeographic.md b/website/content/platform/data_models/RevenueGeographic.md index 729983a414a..52bfb03288c 100644 --- a/website/content/platform/data_models/RevenueGeographic.md +++ b/website/content/platform/data_models/RevenueGeographic.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.revenue_geographic import ( +from openbb_core.provider.standard_models.revenue_geographic import ( RevenueGeographicData, RevenueGeographicQueryParams, ) @@ -59,4 +59,3 @@ RevenueGeographicQueryParams, - diff --git a/website/content/platform/data_models/RiskPremium.md b/website/content/platform/data_models/RiskPremium.md index b521c665103..90965b31a55 100644 --- a/website/content/platform/data_models/RiskPremium.md +++ b/website/content/platform/data_models/RiskPremium.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.risk_premium import ( +from openbb_core.provider.standard_models.risk_premium import ( RiskPremiumData, RiskPremiumQueryParams, ) @@ -53,4 +53,3 @@ RiskPremiumQueryParams, - diff --git a/website/content/platform/data_models/RssLitigation.md b/website/content/platform/data_models/RssLitigation.md index d975de042af..4863a5ff23c 100644 --- a/website/content/platform/data_models/RssLitigation.md +++ b/website/content/platform/data_models/RssLitigation.md @@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( RssLitigationData, RssLitigationQueryParams, ) @@ -61,4 +61,3 @@ RssLitigationQueryParams, - diff --git a/website/content/platform/data_models/SOFR.md b/website/content/platform/data_models/SOFR.md index 547c1a2484c..f6cacb62244 100644 --- a/website/content/platform/data_models/SOFR.md +++ b/website/content/platform/data_models/SOFR.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.sofr_rates import ( +from openbb_core.provider.standard_models.sofr_rates import ( SOFRData, SOFRQueryParams, ) @@ -63,4 +63,3 @@ SOFRQueryParams, - diff --git a/website/content/platform/data_models/SONIA.md b/website/content/platform/data_models/SONIA.md index 75d77346e70..b2942c857a1 100644 --- a/website/content/platform/data_models/SONIA.md +++ b/website/content/platform/data_models/SONIA.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.sonia_rates import ( +from openbb_core.provider.standard_models.sonia_rates import ( SONIAData, SONIAQueryParams, ) @@ -63,4 +63,3 @@ SONIAQueryParams, - diff --git a/website/content/platform/data_models/SP500Multiples.md b/website/content/platform/data_models/SP500Multiples.md index c1869ea9f6e..5ccec2d42e2 100644 --- a/website/content/platform/data_models/SP500Multiples.md +++ b/website/content/platform/data_models/SP500Multiples.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.sp500_multiples import ( +from openbb_core.provider.standard_models.sp500_multiples import ( SP500MultiplesData, SP500MultiplesQueryParams, ) @@ -65,4 +65,3 @@ SP500MultiplesQueryParams, - diff --git a/website/content/platform/data_models/SchemaFiles.md b/website/content/platform/data_models/SchemaFiles.md index 472ab38f15b..5ba9bbdfad0 100644 --- a/website/content/platform/data_models/SchemaFiles.md +++ b/website/content/platform/data_models/SchemaFiles.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( SchemaFilesData, SchemaFilesQueryParams, ) @@ -66,4 +66,3 @@ SchemaFilesQueryParams, - diff --git a/website/content/platform/data_models/SelectedTreasuryBill.md b/website/content/platform/data_models/SelectedTreasuryBill.md index dcba58608b9..75bf253a4b8 100644 --- a/website/content/platform/data_models/SelectedTreasuryBill.md +++ b/website/content/platform/data_models/SelectedTreasuryBill.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.tbffr import ( +from openbb_core.provider.standard_models.tbffr import ( SelectedTreasuryBillData, SelectedTreasuryBillQueryParams, ) @@ -54,4 +54,3 @@ SelectedTreasuryBillQueryParams, - diff --git a/website/content/platform/data_models/SelectedTreasuryConstantMaturity.md b/website/content/platform/data_models/SelectedTreasuryConstantMaturity.md index cdde4dfaa49..e5af71aa0ec 100644 --- a/website/content/platform/data_models/SelectedTreasuryConstantMaturity.md +++ b/website/content/platform/data_models/SelectedTreasuryConstantMaturity.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.ffrmc import ( +from openbb_core.provider.standard_models.ffrmc import ( SelectedTreasuryConstantMaturityData, SelectedTreasuryConstantMaturityQueryParams, ) @@ -54,4 +54,3 @@ SelectedTreasuryConstantMaturityQueryParams, - diff --git a/website/content/platform/data_models/ShareStatistics.md b/website/content/platform/data_models/ShareStatistics.md index 5b40c2185bc..f3bfd0923c5 100644 --- a/website/content/platform/data_models/ShareStatistics.md +++ b/website/content/platform/data_models/ShareStatistics.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.share_statistics import ( +from openbb_core.provider.standard_models.share_statistics import ( ShareStatisticsData, ShareStatisticsQueryParams, ) @@ -56,4 +56,3 @@ ShareStatisticsQueryParams, - diff --git a/website/content/platform/data_models/ShortVolume.md b/website/content/platform/data_models/ShortVolume.md index e1c604daa99..84195da10ae 100644 --- a/website/content/platform/data_models/ShortVolume.md +++ b/website/content/platform/data_models/ShortVolume.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.short_volume import ( +from openbb_core.provider.standard_models.short_volume import ( ShortVolumeData, ShortVolumeQueryParams, ) @@ -68,4 +68,3 @@ ShortVolumeQueryParams, - diff --git a/website/content/platform/data_models/SicSearch.md b/website/content/platform/data_models/SicSearch.md index ad858e839bf..3345b798ccd 100644 --- a/website/content/platform/data_models/SicSearch.md +++ b/website/content/platform/data_models/SicSearch.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( SicSearchData, SicSearchQueryParams, ) @@ -68,4 +68,3 @@ SicSearchQueryParams, - diff --git a/website/content/platform/data_models/SpotRate.md b/website/content/platform/data_models/SpotRate.md index 9ef07b6f22d..6cb0d341cb0 100644 --- a/website/content/platform/data_models/SpotRate.md +++ b/website/content/platform/data_models/SpotRate.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.spot import ( +from openbb_core.provider.standard_models.spot import ( SpotRateData, SpotRateQueryParams, ) @@ -55,4 +55,3 @@ SpotRateQueryParams, - diff --git a/website/content/platform/data_models/StockInsiderTrading.md b/website/content/platform/data_models/StockInsiderTrading.md index b51ec42ec42..263aa229186 100644 --- a/website/content/platform/data_models/StockInsiderTrading.md +++ b/website/content/platform/data_models/StockInsiderTrading.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.stock_insider_trading import ( +from openbb_core.provider.standard_models.stock_insider_trading import ( StockInsiderTradingData, StockInsiderTradingQueryParams, ) @@ -67,4 +67,3 @@ StockInsiderTradingQueryParams, - diff --git a/website/content/platform/data_models/SymbolMap.md b/website/content/platform/data_models/SymbolMap.md index e15b3283306..7e4277f3a65 100644 --- a/website/content/platform/data_models/SymbolMap.md +++ b/website/content/platform/data_models/SymbolMap.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models. import ( +from openbb_core.provider.standard_models. import ( SymbolMapData, SymbolMapQueryParams, ) @@ -57,4 +57,3 @@ SymbolMapQueryParams, - diff --git a/website/content/platform/data_models/TopRetail.md b/website/content/platform/data_models/TopRetail.md index 1d8b9be8c90..96589e1982d 100644 --- a/website/content/platform/data_models/TopRetail.md +++ b/website/content/platform/data_models/TopRetail.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.top_retail import ( +from openbb_core.provider.standard_models.top_retail import ( TopRetailData, TopRetailQueryParams, ) @@ -54,4 +54,3 @@ TopRetailQueryParams, - diff --git a/website/content/platform/data_models/TreasuryConstantMaturity.md b/website/content/platform/data_models/TreasuryConstantMaturity.md index 7e0ac6c8f3d..f627972fb7a 100644 --- a/website/content/platform/data_models/TreasuryConstantMaturity.md +++ b/website/content/platform/data_models/TreasuryConstantMaturity.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.tmc import ( +from openbb_core.provider.standard_models.tmc import ( TreasuryConstantMaturityData, TreasuryConstantMaturityQueryParams, ) @@ -54,4 +54,3 @@ TreasuryConstantMaturityQueryParams, - diff --git a/website/content/platform/data_models/TreasuryRates.md b/website/content/platform/data_models/TreasuryRates.md index 91cab54b36d..0696dd8f0eb 100644 --- a/website/content/platform/data_models/TreasuryRates.md +++ b/website/content/platform/data_models/TreasuryRates.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.treasury_rates import ( +from openbb_core.provider.standard_models.treasury_rates import ( TreasuryRatesData, TreasuryRatesQueryParams, ) @@ -64,4 +64,3 @@ TreasuryRatesQueryParams, - diff --git a/website/content/platform/data_models/USYieldCurve.md b/website/content/platform/data_models/USYieldCurve.md index 766f37bb431..ca475590b0f 100644 --- a/website/content/platform/data_models/USYieldCurve.md +++ b/website/content/platform/data_models/USYieldCurve.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.us_yield_curve import ( +from openbb_core.provider.standard_models.us_yield_curve import ( USYieldCurveData, USYieldCurveQueryParams, ) @@ -53,4 +53,3 @@ USYieldCurveQueryParams, - diff --git a/website/content/platform/data_models/UpcomingReleaseDays.md b/website/content/platform/data_models/UpcomingReleaseDays.md index 9410b19a713..0c4a36da8e4 100644 --- a/website/content/platform/data_models/UpcomingReleaseDays.md +++ b/website/content/platform/data_models/UpcomingReleaseDays.md @@ -21,7 +21,7 @@ import TabItem from '@theme/TabItem'; ### Import Statement ```python -from openbb_provider.standard_models.upcoming_release_days import ( +from openbb_core.provider.standard_models.upcoming_release_days import ( UpcomingReleaseDaysData, UpcomingReleaseDaysQueryParams, ) @@ -74,4 +74,3 @@ UpcomingReleaseDaysQueryParams, - diff --git a/website/content/platform/development/developer-guidelines/add_custom_data_sources.md b/website/content/platform/development/developer-guidelines/add_custom_data_sources.md index 1b0932f8892..7690224a574 100644 --- a/website/content/platform/development/developer-guidelines/add_custom_data_sources.md +++ b/website/content/platform/development/developer-guidelines/add_custom_data_sources.md @@ -22,8 +22,8 @@ Saying that, we highly recommend following the standardization framework, as it When standardizing, all data is defined using two different pydantic models: -1. Define the [query parameters](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/query_params.py) model. -2. Define the resulting [data schema](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/data.py) model. +1. Define the [query parameters](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/provider/openbb_core/provider/abstract/query_params.py) model. +2. Define the resulting [data schema](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/provider/openbb_core/provider/abstract/data.py) model. > The models can be entirely custom, or inherit from the OpenBB standardized models. > They enforce a safe and consistent data structure, validation and type checking. @@ -36,9 +36,9 @@ After you've defined both models, you'll need to define a `Fetcher` class which 2. `extract_data` - makes the request to the API endpoint and returns the raw data. 3. `transform_data` - transforms the raw data into the defined data model. -> Note that the `Fetcher` should inherit from the [`Fetcher`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/fetcher.py) class, which is a generic class that receives the query parameters and the data model as type parameters. +> Note that the `Fetcher` should inherit from the [`Fetcher`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/provider/openbb_core/provider/abstract/fetcher.py) class, which is a generic class that receives the query parameters and the data model as type parameters. -After finalizing your models, you need to make them visible to the Openbb Platform. This is done by adding the `Fetcher` to the `__init__.py` file of the `/` folder as part of the [`Provider`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/provider.py). +After finalizing your models, you need to make them visible to the Openbb Platform. This is done by adding the `Fetcher` to the `__init__.py` file of the `/` folder as part of the [`Provider`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/provider/openbb_core/provider/abstract/provider.py). Any command, that uses the `Fetcher` class you've just defined, will be calling the `transform_query`, `extract_data` and `transform_data` methods under the hood in order to get the data and output it do the end user. diff --git a/website/content/platform/development/developer-guidelines/add_data_point.md b/website/content/platform/development/developer-guidelines/add_data_point.md index b3d0110c737..d9e77340823 100644 --- a/website/content/platform/development/developer-guidelines/add_data_point.md +++ b/website/content/platform/development/developer-guidelines/add_data_point.md @@ -15,7 +15,7 @@ import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; -In this section, we'll be adding a new data point to the OpenBB Platform. We will add a new provider with an existing [standard data](https://github.com/OpenBB-finance/OpenBBTerminal/tree/develop/openbb_platform/platform/provider/openbb_provider/standard_models) model. +In this section, we'll be adding a new data point to the OpenBB Platform. We will add a new provider with an existing [standard data](https://github.com/OpenBB-finance/OpenBBTerminal/tree/develop/openbb_platform/core/provider/standard_models) model. ## Identify which type of data you want to add @@ -28,7 +28,7 @@ Each router is categorized under different extensions (stocks, currency, crypto, Given the fact that there's already an endpoint for OHLCV stock data, we can check if the standard exists. -In this case, it's `EquityHistorical` which can be found in `/OpenBBTerminal/openbb_platform/platform/core/provider/openbb_provider/standard_models/equity_historical`. +In this case, it's `EquityHistorical` which can be found in `/OpenBBTerminal/openbb_platform/core/provider/standard_models/equity_historical`. If the standard model doesn't exist: @@ -125,7 +125,7 @@ In order to make the new provider visible to the OpenBB Platform, you'll need to ```python """ Provider module.""" -from openbb_provider.abstract.provider import Provider +from openbb_core.provider.abstract.provider import Provider from openbb_.models.equity_historical import EquityHistoricalFetcher diff --git a/website/content/platform/development/developer-guidelines/architectural_considerations.md b/website/content/platform/development/developer-guidelines/architectural_considerations.md index d62284c8c43..3d2c28b6d7a 100644 --- a/website/content/platform/development/developer-guidelines/architectural_considerations.md +++ b/website/content/platform/development/developer-guidelines/architectural_considerations.md @@ -21,13 +21,13 @@ import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; ```python # The `Data` class -from openbb_provider.abstract.data import Data +from openbb_core.provider.abstract.data import Data # The `QueryParams` class -from openbb_provider.abstract.query_params import QueryParams +from openbb_core.provider.abstract.query_params import QueryParams # The `Fetcher` class -from openbb_provider.abstract.fetcher import Fetcher +from openbb_core.provider.abstract.fetcher import Fetcher # The `OBBject` class from openbb_core.app.model.obbject import OBBject @@ -48,7 +48,7 @@ As the OpenBB Platform has its own standardization framework and the data fetche transform_query(params: Dict[str, Any]) ``` - Transforms the query parameters. Given a `params` dictionary this method should return the transformed query parameters as a [`QueryParams`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/query_params.py) child so that we can leverage the pydantic model schemas and validation into the next step. This might also be the place do perform some transformations on any given parameter, i.e., if you want to transform an empty date into a `datetime.now().date()`. + Transforms the query parameters. Given a `params` dictionary this method should return the transformed query parameters as a [`QueryParams`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/core/provider/abstract/query_params.py) child so that we can leverage the pydantic model schemas and validation into the next step. This might also be the place do perform some transformations on any given parameter, i.e., if you want to transform an empty date into a `datetime.now().date()`. 2. **Extract** data @@ -64,12 +64,12 @@ As the OpenBB Platform has its own standardization framework and the data fetche transform_data(query: ExampleQueryParams, data: Dict, **kwargs: Any) -> List[ExampleHistoricalData] ``` - Transforms the raw data into the defined data model. Given the transformed query parameters (might be useful for some filtering), the raw data and any other extra arguments, this method should return the transformed data as a list of [`Data`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/data.py) children. + Transforms the raw data into the defined data model. Given the transformed query parameters (might be useful for some filtering), the raw data and any other extra arguments, this method should return the transformed data as a list of [`Data`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/core/provider/abstract/data.py) children. ## Data processing commands The data processing commands are commands that are used to process the data that may or may not come from the OpenBB Platform. -In order to create a data processing framework general enough to be used by any extension, we've created a special abstract class called `Data`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/data.py) which **all** standardized (and consequently its child classes) will inherit from. +In order to create a data processing framework general enough to be used by any extension, we've created a special abstract class called `Data`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/core/provider/abstract/data.py) which **all** standardized (and consequently its child classes) will inherit from. Why is this important? So that we can ensure that all `OBBject.results` will share a common ground on which we can apply out-of-the-box data processing commands, such as the `ta`, `qa` or the `econometrics` menus. @@ -116,7 +116,7 @@ Not at all! Consider the following example: ```python ->>> from openbb_provider.abstract.data import Data +>>> from openbb_core.provider.abstract.data import Data >>> my_data_item_1 = {"open": 1, "high": 2, "low": 3, "close": 4, "volume": 5, "date": "2020-01-01"} >>> my_data_item_1_as_data = Data.model_validate(my_data_item_1) >>> my_data_item_1_as_data diff --git a/website/content/platform/development/index.md b/website/content/platform/development/index.md index 5e579d41795..b8b23c31e8a 100644 --- a/website/content/platform/development/index.md +++ b/website/content/platform/development/index.md @@ -85,7 +85,7 @@ Before moving forward, please take a look at the high-level view of the OpenBB P The Standardization Framework is a set of tools and guidelines that enable the user to query and obtain data in a consistent way across multiple providers. -Each data model should inherit from a [standard data](platform/provider/openbb_provider/standard_models) model that is already defined inside the OpenBB Platform. All standard models are created and maintained by the OpenBB team. +Each data model should inherit from a [standard data](platform/core/provider/standard_models) model that is already defined inside the OpenBB Platform. All standard models are created and maintained by the OpenBB team. Usage of these models will unlock a set of perks that are only available to standardized data, namely: @@ -95,9 +95,9 @@ Usage of these models will unlock a set of perks that are only available to stan - Can expect consistent data types and validation. - Will work seamlessly with other providers that use the same standard model. -The standard models are defined under the `/OpenBBTerminal/openbb_platform/platform/core/provider/openbb_provider/standard_models/` directory. +The standard models are defined under the `/OpenBBTerminal/openbb_platform/platform/core/provider/standard_models/` directory. -They define the [`QueryParams`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/query_params.py) and [`Data`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/platform/provider/openbb_provider/abstract/data.py) models, which are used to query and output data. They are pydantic and you can leverage all the pydantic features such as validators. +They define the [`QueryParams`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/core/provider/abstract/query_params.py) and [`Data`](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/core/provider/abstract/data.py) models, which are used to query and output data. They are pydantic and you can leverage all the pydantic features such as validators. #### Standardization Caveats diff --git a/website/generate_platform_v4_markdown.py b/website/generate_platform_v4_markdown.py index 28ab556ec22..9f5d1db213f 100644 --- a/website/generate_platform_v4_markdown.py +++ b/website/generate_platform_v4_markdown.py @@ -10,7 +10,7 @@ from typing import Any, Callable, Dict, List, TextIO, Tuple, Union from docstring_parser import parse from openbb_core.app.provider_interface import ProviderInterface from openbb_core.app.static.package_builder import MethodDefinition, PathHandler -from openbb_provider import standard_models +from openbb_core.provider import standard_models from pydantic.fields import FieldInfo website_path = Path(__file__).parent.absolute() @@ -279,7 +279,7 @@ def get_annotation_type(annotation: Any) -> str: .replace("datetime.date", "date") .replace("NoneType", "None") .replace(", None", "") - .replace("openbb_provider.abstract.data.", "") + .replace("openbb_core.provider.abstract.data.", "") .replace("pandas.core.frame.", "pd.") .replace("pandas.core.series.", "pd."), ) @@ -583,7 +583,7 @@ def generate_implementation_details_markdown_section(data_model: str) -> str: file_name = find_data_model_implementation_file(data_model) - markdown += f"from openbb_provider.standard_models.{file_name} import (\n" + markdown += f"from openbb_core.provider.standard_models.{file_name} import (\n" markdown += f"{data_model}Data,\n{data_model}QueryParams,\n" markdown += ")\n```"