Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 173 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# IDEs
.idea/
.vscode/
*.swp
*.swo
*~

# OS files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Claude settings
.claude/*

# Testing artifacts
.pytest_cache/
.coverage
htmlcov/
coverage.xml
*.cover
.hypothesis/

# Package manager files
# Note: Don't ignore poetry.lock or uv.lock - they should be committed
# poetry.lock
# uv.lock

# Build artifacts
dist/
build/
*.egg-info/

# Flask app builder specific
flask_app_builder_log.json
templates/
static/
routes/
2,341 changes: 2,341 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

146 changes: 146 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
[tool.poetry]
name = "flask-app-builder"
version = "0.1.0"
description = "A Flask application builder with AI capabilities"
authors = ["Your Name <you@example.com>"]
readme = "README.md"
packages = [{include = "*", from = "."}]

[tool.poetry.dependencies]
python = "^3.9"
aiohappyeyeballs = "2.4.3"
aiohttp = "3.10.10"
aiosignal = "1.3.1"
annotated-types = "0.7.0"
anyio = "4.6.2.post1"
attrs = "24.2.0"
blinker = "1.8.2"
blueprint = "3.4.2"
certifi = "2024.8.30"
charset-normalizer = "3.4.0"
click = "8.1.7"
distro = "1.9.0"
filelock = "3.16.1"
Flask = "3.0.3"
frozenlist = "1.4.1"
fsspec = "2024.9.0"
gitdb = "4.0.11"
GitPython = "3.1.41"
h11 = "0.14.0"
httpcore = "1.0.6"
httpx = "0.27.2"
huggingface-hub = "0.25.2"
idna = "3.10"
importlib_metadata = "8.5.0"
itsdangerous = "2.2.0"
Jinja2 = "3.1.4"
jiter = "0.6.1"
jsonschema = "4.23.0"
jsonschema-specifications = "2024.10.1"
litellm = "1.49.4"
MarkupSafe = "3.0.1"
multidict = "6.1.0"
openai = "1.51.2"
packaging = "24.1"
propcache = "0.2.0"
pydantic = "2.9.2"
pydantic_core = "2.23.4"
python-dotenv = "1.0.1"
PyYAML = "6.0.2"
referencing = "0.35.1"
regex = "2024.9.11"
requests = "2.32.3"
rpds-py = "0.20.0"
setuptools = "69.0.3"
smmap = "5.0.1"
sniffio = "1.3.1"
tiktoken = "0.8.0"
tokenizers = "0.20.1"
tqdm = "4.66.5"
typing_extensions = "4.12.2"
urllib3 = "2.2.3"
Werkzeug = "3.0.4"
yarl = "1.15.3"
zipp = "3.20.2"

[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
pytest-mock = "^3.12.0"

[tool.poetry.scripts]
test = "pytest:main"
tests = "pytest:main"

[tool.pytest.ini_options]
minversion = "8.0"
addopts = [
"--strict-markers",
"--strict-config",
"--verbose",
"--cov=.",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
"--cov-fail-under=80"
]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"unit: Unit tests",
"integration: Integration tests",
"slow: Slow running tests"
]
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning"
]

[tool.coverage.run]
source = ["."]
omit = [
"*/tests/*",
"*/test_*",
"*/__pycache__/*",
"*/site-packages/*",
"*/distutils/*",
"*/venv/*",
"*/.venv/*",
"*/env/*",
"*/.env/*",
"*/setup.py",
"*/conftest.py",
"*/.pytest_cache/*",
"*/htmlcov/*",
"*/.coverage*",
"*/coverage.xml"
]

[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
fail_under = 80
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"if typing.TYPE_CHECKING:"
]

[tool.coverage.html]
directory = "htmlcov"

[tool.coverage.xml]
output = "coverage.xml"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Empty file added tests/__init__.py
Empty file.
Loading