forked from yehoshuadimarsky/bcpandas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
96 lines (84 loc) · 2.28 KB
/
pyproject.toml
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
[tool.poetry]
authors = ["yehoshuadimarsky"]
classifiers = [
"Topic :: Database",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: SQL",
]
description = "High-level wrapper around BCP for high performance data transfers between pandas and SQL Server. No knowledge of BCP required!!"
keywords = ["bcp", "mssql", "pandas"]
license = "MIT"
maintainers = ["Oliver Borchert <me@borchero.com>"]
name = "bcpandas"
readme = "README.md"
repository = "https://github.com/yehoshuadimarsky/bcpandas"
version = "0.0.0"
[tool.poetry.plugins."pandas.sql.engine"]
bcpandas = "bcpandas.main:to_sql"
[tool.poetry.dependencies]
pandas = ">=0.19"
pyodbc = "4.0.34"
python = ">=3.8.1"
sqlalchemy = ">=1.0"
[tool.poetry.group.dev.dependencies]
black = "22.12.0"
flake8 = "6.0.0"
isort = "5.11.4"
mypy = "0.991"
types-setuptools = "^65.7.0.3"
[tool.poetry.group.test.dependencies]
codetiming = "1.4.0"
docker = "6.0.1"
hypothesis = "6.64.0"
ipython = "8.8.0"
matplotlib = "3.6.3"
pytest = "7.2.1"
pytest-cov = "4.0.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
# Example configuration for Black.
# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.
[tool.black]
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
include = '\.pyi?$'
line-length = 99
target-version = ["py38"]
[tool.isort]
combine_as_imports = true
force_grid_wrap = 0
force_sort_within_sections = true
include_trailing_comma = true
line_length = 100
multi_line_output = 3
[tool.mypy]
ignore_missing_imports = true
pretty = true
python_version = 3.8
show_error_codes = true
[tool.pytest.ini_options]
addopts = "--showlocals --tb=short --strict-markers -v --cov=bcpandas --cov-report html --hypothesis-show-statistics"
[tool.coverage.run]
omit = ["bcpandas/tests/*", "benchmarks/**"]