2022-06-14 07:45:56 +00:00
|
|
|
[project]
|
|
|
|
name = "frappe"
|
|
|
|
authors = [
|
|
|
|
{ name = "Frappe Technologies Pvt Ltd", email = "developers@frappe.io"}
|
|
|
|
]
|
|
|
|
description = "Metadata driven, full-stack low code web framework"
|
2023-11-23 06:12:51 +00:00
|
|
|
requires-python = ">=3.10,<3.13"
|
2022-06-14 07:45:56 +00:00
|
|
|
readme = "README.md"
|
|
|
|
dynamic = ["version"]
|
|
|
|
dependencies = [
|
|
|
|
# core dependencies
|
2023-11-23 06:12:51 +00:00
|
|
|
"Babel~=2.13.1",
|
2023-09-02 12:10:13 +00:00
|
|
|
"Click~=8.1.7",
|
2023-11-23 06:12:51 +00:00
|
|
|
"filelock~=3.13.1",
|
2023-04-13 06:49:08 +00:00
|
|
|
"filetype~=1.2.0",
|
2023-09-07 06:02:07 +00:00
|
|
|
"GitPython~=3.1.34",
|
2022-06-14 07:45:56 +00:00
|
|
|
"Jinja2~=3.1.2",
|
2024-04-06 12:49:06 +00:00
|
|
|
"Pillow~=10.3.0",
|
2023-09-02 12:10:13 +00:00
|
|
|
"PyJWT~=2.8.0",
|
2024-01-12 13:35:13 +00:00
|
|
|
# We depend on internal attributes,
|
|
|
|
# do NOT add loose requirements on PyMySQL versions.
|
2023-09-02 12:10:13 +00:00
|
|
|
"PyMySQL==1.1.0",
|
2023-11-02 14:16:28 +00:00
|
|
|
"pypdf~=3.17.0",
|
2024-02-05 11:15:48 +00:00
|
|
|
"PyPika==0.48.9",
|
2022-06-14 07:45:56 +00:00
|
|
|
"PyQRCode~=1.2.1",
|
2023-07-19 06:11:17 +00:00
|
|
|
"PyYAML~=6.0.1",
|
2023-11-23 06:12:51 +00:00
|
|
|
"RestrictedPython~=7.0",
|
2023-06-10 12:26:26 +00:00
|
|
|
"WeasyPrint==59.0",
|
2023-10-27 11:17:26 +00:00
|
|
|
"Werkzeug~=3.0.1",
|
2022-06-14 07:45:56 +00:00
|
|
|
"Whoosh~=2.7.4",
|
2023-06-10 12:26:26 +00:00
|
|
|
"beautifulsoup4~=4.12.2",
|
2022-06-14 07:45:56 +00:00
|
|
|
"bleach-allowlist~=1.0.3",
|
2023-07-24 00:32:04 +00:00
|
|
|
"bleach[css]~=6.0.0",
|
2023-05-24 09:35:50 +00:00
|
|
|
"chardet~=5.1.0",
|
2023-11-23 06:12:51 +00:00
|
|
|
"croniter~=2.0.1",
|
2024-02-06 04:59:53 +00:00
|
|
|
"cryptography~=42.0.0",
|
2024-03-26 09:33:35 +00:00
|
|
|
"cssutils~=2.9.0",
|
2022-06-14 07:45:56 +00:00
|
|
|
"email-reply-parser~=0.5.12",
|
2024-04-17 05:14:53 +00:00
|
|
|
"gunicorn~=22.0.0",
|
2022-06-14 07:45:56 +00:00
|
|
|
"html5lib~=1.1",
|
2023-09-02 12:10:13 +00:00
|
|
|
"ipython~=8.15.0",
|
2022-06-14 07:45:56 +00:00
|
|
|
"ldap3~=2.9",
|
2023-06-10 12:26:26 +00:00
|
|
|
"markdown2~=2.4.8",
|
2022-12-19 10:07:28 +00:00
|
|
|
"MarkupSafe>=2.1.0,<3",
|
2022-06-14 07:45:56 +00:00
|
|
|
"maxminddb-geolite2==2018.703",
|
2023-06-10 12:26:26 +00:00
|
|
|
"num2words~=0.5.12",
|
|
|
|
"oauthlib~=3.2.2",
|
|
|
|
"openpyxl~=3.1.2",
|
2022-06-14 07:45:56 +00:00
|
|
|
"passlib~=1.7.4",
|
|
|
|
"pdfkit~=1.0.0",
|
2023-06-10 12:26:26 +00:00
|
|
|
"phonenumbers==8.13.13",
|
2023-07-24 10:56:27 +00:00
|
|
|
"premailer~=3.10.0",
|
2023-06-03 17:49:02 +00:00
|
|
|
"psutil~=5.9.5",
|
2022-06-14 07:45:56 +00:00
|
|
|
"psycopg2-binary~=2.9.1",
|
2024-02-06 05:05:53 +00:00
|
|
|
"pyOpenSSL~=24.0.0",
|
2024-04-16 14:53:41 +00:00
|
|
|
"pydantic~=2.7.0",
|
2023-06-10 12:26:26 +00:00
|
|
|
"pyotp~=2.8.0",
|
|
|
|
"python-dateutil~=2.8.2",
|
2023-06-03 17:49:02 +00:00
|
|
|
"pytz==2023.3",
|
2022-06-14 07:45:56 +00:00
|
|
|
"rauth~=0.7.3",
|
2023-11-23 06:12:51 +00:00
|
|
|
"redis~=5.0.1",
|
2023-06-03 17:49:02 +00:00
|
|
|
"hiredis~=2.2.3",
|
2023-12-28 15:20:27 +00:00
|
|
|
"setproctitle~=1.3.3",
|
2023-06-10 12:26:26 +00:00
|
|
|
"requests-oauthlib~=1.3.1",
|
2023-05-24 09:35:50 +00:00
|
|
|
"requests~=2.31.0",
|
2023-06-25 12:13:11 +00:00
|
|
|
"rq~=1.15.1",
|
2022-06-14 07:45:56 +00:00
|
|
|
"rsa>=4.1",
|
|
|
|
"semantic-version~=2.10.0",
|
2023-11-27 11:59:32 +00:00
|
|
|
"sentry-sdk~=1.37.1",
|
2024-04-16 14:56:54 +00:00
|
|
|
"sqlparse~=0.5.0",
|
2024-04-16 15:11:03 +00:00
|
|
|
"sql_metadata~=2.11.0",
|
2023-06-10 12:26:26 +00:00
|
|
|
"tenacity~=8.2.2",
|
|
|
|
"terminaltables~=3.1.10",
|
2022-06-14 07:45:56 +00:00
|
|
|
"traceback-with-variables~=2.0.4",
|
2023-08-11 06:20:59 +00:00
|
|
|
"typing_extensions>=4.6.1,<5",
|
2024-05-03 14:15:14 +00:00
|
|
|
"tomli~=2.0.1",
|
2024-03-29 10:36:20 +00:00
|
|
|
"uuid-utils~=0.6.1",
|
2022-06-14 07:45:56 +00:00
|
|
|
"xlrd~=2.0.1",
|
2023-01-24 13:07:34 +00:00
|
|
|
"zxcvbn~=4.4.28",
|
2023-06-03 17:49:02 +00:00
|
|
|
"markdownify~=0.11.6",
|
2022-06-14 07:45:56 +00:00
|
|
|
|
|
|
|
# integration dependencies
|
2023-07-26 09:30:04 +00:00
|
|
|
"boto3~=1.28.10",
|
2024-01-14 14:41:37 +00:00
|
|
|
"dropbox~=11.36.2",
|
2022-06-14 07:45:56 +00:00
|
|
|
"google-api-python-client~=2.2.0",
|
|
|
|
"google-auth-oauthlib~=0.4.4",
|
|
|
|
"google-auth~=1.29.0",
|
2023-04-25 06:31:24 +00:00
|
|
|
"posthog~=3.0.1",
|
2022-06-14 07:45:56 +00:00
|
|
|
]
|
|
|
|
|
2024-05-03 14:15:14 +00:00
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://frappeframework.com/"
|
|
|
|
Repository = "https://github.com/frappe/frappe.git"
|
|
|
|
"Bug Reports" = "https://github.com/frappe/frappe/issues"
|
|
|
|
|
2022-06-14 07:45:56 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["flit_core >=3.4,<4"]
|
|
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
|
2022-06-30 06:51:28 +00:00
|
|
|
[tool.bench.dev-dependencies]
|
2022-11-09 09:32:03 +00:00
|
|
|
coverage = "~=6.5.0"
|
2023-06-10 12:26:26 +00:00
|
|
|
Faker = "~=18.10.1"
|
|
|
|
pyngrok = "~=6.0.0"
|
|
|
|
unittest-xml-reporting = "~=3.2.0"
|
2023-06-03 17:49:02 +00:00
|
|
|
watchdog = "~=3.0.0"
|
2023-06-10 12:26:26 +00:00
|
|
|
hypothesis = "~=6.77.0"
|
2023-07-27 05:11:20 +00:00
|
|
|
responses = "==0.23.1"
|
2023-10-18 08:50:31 +00:00
|
|
|
freezegun = "~=1.2.2"
|
2024-02-05 13:02:12 +00:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
line-length = 110
|
|
|
|
target-version = "py310"
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
select = [
|
|
|
|
"F",
|
|
|
|
"E",
|
|
|
|
"W",
|
|
|
|
"I",
|
|
|
|
"UP",
|
|
|
|
"B",
|
2024-02-21 07:43:59 +00:00
|
|
|
"RUF",
|
2024-02-05 13:02:12 +00:00
|
|
|
]
|
|
|
|
ignore = [
|
|
|
|
"B017", # assertRaises(Exception) - should be more specific
|
|
|
|
"B018", # useless expression, not assigned to anything
|
|
|
|
"B023", # function doesn't bind loop variable - will have last iteration's value
|
|
|
|
"B904", # raise inside except without from
|
|
|
|
"E101", # indentation contains mixed spaces and tabs
|
|
|
|
"E402", # module level import not at top of file
|
|
|
|
"E501", # line too long
|
|
|
|
"E741", # ambiguous variable name
|
|
|
|
"F401", # "unused" imports
|
|
|
|
"F403", # can't detect undefined names from * import
|
|
|
|
"F405", # can't detect undefined names from * import
|
|
|
|
"F722", # syntax error in forward type annotation
|
|
|
|
"W191", # indentation contains tabs
|
2024-02-21 07:43:59 +00:00
|
|
|
"RUF001", # string contains ambiguous unicode character
|
2024-02-05 13:02:12 +00:00
|
|
|
]
|
2024-03-10 19:41:05 +00:00
|
|
|
typing-modules = ["frappe.types.DF"]
|
2024-02-05 13:02:12 +00:00
|
|
|
|
|
|
|
[tool.ruff.format]
|
|
|
|
quote-style = "double"
|
|
|
|
indent-style = "tab"
|
|
|
|
docstring-code-format = true
|