diff --git a/openbb_sdk/poetry.lock b/openbb_sdk/poetry.lock index 7d34eeca267..416243b7030 100644 --- a/openbb_sdk/poetry.lock +++ b/openbb_sdk/poetry.lock @@ -1,10 +1,9 @@ -# This file is automatically @generated by Poetry 1.4.0 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. [[package]] name = "aiohttp" version = "3.8.5" description = "Async http client/server framework (asyncio)" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -113,7 +112,6 @@ speedups = ["Brotli", "aiodns", "cchardet"] name = "aiosignal" version = "1.3.1" description = "aiosignal: a list of registered asynchronous callbacks" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -128,7 +126,6 @@ frozenlist = ">=1.1.0" name = "anyio" version = "3.7.1" description = "High level compatibility layer for multiple asynchronous event loop implementations" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -150,7 +147,6 @@ trio = ["trio (<0.22)"] name = "async-timeout" version = "4.0.2" description = "Timeout context manager for asyncio programs" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -158,11 +154,20 @@ files = [ {file = "async_timeout-4.0.2-py3-none-any.whl", hash = "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c"}, ] +[[package]] +name = "atomicwrites" +version = "1.4.1" +description = "Atomic file writes." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +files = [ + {file = "atomicwrites-1.4.1.tar.gz", hash = "sha256:81b2c9071a49367a7f770170e5eec8cb66567cfbbc8c73d20ce5ca4a8d71cf11"}, +] + [[package]] name = "attrs" version = "23.1.0" description = "Classes Without Boilerplate" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -181,7 +186,6 @@ tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pyte name = "backoff" version = "2.2.1" description = "Function decoration for backoff and retry" -category = "main" optional = false python-versions = ">=3.7,<4.0" files = [ @@ -193,7 +197,6 @@ files = [ name = "bcrypt" version = "4.0.1" description = "Modern password hashing for your software and your servers" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -228,7 +231,6 @@ typecheck = ["mypy"] name = "certifi" version = "2023.7.22" description = "Python package for providing Mozilla's CA Bundle." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -240,7 +242,6 @@ files = [ name = "charset-normalizer" version = "3.2.0" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -category = "main" optional = false python-versions = ">=3.7.0" files = [ @@ -325,7 +326,6 @@ files = [ name = "click" version = "8.1.6" description = "Composable command line interface toolkit" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -340,7 +340,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} name = "colorama" version = "0.4.6" description = "Cross-platform colored terminal text." -category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" files = [ @@ -352,7 +351,6 @@ files = [ name = "cssselect2" version = "0.7.0" description = "CSS selectors for Python ElementTree" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -372,7 +370,6 @@ test = ["flake8", "isort", "pytest"] name = "dnspython" version = "2.4.0" description = "DNS toolkit" -category = "main" optional = false python-versions = ">=3.8,<4.0" files = [ @@ -396,7 +393,6 @@ wmi = ["wmi (>=1.5.1,<2.0.0)"] name = "ecdsa" version = "0.18.0" description = "ECDSA cryptographic signature library (pure python)" -category = "main" optional = false python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -415,7 +411,6 @@ gmpy2 = ["gmpy2"] name = "exceptiongroup" version = "1.1.2" description = "Backport of PEP 654 (exception groups)" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -430,7 +425,6 @@ test = ["pytest (>=6)"] name = "fastapi" version = "0.95.2" description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -452,7 +446,6 @@ test = ["anyio[trio] (>=3.2.1,<4.0.0)", "black (==23.1.0)", "coverage[toml] (>=6 name = "fastjsonschema" version = "2.18.0" description = "Fastest Python implementation of JSON schema" -category = "main" optional = false python-versions = "*" files = [ @@ -467,7 +460,6 @@ devel = ["colorama", "json-spec", "jsonschema", "pylint", "pytest", "pytest-benc name = "frozenlist" version = "1.4.0" description = "A list-like structure which implements collections.abc.MutableSequence" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -538,7 +530,6 @@ files = [ name = "h11" version = "0.14.0" description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -550,7 +541,6 @@ files = [ name = "html5lib" version = "1.1" description = "HTML parser based on the WHATWG HTML specification" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" files = [ @@ -572,7 +562,6 @@ lxml = ["lxml"] name = "httpcore" version = "0.17.3" description = "A minimal low-level HTTP client." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -584,17 +573,16 @@ files = [ anyio = ">=3.0,<5.0" certifi = "*" h11 = ">=0.13,<0.15" -sniffio = ">=1.0.0,<2.0.0" +sniffio = "==1.*" [package.extras] http2 = ["h2 (>=3,<5)"] -socks = ["socksio (>=1.0.0,<2.0.0)"] +socks = ["socksio (==1.*)"] [[package]] name = "idna" version = "3.4" description = "Internationalized Domain Names in Applications (IDNA)" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -606,7 +594,6 @@ files = [ name = "importlib-resources" version = "6.0.0" description = "Read resources from Python packages" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -621,11 +608,21 @@ zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] testing = ["pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-ruff"] +[[package]] +name = "iniconfig" +version = "2.0.0" +description = "brain-dead simple config-ini parsing" +optional = false +python-versions = ">=3.7" +files = [ + {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, + {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, +] + [[package]] name = "jsonschema" version = "4.18.4" description = "An implementation of JSON Schema validation for Python" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -649,7 +646,6 @@ format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339- name = "jsonschema-specifications" version = "2023.7.1" description = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -665,7 +661,6 @@ referencing = ">=0.28.0" name = "jupyter-core" version = "5.3.1" description = "Jupyter core package. A base package on which Jupyter projects rely." -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -686,7 +681,6 @@ test = ["ipykernel", "pre-commit", "pytest", "pytest-cov", "pytest-timeout"] name = "lxml" version = "4.9.3" description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API." -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*" files = [ @@ -794,7 +788,6 @@ source = ["Cython (>=0.29.35)"] name = "monotonic" version = "1.6" description = "An implementation of time.monotonic() for Python 2 & < 3.3" -category = "main" optional = false python-versions = "*" files = [ @@ -806,7 +799,6 @@ files = [ name = "multidict" version = "6.0.4" description = "multidict implementation" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -890,7 +882,6 @@ files = [ name = "nbformat" version = "5.9.1" description = "The Jupyter Notebook format" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -912,7 +903,6 @@ test = ["pep440", "pre-commit", "pytest", "testpath"] name = "numpy" version = "1.24.4" description = "Fundamental package for array computing in Python" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -950,7 +940,6 @@ files = [ name = "numpy" version = "1.25.1" description = "Fundamental package for array computing in Python" -category = "main" optional = false python-versions = ">=3.9" files = [ @@ -985,7 +974,6 @@ files = [ name = "openbb-benzinga" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1002,9 +990,8 @@ url = "providers/benzinga" name = "openbb-charting" version = "0.1.0" description = "Charting extension for OpenBB SDK" -category = "main" optional = false -python-versions = ">=3.8,<3.12" # scipy forces python <4.0 explicitly +python-versions = ">=3.8,<3.12" files = [] develop = false @@ -1029,7 +1016,6 @@ url = "extensions/charting" name = "openbb-core" version = "0.2.0" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1060,7 +1046,6 @@ url = "sdk/core" name = "openbb-crypto" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1077,7 +1062,6 @@ url = "extensions/crypto" name = "openbb-economy" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1094,7 +1078,6 @@ url = "extensions/economy" name = "openbb-fixedincome" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1111,7 +1094,6 @@ url = "extensions/fixedincome" name = "openbb-fmp" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1128,7 +1110,6 @@ url = "providers/fmp" name = "openbb-forex" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1145,7 +1126,6 @@ url = "extensions/forex" name = "openbb-fred" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1162,7 +1142,6 @@ url = "providers/fred" name = "openbb-news" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1179,7 +1158,6 @@ url = "extensions/news" name = "openbb-polygon" version = "0.1.1" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1196,7 +1174,6 @@ url = "providers/polygon" name = "openbb-provider" version = "0.2.0" description = "" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1215,7 +1192,6 @@ url = "sdk/provider" name = "openbb-stocks" version = "0.1.0" description = "Stocks extension for OpenBB SDK" -category = "main" optional = false python-versions = "^3.8" files = [] @@ -1232,7 +1208,6 @@ url = "extensions/stocks" name = "packaging" version = "23.1" description = "Core utilities for Python packages" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1244,7 +1219,6 @@ files = [ name = "pandas" version = "2.0.3" description = "Powerful data structures for data analysis, time series, and statistics" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1312,7 +1286,6 @@ xml = ["lxml (>=4.6.3)"] name = "pandas-ta" version = "0.3.14b" description = "An easy to use Python 3 Pandas Extension with 130+ Technical Analysis Indicators. Can be called from a Pandas DataFrame or standalone like TA-Lib. Correlation tested with TA-Lib." -category = "main" optional = false python-versions = "*" files = [ @@ -1330,7 +1303,6 @@ test = ["ta-lib"] name = "passlib" version = "1.7.4" description = "comprehensive password hashing framework supporting over 30 schemes" -category = "main" optional = false python-versions = "*" files = [ @@ -1348,7 +1320,6 @@ totp = ["cryptography"] name = "patsy" version = "0.5.3" description = "A Python package for describing statistical models and for building design matrices." -category = "main" optional = false python-versions = "*" files = [ @@ -1367,7 +1338,6 @@ test = ["pytest", "pytest-cov", "scipy"] name = "pillow" version = "10.0.0" description = "Python Imaging Library (Fork)" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1437,7 +1407,6 @@ tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "pa name = "pkgutil-resolve-name" version = "1.3.10" description = "Resolve a name to an object." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -1449,7 +1418,6 @@ files = [ name = "platformdirs" version = "3.9.1" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1465,7 +1433,6 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest- name = "plotly" version = "5.15.0" description = "An open-source, interactive data visualization library for Python" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -1477,11 +1444,25 @@ files = [ packaging = "*" tenacity = ">=6.2.0" +[[package]] +name = "pluggy" +version = "1.2.0" +description = "plugin and hook calling mechanisms for python" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pluggy-1.2.0-py3-none-any.whl", hash = "sha256:c2fd55a7d7a3863cba1a013e4e2414658b1d07b6bc57b3919e0c63c9abb99849"}, + {file = "pluggy-1.2.0.tar.gz", hash = "sha256:d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"}, +] + +[package.extras] +dev = ["pre-commit", "tox"] +testing = ["pytest", "pytest-benchmark"] + [[package]] name = "posthog" version = "3.0.1" description = "Integrate PostHog into any python application." -category = "main" optional = false python-versions = "*" files = [ @@ -1501,11 +1482,21 @@ dev = ["black", "flake8", "flake8-print", "isort", "pre-commit"] sentry = ["django", "sentry-sdk"] test = ["coverage", "flake8", "freezegun (==0.3.15)", "mock (>=2.0.0)", "pylint", "pytest"] +[[package]] +name = "py" +version = "1.11.0" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +files = [ + {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, + {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, +] + [[package]] name = "pyasn1" version = "0.5.0" description = "Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208)" -category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7" files = [ @@ -1517,7 +1508,6 @@ files = [ name = "pydantic" version = "1.10.11" description = "Data validation and settings management using python type hints" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1571,7 +1561,6 @@ email = ["email-validator (>=1.0.3)"] name = "pymongo" version = "4.4.1" description = "Python driver for MongoDB " -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1662,11 +1651,34 @@ ocsp = ["certifi", "pyopenssl (>=17.2.0)", "requests (<3.0.0)", "service-identit snappy = ["python-snappy"] zstd = ["zstandard"] +[[package]] +name = "pytest" +version = "6.2.5" +description = "pytest: simple powerful testing with Python" +optional = false +python-versions = ">=3.6" +files = [ + {file = "pytest-6.2.5-py3-none-any.whl", hash = "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134"}, + {file = "pytest-6.2.5.tar.gz", hash = "sha256:131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89"}, +] + +[package.dependencies] +atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} +attrs = ">=19.2.0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=0.12,<2.0" +py = ">=1.8.2" +toml = "*" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] + [[package]] name = "python-dateutil" version = "2.8.2" description = "Extensions to the standard Python datetime module" -category = "main" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" files = [ @@ -1681,7 +1693,6 @@ six = ">=1.5" name = "python-dotenv" version = "1.0.0" description = "Read key-value pairs from a .env file and set them as environment variables" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1696,7 +1707,6 @@ cli = ["click (>=5.0)"] name = "python-jose" version = "3.3.0" description = "JOSE implementation in Python" -category = "main" optional = false python-versions = "*" files = [ @@ -1718,7 +1728,6 @@ pycryptodome = ["pyasn1", "pycryptodome (>=3.3.1,<4.0.0)"] name = "python-multipart" version = "0.0.6" description = "A streaming multipart parser for Python" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1733,7 +1742,6 @@ dev = ["atomicwrites (==1.2.1)", "attrs (==19.2.0)", "coverage (==6.5.0)", "hatc name = "pytz" version = "2023.3" description = "World timezone definitions, modern and historical" -category = "main" optional = false python-versions = "*" files = [ @@ -1745,7 +1753,6 @@ files = [ name = "pywin32" version = "306" description = "Python for Window Extensions" -category = "main" optional = false python-versions = "*" files = [ @@ -1769,7 +1776,6 @@ files = [ name = "pywry" version = "0.5.13" description = "" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1798,7 +1804,6 @@ dev = ["auditwheel", "wheel"] name = "referencing" version = "0.30.0" description = "JSON Referencing + Python" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1814,7 +1819,6 @@ rpds-py = ">=0.7.0" name = "reportlab" version = "4.0.4" description = "The Reportlab Toolkit" -category = "main" optional = false python-versions = ">=3.7,<4" files = [ @@ -1834,7 +1838,6 @@ renderpm = ["rl-renderPM (>=4.0.3,<4.1)"] name = "requests" version = "2.31.0" description = "Python HTTP for Humans." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1856,7 +1859,6 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] name = "rpds-py" version = "0.9.2" description = "Python bindings to Rust's persistent data structures (rpds)" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -1963,7 +1965,6 @@ files = [ name = "rsa" version = "4.9" description = "Pure-Python RSA implementation" -category = "main" optional = false python-versions = ">=3.6,<4" files = [ @@ -1978,7 +1979,6 @@ pyasn1 = ">=0.1.3" name = "scipy" version = "1.10.1" description = "Fundamental algorithms for scientific computing in Python" -category = "main" optional = false python-versions = "<3.12,>=3.8" files = [ @@ -2017,7 +2017,6 @@ test = ["asv", "gmpy2", "mpmath", "pooch", "pytest", "pytest-cov", "pytest-timeo name = "setproctitle" version = "1.3.2" description = "A Python module to customize the process title" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2102,7 +2101,6 @@ test = ["pytest"] name = "six" version = "1.16.0" description = "Python 2 and 3 compatibility utilities" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -2114,7 +2112,6 @@ files = [ name = "sniffio" version = "1.3.0" description = "Sniff out which async library your code is running under" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2126,7 +2123,6 @@ files = [ name = "starlette" version = "0.27.0" description = "The little ASGI library that shines." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2145,7 +2141,6 @@ full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyam name = "statsmodels" version = "0.14.0" description = "Statistical computations and models for Python" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -2191,7 +2186,6 @@ docs = ["ipykernel", "jupyter-client", "matplotlib", "nbconvert", "nbformat", "n name = "svglib" version = "1.5.1" description = "A pure-Python library for reading and converting SVG" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2208,7 +2202,6 @@ tinycss2 = ">=0.6.0" name = "tenacity" version = "8.2.2" description = "Retry code until it succeeds" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -2223,7 +2216,6 @@ doc = ["reno", "sphinx", "tornado (>=4.5)"] name = "tinycss2" version = "1.2.1" description = "A tiny CSS parser" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2238,11 +2230,21 @@ webencodings = ">=0.4" doc = ["sphinx", "sphinx_rtd_theme"] test = ["flake8", "isort", "pytest"] +[[package]] +name = "toml" +version = "0.10.2" +description = "Python Library for Tom's Obvious, Minimal Language" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +files = [ + {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, + {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, +] + [[package]] name = "traitlets" version = "5.9.0" description = "Traitlets Python configuration system" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2258,7 +2260,6 @@ test = ["argcomplete (>=2.0)", "pre-commit", "pytest", "pytest-mock"] name = "typing-extensions" version = "4.7.1" description = "Backported and Experimental Type Hints for Python 3.7+" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2270,7 +2271,6 @@ files = [ name = "tzdata" version = "2023.3" description = "Provider of IANA time zone data" -category = "main" optional = false python-versions = ">=2" files = [ @@ -2282,7 +2282,6 @@ files = [ name = "urllib3" version = "1.26.16" description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" files = [ @@ -2299,7 +2298,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] name = "uuid7" version = "0.1.0" description = "UUID version 7, generating time-sorted UUIDs with 200ns time resolution and 48 bits of randomness" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2311,7 +2309,6 @@ files = [ name = "uvicorn" version = "0.20.0" description = "The lightning-fast ASGI server." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2330,7 +2327,6 @@ standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", name = "webencodings" version = "0.5.1" description = "Character encoding aliases for legacy web content" -category = "main" optional = false python-versions = "*" files = [ @@ -2342,7 +2338,6 @@ files = [ name = "websockets" version = "10.4" description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2421,7 +2416,6 @@ files = [ name = "yarl" version = "1.9.2" description = "Yet another URL library" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -2509,7 +2503,6 @@ multidict = ">=4.0" name = "zipp" version = "3.16.2" description = "Backport of pathlib-compatible object wrapper for zip files" -category = "main" optional = false python-versions = ">=3.8" files = [ @@ -2524,4 +2517,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.12" -content-hash = "2fcad28b96b1bff28287f2db683226b75e7d347c570fd56a3b2f193bbb7b0dab" +content-hash = "62b1e9e05d14fb039c9247dfa8940b0a6748c52da201e6c6d91a2fb5a9433bf3" diff --git a/openbb_sdk/sdk/core/openbb_core/app/charting_manager.py b/openbb_sdk/sdk/core/openbb_core/app/charting_manager.py index d0f8188d7a8..8a2327918d6 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/charting_manager.py +++ b/openbb_sdk/sdk/core/openbb_core/app/charting_manager.py @@ -1,7 +1,7 @@ from importlib import import_module from typing import Callable, Generic, Optional, Tuple, TypeVar -import pkg_resources +import importlib_metadata from openbb_core.app.model.abstract.singleton import SingletonMeta from openbb_core.app.model.charts.chart import Chart, ChartFormat @@ -87,7 +87,9 @@ class ChartingManager(metaclass=SingletonMeta): bool Either charting extension is installed or not. """ - extensions = [ext.name for ext in pkg_resources.iter_entry_points(plugin)] + entry_points = importlib_metadata.entry_points(group=f"{plugin}") + extensions = [ext.name for ext in entry_points] + return charting_extension in extensions @staticmethod @@ -97,7 +99,7 @@ class ChartingManager(metaclass=SingletonMeta): """ Get the module of the given extension. """ - for entry_point in pkg_resources.iter_entry_points(plugin): + for entry_point in importlib_metadata.entry_points(group=f"{plugin}"): if entry_point.name == extension_name: return import_module(entry_point.module_name) diff --git a/openbb_sdk/sdk/core/openbb_core/app/model/custom_parameter.py b/openbb_sdk/sdk/core/openbb_core/app/model/custom_parameter.py index 0bd65b27060..e7280bf0dd0 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/model/custom_parameter.py +++ b/openbb_sdk/sdk/core/openbb_core/app/model/custom_parameter.py @@ -1,4 +1,5 @@ from typing import Optional + from pydantic import BaseModel diff --git a/openbb_sdk/sdk/core/openbb_core/app/router.py b/openbb_sdk/sdk/core/openbb_core/app/router.py index d15540fa816..3358e11aa68 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/router.py +++ b/openbb_sdk/sdk/core/openbb_core/app/router.py @@ -15,7 +15,7 @@ from typing import ( overload, ) -import pkg_resources +import importlib_metadata from fastapi import APIRouter, Depends from pydantic import BaseModel from pydantic.config import BaseConfig @@ -411,7 +411,10 @@ class RouterLoader: @staticmethod def from_extensions() -> Router: router = Router() - for entry_point in pkg_resources.iter_entry_points("openbb_core_extension"): + + for entry_point in importlib_metadata.entry_points( + group="openbb_core_extension" + ): try: router.include_router( router=entry_point.load(), diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/__extensions__.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/__extensions__.py index 10f2b50a9ae..9eedf08fcc9 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/__extensions__.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/__extensions__.py @@ -1,11 +1,28 @@ ### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ### - from openbb_core.app.static.container import Container class Extensions(Container): + @property + def forex(self): # route = "/forex" + from openbb_core.app.static.package import forex + + return forex.CLASS_forex(command_runner_session=self._command_runner_session) + + @property + def qa(self): # route = "/qa" + from openbb_core.app.static.package import qa + + return qa.CLASS_qa(command_runner_session=self._command_runner_session) + + @property + def crypto(self): # route = "/crypto" + from openbb_core.app.static.package import crypto + + return crypto.CLASS_crypto(command_runner_session=self._command_runner_session) + @property def news(self): # route = "/news" from openbb_core.app.static.package import news @@ -13,18 +30,16 @@ class Extensions(Container): return news.CLASS_news(command_runner_session=self._command_runner_session) @property - def fixedincome(self): # route = "/fixedincome" - from openbb_core.app.static.package import fixedincome + def stocks(self): # route = "/stocks" + from openbb_core.app.static.package import stocks - return fixedincome.CLASS_fixedincome( - command_runner_session=self._command_runner_session - ) + return stocks.CLASS_stocks(command_runner_session=self._command_runner_session) @property - def forex(self): # route = "/forex" - from openbb_core.app.static.package import forex + def ta(self): # route = "/ta" + from openbb_core.app.static.package import ta - return forex.CLASS_forex(command_runner_session=self._command_runner_session) + return ta.CLASS_ta(command_runner_session=self._command_runner_session) @property def economy(self): # route = "/economy" @@ -35,25 +50,9 @@ class Extensions(Container): ) @property - def crypto(self): # route = "/crypto" - from openbb_core.app.static.package import crypto + def fixedincome(self): # route = "/fixedincome" + from openbb_core.app.static.package import fixedincome - return crypto.CLASS_crypto(command_runner_session=self._command_runner_session) - - @property - def stocks(self): # route = "/stocks" - from openbb_core.app.static.package import stocks - - return stocks.CLASS_stocks(command_runner_session=self._command_runner_session) - - @property - def qa(self): # route = "/qa" - from openbb_core.app.static.package import qa - - return qa.CLASS_qa(command_runner_session=self._command_runner_session) - - @property - def ta(self): # route = "/ta" - from openbb_core.app.static.package import ta - - return ta.CLASS_ta(command_runner_session=self._command_runner_session) + return fixedincome.CLASS_fixedincome( + command_runner_session=self._command_runner_session + ) diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py index 79fec6c462b..78b79d715db 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/crypto.py @@ -36,7 +36,7 @@ class CLASS_crypto(Container): provider: Optional[Literal["polygon", "fmp"]] = None, **kwargs ) -> CommandOutput[typing.List]: - """Crypto Intraday Price. + r"""Crypto Intraday Price. openbb @@ -125,11 +125,11 @@ class CLASS_crypto(Container): change : float Change in the price of the symbol from the previous day. changePercent : float - Change \\% in the price of the symbol. + Change \% in the price of the symbol. label : str Human readable format of the date. changeOverTime : float - Change \\% in the price of the symbol over a period of time.""" + Change \% in the price of the symbol over a period of time.""" inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py index 936f448ead8..f948bd96570 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/economy.py @@ -345,7 +345,7 @@ class CLASS_economy(Container): provider: Optional[Literal["polygon", "fmp"]] = None, **kwargs ) -> CommandOutput[typing.List]: - """Get OHLCV data for an index. + r"""Get OHLCV data for an index. openbb @@ -436,13 +436,13 @@ class CLASS_economy(Container): change : float Change in the price of the symbol from the previous day. changePercent : float - Change \\% in the price of the symbol. + Change \% in the price of the symbol. vwap : float Volume Weighted Average Price of the symbol. label : str Human readable format of the date. changeOverTime : float - Change \\% in the price of the symbol over a period of time.""" + Change \% in the price of the symbol over a period of time.""" inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py index 94532bb1d20..21d30707bfb 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/forex.py @@ -150,7 +150,7 @@ class CLASS_forex(Container): provider: Optional[Literal["polygon", "fmp"]] = None, **kwargs ) -> CommandOutput[typing.List]: - """Forex Intraday Price. + r"""Forex Intraday Price. openbb @@ -238,11 +238,11 @@ class CLASS_forex(Container): change : float Change in the price of the symbol from the previous day. changePercent : float - Change \\% in the price of the symbol. + Change \% in the price of the symbol. label : str Human readable format of the date. changeOverTime : float - Change \\% in the price of the symbol over a period of time.""" + Change \% in the price of the symbol over a period of time.""" inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/module_map.json b/openbb_sdk/sdk/core/openbb_core/app/static/package/module_map.json index f0b46d3741c..8733bd93235 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/module_map.json +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/module_map.json @@ -1,51 +1,39 @@ { - "news_globalnews": "/news/globalnews", - "__extensions__": "", - "news": "/news", - "news_sectornews": "/news/sectornews", - "fixedincome_treasury": "/fixedincome/treasury", - "fixedincome": "/fixedincome", - "fixedincome_ycrv": "/fixedincome/ycrv", "forex_pairs": "/forex/pairs", + "__extensions__": "", "forex": "/forex", "forex_load": "/forex/load", - "economy_corecpi": "/economy/corecpi", - "economy": "/economy", - "economy_const": "/economy/const", - "economy_cpi": "/economy/cpi", - "economy_cpi_options": "/economy/cpi_options", - "economy_index": "/economy/index", - "economy_available_indices": "/economy/available_indices", - "economy_risk": "/economy/risk", - "economy_macro": "/economy/macro", - "economy_macro_countries": "/economy/macro_countries", - "economy_macro_parameters": "/economy/macro_parameters", - "economy_balance": "/economy/balance", - "economy_bigmac": "/economy/bigmac", - "economy_country_codes": "/economy/country_codes", - "economy_currencies": "/economy/currencies", - "economy_debt": "/economy/debt", - "economy_events": "/economy/events", - "economy_fgdp": "/economy/fgdp", - "economy_fred": "/economy/fred", - "economy_fred_search": "/economy/fred_search", - "economy_futures": "/economy/futures", - "economy_gdp": "/economy/gdp", - "economy_glbonds": "/economy/glbonds", - "economy_indices": "/economy/indices", - "economy_overview": "/economy/overview", - "economy_perfmap": "/economy/perfmap", - "economy_performance": "/economy/performance", - "economy_revenue": "/economy/revenue", - "economy_rgdp": "/economy/rgdp", - "economy_rtps": "/economy/rtps", - "economy_search_index": "/economy/search_index", - "economy_spending": "/economy/spending", - "economy_trust": "/economy/trust", - "economy_usbonds": "/economy/usbonds", - "economy_valuation": "/economy/valuation", + "qa_normality": "/qa/normality", + "qa": "/qa", + "qa_capm": "/qa/capm", + "qa_qqplot": "/qa/qqplot", + "qa_om": "/qa/om", + "qa_kurtosis": "/qa/kurtosis", + "qa_pick": "/qa/pick", + "qa_spread": "/qa/spread", + "qa_rolling": "/qa/rolling", + "qa_var": "/qa/var", + "qa_line": "/qa/line", + "qa_hist": "/qa/hist", + "qa_unitroot": "/qa/unitroot", + "qa_beta": "/qa/beta", + "qa_sh": "/qa/sh", + "qa_so": "/qa/so", + "qa_cusum": "/qa/cusum", + "qa_raw": "/qa/raw", + "qa_cdf": "/qa/cdf", + "qa_decompose": "/qa/decompose", + "qa_skew": "/qa/skew", + "qa_quantile": "/qa/quantile", + "qa_bw": "/qa/bw", + "qa_es": "/qa/es", + "qa_acf": "/qa/acf", + "qa_summary": "/qa/summary", "crypto_load": "/crypto/load", "crypto": "/crypto", + "news_globalnews": "/news/globalnews", + "news": "/news", + "news_sectornews": "/news/sectornews", "stocks_fa_analysis": "/stocks/fa/analysis", "stocks": "/stocks", "stocks_fa": "/stocks/fa", @@ -193,32 +181,6 @@ "stocks_tob": "/stocks/tob", "stocks_quote": "/stocks/quote", "stocks_search": "/stocks/search", - "qa_normality": "/qa/normality", - "qa": "/qa", - "qa_capm": "/qa/capm", - "qa_qqplot": "/qa/qqplot", - "qa_om": "/qa/om", - "qa_kurtosis": "/qa/kurtosis", - "qa_pick": "/qa/pick", - "qa_spread": "/qa/spread", - "qa_rolling": "/qa/rolling", - "qa_var": "/qa/var", - "qa_line": "/qa/line", - "qa_hist": "/qa/hist", - "qa_unitroot": "/qa/unitroot", - "qa_beta": "/qa/beta", - "qa_sh": "/qa/sh", - "qa_so": "/qa/so", - "qa_cusum": "/qa/cusum", - "qa_raw": "/qa/raw", - "qa_cdf": "/qa/cdf", - "qa_decompose": "/qa/decompose", - "qa_skew": "/qa/skew", - "qa_quantile": "/qa/quantile", - "qa_bw": "/qa/bw", - "qa_es": "/qa/es", - "qa_acf": "/qa/acf", - "qa_summary": "/qa/summary", "ta_atr": "/ta/atr", "ta": "/ta", "ta_fib": "/ta/fib", @@ -250,5 +212,43 @@ "ta_kc": "/ta/kc", "ta_cg": "/ta/cg", "ta_cones": "/ta/cones", - "ta_ema": "/ta/ema" + "ta_ema": "/ta/ema", + "economy_corecpi": "/economy/corecpi", + "economy": "/economy", + "economy_const": "/economy/const", + "economy_cpi": "/economy/cpi", + "economy_cpi_options": "/economy/cpi_options", + "economy_index": "/economy/index", + "economy_available_indices": "/economy/available_indices", + "economy_risk": "/economy/risk", + "economy_macro": "/economy/macro", + "economy_macro_countries": "/economy/macro_countries", + "economy_macro_parameters": "/economy/macro_parameters", + "economy_balance": "/economy/balance", + "economy_bigmac": "/economy/bigmac", + "economy_country_codes": "/economy/country_codes", + "economy_currencies": "/economy/currencies", + "economy_debt": "/economy/debt", + "economy_events": "/economy/events", + "economy_fgdp": "/economy/fgdp", + "economy_fred": "/economy/fred", + "economy_fred_search": "/economy/fred_search", + "economy_futures": "/economy/futures", + "economy_gdp": "/economy/gdp", + "economy_glbonds": "/economy/glbonds", + "economy_indices": "/economy/indices", + "economy_overview": "/economy/overview", + "economy_perfmap": "/economy/perfmap", + "economy_performance": "/economy/performance", + "economy_revenue": "/economy/revenue", + "economy_rgdp": "/economy/rgdp", + "economy_rtps": "/economy/rtps", + "economy_search_index": "/economy/search_index", + "economy_spending": "/economy/spending", + "economy_trust": "/economy/trust", + "economy_usbonds": "/economy/usbonds", + "economy_valuation": "/economy/valuation", + "fixedincome_treasury": "/fixedincome/treasury", + "fixedincome": "/fixedincome", + "fixedincome_ycrv": "/fixedincome/ycrv" } \ No newline at end of file diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py index 109a1e9c076..8fd80da14ba 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks.py @@ -103,7 +103,7 @@ class CLASS_stocks(Container): provider: Optional[Literal["polygon", "fmp"]] = None, **kwargs ) -> CommandOutput[typing.List]: - """Load stock data for a specific ticker. + r"""Load stock data for a specific ticker. openbb @@ -192,11 +192,11 @@ class CLASS_stocks(Container): change : float Change in the price of the symbol from the previous day. changePercent : float - Change \\% in the price of the symbol. + Change \% in the price of the symbol. label : str Human readable format of the date. changeOverTime : float - Change \\% in the price of the symbol over a period of time.""" + Change \% in the price of the symbol over a period of time.""" inputs = filter_inputs( provider_choices={ "provider": provider, diff --git a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py index 9cf10adfd43..aa9abebcde3 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py +++ b/openbb_sdk/sdk/core/openbb_core/app/static/package/stocks_fa.py @@ -1433,7 +1433,7 @@ class CLASS_stocks_fa(Container): str, OpenBBCustomParameter(description="Symbol to get data for.") ], period: Annotated[ - Literal["quarterly", "annually"], + Literal["annually", "quarterly"], OpenBBCustomParameter( description="Period of the data to return (quarterly or annually)." ), @@ -3190,7 +3190,7 @@ class CLASS_stocks_fa(Container): str, OpenBBCustomParameter(description="Symbol to get data for.") ], period: Annotated[ - Literal["quarterly", "annually"], + Literal["annually", "quarterly"], OpenBBCustomParameter( description="Period of the data to return (quarterly or annually)." ), @@ -3289,7 +3289,7 @@ class CLASS_stocks_fa(Container): str, OpenBBCustomParameter(description="Symbol to get data for.") ], period: Annotated[ - Literal["quarterly", "annually"], + Literal["annually", "quarterly"], OpenBBCustomParameter( description="Period of the data to return (quarterly or annually)." ), diff --git a/openbb_sdk/sdk/provider/openbb_provider/registry.py b/openbb_sdk/sdk/provider/openbb_provider/registry.py index eccd6f6cee0..a09aa7c5ab6 100644 --- a/openbb_sdk/sdk/provider/openbb_provider/registry.py +++ b/openbb_sdk/sdk/provider/openbb_provider/registry.py @@ -1,6 +1,6 @@ from typing import Dict -import pkg_resources +import importlib_metadata from openbb_provider.abstract.provider import Provider @@ -27,7 +27,9 @@ class RegistryLoader: @staticmethod def from_extensions() -> Registry: registry = Registry() - for entry_point in pkg_resources.iter_entry_points("openbb_provider_extension"): + for entry_point in importlib_metadata.entry_points( + group="openbb_provider_extension" + ): try: registry.include_provider( provider=entry_point.load(), diff --git a/openbb_sdk/sdk/provider/openbb_provider/standard_models/stock_eod.py b/openbb_sdk/sdk/provider/openbb_provider/standard_models/stock_eod.py index 680b93730e1..b9597c94c73 100644 --- a/openbb_sdk/sdk/provider/openbb_provider/standard_models/stock_eod.py +++ b/openbb_sdk/sdk/provider/openbb_provider/standard_models/stock_eod.py @@ -4,11 +4,12 @@ from datetime import date, datetime 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_provider.standard_models.base import BaseSymbol from openbb_provider.utils.descriptions import DATA_DESCRIPTIONS, QUERY_DESCRIPTIONS -from pydantic import Field, NonNegativeFloat, PositiveFloat class StockEODQueryParams(QueryParams, BaseSymbol):