From 32b7df714e409f590dce299f9891a2a668411143 Mon Sep 17 00:00:00 2001 From: Deeman Date: Sat, 1 Mar 2025 18:13:38 +0100 Subject: [PATCH] add yfinance and more readme --- README.md | 13 +++++++++++++ pyproject.toml | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b4c79bc..0b7980e 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,19 @@ https://docs.astral.sh/uv/ curl -LsSf https://astral.sh/uv/install.sh | sh ``` +### 2. Setup the env +Simply run +```bash +uv sync +``` +This will install python & the dependencies declared so far + +### 3. Adding a dependency + +```bash +uv add requests +``` + # Managing a project with uv https://docs.astral.sh/uv/guides/projects/#managing-dependencies diff --git a/pyproject.toml b/pyproject.toml index 622a904..c830d85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,9 @@ authors = [ { name = "Deeman", email = "hendrik.note@gmail.com" } ] requires-python = ">=3.13" -dependencies = [] +dependencies = [ + "yfinance>=0.2.54", +] [project.scripts] materia = "materia:main"