SQLDbWrpr 4.2.0__tar.gz → 5.0.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.2.0/LICENSE → sqldbwrpr-5.0.0/LICENSE.txt +1 -1
- sqldbwrpr-5.0.0/PKG-INFO +77 -0
- sqldbwrpr-5.0.0/README.md +43 -0
- sqldbwrpr-5.0.0/pyproject.toml +124 -0
- {sqldbwrpr-4.2.0 → sqldbwrpr-5.0.0}/src/sqldbwrpr/sqldbwrpr.py +1370 -1370
- 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 → sqldbwrpr-5.0.0}/src/sqldbwrpr/__init__.py +0 -0
sqldbwrpr-5.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: SQLDbWrpr
|
|
3
|
+
Version: 5.0.0
|
|
4
|
+
Summary: Wrapper for importing CSV and Text files into MySQL and Postgress
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE.txt
|
|
7
|
+
Author: Hendrik du Toit
|
|
8
|
+
Author-email: hendrik@brightedge.co.za
|
|
9
|
+
Maintainer: Hendrik du Toit
|
|
10
|
+
Maintainer-email: hendrikdt@citiqprepaid.co.za
|
|
11
|
+
Requires-Python: >=3.10
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Intended Audience :: Information Technology
|
|
15
|
+
Classifier: Topic :: Software Development
|
|
16
|
+
Classifier: Topic :: Text Processing
|
|
17
|
+
Classifier: Topic :: Utilities
|
|
18
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Requires-Dist: csvwrpr (>=1.16.1,<2.0.0)
|
|
24
|
+
Requires-Dist: fixdate (>=2.1.0,<3.0.0)
|
|
25
|
+
Requires-Dist: mysql-connector (>=2.2.9,<3.0.0)
|
|
26
|
+
Requires-Dist: pydantic-settings (>=2.12.0,<3.0.0)
|
|
27
|
+
Requires-Dist: pyodbc (>=5.3.0,<6.0.0)
|
|
28
|
+
Project-URL: Homepage, https://github.com/BrightEdgeeServices/SqlDbWrpr
|
|
29
|
+
Project-URL: Issues, https://github.com/BrightEdgeeServices/SqlDbWrpr/issues
|
|
30
|
+
Project-URL: Repository, https://github.com/BrightEdgeeServices/SqlDbWrpr.git
|
|
31
|
+
Project-URL: changelog, https://github.com/BrightEdgeeServices/SqlDbWrpr/releases
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# SqlDbWrpr
|
|
35
|
+
|
|
36
|
+
| **Category** | **Status' and Links** |
|
|
37
|
+
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
38
|
+
| General | [![][general_maintenance_y_img]][general_maintenance_y_lnk] [![][general_semver_pic]][general_semver_link] [![][general_license_img]][general_license_lnk] |
|
|
39
|
+
| 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] |
|
|
40
|
+
| 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] |
|
|
41
|
+
| 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] |
|
|
42
|
+
|
|
43
|
+
## Overview
|
|
44
|
+
|
|
45
|
+
[cicd_codestyle_img]: https://img.shields.io/badge/code%20style-black-000000.svg "Black"
|
|
46
|
+
[cicd_codestyle_lnk]: https://github.com/psf/black "Black"
|
|
47
|
+
[cicd_pre_commit_img]: https://img.shields.io/github/actions/workflow/status/BrightEdgeeServices/SqlDbWrpr/pre-commit.yml?label=pre-commit "Pre-Commit"
|
|
48
|
+
[cicd_pre_commit_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/.github/workflows/pre-commit.yml "Pre-Commit"
|
|
49
|
+
[codecov_img]: https://img.shields.io/codecov/c/gh/BrightEdgeeServices/SqlDbWrpr "CodeCov"
|
|
50
|
+
[codecov_lnk]: https://app.codecov.io/gh/BrightEdgeeServices/SqlDbWrpr "CodeCov"
|
|
51
|
+
[general_license_img]: https://img.shields.io/pypi/l/SqlDbWrpr "License"
|
|
52
|
+
[general_license_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/LICENSE "License"
|
|
53
|
+
[general_maintenance_y_img]: https://img.shields.io/badge/Maintenance%20Intended-%E2%9C%94-green.svg?style=flat-square "Maintenance - intended"
|
|
54
|
+
[general_maintenance_y_lnk]: http://unmaintained.tech/ "Maintenance - intended"
|
|
55
|
+
[general_semver_link]: https://semver.org/ "Sentic Versioning - 2.0.0"
|
|
56
|
+
[general_semver_pic]: https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen.svg?style=flat-square "Sentic Versioning - 2.0.0"
|
|
57
|
+
[gh_deployment_img]: https://img.shields.io/github/deployments/BrightEdgeeServices/SqlDbWrpr/pypi "GitHub - PiPy Deployment"
|
|
58
|
+
[gh_deployment_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/deployments/pypi "GitHub - PiPy Deployment"
|
|
59
|
+
[gh_doc_img]: https://img.shields.io/readthedocs/SqlDbWrpr "Read the Docs"
|
|
60
|
+
[gh_doc_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/.github/workflows/check-rst-documentation.yml "Read the Docs"
|
|
61
|
+
[gh_issues_img]: https://img.shields.io/github/issues-raw/BrightEdgeeServices/SqlDbWrpr "GitHub - Issue Counter"
|
|
62
|
+
[gh_issues_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/issues "GitHub - Issue Counter"
|
|
63
|
+
[gh_language_img]: https://img.shields.io/github/languages/top/BrightEdgeeServices/SqlDbWrpr "GitHub - Top Language"
|
|
64
|
+
[gh_language_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr "GitHub - Top Language"
|
|
65
|
+
[gh_last_commit_img]: https://img.shields.io/github/last-commit/BrightEdgeeServices/SqlDbWrpr/master "GitHub - Last Commit"
|
|
66
|
+
[gh_last_commit_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/commit/master "GitHub - Last Commit"
|
|
67
|
+
[gh_tests_img]: https://img.shields.io/github/actions/workflow/status/BrightEdgeeServices/SqlDbWrpr/ci.yml?label=ci "Test status"
|
|
68
|
+
[gh_tests_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/.github/workflows/ci.yml "Test status"
|
|
69
|
+
[pypi_downloads_img]: https://img.shields.io/pypi/dm/SqlDbWrpr "Monthly downloads"
|
|
70
|
+
[pypi_downloads_lnk]: https://pypi.org/project/SqlDbWrpr/ "Monthly downloads"
|
|
71
|
+
[pypi_format_img]: https://img.shields.io/pypi/wheel/SqlDbWrpr "PyPI - Format"
|
|
72
|
+
[pypi_format_lnk]: https://pypi.org/project/SqlDbWrpr/ "PyPI - Format"
|
|
73
|
+
[pypi_py_versions_img]: https://img.shields.io/pypi/pyversions/SqlDbWrpr "PyPI - Supported Python Versions"
|
|
74
|
+
[pypi_py_versions_lnk]: https://pypi.org/project/SqlDbWrpr/ "PyPI - Supported Python Versions"
|
|
75
|
+
[pypi_release_img]: https://img.shields.io/pypi/v/SqlDbWrpr "Test status"
|
|
76
|
+
[pypi_release_lnk]: https://pypi.org/project/SqlDbWrpr/ "Test status"
|
|
77
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# SqlDbWrpr
|
|
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
|
+
## Overview
|
|
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/BrightEdgeeServices/SqlDbWrpr/pre-commit.yml?label=pre-commit "Pre-Commit"
|
|
15
|
+
[cicd_pre_commit_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/.github/workflows/pre-commit.yml "Pre-Commit"
|
|
16
|
+
[codecov_img]: https://img.shields.io/codecov/c/gh/BrightEdgeeServices/SqlDbWrpr "CodeCov"
|
|
17
|
+
[codecov_lnk]: https://app.codecov.io/gh/BrightEdgeeServices/SqlDbWrpr "CodeCov"
|
|
18
|
+
[general_license_img]: https://img.shields.io/pypi/l/SqlDbWrpr "License"
|
|
19
|
+
[general_license_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/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/BrightEdgeeServices/SqlDbWrpr/pypi "GitHub - PiPy Deployment"
|
|
25
|
+
[gh_deployment_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/deployments/pypi "GitHub - PiPy Deployment"
|
|
26
|
+
[gh_doc_img]: https://img.shields.io/readthedocs/SqlDbWrpr "Read the Docs"
|
|
27
|
+
[gh_doc_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/.github/workflows/check-rst-documentation.yml "Read the Docs"
|
|
28
|
+
[gh_issues_img]: https://img.shields.io/github/issues-raw/BrightEdgeeServices/SqlDbWrpr "GitHub - Issue Counter"
|
|
29
|
+
[gh_issues_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/issues "GitHub - Issue Counter"
|
|
30
|
+
[gh_language_img]: https://img.shields.io/github/languages/top/BrightEdgeeServices/SqlDbWrpr "GitHub - Top Language"
|
|
31
|
+
[gh_language_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr "GitHub - Top Language"
|
|
32
|
+
[gh_last_commit_img]: https://img.shields.io/github/last-commit/BrightEdgeeServices/SqlDbWrpr/master "GitHub - Last Commit"
|
|
33
|
+
[gh_last_commit_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/commit/master "GitHub - Last Commit"
|
|
34
|
+
[gh_tests_img]: https://img.shields.io/github/actions/workflow/status/BrightEdgeeServices/SqlDbWrpr/ci.yml?label=ci "Test status"
|
|
35
|
+
[gh_tests_lnk]: https://github.com/BrightEdgeeServices/SqlDbWrpr/blob/master/.github/workflows/ci.yml "Test status"
|
|
36
|
+
[pypi_downloads_img]: https://img.shields.io/pypi/dm/SqlDbWrpr "Monthly downloads"
|
|
37
|
+
[pypi_downloads_lnk]: https://pypi.org/project/SqlDbWrpr/ "Monthly downloads"
|
|
38
|
+
[pypi_format_img]: https://img.shields.io/pypi/wheel/SqlDbWrpr "PyPI - Format"
|
|
39
|
+
[pypi_format_lnk]: https://pypi.org/project/SqlDbWrpr/ "PyPI - Format"
|
|
40
|
+
[pypi_py_versions_img]: https://img.shields.io/pypi/pyversions/SqlDbWrpr "PyPI - Supported Python Versions"
|
|
41
|
+
[pypi_py_versions_lnk]: https://pypi.org/project/SqlDbWrpr/ "PyPI - Supported Python Versions"
|
|
42
|
+
[pypi_release_img]: https://img.shields.io/pypi/v/SqlDbWrpr "Test status"
|
|
43
|
+
[pypi_release_lnk]: https://pypi.org/project/SqlDbWrpr/ "Test status"
|
|
@@ -0,0 +1,124 @@
|
|
|
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 = '5.0.0'
|
|
10
|
+
description = 'Wrapper for importing CSV and Text files into MySQL and Postgress'
|
|
11
|
+
authors = [
|
|
12
|
+
{ name = "Hendrik du Toit", email = "hendrik@brightedge.co.za" }
|
|
13
|
+
]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 4 - Beta",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"Intended Audience :: Information Technology",
|
|
18
|
+
'Topic :: Software Development',
|
|
19
|
+
'Topic :: Text Processing',
|
|
20
|
+
'Topic :: Utilities',
|
|
21
|
+
"License :: OSI Approved :: MIT License",
|
|
22
|
+
"Programming Language :: Python :: 3.10",
|
|
23
|
+
"Programming Language :: Python :: 3.11",
|
|
24
|
+
"Programming Language :: Python :: 3.12",
|
|
25
|
+
"Programming Language :: Python :: 3.13",
|
|
26
|
+
]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"pydantic-settings (>=2.12.0,<3.0.0)",
|
|
29
|
+
"csvwrpr (>=1.16.1,<2.0.0)",
|
|
30
|
+
"fixdate (>=2.1.0,<3.0.0)",
|
|
31
|
+
"mysql-connector (>=2.2.9,<3.0.0)",
|
|
32
|
+
"pyodbc (>=5.3.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
|
+
requires-python = ">=3.10"
|
|
44
|
+
|
|
45
|
+
[project.urls]
|
|
46
|
+
# documentation = "https://readthedocs.org"
|
|
47
|
+
Issues = "https://github.com/BrightEdgeeServices/SqlDbWrpr/issues"
|
|
48
|
+
changelog = 'https://github.com/BrightEdgeeServices/SqlDbWrpr/releases'
|
|
49
|
+
Homepage = "https://github.com/BrightEdgeeServices/SqlDbWrpr"
|
|
50
|
+
Repository = "https://github.com/BrightEdgeeServices/SqlDbWrpr.git"
|
|
51
|
+
|
|
52
|
+
[tool.black]
|
|
53
|
+
line-length = 120
|
|
54
|
+
target-version = [
|
|
55
|
+
"py313",
|
|
56
|
+
]
|
|
57
|
+
extend-exclude = """
|
|
58
|
+
(
|
|
59
|
+
^tests/testdata.py
|
|
60
|
+
)
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
[tool.codespell]
|
|
64
|
+
count = ""
|
|
65
|
+
quiet-level = 2
|
|
66
|
+
skip = "working/*"
|
|
67
|
+
ignore-words-list = "space-holder"
|
|
68
|
+
write-changes = ""
|
|
69
|
+
|
|
70
|
+
[tool.coverage.run]
|
|
71
|
+
source = [
|
|
72
|
+
"src",
|
|
73
|
+
"tests"
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
[tool.isort]
|
|
77
|
+
profile = "black"
|
|
78
|
+
|
|
79
|
+
[tool.poetry.group.dev]
|
|
80
|
+
optional = true
|
|
81
|
+
|
|
82
|
+
[tool.poetry.group.dev.dependencies]
|
|
83
|
+
black = ">=25.1.0"
|
|
84
|
+
codecov = ">=2.1.13"
|
|
85
|
+
flake8 = ">=7.1.1"
|
|
86
|
+
isort = ">=5.13.2"
|
|
87
|
+
mdformat-gfm = ">=0.4.1"
|
|
88
|
+
mdformat-frontmatter = ">=2.0.8"
|
|
89
|
+
mdformat-footnote = ">=0.1.1"
|
|
90
|
+
pre-commit = ">=4.0.1"
|
|
91
|
+
pygments = "^2.19.1"
|
|
92
|
+
pytest = ">=8.3.4"
|
|
93
|
+
pytest-cov = ">=6.0.0"
|
|
94
|
+
rstcheck = { extras = [
|
|
95
|
+
"sphinx",
|
|
96
|
+
], version = ">=6.2.4" }
|
|
97
|
+
sphinx = ">=8.1.3"
|
|
98
|
+
twine = ">=6.1.0"
|
|
99
|
+
|
|
100
|
+
[[tool.poetry.source]]
|
|
101
|
+
name = "RTE"
|
|
102
|
+
url = "https://github.com/BrightEdgeeServices/PoetryPrivate.git"
|
|
103
|
+
priority = "explicit"
|
|
104
|
+
|
|
105
|
+
[tool.poetry.dependencies]
|
|
106
|
+
|
|
107
|
+
[tool.pytest.ini_options]
|
|
108
|
+
addopts = [
|
|
109
|
+
"-vv",
|
|
110
|
+
"--ignore-glob=*/Archive",
|
|
111
|
+
"--ignore=/legacy",
|
|
112
|
+
"--ignore=tests/legacy",
|
|
113
|
+
]
|
|
114
|
+
filterwarnings = [
|
|
115
|
+
# "ignore::DeprecationWarning",
|
|
116
|
+
]
|
|
117
|
+
pythonpath = [
|
|
118
|
+
"src",
|
|
119
|
+
"tests",
|
|
120
|
+
]
|
|
121
|
+
testpaths = "tests"
|
|
122
|
+
markers = [
|
|
123
|
+
"select: Run a selection of tests",
|
|
124
|
+
]
|