-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (124 loc) · 2.92 KB
/
pyproject.toml
File metadata and controls
135 lines (124 loc) · 2.92 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "commcare-export"
dynamic = ["version"]
description = "A command-line tool (and Python library) to extract data from CommCare HQ into a SQL database or Excel workbook"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Dimagi", email = "information@dimagi.com"}
]
requires-python = ">=3.10,<3.15"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"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",
"Topic :: Database",
"Topic :: Software Development :: Interpreters",
"Topic :: System :: Archiving",
"Topic :: System :: Distributed Computing",
]
dependencies = [
"alembic",
"backoff>=2.0",
"jsonpath-ng~=1.6.0",
"ndg-httpsclient",
"openpyxl==3.1.5",
"python-dateutil",
"pytz",
"requests",
"simplejson",
"sqlalchemy~=1.4",
"sqlalchemy-migrate",
]
[project.optional-dependencies]
test = [
"mypy",
"psycopg2-binary",
"pytest",
"pytest-unmagic",
"ruff",
"types-python-dateutil",
"types-pytz",
"types-requests",
"types-simplejson",
]
base_sql = [
"SQLAlchemy",
"alembic",
]
postgres = [
"SQLAlchemy",
"alembic",
"psycopg2-binary",
]
mysql = [
"SQLAlchemy",
"alembic",
"pymysql",
]
odbc = [
"SQLAlchemy",
"alembic",
"pyodbc",
]
xlsx = [
"openpyxl",
]
xls = [
"xlwt",
]
executable = [
"chardet",
"psycopg2-binary",
"pymysql",
"pyodbc",
"xlwt",
"openpyxl",
]
[project.urls]
Homepage = "https://github.com/dimagi/commcare-export"
[project.scripts]
commcare-export = "commcare_export.cli:entry_point"
commcare-export-utils = "commcare_export.utils_cli:entry_point"
[tool.setuptools]
packages = [
"commcare_export",
"commcare_export.migrations",
"commcare_export.migrations.versions",
]
include-package-data = true
[tool.setuptools.package-data]
commcare_export = [
"VERSION",
"migrations/*.ini",
"migrations/*.mako",
"migrations/*.py",
"migrations/versions/*.py",
]
[tool.setuptools_scm]
version_file = "commcare_export/VERSION"
version_file_template = "{version}"
version_scheme = "no-guess-dev"
local_scheme = "no-local-version"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = ["-vv", "--tb=short"]
[tool.ruff]
line-length = 79
[tool.ruff.format]
quote-style = "single"