first commit

Files in folders are test
This commit is contained in:
Kirill
2025-10-22 22:48:49 +03:00
commit 6896eb959e
6 changed files with 59 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
# Byte-code files
*.pyc
__pycache__/
# Virtual environment
.venv/
venv/
env/
# Editor/IDE specific files
.vscode/
.idea/
*.swp # Vim swap files
# Operating System files
.DS_Store # macOS specific
Thumbs.db # Windows specific
# Test and build related files
.pytest_cache/
build/
dist/
*.egg-info/
# Log files
*.log
# Data files (if not intended for version control)
*.csv
*.json
*.sqlite3
# User-specific configuration (if not intended for sharing)
config.ini
.env
+4
View File
@@ -0,0 +1,4 @@
from flask import Flask
app = Flask(__name__)
View File
+1
View File
@@ -0,0 +1 @@
flask==3.1.2
View File
+19
View File
@@ -0,0 +1,19 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
python3
];
shellHook = ''
if [ ! -d ".venv" ]; then
python -m venv .venv
fi
source .venv/bin/activate
if [ -f "dependencies.txt" ]; then
pip install -r dependencies.txt
fi
'';
}