SQLDbWrpr 4.1.4__tar.gz → 4.2.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.
Files changed (66) hide show
  1. {SQLDbWrpr-4.1.4 → sqldbwrpr-4.2.0}/LICENSE +1 -1
  2. {SQLDbWrpr-4.1.4 → sqldbwrpr-4.2.0}/PKG-INFO +24 -48
  3. {SQLDbWrpr-4.1.4 → sqldbwrpr-4.2.0}/README.rst +3 -3
  4. sqldbwrpr-4.2.0/pyproject.toml +94 -0
  5. {SQLDbWrpr-4.1.4 → sqldbwrpr-4.2.0}/src/sqldbwrpr/sqldbwrpr.py +1370 -1370
  6. SQLDbWrpr-4.1.4/.coveragerc +0 -3
  7. SQLDbWrpr-4.1.4/.flake8 +0 -12
  8. SQLDbWrpr-4.1.4/.github/CODEOWNERS +0 -27
  9. SQLDbWrpr-4.1.4/.github/ISSUE_TEMPLATE/bugfix.md +0 -35
  10. SQLDbWrpr-4.1.4/.github/ISSUE_TEMPLATE/config.yml +0 -5
  11. SQLDbWrpr-4.1.4/.github/ISSUE_TEMPLATE/enhancement.md +0 -24
  12. SQLDbWrpr-4.1.4/.github/ISSUE_TEMPLATE/hotfix.md +0 -33
  13. SQLDbWrpr-4.1.4/.github/dependabot.yml +0 -10
  14. SQLDbWrpr-4.1.4/.github/workflows/00-deployment-pipeline.yml +0 -22
  15. SQLDbWrpr-4.1.4/.github/workflows/01-pre-commit.yml +0 -30
  16. SQLDbWrpr-4.1.4/.github/workflows/02-check-rst-documentation.yml +0 -31
  17. SQLDbWrpr-4.1.4/.github/workflows/03-ci.yml +0 -72
  18. SQLDbWrpr-4.1.4/.github/workflows/04-build-and-release-to-pypi.yml +0 -69
  19. SQLDbWrpr-4.1.4/.gitignore +0 -159
  20. SQLDbWrpr-4.1.4/.packageit/packageit.ini +0 -157
  21. SQLDbWrpr-4.1.4/.packageit/release.toml +0 -74
  22. SQLDbWrpr-4.1.4/.pre-commit-config.yaml +0 -55
  23. SQLDbWrpr-4.1.4/.readthedocs.yaml +0 -24
  24. SQLDbWrpr-4.1.4/Dockerfile +0 -20
  25. SQLDbWrpr-4.1.4/MANIFEST.in +0 -5
  26. SQLDbWrpr-4.1.4/docker-compose.yml +0 -15
  27. SQLDbWrpr-4.1.4/docker-rebuild.bat +0 -4
  28. SQLDbWrpr-4.1.4/docker-rebuild.ps1 +0 -11
  29. SQLDbWrpr-4.1.4/docs/Makefile +0 -20
  30. SQLDbWrpr-4.1.4/docs/make.bat +0 -35
  31. SQLDbWrpr-4.1.4/docs/requirements_docs.txt +0 -1
  32. SQLDbWrpr-4.1.4/docs/source/Installation.rst +0 -1
  33. SQLDbWrpr-4.1.4/docs/source/api.rst +0 -9
  34. SQLDbWrpr-4.1.4/docs/source/conf.py +0 -23
  35. SQLDbWrpr-4.1.4/docs/source/conventions.rst +0 -15
  36. SQLDbWrpr-4.1.4/docs/source/examples.rst +0 -26
  37. SQLDbWrpr-4.1.4/docs/source/faq.rst +0 -23
  38. SQLDbWrpr-4.1.4/docs/source/index.rst +0 -39
  39. SQLDbWrpr-4.1.4/install.ps1 +0 -3
  40. SQLDbWrpr-4.1.4/pyproject.toml +0 -83
  41. SQLDbWrpr-4.1.4/requirements/dev.txt +0 -0
  42. SQLDbWrpr-4.1.4/requirements/requirements_docs.txt +0 -2
  43. SQLDbWrpr-4.1.4/setup.cfg +0 -4
  44. SQLDbWrpr-4.1.4/src/SQLDbWrpr.egg-info/PKG-INFO +0 -239
  45. SQLDbWrpr-4.1.4/src/SQLDbWrpr.egg-info/SOURCES.txt +0 -63
  46. SQLDbWrpr-4.1.4/src/SQLDbWrpr.egg-info/dependency_links.txt +0 -1
  47. SQLDbWrpr-4.1.4/src/SQLDbWrpr.egg-info/requires.txt +0 -14
  48. SQLDbWrpr-4.1.4/src/SQLDbWrpr.egg-info/top_level.txt +0 -1
  49. SQLDbWrpr-4.1.4/tests/TestData/Country.csv +0 -4
  50. SQLDbWrpr-4.1.4/tests/TestData/IncompleteRecords.csv +0 -9
  51. SQLDbWrpr-4.1.4/tests/TestData/JoinExport.csv +0 -3
  52. SQLDbWrpr-4.1.4/tests/TestData/Member.csv +0 -4
  53. SQLDbWrpr-4.1.4/tests/TestData/MemberExport.csv +0 -3
  54. SQLDbWrpr-4.1.4/tests/TestData/MemberExport02.csv +0 -2
  55. SQLDbWrpr-4.1.4/tests/TestData/MemberOrg.csv +0 -4
  56. SQLDbWrpr-4.1.4/tests/TestData/MemberOrgExport.csv +0 -4
  57. SQLDbWrpr-4.1.4/tests/TestData/MultiVolCsv1.csv +0 -60
  58. SQLDbWrpr-4.1.4/tests/TestData/MultiVolCsv2.csv +0 -301
  59. SQLDbWrpr-4.1.4/tests/TestData/Organization.csv +0 -4
  60. SQLDbWrpr-4.1.4/tests/TestData/OrganizationExport.csv +0 -4
  61. SQLDbWrpr-4.1.4/tests/TestData/Rating.csv +0 -7
  62. SQLDbWrpr-4.1.4/tests/TestData/SplitFile01.csv +0 -4
  63. SQLDbWrpr-4.1.4/tests/conftest.py +0 -0
  64. SQLDbWrpr-4.1.4/tests/fixtures.py +0 -452
  65. SQLDbWrpr-4.1.4/tests/test_sqldbwrpr.py +0 -1521
  66. {SQLDbWrpr-4.1.4 → sqldbwrpr-4.2.0}/src/sqldbwrpr/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) [year] [fullname]
3
+ Copyright (c) 2023, Hendrik du Toit
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,57 +1,32 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: SQLDbWrpr
3
- Version: 4.1.4
3
+ Version: 4.2.0
4
4
  Summary: Wrapper for importing CSV and Text files into MySQL and Postgress
5
- Author-email: Hendrik du Toit <hendrik@brightedge.co.za>, Henru du Toit <henru@brightedge.co.za>, Dirk du Toit <dirk@brightedge.co.za>
6
- License: MIT License
7
-
8
- Copyright (c) [year] [fullname]
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
28
- Project-URL: Changelog, https://github.com/RealTimeEvents/rte-api/blob/enhancement/master/CHANGES.md
29
- Project-URL: Homepage, https://github.com/RealTimeEvents/rte-api
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
30
10
  Classifier: Development Status :: 5 - Production/Stable
31
11
  Classifier: Intended Audience :: Developers
32
12
  Classifier: Intended Audience :: Information Technology
33
- Classifier: Topic :: Software Development
34
- Classifier: Topic :: Text Processing
35
- Classifier: Topic :: Utilities
36
13
  Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.13
37
16
  Classifier: Programming Language :: Python :: 3.10
38
17
  Classifier: Programming Language :: Python :: 3.11
39
- Requires-Python: <=12.0,>=3.8
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
40
29
  Description-Content-Type: text/x-rst
41
- License-File: LICENSE
42
- Requires-Dist: beetools
43
- Requires-Dist: csvwrpr
44
- Requires-Dist: displayfx
45
- Requires-Dist: fixdate
46
- Requires-Dist: pyodbc
47
- Requires-Dist: mysql.connector
48
- Provides-Extra: dev
49
- Requires-Dist: git-it; extra == "dev"
50
- Requires-Dist: codecov; extra == "dev"
51
- Requires-Dist: docutils; extra == "dev"
52
- Requires-Dist: pytest; extra == "dev"
53
- Requires-Dist: pytest-cov; extra == "dev"
54
- Requires-Dist: rstcheck; extra == "dev"
55
30
 
56
31
  ====================
57
32
  Exploring SQLAlchemy
@@ -60,7 +35,7 @@ Exploring SQLAlchemy
60
35
  +-----------+------------------------------------------------------------------------------------+
61
36
  |**General**| |maintenance_y| |semver| |license| |
62
37
  +-----------+------------------------------------------------------------------------------------+
63
- |**CI** | |gha_tests| |gha_docu| |pre_commit_ci| |codestyle| |codecov| |
38
+ |**CI** | |codestyle| |codecov| |
64
39
  +-----------+------------------------------------------------------------------------------------+
65
40
  |**PyPI** | |pypi_release| |pypi_py_versions| |pypi_status| |pypi_format| |pypi_downloads| |
66
41
  +-----------+------------------------------------------------------------------------------------+
@@ -157,11 +132,11 @@ bit easier. The scripts make use of the ``gitit`` module to simplify tasks.
157
132
 
158
133
  .. General
159
134
 
160
- .. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-?-red.svg?style=flat-square
135
+ .. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-✖-red.svg?style=flat-square
161
136
  :target: http://unmaintained.tech/
162
137
  :alt: Maintenance - not intended
163
138
 
164
- .. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-?-green.svg?style=flat-square
139
+ .. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-✔-green.svg?style=flat-square
165
140
  :target: http://unmaintained.tech/
166
141
  :alt: Maintenance - intended
167
142
 
@@ -237,3 +212,4 @@ bit easier. The scripts make use of the ``gitit`` module to simplify tasks.
237
212
  .. |gh_deployment| image:: https://img.shields.io/github/deployments/hendrikdutoit/SQLAlchemyExample/pypi
238
213
  :target: https://github.com/hendrikdutoit/SQLAlchemyExample/deployments/pypi
239
214
  :alt: GitHub - PiPy Deployment
215
+
@@ -5,7 +5,7 @@ Exploring SQLAlchemy
5
5
  +-----------+------------------------------------------------------------------------------------+
6
6
  |**General**| |maintenance_y| |semver| |license| |
7
7
  +-----------+------------------------------------------------------------------------------------+
8
- |**CI** | |gha_tests| |gha_docu| |pre_commit_ci| |codestyle| |codecov| |
8
+ |**CI** | |codestyle| |codecov| |
9
9
  +-----------+------------------------------------------------------------------------------------+
10
10
  |**PyPI** | |pypi_release| |pypi_py_versions| |pypi_status| |pypi_format| |pypi_downloads| |
11
11
  +-----------+------------------------------------------------------------------------------------+
@@ -102,11 +102,11 @@ bit easier. The scripts make use of the ``gitit`` module to simplify tasks.
102
102
 
103
103
  .. General
104
104
 
105
- .. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-?-red.svg?style=flat-square
105
+ .. |maintenance_n| image:: https://img.shields.io/badge/Maintenance%20Intended-✖-red.svg?style=flat-square
106
106
  :target: http://unmaintained.tech/
107
107
  :alt: Maintenance - not intended
108
108
 
109
- .. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-?-green.svg?style=flat-square
109
+ .. |maintenance_y| image:: https://img.shields.io/badge/Maintenance%20Intended-✔-green.svg?style=flat-square
110
110
  :target: http://unmaintained.tech/
111
111
  :alt: Maintenance - intended
112
112
 
@@ -0,0 +1,94 @@
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'