Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
167 changes: 81 additions & 86 deletions .flox/env/manifest.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"manifest": {
"version": 1,
"install": {
"fd": {
"pkg-path": "fd"
},
"fselect": {
"pkg-path": "fselect"
},
"google-cloud-sdk": {
"pkg-path": "google-cloud-sdk"
},
"mise": {
"pkg-path": "mise"
},
Expand All @@ -34,13 +34,8 @@
"pkg-path": "yamllint"
}
},
"vars": {
"ALPACA_API_KEY": "${ALPACA_API_KEY}",
"ALPACA_API_SECRET": "${ALPACA_API_SECRET}",
"DATA_BUCKET": "${DATA_BUCKET}",
"DUCKB_ACCESS_KEY": "${DUCKDB_ACCESS_KEY}",
"DUCKDB_SECRET": "${DUCKDB_SECRET}",
"POLYGON_API_KEY": "${POLYGON_API_KEY}"
"hook": {
"on-activate": "\n"
},
"options": {
"systems": [
Expand All @@ -53,240 +48,240 @@
},
"packages": [
{
"attr_path": "fd",
"attr_path": "fselect",
"broken": false,
"derivation": "/nix/store/0hfk6x32j7synb3akv4nhynajd5iwy3r-fd-10.2.0.drv",
"description": "Simple, fast and user-friendly alternative to find",
"install_id": "fd",
"derivation": "/nix/store/9xzs7z0fa4c1gaxy1xbs190a3hg729jx-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fd-10.2.0",
"pname": "fd",
"name": "fselect-0.8.11",
"pname": "fselect",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T04:19:28.966400Z",
"scrape_date": "2025-05-05T04:19:29.057717Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "10.2.0",
"version": "0.8.11",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/h02qmk22d29pjilxz1grqx9zkb7brzv3-fd-10.2.0"
"out": "/nix/store/6ca30pq96vq5d4fb8kpxvxjx5fnrb600-fselect-0.8.11"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fd",
"attr_path": "fselect",
"broken": false,
"derivation": "/nix/store/4piqmf3mkj4f54jlkbydj7b24qlnwq9j-fd-10.2.0.drv",
"description": "Simple, fast and user-friendly alternative to find",
"install_id": "fd",
"derivation": "/nix/store/0dv1q6hljs1mgij75dir1dj1vxkd1m40-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fd-10.2.0",
"pname": "fd",
"name": "fselect-0.8.11",
"pname": "fselect",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T04:37:20.186072Z",
"scrape_date": "2025-05-05T04:37:20.353166Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "10.2.0",
"version": "0.8.11",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/6slfzgpc4053999gzra6zm1f124vsj28-fd-10.2.0"
"out": "/nix/store/bpmxkzxwacl72ky6sg8gc7qszdd1b67j-fselect-0.8.11"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fd",
"attr_path": "fselect",
"broken": false,
"derivation": "/nix/store/47r98ik23wa6779dwzfzp6yh4fngdfys-fd-10.2.0.drv",
"description": "Simple, fast and user-friendly alternative to find",
"install_id": "fd",
"derivation": "/nix/store/wz3cp2qy0dsmzmyxcqn89jqnk7di9yy3-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fd-10.2.0",
"pname": "fd",
"name": "fselect-0.8.11",
"pname": "fselect",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T04:54:29.591625Z",
"scrape_date": "2025-05-05T04:54:29.685032Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "10.2.0",
"version": "0.8.11",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/g71gs0b9pialvhfjnlsgj8vk85g4x7kr-fd-10.2.0"
"out": "/nix/store/rf89p2y4460zyszdm8dgp1hk72p8b1l0-fselect-0.8.11"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fd",
"attr_path": "fselect",
"broken": false,
"derivation": "/nix/store/lvzyy28gdaldb081ilhb2id5wlr6qyvc-fd-10.2.0.drv",
"description": "Simple, fast and user-friendly alternative to find",
"install_id": "fd",
"derivation": "/nix/store/scwx57606dzj6g92vbnlvbhd7hsyrsid-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fd-10.2.0",
"pname": "fd",
"name": "fselect-0.8.11",
"pname": "fselect",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T05:15:55.084541Z",
"scrape_date": "2025-05-05T05:15:55.269928Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "10.2.0",
"version": "0.8.11",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/jcfzj2vi57mvqhp212ishibkm6glsdzb-fd-10.2.0"
"out": "/nix/store/whgigglbkjxp3r7ss22f1va7vivy73ka-fselect-0.8.11"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fselect",
"attr_path": "google-cloud-sdk",
"broken": false,
"derivation": "/nix/store/9xzs7z0fa4c1gaxy1xbs190a3hg729jx-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"derivation": "/nix/store/d3zz8kpjk454a5q6bdq68nklcrznxi4g-google-cloud-sdk-519.0.0.drv",
"description": "Tools for the google cloud platform",
"install_id": "google-cloud-sdk",
"license": "Unspecified free software license",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fselect-0.8.11",
"pname": "fselect",
"name": "google-cloud-sdk-519.0.0",
"pname": "google-cloud-sdk",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T04:19:29.057717Z",
"scrape_date": "2025-05-05T04:19:29.273920Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "0.8.11",
"version": "519.0.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/6ca30pq96vq5d4fb8kpxvxjx5fnrb600-fselect-0.8.11"
"out": "/nix/store/r9hzi487p608g20hydk5x0afm58fbymi-google-cloud-sdk-519.0.0"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fselect",
"attr_path": "google-cloud-sdk",
"broken": false,
"derivation": "/nix/store/0dv1q6hljs1mgij75dir1dj1vxkd1m40-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"derivation": "/nix/store/yay76ir5mzhfk1zqik81mnhplm6g0nhj-google-cloud-sdk-519.0.0.drv",
"description": "Tools for the google cloud platform",
"install_id": "google-cloud-sdk",
"license": "Unspecified free software license",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fselect-0.8.11",
"pname": "fselect",
"name": "google-cloud-sdk-519.0.0",
"pname": "google-cloud-sdk",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T04:37:20.353166Z",
"scrape_date": "2025-05-05T04:37:20.992042Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "0.8.11",
"version": "519.0.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/bpmxkzxwacl72ky6sg8gc7qszdd1b67j-fselect-0.8.11"
"out": "/nix/store/rqgy5gwr7pragl5kp0frvy14r8z7pf1h-google-cloud-sdk-519.0.0"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fselect",
"attr_path": "google-cloud-sdk",
"broken": false,
"derivation": "/nix/store/wz3cp2qy0dsmzmyxcqn89jqnk7di9yy3-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"derivation": "/nix/store/z53nvy91723rzhyl4hdmw2n05zfky1i8-google-cloud-sdk-519.0.0.drv",
"description": "Tools for the google cloud platform",
"install_id": "google-cloud-sdk",
"license": "Unspecified free software license",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fselect-0.8.11",
"pname": "fselect",
"name": "google-cloud-sdk-519.0.0",
"pname": "google-cloud-sdk",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T04:54:29.685032Z",
"scrape_date": "2025-05-05T04:54:29.934088Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "0.8.11",
"version": "519.0.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/rf89p2y4460zyszdm8dgp1hk72p8b1l0-fselect-0.8.11"
"out": "/nix/store/rzcrhqfszp9m2z1z6fdqc1p6f5yivvp3-google-cloud-sdk-519.0.0"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "fselect",
"attr_path": "google-cloud-sdk",
"broken": false,
"derivation": "/nix/store/scwx57606dzj6g92vbnlvbhd7hsyrsid-fselect-0.8.11.drv",
"description": "Find files with SQL-like queries",
"install_id": "fselect",
"license": "[ Apache-2.0, MIT ]",
"derivation": "/nix/store/l8vqa49szs1hichh1k3rfmyxjcqf0lna-google-cloud-sdk-519.0.0.drv",
"description": "Tools for the google cloud platform",
"install_id": "google-cloud-sdk",
"license": "Unspecified free software license",
"locked_url": "https://github.com/flox/nixpkgs?rev=979daf34c8cacebcd917d540070b52a3c2b9b16e",
"name": "fselect-0.8.11",
"pname": "fselect",
"name": "google-cloud-sdk-519.0.0",
"pname": "google-cloud-sdk",
"rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"rev_count": 793735,
"rev_date": "2025-05-04T03:14:55Z",
"scrape_date": "2025-05-05T05:15:55.269928Z",
"scrape_date": "2025-05-05T05:15:55.985990Z",
"stabilities": [
"staging",
"unstable"
],
"unfree": false,
"version": "0.8.11",
"version": "519.0.0",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/whgigglbkjxp3r7ss22f1va7vivy73ka-fselect-0.8.11"
"out": "/nix/store/61flv7l4cmrydqxz030fqail95a14yja-google-cloud-sdk-519.0.0"
},
"system": "x86_64-linux",
"group": "toplevel",
Expand Down
8 changes: 7 additions & 1 deletion .flox/env/manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ uv.pkg-path = "uv"
vulture.pkg-path = "python313Packages.vulture"
yamllint.pkg-path = "yamllint"
nushell.pkg-path = "nushell"
fd.pkg-path = "fd"
fselect.pkg-path = "fselect"
google-cloud-sdk.pkg-path = "google-cloud-sdk"


[hook]
on-activate = '''

'''

[options]
systems = [
Expand Down
1 change: 1 addition & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,5 @@ description = "launch cloud infrastructure"
run = """
cd infrastructure
uv run pulumi up --yes
nu ping.nu
Comment thread
chrisaddy marked this conversation as resolved.
"""
4 changes: 3 additions & 1 deletion application/datamanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM python:3.12.10

COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv

ENV PYTHONPATH=/app/src

WORKDIR /app

COPY pyproject.toml ./
Expand All @@ -12,4 +14,4 @@ COPY ./src ./src

EXPOSE 8080

ENTRYPOINT ["uv", "run", "uvicorn", "datamanager.src.datamanager.main:application", "--host", "0.0.0.0", "--port", "8080", "--app-dir", "src"]
ENTRYPOINT ["uv", "run", "uvicorn", "datamanager.main:application", "--host", "0.0.0.0", "--port", "8080", "--app-dir", "src"]
4 changes: 2 additions & 2 deletions application/positionmanager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12
FROM python:3.12.10

COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv

Expand All @@ -14,4 +14,4 @@ COPY ./src ./src

EXPOSE 8080

ENTRYPOINT ["uv", "run", "uvicorn", "positionmanager.main:application", "--host", "0.0.0.0", "--port", "8080", "--app-dir", "src"]
ENTRYPOINT ["uv", "run", "uvicorn", "positionmanager.main:application", "--host", "0.0.0.0", "--port", "8080", "--app-dir", "src"]
Loading