SQLDbWrpr 4.2.0__tar.gz → 4.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sqldbwrpr-4.3.0/PKG-INFO +75 -0
- sqldbwrpr-4.3.0/README.md +43 -0
- sqldbwrpr-4.3.0/pyproject.toml +113 -0
- sqldbwrpr-4.2.0/PKG-INFO +0 -215
- sqldbwrpr-4.2.0/README.rst +0 -184
- sqldbwrpr-4.2.0/pyproject.toml +0 -94
- /sqldbwrpr-4.2.0/LICENSE → /sqldbwrpr-4.3.0/LICENSE.txt +0 -0
- {sqldbwrpr-4.2.0 → sqldbwrpr-4.3.0}/src/sqldbwrpr/__init__.py +0 -0
- {sqldbwrpr-4.2.0 → sqldbwrpr-4.3.0}/src/sqldbwrpr/sqldbwrpr.py +0 -0
sqldbwrpr-4.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: SQLDbWrpr
|
|
3
|
+
Version: 4.3.0
|
|
4
|
+
Summary: Wrapper for importing CSV and Text files into MySQL and Postgress
|
|
5
|
+
License: MIT
|
|
6
|
+
Author: Hendrik du Toit
|
|
7
|
+
Author-email: hendrik@brightedge.co.za
|
|
8
|
+
Maintainer: Hendrik du Toit
|
|
9
|
+
Maintainer-email: hendrikdt@citiqprepaid.co.za
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Information Technology
|
|
14
|
+
Classifier: Topic :: Software Development
|
|
15
|
+
Classifier: Topic :: Text Processing
|
|
16
|
+
Classifier: Topic :: Utilities
|
|
17
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Requires-Dist: csvwrpr (>=1.16.1,<2.0.0)
|
|
22
|
+
Requires-Dist: fixdate (>=2.0.1,<3.0.0)
|
|
23
|
+
Requires-Dist: mysql-connector-python (>=9.2.0,<10.0.0)
|
|
24
|
+
Requires-Dist: pydantic-settings (>=2.8.1,<3.0.0)
|
|
25
|
+
Requires-Dist: pyodbc (>=5.2.0,<6.0.0)
|
|
26
|
+
Project-URL: Changelog, https://github.com/BrightEdgeeServices/PythonTemplateIt/blob/enhancement/master/ReleaseNotes.md
|
|
27
|
+
Project-URL: Homepage, https://github.com/BrightEdgeeServices/PythonTemplateIt
|
|
28
|
+
Project-URL: Issues, https://github.com/BrightEdgeeServices/PythonTemplateIt/issues
|
|
29
|
+
Project-URL: Repository, https://github.com/BrightEdgeeServices/PythonTemplateIt.git
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# AqlDbWrpr
|
|
33
|
+
|
|
34
|
+
| **Category** | **Status' and Links** |
|
|
35
|
+
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
36
|
+
| General | [![][general_maintenance_y_img]][general_maintenance_y_lnk] [![][general_semver_pic]][general_semver_link] [![][general_license_img]][general_license_lnk] |
|
|
37
|
+
| CD/CI | [![][gh_tests_img]][gh_tests_lnk] [![][cicd_codestyle_img]][cicd_codestyle_lnk] [![][cicd_pre_commit_img]][cicd_pre_commit_lnk] [![][codecov_img]][codecov_lnk] [![][gh_doc_img]][gh_doc_lnk] |
|
|
38
|
+
| PyPI | [![][pypi_release_img]][pypi_release_lnk] [![][pypi_py_versions_img]][pypi_py_versions_lnk] [![][pypi_format_img]][pypi_format_lnk] [![][pypi_downloads_img]][pypi_downloads_lnk] |
|
|
39
|
+
| Github | [![][gh_issues_img]][gh_issues_lnk] [![][gh_language_img]][gh_language_lnk] [![][gh_last_commit_img]][gh_last_commit_lnk] [![][gh_deployment_img]][gh_deployment_lnk] |
|
|
40
|
+
|
|
41
|
+
Only the MySQL implementation is working. The MSSQL ODBC implementation is giving me a lot of shit with the connection and I gave up for now to get it working.
|
|
42
|
+
|
|
43
|
+
[cicd_codestyle_img]: https://img.shields.io/badge/code%20style-black-000000.svg "Black"
|
|
44
|
+
[cicd_codestyle_lnk]: https://github.com/psf/black "Black"
|
|
45
|
+
[cicd_pre_commit_img]: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/PoetryExample/pre-commit.yml?label=pre-commit "Pre-Commit"
|
|
46
|
+
[cicd_pre_commit_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/.github/workflows/pre-commit.yml "Pre-Commit"
|
|
47
|
+
[codecov_img]: https://img.shields.io/codecov/c/gh/hendrikdutoit/PoetryExample "CodeCov"
|
|
48
|
+
[codecov_lnk]: https://app.codecov.io/gh/hendrikdutoit/PoetryExample "CodeCov"
|
|
49
|
+
[general_license_img]: https://img.shields.io/pypi/l/PythonTemplateIt "License"
|
|
50
|
+
[general_license_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/LICENSE "License"
|
|
51
|
+
[general_maintenance_y_img]: https://img.shields.io/badge/Maintenance%20Intended-%E2%9C%94-green.svg?style=flat-square "Maintenance - intended"
|
|
52
|
+
[general_maintenance_y_lnk]: http://unmaintained.tech/ "Maintenance - intended"
|
|
53
|
+
[general_semver_link]: https://semver.org/ "Sentic Versioning - 2.0.0"
|
|
54
|
+
[general_semver_pic]: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square "Sentic Versioning - 2.0.0"
|
|
55
|
+
[gh_deployment_img]: https://img.shields.io/github/deployments/hendrikdutoit/PoetryExample/pypi "GitHub - PiPy Deployment"
|
|
56
|
+
[gh_deployment_lnk]: https://github.com/hendrikdutoit/PoetryExample/deployments/pypi "GitHub - PiPy Deployment"
|
|
57
|
+
[gh_doc_img]: https://img.shields.io/readthedocs/PythonTemplateIt "Read the Docs"
|
|
58
|
+
[gh_doc_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/.github/workflows/check-rst-documentation.yml "Read the Docs"
|
|
59
|
+
[gh_issues_img]: https://img.shields.io/github/issues-raw/hendrikdutoit/PoetryExample "GitHub - Issue Counter"
|
|
60
|
+
[gh_issues_lnk]: https://github.com/hendrikdutoit/PoetryExample/issues "GitHub - Issue Counter"
|
|
61
|
+
[gh_language_img]: https://img.shields.io/github/languages/top/hendrikdutoit/PoetryExample "GitHub - Top Language"
|
|
62
|
+
[gh_language_lnk]: https://github.com/hendrikdutoit/PoetryExample "GitHub - Top Language"
|
|
63
|
+
[gh_last_commit_img]: https://img.shields.io/github/last-commit/hendrikdutoit/PoetryExample/master "GitHub - Last Commit"
|
|
64
|
+
[gh_last_commit_lnk]: https://github.com/hendrikdutoit/PoetryExample/commit/master "GitHub - Last Commit"
|
|
65
|
+
[gh_tests_img]: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/PoetryExample/ci.yml?label=ci "Test status"
|
|
66
|
+
[gh_tests_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/.github/workflows/ci.yml "Test status"
|
|
67
|
+
[pypi_downloads_img]: https://img.shields.io/pypi/dm/PythonTemplateIt "Monthly downloads"
|
|
68
|
+
[pypi_downloads_lnk]: https://pypi.org/project/PythonTemplateIt/ "Monthly downloads"
|
|
69
|
+
[pypi_format_img]: https://img.shields.io/pypi/wheel/PythonTemplateIt "PyPI - Format"
|
|
70
|
+
[pypi_format_lnk]: https://pypi.org/project/PythonTemplateIt/ "PyPI - Format"
|
|
71
|
+
[pypi_py_versions_img]: https://img.shields.io/pypi/pyversions/PythonTemplateIt "PyPI - Supported Python Versions"
|
|
72
|
+
[pypi_py_versions_lnk]: https://pypi.org/project/PythonTemplateIt/ "PyPI - Supported Python Versions"
|
|
73
|
+
[pypi_release_img]: https://img.shields.io/pypi/v/PythonTemplateIt "Test status"
|
|
74
|
+
[pypi_release_lnk]: https://pypi.org/project/PythonTemplateIt/ "Test status"
|
|
75
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# AqlDbWrpr
|
|
2
|
+
|
|
3
|
+
| **Category** | **Status' and Links** |
|
|
4
|
+
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
5
|
+
| General | [![][general_maintenance_y_img]][general_maintenance_y_lnk] [![][general_semver_pic]][general_semver_link] [![][general_license_img]][general_license_lnk] |
|
|
6
|
+
| CD/CI | [![][gh_tests_img]][gh_tests_lnk] [![][cicd_codestyle_img]][cicd_codestyle_lnk] [![][cicd_pre_commit_img]][cicd_pre_commit_lnk] [![][codecov_img]][codecov_lnk] [![][gh_doc_img]][gh_doc_lnk] |
|
|
7
|
+
| PyPI | [![][pypi_release_img]][pypi_release_lnk] [![][pypi_py_versions_img]][pypi_py_versions_lnk] [![][pypi_format_img]][pypi_format_lnk] [![][pypi_downloads_img]][pypi_downloads_lnk] |
|
|
8
|
+
| Github | [![][gh_issues_img]][gh_issues_lnk] [![][gh_language_img]][gh_language_lnk] [![][gh_last_commit_img]][gh_last_commit_lnk] [![][gh_deployment_img]][gh_deployment_lnk] |
|
|
9
|
+
|
|
10
|
+
Only the MySQL implementation is working. The MSSQL ODBC implementation is giving me a lot of shit with the connection and I gave up for now to get it working.
|
|
11
|
+
|
|
12
|
+
[cicd_codestyle_img]: https://img.shields.io/badge/code%20style-black-000000.svg "Black"
|
|
13
|
+
[cicd_codestyle_lnk]: https://github.com/psf/black "Black"
|
|
14
|
+
[cicd_pre_commit_img]: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/PoetryExample/pre-commit.yml?label=pre-commit "Pre-Commit"
|
|
15
|
+
[cicd_pre_commit_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/.github/workflows/pre-commit.yml "Pre-Commit"
|
|
16
|
+
[codecov_img]: https://img.shields.io/codecov/c/gh/hendrikdutoit/PoetryExample "CodeCov"
|
|
17
|
+
[codecov_lnk]: https://app.codecov.io/gh/hendrikdutoit/PoetryExample "CodeCov"
|
|
18
|
+
[general_license_img]: https://img.shields.io/pypi/l/PythonTemplateIt "License"
|
|
19
|
+
[general_license_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/LICENSE "License"
|
|
20
|
+
[general_maintenance_y_img]: https://img.shields.io/badge/Maintenance%20Intended-%E2%9C%94-green.svg?style=flat-square "Maintenance - intended"
|
|
21
|
+
[general_maintenance_y_lnk]: http://unmaintained.tech/ "Maintenance - intended"
|
|
22
|
+
[general_semver_link]: https://semver.org/ "Sentic Versioning - 2.0.0"
|
|
23
|
+
[general_semver_pic]: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square "Sentic Versioning - 2.0.0"
|
|
24
|
+
[gh_deployment_img]: https://img.shields.io/github/deployments/hendrikdutoit/PoetryExample/pypi "GitHub - PiPy Deployment"
|
|
25
|
+
[gh_deployment_lnk]: https://github.com/hendrikdutoit/PoetryExample/deployments/pypi "GitHub - PiPy Deployment"
|
|
26
|
+
[gh_doc_img]: https://img.shields.io/readthedocs/PythonTemplateIt "Read the Docs"
|
|
27
|
+
[gh_doc_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/.github/workflows/check-rst-documentation.yml "Read the Docs"
|
|
28
|
+
[gh_issues_img]: https://img.shields.io/github/issues-raw/hendrikdutoit/PoetryExample "GitHub - Issue Counter"
|
|
29
|
+
[gh_issues_lnk]: https://github.com/hendrikdutoit/PoetryExample/issues "GitHub - Issue Counter"
|
|
30
|
+
[gh_language_img]: https://img.shields.io/github/languages/top/hendrikdutoit/PoetryExample "GitHub - Top Language"
|
|
31
|
+
[gh_language_lnk]: https://github.com/hendrikdutoit/PoetryExample "GitHub - Top Language"
|
|
32
|
+
[gh_last_commit_img]: https://img.shields.io/github/last-commit/hendrikdutoit/PoetryExample/master "GitHub - Last Commit"
|
|
33
|
+
[gh_last_commit_lnk]: https://github.com/hendrikdutoit/PoetryExample/commit/master "GitHub - Last Commit"
|
|
34
|
+
[gh_tests_img]: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/PoetryExample/ci.yml?label=ci "Test status"
|
|
35
|
+
[gh_tests_lnk]: https://github.com/hendrikdutoit/PoetryExample/blob/master/.github/workflows/ci.yml "Test status"
|
|
36
|
+
[pypi_downloads_img]: https://img.shields.io/pypi/dm/PythonTemplateIt "Monthly downloads"
|
|
37
|
+
[pypi_downloads_lnk]: https://pypi.org/project/PythonTemplateIt/ "Monthly downloads"
|
|
38
|
+
[pypi_format_img]: https://img.shields.io/pypi/wheel/PythonTemplateIt "PyPI - Format"
|
|
39
|
+
[pypi_format_lnk]: https://pypi.org/project/PythonTemplateIt/ "PyPI - Format"
|
|
40
|
+
[pypi_py_versions_img]: https://img.shields.io/pypi/pyversions/PythonTemplateIt "PyPI - Supported Python Versions"
|
|
41
|
+
[pypi_py_versions_lnk]: https://pypi.org/project/PythonTemplateIt/ "PyPI - Supported Python Versions"
|
|
42
|
+
[pypi_release_img]: https://img.shields.io/pypi/v/PythonTemplateIt "Test status"
|
|
43
|
+
[pypi_release_lnk]: https://pypi.org/project/PythonTemplateIt/ "Test status"
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"poetry-core>=2.0.0,<3.0.0",
|
|
4
|
+
]
|
|
5
|
+
build-backend = "poetry.core.masonry.api"
|
|
6
|
+
|
|
7
|
+
[project]
|
|
8
|
+
name = 'SQLDbWrpr'
|
|
9
|
+
version = '4.3.0'
|
|
10
|
+
description = 'Wrapper for importing CSV and Text files into MySQL and Postgress'
|
|
11
|
+
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = 'Hendrik du Toit', email = 'hendrik@brightedge.co.za' },
|
|
14
|
+
]
|
|
15
|
+
classifiers = [
|
|
16
|
+
'Development Status :: 5 - Production/Stable',
|
|
17
|
+
'Intended Audience :: Developers',
|
|
18
|
+
'Intended Audience :: Information Technology',
|
|
19
|
+
'Topic :: Software Development',
|
|
20
|
+
'Topic :: Text Processing',
|
|
21
|
+
'Topic :: Utilities',
|
|
22
|
+
'License :: OSI Approved :: MIT License',
|
|
23
|
+
'Programming Language :: Python :: 3.10',
|
|
24
|
+
'Programming Language :: Python :: 3.11',
|
|
25
|
+
'Programming Language :: Python :: 3.12',
|
|
26
|
+
]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"pydantic-settings (>=2.8.1,<3.0.0)",
|
|
29
|
+
"csvwrpr (>=1.16.1,<2.0.0)",
|
|
30
|
+
"fixdate (>=2.0.1,<3.0.0)",
|
|
31
|
+
"mysql-connector-python (>=9.2.0,<10.0.0)",
|
|
32
|
+
"pyodbc (>=5.2.0,<6.0.0)",
|
|
33
|
+
]
|
|
34
|
+
license = "MIT"
|
|
35
|
+
# license = "Proprietary"
|
|
36
|
+
license-files = ["LICENSE.txt"]
|
|
37
|
+
maintainers = [
|
|
38
|
+
{ name = "Hendrik du Toit", email = "hendrikdt@citiqprepaid.co.za" },
|
|
39
|
+
{ name = 'Henru du Toit', email = 'henru@brightedge.co.za' },
|
|
40
|
+
{ name = 'Dirk du Toit', email = 'dirk@brightedge.co.za' },
|
|
41
|
+
]
|
|
42
|
+
readme = { file = 'README.md', content-type = 'text/markdown' }
|
|
43
|
+
#readme = "README.md"
|
|
44
|
+
requires-python = ">=3.10"
|
|
45
|
+
|
|
46
|
+
[project.urls]
|
|
47
|
+
# documentation = "https://readthedocs.org"
|
|
48
|
+
Issues = "https://github.com/BrightEdgeeServices/PythonTemplateIt/issues"
|
|
49
|
+
Changelog = 'https://github.com/BrightEdgeeServices/PythonTemplateIt/blob/enhancement/master/ReleaseNotes.md'
|
|
50
|
+
Homepage = 'https://github.com/BrightEdgeeServices/PythonTemplateIt'
|
|
51
|
+
Repository = "https://github.com/BrightEdgeeServices/PythonTemplateIt.git"
|
|
52
|
+
|
|
53
|
+
[tool.black]
|
|
54
|
+
line-length = 120
|
|
55
|
+
#skip-string-normalization = true
|
|
56
|
+
target-version = [
|
|
57
|
+
"py313",
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
[tool.codespell]
|
|
61
|
+
count = ''
|
|
62
|
+
quiet-level = 2
|
|
63
|
+
skip = 'documentation/Archive/*'
|
|
64
|
+
ignore-words-list = 'space-holder'
|
|
65
|
+
write-changes = ''
|
|
66
|
+
|
|
67
|
+
[tool.coverage.run]
|
|
68
|
+
source = [
|
|
69
|
+
'src',
|
|
70
|
+
'tests',
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
[tool.isort]
|
|
74
|
+
profile = "black"
|
|
75
|
+
|
|
76
|
+
[tool.poetry.dependencies]
|
|
77
|
+
|
|
78
|
+
[tool.poetry.group.dev]
|
|
79
|
+
optional = true
|
|
80
|
+
|
|
81
|
+
[tool.poetry.group.dev.dependencies]
|
|
82
|
+
black = ">=25.1.0"
|
|
83
|
+
codecov = ">=2.1.13"
|
|
84
|
+
flake8 = ">=7.1.1"
|
|
85
|
+
mdformat-gfm = ">=0.4.1"
|
|
86
|
+
mdformat-frontmatter = ">=2.0.8"
|
|
87
|
+
mdformat-footnote = ">=0.1.1"
|
|
88
|
+
pre-commit = ">=4.0.1"
|
|
89
|
+
pytest = ">=8.3.4"
|
|
90
|
+
pytest-cov = ">=6.0.0"
|
|
91
|
+
rstcheck = { extras = [
|
|
92
|
+
"sphinx",
|
|
93
|
+
], version = ">=6.2.4" }
|
|
94
|
+
sphinx = ">=8.1.3"
|
|
95
|
+
twine = ">=6.1.0"
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
[tool.pytest.ini_options]
|
|
99
|
+
addopts = [
|
|
100
|
+
'-vv',
|
|
101
|
+
'--ignore-glob=*\\Archive',
|
|
102
|
+
]
|
|
103
|
+
filterwarnings = [
|
|
104
|
+
# "ignore::DeprecationWarning",
|
|
105
|
+
]
|
|
106
|
+
pythonpath = [
|
|
107
|
+
'src',
|
|
108
|
+
'tests',
|
|
109
|
+
]
|
|
110
|
+
testpaths = 'tests'
|
|
111
|
+
markers = [
|
|
112
|
+
"select: Run a selection of tests",
|
|
113
|
+
]
|
sqldbwrpr-4.2.0/PKG-INFO
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: SQLDbWrpr
|
|
3
|
-
Version: 4.2.0
|
|
4
|
-
Summary: Wrapper for importing CSV and Text files into MySQL and Postgress
|
|
5
|
-
Home-page: https://github.com/BrightEdgeeServices/SQLDbWrpr
|
|
6
|
-
License: MIT
|
|
7
|
-
Author: Hendrik du Toit
|
|
8
|
-
Author-email: hendrik@brightedge.co.za
|
|
9
|
-
Requires-Python: >=3.12.2,<4.0.0
|
|
10
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: Intended Audience :: Information Technology
|
|
13
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
-
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
-
Classifier: Topic :: Software Development
|
|
20
|
-
Classifier: Topic :: Text Processing
|
|
21
|
-
Classifier: Topic :: Utilities
|
|
22
|
-
Requires-Dist: csvwrpr (>=1.16.0,<2.0.0)
|
|
23
|
-
Requires-Dist: fixdate (>=2.0.0,<3.0.0)
|
|
24
|
-
Requires-Dist: mysql-connector-python (>=9.1.0,<10.0.0)
|
|
25
|
-
Requires-Dist: pyodbc (>=5.2.0,<6.0.0)
|
|
26
|
-
Project-URL: Repository, https://github.com/RealTimeEvents/SQLDbWrpr.git
|
|
27
|
-
Project-URL: changelog, https://github.com/BrightEdgeeServices/SQLDbWrpr/blob/enhancement/master/ReleaseNotes.md
|
|
28
|
-
Project-URL: issues, https://github.com/BrightEdgeeServices/SQLDbWrpr/issues
|
|
29
|
-
Description-Content-Type: text/x-rst
|
|
30
|
-
|
|
31
|
-
====================
|
|
32
|
-
Exploring SQLAlchemy
|
|
33
|
-
====================
|
|
34
|
-
|
|
35
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
36
|
-
|**General**| |maintenance_y| |semver| |license| |
|
|
37
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
38
|
-
|**CI** | |codestyle| |codecov| |
|
|
39
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
40
|
-
|**PyPI** | |pypi_release| |pypi_py_versions| |pypi_status| |pypi_format| |pypi_downloads| |
|
|
41
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
42
|
-
|**Github** | |gh_issues| |gh_language| |gh_last_commit| |gh_deployment| |
|
|
43
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
Only the MySQL implementation is working. The MSSQL ODBC implementation is giving me a lot of shit with the connection and I gave up for now to get it working.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Installation
|
|
50
|
-
------------
|
|
51
|
-
|
|
52
|
-
#. Since this is intended for experimental purposes, it is recommended to create a virtual environment to experiment for installation.
|
|
53
|
-
#. Set the following environment variables in the virtual environment. Set these in your IDE as well.
|
|
54
|
-
#. Start Docker. The ``docker-rebuild.bat`` script will git docker up and running.
|
|
55
|
-
#. The setup and installation is for Windows. Feel free to add contribute to get it running on Linux as well.
|
|
56
|
-
|
|
57
|
-
.. code-block:: bash
|
|
58
|
-
|
|
59
|
-
python -m venv ./sqlalchemyexample_venv
|
|
60
|
-
pip install sqlalchemyexample
|
|
61
|
-
pre-commit install
|
|
62
|
-
SET MYSQL_HOST=localhost
|
|
63
|
-
SET MYSQL_ROOT_PWD=N0tS0S3curePassw0rd
|
|
64
|
-
SET MYSQL_TCP_PORT_EXAMPLES=50002
|
|
65
|
-
SET SQLALCHEMY_SILENCE_UBER_WARNING=1
|
|
66
|
-
docker-rebuild.bat
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Tests
|
|
70
|
-
-----
|
|
71
|
-
|
|
72
|
-
#. This project uses ``pytest`` to run tests.
|
|
73
|
-
#. There are various settings combinations in the ``[tool.pytest.ini_options]`` section of the pyproject.toml file that can used by commenting it out.
|
|
74
|
-
#. This project uses ``black`` to format code and ``flake8`` for linting. We also support ``pre-commit`` to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.
|
|
75
|
-
|
|
76
|
-
.. code-block:: bash
|
|
77
|
-
|
|
78
|
-
pytest
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
Contributing
|
|
82
|
-
------------
|
|
83
|
-
|
|
84
|
-
Naming Conventions
|
|
85
|
-
~~~~~~~~~~~~~~~~~~
|
|
86
|
-
|
|
87
|
-
#. File names
|
|
88
|
-
#. Not knowing what's to come and what will be added, it is difficult to determine a naming convention for source, test and other file names. The owner will therefore be a "benevolent dictator" to rename and change names.
|
|
89
|
-
#. Link the file name of the source code and the test so that it is easily linked.
|
|
90
|
-
#. Branch names
|
|
91
|
-
"enhancement" | "bug" | "hotfix"/< ticket_nr>_<description>
|
|
92
|
-
|
|
93
|
-
where
|
|
94
|
-
enhancement - Planned improvement or addition to functionality; non-urgent.
|
|
95
|
-
|
|
96
|
-
bug - An error or defect causing incorrect or unexpected behavior; typically fixed in regular development cycles.
|
|
97
|
-
|
|
98
|
-
hotfix - An urgent, critical fix applied directly to the live environment, often bypassing regular development cycles.
|
|
99
|
-
|
|
100
|
-
ticket_nr: Ticket number assigned to the issue in GitHub. Once an issue is registered, the owner will assign a ticket.
|
|
101
|
-
|
|
102
|
-
description: GitHub issue title or combination of titles is more than one issue is addressed.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Releasing
|
|
106
|
-
~~~~~~~~~
|
|
107
|
-
For the purpose of push and release of code two script files are included. Use there two files to files to make life a
|
|
108
|
-
bit easier. The scripts make use of the ``gitit`` module to simplify tasks.
|
|
109
|
-
|
|
110
|
-
#. ``push.bat`` - Use this script to push branches to GitHub repository. In principle it does the following:
|
|
111
|
-
|
|
112
|
-
usage: push message
|
|
113
|
-
|
|
114
|
-
e.g. push "Changed the Infinite Improbability Drive"
|
|
115
|
-
|
|
116
|
-
#. .rst syntax check
|
|
117
|
-
#. git add -A
|
|
118
|
-
#. git commit -m message (with `pre-commit` including `black` and `flake8`)
|
|
119
|
-
#. git push --all
|
|
120
|
-
|
|
121
|
-
#. ``release.bat`` - Use this script to push a new tag and release to the GitHub repository. Remember to change the version number in the setup.cfg else the workflow will fail.
|
|
122
|
-
|
|
123
|
-
usage: release version The version will match the release and the tag. Only issue a release once a push.bat was successful. In principle it does the following:
|
|
124
|
-
|
|
125
|
-
e.g. release 1.2.3
|
|
126
|
-
|
|
127
|
-
#. Commit the changes
|
|
128
|
-
#. Create and push the release tag with the correct naming conventions.
|
|
129
|
-
#. Checkout master since it assumes that the branch is now merged with master and will be deleted.
|
|
130
|
-
#. display a list of all the current branches as a reminder to delete the branch on completion.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
.. General
|
|
134
|
-
|
|
135
|
-
.. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-✖-red.svg?style=flat-square
|
|
136
|
-
:target: http://unmaintained.tech/
|
|
137
|
-
:alt: Maintenance - not intended
|
|
138
|
-
|
|
139
|
-
.. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-✔-green.svg?style=flat-square
|
|
140
|
-
:target: http://unmaintained.tech/
|
|
141
|
-
:alt: Maintenance - intended
|
|
142
|
-
|
|
143
|
-
.. |license| image:: https://img.shields.io/pypi/l/SQLAlchemyExample
|
|
144
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/LICENSE
|
|
145
|
-
:alt: License
|
|
146
|
-
|
|
147
|
-
.. |semver| image:: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square
|
|
148
|
-
:target: https://semver.org/
|
|
149
|
-
:alt: Semantic Versioning - 2.0.0
|
|
150
|
-
|
|
151
|
-
.. |codestyle| image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
152
|
-
:target: https://github.com/psf/black
|
|
153
|
-
:alt: Code Style Black
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
.. CI
|
|
157
|
-
|
|
158
|
-
.. |pre_commit_ci| image:: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/SQLAlchemyExample/pre-commit.yml?label=pre-commit
|
|
159
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/.github/workflows/pre-commit.yml
|
|
160
|
-
:alt: Pre-Commit
|
|
161
|
-
|
|
162
|
-
.. |gha_tests| image:: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/SQLAlchemyExample/ci.yml?label=ci
|
|
163
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/.github/workflows/ci.yml
|
|
164
|
-
:alt: Test status
|
|
165
|
-
|
|
166
|
-
.. |gha_docu| image:: https://img.shields.io/readthedocs/sqlalchemyexample
|
|
167
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/.github/workflows/check-rst-documentation.yml
|
|
168
|
-
:alt: Read the Docs
|
|
169
|
-
|
|
170
|
-
.. |codecov| image:: https://img.shields.io/codecov/c/gh/hendrikdutoit/SQLAlchemyExample
|
|
171
|
-
:target: https://app.codecov.io/gh/hendrikdutoit/SQLAlchemyExample
|
|
172
|
-
:alt: CodeCov
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
.. PyPI
|
|
176
|
-
|
|
177
|
-
.. |pypi_release| image:: https://img.shields.io/pypi/v/SQLAlchemyExample
|
|
178
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
179
|
-
:alt: PyPI - Package latest release
|
|
180
|
-
|
|
181
|
-
.. |pypi_py_versions| image:: https://img.shields.io/pypi/pyversions/SQLAlchemyExample
|
|
182
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
183
|
-
:alt: PyPI - Supported Python Versions
|
|
184
|
-
|
|
185
|
-
.. |pypi_format| image:: https://img.shields.io/pypi/wheel/SQLAlchemyExample
|
|
186
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
187
|
-
:alt: PyPI - Format
|
|
188
|
-
|
|
189
|
-
.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/SQLAlchemyExample
|
|
190
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
191
|
-
:alt: PyPI - Monthly downloads
|
|
192
|
-
|
|
193
|
-
.. |pypi_status| image:: https://img.shields.io/pypi/status/SQLAlchemyExample
|
|
194
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
195
|
-
:alt: PyPI - Status
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
.. GitHub
|
|
199
|
-
|
|
200
|
-
.. |gh_issues| image:: https://img.shields.io/github/issues-raw/hendrikdutoit/SQLAlchemyExample
|
|
201
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/issues
|
|
202
|
-
:alt: GitHub - Issue Counter
|
|
203
|
-
|
|
204
|
-
.. |gh_language| image:: https://img.shields.io/github/languages/top/hendrikdutoit/SQLAlchemyExample
|
|
205
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample
|
|
206
|
-
:alt: GitHub - Top Language
|
|
207
|
-
|
|
208
|
-
.. |gh_last_commit| image:: https://img.shields.io/github/last-commit/hendrikdutoit/SQLAlchemyExample/master
|
|
209
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/commit/master
|
|
210
|
-
:alt: GitHub - Last Commit
|
|
211
|
-
|
|
212
|
-
.. |gh_deployment| image:: https://img.shields.io/github/deployments/hendrikdutoit/SQLAlchemyExample/pypi
|
|
213
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/deployments/pypi
|
|
214
|
-
:alt: GitHub - PiPy Deployment
|
|
215
|
-
|
sqldbwrpr-4.2.0/README.rst
DELETED
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
====================
|
|
2
|
-
Exploring SQLAlchemy
|
|
3
|
-
====================
|
|
4
|
-
|
|
5
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
6
|
-
|**General**| |maintenance_y| |semver| |license| |
|
|
7
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
8
|
-
|**CI** | |codestyle| |codecov| |
|
|
9
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
10
|
-
|**PyPI** | |pypi_release| |pypi_py_versions| |pypi_status| |pypi_format| |pypi_downloads| |
|
|
11
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
12
|
-
|**Github** | |gh_issues| |gh_language| |gh_last_commit| |gh_deployment| |
|
|
13
|
-
+-----------+------------------------------------------------------------------------------------+
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Only the MySQL implementation is working. The MSSQL ODBC implementation is giving me a lot of shit with the connection and I gave up for now to get it working.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
Installation
|
|
20
|
-
------------
|
|
21
|
-
|
|
22
|
-
#. Since this is intended for experimental purposes, it is recommended to create a virtual environment to experiment for installation.
|
|
23
|
-
#. Set the following environment variables in the virtual environment. Set these in your IDE as well.
|
|
24
|
-
#. Start Docker. The ``docker-rebuild.bat`` script will git docker up and running.
|
|
25
|
-
#. The setup and installation is for Windows. Feel free to add contribute to get it running on Linux as well.
|
|
26
|
-
|
|
27
|
-
.. code-block:: bash
|
|
28
|
-
|
|
29
|
-
python -m venv ./sqlalchemyexample_venv
|
|
30
|
-
pip install sqlalchemyexample
|
|
31
|
-
pre-commit install
|
|
32
|
-
SET MYSQL_HOST=localhost
|
|
33
|
-
SET MYSQL_ROOT_PWD=N0tS0S3curePassw0rd
|
|
34
|
-
SET MYSQL_TCP_PORT_EXAMPLES=50002
|
|
35
|
-
SET SQLALCHEMY_SILENCE_UBER_WARNING=1
|
|
36
|
-
docker-rebuild.bat
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Tests
|
|
40
|
-
-----
|
|
41
|
-
|
|
42
|
-
#. This project uses ``pytest`` to run tests.
|
|
43
|
-
#. There are various settings combinations in the ``[tool.pytest.ini_options]`` section of the pyproject.toml file that can used by commenting it out.
|
|
44
|
-
#. This project uses ``black`` to format code and ``flake8`` for linting. We also support ``pre-commit`` to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.
|
|
45
|
-
|
|
46
|
-
.. code-block:: bash
|
|
47
|
-
|
|
48
|
-
pytest
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Contributing
|
|
52
|
-
------------
|
|
53
|
-
|
|
54
|
-
Naming Conventions
|
|
55
|
-
~~~~~~~~~~~~~~~~~~
|
|
56
|
-
|
|
57
|
-
#. File names
|
|
58
|
-
#. Not knowing what's to come and what will be added, it is difficult to determine a naming convention for source, test and other file names. The owner will therefore be a "benevolent dictator" to rename and change names.
|
|
59
|
-
#. Link the file name of the source code and the test so that it is easily linked.
|
|
60
|
-
#. Branch names
|
|
61
|
-
"enhancement" | "bug" | "hotfix"/< ticket_nr>_<description>
|
|
62
|
-
|
|
63
|
-
where
|
|
64
|
-
enhancement - Planned improvement or addition to functionality; non-urgent.
|
|
65
|
-
|
|
66
|
-
bug - An error or defect causing incorrect or unexpected behavior; typically fixed in regular development cycles.
|
|
67
|
-
|
|
68
|
-
hotfix - An urgent, critical fix applied directly to the live environment, often bypassing regular development cycles.
|
|
69
|
-
|
|
70
|
-
ticket_nr: Ticket number assigned to the issue in GitHub. Once an issue is registered, the owner will assign a ticket.
|
|
71
|
-
|
|
72
|
-
description: GitHub issue title or combination of titles is more than one issue is addressed.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Releasing
|
|
76
|
-
~~~~~~~~~
|
|
77
|
-
For the purpose of push and release of code two script files are included. Use there two files to files to make life a
|
|
78
|
-
bit easier. The scripts make use of the ``gitit`` module to simplify tasks.
|
|
79
|
-
|
|
80
|
-
#. ``push.bat`` - Use this script to push branches to GitHub repository. In principle it does the following:
|
|
81
|
-
|
|
82
|
-
usage: push message
|
|
83
|
-
|
|
84
|
-
e.g. push "Changed the Infinite Improbability Drive"
|
|
85
|
-
|
|
86
|
-
#. .rst syntax check
|
|
87
|
-
#. git add -A
|
|
88
|
-
#. git commit -m message (with `pre-commit` including `black` and `flake8`)
|
|
89
|
-
#. git push --all
|
|
90
|
-
|
|
91
|
-
#. ``release.bat`` - Use this script to push a new tag and release to the GitHub repository. Remember to change the version number in the setup.cfg else the workflow will fail.
|
|
92
|
-
|
|
93
|
-
usage: release version The version will match the release and the tag. Only issue a release once a push.bat was successful. In principle it does the following:
|
|
94
|
-
|
|
95
|
-
e.g. release 1.2.3
|
|
96
|
-
|
|
97
|
-
#. Commit the changes
|
|
98
|
-
#. Create and push the release tag with the correct naming conventions.
|
|
99
|
-
#. Checkout master since it assumes that the branch is now merged with master and will be deleted.
|
|
100
|
-
#. display a list of all the current branches as a reminder to delete the branch on completion.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
.. General
|
|
104
|
-
|
|
105
|
-
.. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-✖-red.svg?style=flat-square
|
|
106
|
-
:target: http://unmaintained.tech/
|
|
107
|
-
:alt: Maintenance - not intended
|
|
108
|
-
|
|
109
|
-
.. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-✔-green.svg?style=flat-square
|
|
110
|
-
:target: http://unmaintained.tech/
|
|
111
|
-
:alt: Maintenance - intended
|
|
112
|
-
|
|
113
|
-
.. |license| image:: https://img.shields.io/pypi/l/SQLAlchemyExample
|
|
114
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/LICENSE
|
|
115
|
-
:alt: License
|
|
116
|
-
|
|
117
|
-
.. |semver| image:: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square
|
|
118
|
-
:target: https://semver.org/
|
|
119
|
-
:alt: Semantic Versioning - 2.0.0
|
|
120
|
-
|
|
121
|
-
.. |codestyle| image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
|
122
|
-
:target: https://github.com/psf/black
|
|
123
|
-
:alt: Code Style Black
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
.. CI
|
|
127
|
-
|
|
128
|
-
.. |pre_commit_ci| image:: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/SQLAlchemyExample/pre-commit.yml?label=pre-commit
|
|
129
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/.github/workflows/pre-commit.yml
|
|
130
|
-
:alt: Pre-Commit
|
|
131
|
-
|
|
132
|
-
.. |gha_tests| image:: https://img.shields.io/github/actions/workflow/status/hendrikdutoit/SQLAlchemyExample/ci.yml?label=ci
|
|
133
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/.github/workflows/ci.yml
|
|
134
|
-
:alt: Test status
|
|
135
|
-
|
|
136
|
-
.. |gha_docu| image:: https://img.shields.io/readthedocs/sqlalchemyexample
|
|
137
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/blob/master/.github/workflows/check-rst-documentation.yml
|
|
138
|
-
:alt: Read the Docs
|
|
139
|
-
|
|
140
|
-
.. |codecov| image:: https://img.shields.io/codecov/c/gh/hendrikdutoit/SQLAlchemyExample
|
|
141
|
-
:target: https://app.codecov.io/gh/hendrikdutoit/SQLAlchemyExample
|
|
142
|
-
:alt: CodeCov
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
.. PyPI
|
|
146
|
-
|
|
147
|
-
.. |pypi_release| image:: https://img.shields.io/pypi/v/SQLAlchemyExample
|
|
148
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
149
|
-
:alt: PyPI - Package latest release
|
|
150
|
-
|
|
151
|
-
.. |pypi_py_versions| image:: https://img.shields.io/pypi/pyversions/SQLAlchemyExample
|
|
152
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
153
|
-
:alt: PyPI - Supported Python Versions
|
|
154
|
-
|
|
155
|
-
.. |pypi_format| image:: https://img.shields.io/pypi/wheel/SQLAlchemyExample
|
|
156
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
157
|
-
:alt: PyPI - Format
|
|
158
|
-
|
|
159
|
-
.. |pypi_downloads| image:: https://img.shields.io/pypi/dm/SQLAlchemyExample
|
|
160
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
161
|
-
:alt: PyPI - Monthly downloads
|
|
162
|
-
|
|
163
|
-
.. |pypi_status| image:: https://img.shields.io/pypi/status/SQLAlchemyExample
|
|
164
|
-
:target: https://pypi.org/project/SQLAlchemyExample/
|
|
165
|
-
:alt: PyPI - Status
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
.. GitHub
|
|
169
|
-
|
|
170
|
-
.. |gh_issues| image:: https://img.shields.io/github/issues-raw/hendrikdutoit/SQLAlchemyExample
|
|
171
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/issues
|
|
172
|
-
:alt: GitHub - Issue Counter
|
|
173
|
-
|
|
174
|
-
.. |gh_language| image:: https://img.shields.io/github/languages/top/hendrikdutoit/SQLAlchemyExample
|
|
175
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample
|
|
176
|
-
:alt: GitHub - Top Language
|
|
177
|
-
|
|
178
|
-
.. |gh_last_commit| image:: https://img.shields.io/github/last-commit/hendrikdutoit/SQLAlchemyExample/master
|
|
179
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/commit/master
|
|
180
|
-
:alt: GitHub - Last Commit
|
|
181
|
-
|
|
182
|
-
.. |gh_deployment| image:: https://img.shields.io/github/deployments/hendrikdutoit/SQLAlchemyExample/pypi
|
|
183
|
-
:target: https://github.com/hendrikdutoit/SQLAlchemyExample/deployments/pypi
|
|
184
|
-
:alt: GitHub - PiPy Deployment
|
sqldbwrpr-4.2.0/pyproject.toml
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = [
|
|
3
|
-
"poetry-core>=1.0.0",
|
|
4
|
-
]
|
|
5
|
-
build-backend = "poetry.core.masonry.api"
|
|
6
|
-
|
|
7
|
-
[tool.black]
|
|
8
|
-
line-length = 120
|
|
9
|
-
#skip-string-normalization = true
|
|
10
|
-
target-version = [
|
|
11
|
-
"py312",
|
|
12
|
-
]
|
|
13
|
-
|
|
14
|
-
[tool.codespell]
|
|
15
|
-
count = ''
|
|
16
|
-
quiet-level = 2
|
|
17
|
-
skip = 'documentation/Archive/*'
|
|
18
|
-
ignore-words-list = 'space-holder'
|
|
19
|
-
|
|
20
|
-
[tool.coverage.run]
|
|
21
|
-
source = [
|
|
22
|
-
'src',
|
|
23
|
-
'tests',
|
|
24
|
-
]
|
|
25
|
-
|
|
26
|
-
[tool.isort]
|
|
27
|
-
profile = "black"
|
|
28
|
-
|
|
29
|
-
[tool.poetry]
|
|
30
|
-
name = 'SQLDbWrpr'
|
|
31
|
-
version = '4.2.0'
|
|
32
|
-
description = 'Wrapper for importing CSV and Text files into MySQL and Postgress'
|
|
33
|
-
authors = [
|
|
34
|
-
"Hendrik du Toit <hendrik@brightedge.co.za>",
|
|
35
|
-
]
|
|
36
|
-
license = "MIT"
|
|
37
|
-
readme = "README.rst"
|
|
38
|
-
classifiers = [
|
|
39
|
-
'Development Status :: 5 - Production/Stable',
|
|
40
|
-
'Intended Audience :: Developers',
|
|
41
|
-
'Intended Audience :: Information Technology',
|
|
42
|
-
'Topic :: Software Development',
|
|
43
|
-
'Topic :: Text Processing',
|
|
44
|
-
'Topic :: Utilities',
|
|
45
|
-
'License :: OSI Approved :: MIT License',
|
|
46
|
-
'Programming Language :: Python :: 3.10',
|
|
47
|
-
'Programming Language :: Python :: 3.11',
|
|
48
|
-
'Programming Language :: Python :: 3.12',
|
|
49
|
-
]
|
|
50
|
-
# documentation = "https://readthedocs.org"
|
|
51
|
-
homepage = 'https://github.com/BrightEdgeeServices/SQLDbWrpr'
|
|
52
|
-
repository = "https://github.com/RealTimeEvents/SQLDbWrpr.git"
|
|
53
|
-
|
|
54
|
-
[tool.poetry.dependencies]
|
|
55
|
-
python = "^3.12.2"
|
|
56
|
-
mysql-connector-python = "^9.1.0"
|
|
57
|
-
csvwrpr = "^1.16.0"
|
|
58
|
-
fixdate = "^2.0.0"
|
|
59
|
-
pyodbc = "^5.2.0"
|
|
60
|
-
|
|
61
|
-
[tool.poetry.group.dev.dependencies]
|
|
62
|
-
mdformat-gfm = "^0.3.6"
|
|
63
|
-
mdformat-frontmatter = "^2.0.8"
|
|
64
|
-
mdformat-footnote = "^0.1.1"
|
|
65
|
-
black = "^24.8.0"
|
|
66
|
-
flake8 = "^7.1.1"
|
|
67
|
-
pre-commit = "^3.8.0"
|
|
68
|
-
pytest = "^8.3.4"
|
|
69
|
-
codecov = "^2.1.13"
|
|
70
|
-
pytest-cov = "^6.0.0"
|
|
71
|
-
rstcheck = "^6.2.4"
|
|
72
|
-
pydantic-settings = "^2.7.1"
|
|
73
|
-
|
|
74
|
-
[tool.poetry.urls]
|
|
75
|
-
issues = "https://github.com/BrightEdgeeServices/SQLDbWrpr/issues"
|
|
76
|
-
changelog = 'https://github.com/BrightEdgeeServices/SQLDbWrpr/blob/enhancement/master/ReleaseNotes.md'
|
|
77
|
-
|
|
78
|
-
[tool.pytest.ini_options]
|
|
79
|
-
addopts = [
|
|
80
|
-
'-vv',
|
|
81
|
-
'--ignore-glob=*\\Archive',
|
|
82
|
-
]
|
|
83
|
-
#addopts = ['--import-mode=importlib', "-v", "--cov=./", "--ignore-glob=*\\Archive", "--cov-report=html"]
|
|
84
|
-
markers = [
|
|
85
|
-
"select: Run a selection of tests",
|
|
86
|
-
]
|
|
87
|
-
filterwarnings = [
|
|
88
|
-
"ignore::DeprecationWarning",
|
|
89
|
-
]
|
|
90
|
-
pythonpath = [
|
|
91
|
-
'src',
|
|
92
|
-
'tests',
|
|
93
|
-
]
|
|
94
|
-
testpaths = 'tests'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|