generated from recursivezero/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.87 KB
/
pyproject.toml
File metadata and controls
74 lines (66 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[project]
name = "tiny"
version = "1.0.3"
description = "A package for URL Shortener with QR Code generation"
authors = [
{ name = "recursivezero", email = "152776938+recursivezero@users.noreply.github.com" },
]
maintainers = [
{ name = "Harsh Mishra", email = "187759129+harshmishra2701@users.noreply.github.com" },
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10,<3.13"
keywords = ["url-shortener", "qr-code", "fastapi", "qrcode"]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries",
]
# Use PEP 508 syntax for production dependencies
dependencies = [
"python-dotenv>=1.0.1",
"qrcode>=8.2",
"pillow>=10.4.0",
"uvicorn>=0.40.0,<0.41.0",
"fastapi>=0.128.0,<0.129.0",
"pydantic>=2.12.5,<3.0.0",
"validators>=0.35.0,<0.36.0",
"itsdangerous>=2.2.0,<3.0.0",
"python-multipart>=0.0.22,<0.0.23",
"jinja2>=3.1.2",
"tzdata (>=2025.3,<2026.0)",
]
[project.optional-dependencies]
mongodb = ["pymongo>=4.16.0,<5.0.0"]
[project.scripts]
tiny = "app.cli:main"
lint = "app.utils.lint:main"
# MODERN: Use dependency-groups (PEP 735) instead of tool.poetry.group
[dependency-groups]
dev = [
"black>=24.10.0",
"flake8>=7.1.1",
"mypy>=1.14.1",
"pip-audit>=2.9.0",
"ruff>=0.5.3",
"twine>=6.2.0",
"vulture>=2.3",
"pymongo>=4.16.0",
"types-pillow>=10.2.0.20240822",
"types-pywin32>=308.0.0.20250128",
]
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
# We keep this for Poetry-specific settings like the package location
packages = [{ include = "app" }]
requires-poetry = ">=2.0.0"
[tool.poetry.requires-plugins]
poetry-plugin-export = "^1.9"
[tool.poetry-auto-export]
output = "requirements.txt"
without_hashes = true
without = ["dev"]
[tool.flake8]
max_line_length = 190