-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to: python 3.12, uv, psycopg (version 3)
- Loading branch information
1 parent
0435559
commit 4ee19db
Showing
6 changed files
with
1,234 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.12 |
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,39 +1,29 @@ | ||
# uv installation: pip install uv | ||
# create venv: uv venv | ||
# compile dependencies: uv pip compile pyproject.toml -o requirements.txt | ||
# compile dev linux dependencies: uv pip compile pyproject.toml -o requirements_linux.txt --extra dev | ||
# compile dev windows dependencies: uv pip compile pyproject.toml -o requirements_windows.txt --extra dev --extra windows | ||
# single installation example: uv pip install fastapi | ||
# main installation: uv pip install -r requirements.txt | ||
# dev linux installation: uv pip install -r requirements-linux.txt | ||
# dev windows installation: uv pip install -r requirements_windows.txt | ||
# main sync: uv pip sync requirements.txt | ||
# dev linux sync: uv pip sync requirements_linux.txt | ||
# dev windows sync: uv pip sync requirements_windows.txt | ||
|
||
[project] | ||
name = "quantist_api" | ||
version = "1.0.0" | ||
version = "1.1.0" | ||
description = "Backend of Quantist.io" | ||
readme = "README.md" | ||
requires-python = "==3.12.*" | ||
dependencies = [ | ||
"future", | ||
"fastapi", | ||
"orjson", | ||
"uvicorn[standard]", | ||
"gunicorn", | ||
"plotly", | ||
"kaleido", | ||
"sqlalchemy-bigquery", | ||
"google-cloud-bigquery", | ||
"google-cloud-bigquery-storage", | ||
"SQLAlchemy", | ||
"pyarrow", | ||
"scikit-learn", | ||
"pandas[performance]", | ||
"polars", | ||
"jinja2", | ||
"python-dotenv" | ||
"fastapi[standard]==0.115.5", | ||
"future==1.0.0", | ||
"google-cloud-bigquery==3.27.0", | ||
"jinja2==3.1.4", | ||
"kaleido==0.2.1", | ||
"orjson==3.10.12", | ||
"pandas[performance]==2.2.3", | ||
"plotly==5.24.1", | ||
"polars==1.15.0", | ||
"psycopg==3.2.3", | ||
"python-dotenv==1.0.1", | ||
"scikit-learn==1.5.2", | ||
"sqlalchemy==2.0.36", | ||
"sqlalchemy-bigquery==1.12.0", | ||
"uvicorn[standard]==0.32.1", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev = ["ruff", "asyncio","psycopg2", "pytest"] | ||
windows = ["kaleido==0.1.0.post1"] | ||
dev = [ | ||
"pytest==8.3.3", | ||
"ruff==0.8.0", | ||
] |
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
Oops, something went wrong.