Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (65 loc) · 2.08 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (65 loc) · 2.08 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
[project]
name = "drf-excel"
authors = [{name = "Tim Allen", email = "tallen@wharton.upenn.edu"},]
description = "Django REST Framework renderer for Excel spreadsheet (xlsx) files."
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.11"
keywords = ["djangorestframework", "django rest framework", "excel", "spreadsheet", "rest", "restful", "api", "xls", "xlsx", "openpyxl"]
license = "BSD-3-Clause"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Framework :: Django :: 6.1",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
dependencies = [
"djangorestframework>=3.14",
"openpyxl>=2.4",
]
[dependency-groups]
dev = [
"django-coverage-plugin",
"ipython",
"ruff",
"pytest-coverage",
"pytest-django",
]
[project.urls]
"Homepage" = "https://github.com/django-commons/drf-excel/"
"Repository" = "https://github.com/django-commons/drf-excel/"
"Documentation" = "https://github.com/django-commons/drf-excel/"
[build-system]
requires = ["setuptools>=77", "setuptools_scm>=7"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "drf_excel/_version.py"
[tool.pytest]
addopts = ["--cov", "--cov-report=xml", "--cov-report=term"]
python_files = ["tests.py", "test_*.py"]
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.coverage.run]
plugins = ["django_coverage_plugin"]
include = ["drf_excel/*"]
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"UP", # pyupgrade
"I", # isort
]