summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml48
1 files changed, 48 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..2471156
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,48 @@
+[tool.poetry]
+name = "machinis"
+version = "0.1.0"
+description = "Advanced, AI-assisted Stock Market Masterpiece"
+authors = ["Fuwn <[email protected]>"]
+license = "UNLICENSED"
+
+[tool.poetry.dependencies]
+python = "^3.9" # ^3.10
+alpaca-py = "^0.6.0"
+uvloop = { version = "^0.17.0", platform = "linux" }
+pandas = "^1.4.4"
+finviz = { git = "https://github.com/mariostoev/finviz" }
+openai = "^0.23.0"
+loguru = "^0.6.0"
+icecream = "^2.1.3"
+sanic = "^22.6.2"
+typer = { extras = ["all"], version = "^0.6.1" }
+rich = "^12.5.1"
+httpx = "0.23.0"
+surrealdb = { git = "https://github.com/surrealdb/surrealdb.py", branch = "main" }
+aiosqlite = "^0.17.0"
+
+[tool.poetry.dev-dependencies]
+pytest = "^7.1.3"
+sane-build = "^7.3"
+black = "^22.8.0"
+isort = "^5.10.1"
+mypy = "^0.971"
+codespell = "^2.2.1"
+safety = "^2.1.1"
+poethepoet = "^0.16.2"
+
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
+
+[tool.black]
+line-length = 80
+
+[tool.isort]
+profile = "black"
+
+[tool.mypy]
+strict = true
+
+[tool.poe.tasks]
+force-cuda11 = "python -m pip install torch==1.12.1+cu116 -f https://download.pytorch.org/whl/torch_stable.html"