mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-07 18:01:10 +00:00
* test * ultima description (#5541) * Updating showcase page (#5543) * updating showcase page * use sdk instead * add new bot command autopost docs (#5530) add new bot command autopost docs to docs.openbb.co Co-authored-by: James Maslek <jmaslek11@gmail.com> * Hotfix/ultima improvements (#5553) * tweaks for monetization * fix linting issue * fix: Modify 'load' behavior to append data to existing sheet (#5503) * fix: Modify 'load' behavior to append data to existing sheet Details: - Added logic to detect existing sheet and append data if present. - There is no direct way to append on the sheet, so I am reading the sheet to get the last row number and then writing after that row number. Resolves: #5472 * Fixed 'worksheet not found' error during export to an existing sheet * Changes: * Now if the sheet exists in the xlsx file it will ask the user if he wants to replace/append/create new sheet --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> * added platform API integration test to Nightly build (#5571) * Add columns to `stocks/search` (#5565) * Add columns to `stocks/search` isin, cusip, figi, composite_figi, shareclass_figi * Update test_search[False].txt * Update test_search[True].txt * Delete tests/openbb_terminal/stocks/cassettes/test_stocks_helper/test_search.yaml * Create test_search.yaml --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> * updating ultima urls (#5587) * fix: A value is trying to be set on a copy of a slice from a DataFrame #5582 (#5591) * Update README.md (#5598) * Hotfix/econometrics export filename fix (#5508) * fix: Modify 'load' behavior to append data to existing sheet Details: - Added logic to detect existing sheet and append data if present. - There is no direct way to append on the sheet, so I am reading the sheet to get the last row number and then writing after that row number. Resolves: #5472 * Added --export option for exporting to a desired file in /econometrics menu * Added a -f/--file option to provide the filename for export. Made -t/--type and -f/--file mutually exclusive. If -f is not given, -t is required and the filename will be generated based on the time and module. * Revert `helper_funcs.py` to original state * Made some arguments not required. * Minor changes asked by @deeleeramone * No sheet name * black --------- Co-authored-by: James Maslek <jmaslek11@gmail.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> * FIX #5600 Updated the Twitter logo to X logo (#5601) * Change Ultima paragraph (#5624) * change ultima paragraph * remove old paragraph * Update CONTRIBUTING.md (#5623) * mobile line-brake fixed (#5604) In the mobile view (media max 400px ), the text line "Installation >>" appears broken into smaller segments. Co-authored-by: James Maslek <jmaslek11@gmail.com> * Docs/terminalpro and improvement (#5622) * add first iteration of content for Terminal Pro * Update index.md * Update dashboards.md * Update folders.md * Update grouping.md * Update report.md * Update templates.md * Update quick-start.md * Update index.md * Update index.md * Update home.md * Update news.md * Update index.md * Update index.md * Update index.md * Update data-provider.md * Update chat-with-widget.md * Update data-manipulation.md * Update forecasting.md * fix: images self closing tags * fix: only pro visitors can see pro * inter font * improve SEO content and restructuring * add new package for toggle on tutorials * move folder around * improve main page of each prod * small updates and improvements * fix logo above * small improvement in headtitle for portfolio funcs * fix typos from OpenAI's GPT-4 * fix _category_ json * remove generic SEO words * add script that generates SEO for documentation * add missing file * remove sdk warning message * fix links for andrew --------- Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> * Add light blue banner, blue when clicking sidebar + fix link in docusaurus.config.js (#5627) * typo * pro docs tab coloring * sidebar selection blue * redirecting missing * fix docs (#5646) * Fix the redirect for intro to the correct url for docs (#5658) * fix the redirect for intro to the correct url for docs * fix code linting --------- Co-authored-by: James Maslek <jmaslek11@gmail.com> * Improve Pro documentation further (#5641) * small improvement * Fix TutorialVideo for mobile view * main page terminal pro docs * jose whelp * placeholder index file that needs to be removed * fix: fixes sidebar, removes unused index.md * update link to api keys * update api keys link * fix hyperlinks in terminal helper * fix a few more links * fix some more links * linter * black linter * improve main docs page for each product * small refactor * header to take to main page of product * run OpenAI script to generate SEO for pro content --------- Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> * Update folders.md * Update integrate-your-own-backend.md * Update index.md * Update settings.md (#5665) * fix front matter (#5667) * #5633 adding comma every 1000 (#5652) * #5633 adding comma every 1000 * pylint --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> * Hotfix/reports model render report sanitize inputs (#5669) * Adding more robust special character handling to create_output_path().Addresses https://github.com/OpenBB-finance/OpenBBTerminal/issues/5299 * Running black linter on code to conform to OBB style guides. --------- Co-authored-by: James Maslek <jmaslek11@gmail.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> * hotfix/fix-gov-histcont: Fix #5650 - /stocks/gov/histcont (#5676) * fix histcont * some cleanup * remove sort line * 12-31 not 12-12 * columns_keep_types * remove space in regex (#5675) * Pin openai (#5685) * Clarified stocks/ta empty recom object message (#5468) * Clarified stocks/ta empty recom object message * black * lint --------- Co-authored-by: James Maslek <jmaslek11@gmail.com> * improved market cap value extraction (#5169) * improved market cap value extraction * pylint --------- Co-authored-by: James Maslek <jmaslek11@gmail.com> * 3.2.3->3.2.4 * Changelogs * new changelog --------- Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt> Co-authored-by: Andrew <andrew.kenreich@gmail.com> Co-authored-by: Adi Sai <adithya.sairam1@gmail.com> Co-authored-by: Sandip Saha <sandipsmoto@gmail.com> Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> Co-authored-by: Luqman <luqazino@gmail.com> Co-authored-by: Adwait <111136306+AdwaitSalankar@users.noreply.github.com> Co-authored-by: Abhishek Amar <66067391+abhishek-amar@users.noreply.github.com> Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt> Co-authored-by: professssor <62937125+professssor@users.noreply.github.com> Co-authored-by: Farookh Zaheer Siddiqui <129654632+FarukhS52@users.noreply.github.com> Co-authored-by: MAX SHESTOV <57421753+maxxsh@users.noreply.github.com> Co-authored-by: jose-donato <zmcdonato@gmail.com> Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com> Co-authored-by: Mohamad Fadil <fadil.parves@gmail.com> Co-authored-by: Ramazan <guvencramazan@outlook.com> Co-authored-by: joshuabuildsthings <joshuabuildsthings@users.noreply.github.com> Co-authored-by: wojda <114031148+polooner@users.noreply.github.com> Co-authored-by: Bim Phomthong <118195204+bimbolimbo@users.noreply.github.com>
215 lines
5.8 KiB
TOML
Vendored
215 lines
5.8 KiB
TOML
Vendored
[tool.poetry]
|
|
name = "openbb"
|
|
version = "3.2.4"
|
|
description = "Investment Research for Everyone, Anywhere."
|
|
license = "MIT"
|
|
authors = ["Didier Rodrigues Lopes"]
|
|
packages = [
|
|
{ include = "openbb_terminal" },
|
|
]
|
|
include = ["terminal.py", "openbb_terminal/.env"]
|
|
readme = "website/pypi.md"
|
|
homepage = "https://openbb.co"
|
|
repository = "https://github.com/OpenBB-finance/OpenBBTerminal"
|
|
documentation = "https://docs.openbb.co/sdk"
|
|
|
|
[tool.poetry.scripts]
|
|
openbb = 'terminal:main'
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.8.1,<3.11, !=3.9.7"
|
|
scipy = "1.10.1" #Pinning on July 6 for pip issues
|
|
iso8601 = "^0.1.14"
|
|
FundamentalAnalysis = "^0.2.6"
|
|
requests = "^2.31.0"
|
|
alpha-vantage = "^2.3.1"
|
|
finviz = "^1.4.6"
|
|
bs4 = "^0.0.1"
|
|
yfinance = "^0.2.28"
|
|
pmaw = "^3.0.0"
|
|
praw = "^7.1.4"
|
|
Quandl = "^3.6.0"
|
|
pytrends = "4.9.2"
|
|
matplotlib = "^3.3.3"
|
|
plotly = "^5.15.0"
|
|
prompt-toolkit = "^3.0.16"
|
|
jupyterlab = "^3.2.4"
|
|
mplfinance = "^0.12.7-alpha.7"
|
|
seaborn = "^0.11.0"
|
|
fredapi = "^0.4.3"
|
|
screeninfo = "^0.6.7"
|
|
robin-stocks = "^2.0.3"
|
|
pycoingecko = "^3.1.0"
|
|
detecta = "^0.0.5"
|
|
tradingview-ta = "^3.2.3"
|
|
finvizfinance = "0.14.7rc1"
|
|
statsmodels = "^0.13"
|
|
python-coinmarketcap = "^0.2"
|
|
oandapyV20 = "^0.6.3"
|
|
valinvest = "^0.0.2"
|
|
bt = "^0.2.9"
|
|
vaderSentiment = "3.3.2"
|
|
GitPython = "^3.1.17"
|
|
fred = "^3.1"
|
|
financedatabase = "2.1.0"
|
|
holidays = "^0.14.2"
|
|
degiro-connector = "^2.0.3"
|
|
python-binance = "^1.0.15"
|
|
python-i18n = "^0.3.9"
|
|
thepassiveinvestor = "^1.1.2"
|
|
pandas-ta = "^0.3.14-beta.0"
|
|
pyrsistent = "^0.19.3"
|
|
openpyxl = "^3.0.9"
|
|
pandas = "^1.5.0"
|
|
pandas-market-calendars = "~3.2"
|
|
ipympl = "^0.8.2"
|
|
rich = "^12.6.0"
|
|
dnspython = "^2.1.0"
|
|
python-dotenv = "^1.0.0"
|
|
Pygments = "^2.11.2"
|
|
ascii-magic = "^1.6"
|
|
squarify = "^0.4.3"
|
|
finnhub-python = "^2.4.10"
|
|
linearmodels = "^4.25"
|
|
ipywidgets = "^8.0.2"
|
|
Jinja2 = "^3.0.3"
|
|
Riskfolio-Lib = {version = "^3.1.1", optional = true}
|
|
ccxt = "^4.0.33"
|
|
html5lib = "^1.1"
|
|
feedparser = "^6.0.10"
|
|
pyinstaller = {version = "^4.10", optional = true}
|
|
jupyterlab-code-formatter = {version = "^1.4.10", optional = true}
|
|
jupyterlab-lsp = {version = "^3.10.1", optional = true}
|
|
jedi-language-server = {version = "^0.40.0", optional = true}
|
|
tokenterminal = "^1.0.1"
|
|
torch = {version = "~1.11.0", optional = true}
|
|
watchdog = "^2.1.9"
|
|
pythclient = "^0.1.2"
|
|
"ruamel.yaml" = "^0.17.21"
|
|
setuptools = "<65.5.0"
|
|
numpy = "1.23.4"
|
|
papermill = "2.4"
|
|
stocksera = "^0.1.21"
|
|
ipython = "8.11.0"
|
|
protobuf = "3.20.1"
|
|
pytorch-lightning = {version = "1.6.5", optional = true}
|
|
u8darts = {extras = ["torch"], version = "0.23.0", optional = true}
|
|
lightgbm = {version = "3.3.5", optional = true} # locked because this is the latest version available on conda intel mac
|
|
docstring-parser = {version = "^0.15", optional = true}
|
|
grpcio = "^1.51.1"
|
|
jupyterlab-widgets = "^3.0.3"
|
|
mstarpy = "^0.0.4"
|
|
packaging = ">=22.0"
|
|
streamlit = "^1.24.1"
|
|
pywry = "^0.6.1"
|
|
svglib = "^1.5.0"
|
|
sparqlwrapper = "^2.0.0"
|
|
y-py = "!=0.5.5" # Untraceable third level dependency that requires cargo to be built
|
|
psutil = "!=5.9.4" # Forecasting menu and IPyKernel dependency broken on MacOs
|
|
intrinio-sdk = "^6.22.2"
|
|
yahooquery = "^2.3.0"
|
|
openai-whisper = {version = "^20230124", optional = true}
|
|
setuptools-rust = {version = "^1.5.2", optional = true}
|
|
transformers = {version = "4.27.1", optional = true}
|
|
yt-dlp = {version = "^2023.2.17", optional = true}
|
|
pydantic = "<2"
|
|
posthog = "^3.0.1"
|
|
reportlab = "<4" #Pinning due to build error on MacOs
|
|
arch = "^5.5.0"
|
|
llama-index = "^0.8.8"
|
|
langchain = "0.0.266" # Pinned for llama index
|
|
ffn = "0.3.6"
|
|
jupyter-client = "7.4.1"
|
|
jupyter-server = "1.23.6"
|
|
python-jose = "^3.3.0"
|
|
nixtlats = "^0.1.11" # Pinning for stability
|
|
nltk = "^3.8.1" # Is a dependence for llama index
|
|
openai = "0.28.1"
|
|
|
|
|
|
[tool.poetry.extras]
|
|
forecast = ["torch", "pytorch-lightning", "u8darts", "lightgbm", "openai-whisper", "setuptools-rust", "transformers", "yt-dlp"]
|
|
optimization = ["Riskfolio-Lib"]
|
|
all = ["torch", "pytorch-lightning", "u8darts", "Riskfolio-Lib", "lightgbm", "openai-whisper", "setuptools-rust", "transformers", "yt-dlp"]
|
|
jupyterlab = ["jupyterlab-code-formatter", "jupyterlab-lsp", "jedi-language-server"]
|
|
installer = ["pyinstaller"]
|
|
doc = ["docstring-parser"]
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest-xdist = "^3.2.0"
|
|
pytest = "^6.2.2"
|
|
pylint = "2.17.0"
|
|
mock = "^4.0.3"
|
|
codespell = "^2.2.4"
|
|
pydocstyle = "^6.3.0"
|
|
sphinx = "^4.5.0"
|
|
myst-parser = "^0.15.2"
|
|
black = "^23.1.0"
|
|
bandit = "^1.7.0"
|
|
coverage = ">=5.5"
|
|
vcrpy = "^4.1.1"
|
|
pytest-mock = "^3.6.1"
|
|
pytest-recording = "^0.12.0"
|
|
types-pytz = "^2021.3.1"
|
|
types-requests = "^2.26.0"
|
|
types-PyYAML = "^6.0.1"
|
|
types-python-dateutil = "^2.8.3"
|
|
types-setuptools = "^57.4.7"
|
|
pre-commit = "^2.16.0"
|
|
pytest-cov = "^3.0.0"
|
|
types-six = "^1.16.12"
|
|
nbmake = ">0.5.0"
|
|
pytest-timeout = "^2.1.0"
|
|
pytest-recorder = "^0.2.1"
|
|
freezegun = "^1.2.2"
|
|
ruff = "^0.0.285"
|
|
mypy = "^1.5.1"
|
|
|
|
[build-system]
|
|
requires = ["setuptools<65.5.0", "poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.pydocstyle]
|
|
convention = "numpy"
|
|
match = '((?!test_).)*\.py'
|
|
ignore = "D401"
|
|
|
|
|
|
[tool.ruff]
|
|
line-length = 122
|
|
target-version = "py38"
|
|
# This is an introductory addition of ruff. We should look to adding:
|
|
# D: pydocstyle, PD: pandas-vet
|
|
# All options here: https://github.com/charliermarsh/ruff#supported-rules
|
|
select = ["E", "W", "F", "Q", "S", "UP", "I", "PLC", "PLE", "PLR", "PLW", "SIM", "T20"]
|
|
# These ignores should be seen as temporary solutions to problems that will NEED fixed
|
|
ignore = ["PLR2004", "PLR0913", "PLR0915"]
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
"tests/*" = ["S101"]
|
|
"*init*.py" = ["F401"]
|
|
"website/*" = ["T201"]
|
|
|
|
[tool.ruff.flake8-import-conventions.aliases]
|
|
"matplotlib.pyplot" = "plt"
|
|
numpy = "np"
|
|
pandas = "pd"
|
|
seaborn = "sns"
|
|
|
|
[tool.ruff.isort]
|
|
combine-as-imports = true
|
|
force-wrap-aliases = true
|
|
|
|
[tool.ruff.pylint]
|
|
max-args=8
|
|
max-branches=25
|
|
max-returns=9
|
|
max-statements=30
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
line_length = 122
|
|
skip_gitignore = true
|
|
combine_as_imports = true
|
|
src_paths = ["openbb_terminal"]
|