-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from vitaliypopel/feat/poetry-set-up
Feat: replaced pip with poetry
- Loading branch information
Showing
8 changed files
with
3,382 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ __pycache__/ | |
# local | ||
local.py | ||
images/ | ||
poetry.lock | ||
|
||
.idea | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
#!/bin/bash | ||
|
||
echo "Run migration with alembic" | ||
alembic -c web_app/alembic.ini upgrade head | ||
poetry run alembic -c web_app/alembic.ini upgrade head | ||
|
||
echo "Starting the server ..." | ||
|
||
uvicorn web_app.api.main:app --host 0.0.0.0 --port 8000 | ||
poetry run uvicorn web_app.api.main:app --host 0.0.0.0 --port 8000 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[tool.poetry] | ||
name = "spotnet" | ||
version = "0.1.0" | ||
description = "The functionality allows users to leverage their positions on assets (e.g., ETH) by looping through lending protocols (ZkLend) and automated market makers (AMMs)." | ||
authors = ["djeck1432 <[email protected]>"] | ||
readme = "README.md" | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.12,<3.13" | ||
fastapi = "0.115.0" | ||
psycopg2-binary = "2.9.9" | ||
python-dotenv = "1.0.1" | ||
uvicorn = "0.30.6" | ||
starknet-py = "0.24.2" | ||
jinja2 = "3.1.4" | ||
python-multipart = "0.0.9" | ||
itsdangerous = "2.2.0" | ||
alembic = "1.13.3" | ||
sqlalchemy = "2.0.35" | ||
pytest = "8.3.3" | ||
pytest-asyncio = "0.24.0" | ||
pytest-env = "1.1.5" | ||
pytest-mock = "3.14.0" | ||
httpx = "0.27.2" | ||
celery = "5.4.0" | ||
redis = "5.2.0" | ||
trio = "0.27.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "24.8.0" | ||
isort = "5.13.2" | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
../.idea/ | ||
poetry.lock | ||
__pycache__/ |