Loading README.md +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ If you have a `uv env`, you can run the following command in the `src/` director `uv pip install -e ".[dev,cli,postgres]` You may then need to source your `uv` environment to use the `pygarden` command line interface, e.g. `source .venv/bin/activate`. Replace the above extras with the extras of your choice. ### Installation via pip Loading docs/cli.__init__.md +1 −1 Original line number Diff line number Diff line Loading @@ -13,5 +13,5 @@ Initialize the CLI module. def common_cli() ``` Common/OnlyFeatures CLI. pyGARDEN (General Application Resource Development Environment Network) CLI. src/pygarden/cli/gen_cli.py +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ def csv(col, row, size): n_columns=col, target_row_count=row, target_file_size=target_file_size, column_types={} # You can define the column types here if needed column_types={} # TODO: add option to specify column types ) Loading uv.Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line ARG PYTHON_VERSION=3.12 ARG UV_VERSION=latest ARG PLATFORM=linux/amd64 FROM --platform="$PLATFORM" python:"$PYTHON_VERSION" COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ WORKDIR /app COPY ./src/ /app RUN uv pip install --system ".[all]" CMD ["tail", "-f", "/dev/null"] No newline at end of file Loading
README.md +2 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ If you have a `uv env`, you can run the following command in the `src/` director `uv pip install -e ".[dev,cli,postgres]` You may then need to source your `uv` environment to use the `pygarden` command line interface, e.g. `source .venv/bin/activate`. Replace the above extras with the extras of your choice. ### Installation via pip Loading
docs/cli.__init__.md +1 −1 Original line number Diff line number Diff line Loading @@ -13,5 +13,5 @@ Initialize the CLI module. def common_cli() ``` Common/OnlyFeatures CLI. pyGARDEN (General Application Resource Development Environment Network) CLI.
src/pygarden/cli/gen_cli.py +1 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ def csv(col, row, size): n_columns=col, target_row_count=row, target_file_size=target_file_size, column_types={} # You can define the column types here if needed column_types={} # TODO: add option to specify column types ) Loading
uv.Dockerfile 0 → 100644 +11 −0 Original line number Diff line number Diff line ARG PYTHON_VERSION=3.12 ARG UV_VERSION=latest ARG PLATFORM=linux/amd64 FROM --platform="$PLATFORM" python:"$PYTHON_VERSION" COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ WORKDIR /app COPY ./src/ /app RUN uv pip install --system ".[all]" CMD ["tail", "-f", "/dev/null"] No newline at end of file