From 5dba7cd2f784bf99d81ab52fdc7cbb708a86e925 Mon Sep 17 00:00:00 2001 From: Caleb Burke Date: Fri, 22 May 2026 17:01:27 -0700 Subject: [PATCH] added uv and dotenv --- .python-version | 1 + README.md | 10 ---------- pyproject.toml | 9 +++++++++ scripts/create-issues-batch.py | 7 ++++++- uv.lock | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 50 insertions(+), 11 deletions(-) create mode 100644 .python-version create mode 100644 pyproject.toml create mode 100644 uv.lock diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..6324d40 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.14 diff --git a/README.md b/README.md index 0efd606..4dd9749 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,3 @@ My roadmap for becoming competent quant and capable of creating automated trading bots. Current Goal: **Learn Quantitative Foundations** - -## Other - -issue templating -reading # blue -coding # green -exam # orange -writeup # purple -research # yellow -bug # red (for when your code breaks) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..19fcfed --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,9 @@ +[project] +name = "roadmap" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.14" +dependencies = [ + "dotenv>=0.9.9", +] diff --git a/scripts/create-issues-batch.py b/scripts/create-issues-batch.py index 3d3beb9..a6cc0b5 100644 --- a/scripts/create-issues-batch.py +++ b/scripts/create-issues-batch.py @@ -1,9 +1,14 @@ import json import urllib.request +import os + +from dotenv import load_dotenv + +load_dotenv(override=True) # --- MANDATORY AUTH CONFIGURATION --- GITEA_URL = "http://git.burke.lan:3000" # No trailing slash -TOKEN = "" +TOKEN = os.getenv("GITEA_TOKEN") OWNER = "burkkyy" REPO = "roadmap" MILESTONE_ID = 1 diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..c2e2c5d --- /dev/null +++ b/uv.lock @@ -0,0 +1,34 @@ +version = 1 +revision = 3 +requires-python = ">=3.14" + +[[package]] +name = "dotenv" +version = "0.9.9" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "python-dotenv" }, +] +wheels = [ + { url = "https://files.pythonhosted.org/packages/b2/b7/545d2c10c1fc15e48653c91efde329a790f2eecfbbf2bd16003b5db2bab0/dotenv-0.9.9-py2.py3-none-any.whl", hash = "sha256:29cf74a087b31dafdb5a446b6d7e11cbce8ed2741540e2339c69fbef92c94ce9", size = 1892, upload-time = "2025-02-19T22:15:01.647Z" }, +] + +[[package]] +name = "python-dotenv" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, +] + +[[package]] +name = "roadmap" +version = "0.1.0" +source = { virtual = "." } +dependencies = [ + { name = "dotenv" }, +] + +[package.metadata] +requires-dist = [{ name = "dotenv", specifier = ">=0.9.9" }]