From 1d745f9e78e47b0ab342fe42ec562ef96e932f92 Mon Sep 17 00:00:00 2001 From: Dexoron Date: Tue, 10 Mar 2026 19:43:41 +0800 Subject: [PATCH] base tree --- zt-match/.gitignore | 2 ++ zt-match/.python-version | 1 + zt-match/README.md | 10 ++++++++++ zt-match/pyproject.toml | 7 +++++++ zt-match/run.py | 9 +++++++++ zt-match/src/__init__.py | 0 zt-match/src/main.py | 3 +++ zt-match/uv.lock | 8 ++++++++ 8 files changed, 40 insertions(+) create mode 100644 zt-match/.gitignore create mode 100644 zt-match/.python-version create mode 100644 zt-match/README.md create mode 100644 zt-match/pyproject.toml create mode 100644 zt-match/run.py create mode 100644 zt-match/src/__init__.py create mode 100644 zt-match/src/main.py create mode 100644 zt-match/uv.lock diff --git a/zt-match/.gitignore b/zt-match/.gitignore new file mode 100644 index 0000000..1a9aabe --- /dev/null +++ b/zt-match/.gitignore @@ -0,0 +1,2 @@ +.venv +.idea \ No newline at end of file diff --git a/zt-match/.python-version b/zt-match/.python-version new file mode 100644 index 0000000..6324d40 --- /dev/null +++ b/zt-match/.python-version @@ -0,0 +1 @@ +3.14 diff --git a/zt-match/README.md b/zt-match/README.md new file mode 100644 index 0000000..56e334c --- /dev/null +++ b/zt-match/README.md @@ -0,0 +1,10 @@ +# zt-match + +## Run project +```sh +uv run run.py +``` +or +```sh +python run.py +``` \ No newline at end of file diff --git a/zt-match/pyproject.toml b/zt-match/pyproject.toml new file mode 100644 index 0000000..2c9845b --- /dev/null +++ b/zt-match/pyproject.toml @@ -0,0 +1,7 @@ +[project] +name = "zt-match" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.14" +dependencies = [] diff --git a/zt-match/run.py b/zt-match/run.py new file mode 100644 index 0000000..ab4a7b5 --- /dev/null +++ b/zt-match/run.py @@ -0,0 +1,9 @@ +from src.main import main + +def run(): + main("World") + return 0 + + +if __name__ == '__main__': + run() \ No newline at end of file diff --git a/zt-match/src/__init__.py b/zt-match/src/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/zt-match/src/main.py b/zt-match/src/main.py new file mode 100644 index 0000000..d009a9e --- /dev/null +++ b/zt-match/src/main.py @@ -0,0 +1,3 @@ +def main(name): + print(f'Hello {name}') + return 0 \ No newline at end of file diff --git a/zt-match/uv.lock b/zt-match/uv.lock new file mode 100644 index 0000000..c32b5ca --- /dev/null +++ b/zt-match/uv.lock @@ -0,0 +1,8 @@ +version = 1 +revision = 3 +requires-python = ">=3.14" + +[[package]] +name = "zt-match" +version = "0.1.0" +source = { virtual = "." }