From aa6247e166afdb9cb9b69154e3b1141553e372ec Mon Sep 17 00:00:00 2001 From: sergey Date: Sat, 14 Jun 2025 10:08:56 +0300 Subject: [PATCH] init --- .gitignore | 9 +++++++++ .python-version | 1 + README.md | 1 + app/config/.env-template | 0 app/config/__init__.py | 0 app/config/config-template.yml | 0 app/logs/.keep | 0 app/main.py | 16 ++++++++++++++++ docker/Dockerfile | 0 pyproject.toml | 7 +++++++ uv.lock | 8 ++++++++ 11 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 .python-version create mode 100644 README.md create mode 100644 app/config/.env-template create mode 100644 app/config/__init__.py create mode 100644 app/config/config-template.yml create mode 100644 app/logs/.keep create mode 100644 app/main.py create mode 100644 docker/Dockerfile create mode 100644 pyproject.toml create mode 100644 uv.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e2f8e49 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +__pycache__ +*.pyc +.env +.vscode/ +.venv/ +*.log +.idea/ +*.idea +/app/config/config.yml diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..24ee5b1 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.13 diff --git a/README.md b/README.md new file mode 100644 index 0000000..c74c7dc --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Network devices backup. diff --git a/app/config/.env-template b/app/config/.env-template new file mode 100644 index 0000000..e69de29 diff --git a/app/config/__init__.py b/app/config/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/app/config/config-template.yml b/app/config/config-template.yml new file mode 100644 index 0000000..e69de29 diff --git a/app/logs/.keep b/app/logs/.keep new file mode 100644 index 0000000..e69de29 diff --git a/app/main.py b/app/main.py new file mode 100644 index 0000000..5596b44 --- /dev/null +++ b/app/main.py @@ -0,0 +1,16 @@ +# This is a sample Python script. + +# Press Shift+F10 to execute it or replace it with your code. +# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. + + +def print_hi(name): + # Use a breakpoint in the code line below to debug your script. + print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint. + + +# Press the green button in the gutter to run the script. +if __name__ == '__main__': + print_hi('PyCharm') + +# See PyCharm help at https://www.jetbrains.com/help/pycharm/ diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..8b9a83e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[project] +name = "net-backup" +version = "0.1.0" +description = "Create backup network devices" +readme = "README.md" +requires-python = ">=3.13" +dependencies = [] diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..a85df5e --- /dev/null +++ b/uv.lock @@ -0,0 +1,8 @@ +version = 1 +revision = 2 +requires-python = ">=3.13" + +[[package]] +name = "net-backup" +version = "0.1.0" +source = { virtual = "." }