Skip to content
Merged
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
10 changes: 4 additions & 6 deletions cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
],
"__app_name": "{{ cookiecutter.git_repo_name.lower().replace(' ', '_').replace('-', '_') }}",
"minimum_python_version": [
"3.9",
"3.10",
"3.11",
"3.12",
Expand All @@ -27,7 +26,7 @@
"uv",
"pip"
],
"use_requests": [
"use_niquests": [
"n",
"y"
],
Expand All @@ -48,7 +47,7 @@
"https"
],
"__template_repo": "https://github.com/btr1975/cookiecutter-python-fastapi-openapi",
"__template_version": "2.0.4",
"__template_version": "2.0.5",
"_new_lines": "\n",
"_copy_without_render": [
"{{cookiecutter.__app_name}}/templates",
Expand All @@ -74,7 +73,6 @@
},
"minimum_python_version": {
"__prompt__": "Which minimum Python version will be supported",
"3.9": "3.9",
"3.10": "3.10",
"3.11": "3.11",
"3.12": "3.12",
Expand All @@ -86,8 +84,8 @@
"uv": "UV By Astral",
"pip": "PIP (The built in Python Package Installer)"
},
"use_requests": {
"__prompt__": "Will you use the requests library",
"use_niquests": {
"__prompt__": "Will you use the niquests library",
"n": "No",
"y": "Yes"
},
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
name = "cookiecutter-python-fastapi-openapi"
version = "2.0.4"
dynamic = ["readme"]
requires-python = ">=3.9"
requires-python = ">=3.10"
description = "A cookiecutter for a python FastAPI Application"
keywords = [
]
Expand All @@ -34,7 +34,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -44,6 +43,7 @@ classifiers = [

dependencies = [
"cookiecutter~=2.6.0",
"urllib3>=2.6.0",
]

[dependency-groups]
Expand Down
203 changes: 13 additions & 190 deletions requirements-dev.txt

Large diffs are not rendered by default.

60 changes: 9 additions & 51 deletions requirements.txt

Large diffs are not rendered by default.

311 changes: 21 additions & 290 deletions uv.lock

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions {{cookiecutter.git_repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
{% if cookiecutter.minimum_python_version == '3.9' %}"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",{% endif -%}
{% if cookiecutter.minimum_python_version == '3.10' %}"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -67,7 +61,7 @@ dependencies = [
"fastapi",
"pydantic",
"uvicorn",
{% if cookiecutter.use_requests == 'y' %}"requests",{% endif %}
{% if cookiecutter.use_niquests == 'y' %}"niquests",{% endif %}
{% if cookiecutter.use_cryptography == 'y' %}"cryptography",{% endif %}
]

Expand All @@ -84,7 +78,6 @@ dev = [
"httpx",
"bandit",
"mypy",
{% if cookiecutter.use_requests == 'y' %}"requests-mock",{% endif %}
]
{% endif %}

Expand Down
1 change: 0 additions & 1 deletion {{cookiecutter.git_repo_name}}/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ httpx
twine
bandit
mypy
{% if cookiecutter.use_requests == 'y' %}requests-mock{% endif %}
2 changes: 1 addition & 1 deletion {{cookiecutter.git_repo_name}}/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
fastapi
pydantic
uvicorn
{% if cookiecutter.use_requests == 'y' %}requests{% endif %}
{% if cookiecutter.use_niquests == 'y' %}niquests{% endif %}
{% if cookiecutter.use_cryptography == 'y' %}cryptography{% endif %}