SQLDbWrpr 4.2.0__py3-none-any.whl → 4.3.0__py3-none-any.whl

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.
@@ -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,6 @@
1
+ sqldbwrpr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ sqldbwrpr/sqldbwrpr.py,sha256=M83zxm0FOsYgfXUSbirZSj--KztpR04KNxtiNzcBCLY,60535
3
+ sqldbwrpr-4.3.0.dist-info/LICENSE.txt,sha256=9EfRqm3mhZUhYaSXwaOoqRjh_CHs7tec3q_EAeGpU-8,1073
4
+ sqldbwrpr-4.3.0.dist-info/METADATA,sha256=d1kQQkvEZDNp8em910kaUz42PhrwOzO-TvMA4qf2vP4,6096
5
+ sqldbwrpr-4.3.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
6
+ sqldbwrpr-4.3.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.0
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -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
-
@@ -1,6 +0,0 @@
1
- sqldbwrpr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- sqldbwrpr/sqldbwrpr.py,sha256=M83zxm0FOsYgfXUSbirZSj--KztpR04KNxtiNzcBCLY,60535
3
- sqldbwrpr-4.2.0.dist-info/LICENSE,sha256=9EfRqm3mhZUhYaSXwaOoqRjh_CHs7tec3q_EAeGpU-8,1073
4
- sqldbwrpr-4.2.0.dist-info/METADATA,sha256=s11e7BaZP66F7sHbDyeue63FfToLppZb0kPq4XCeoio,9544
5
- sqldbwrpr-4.2.0.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
6
- sqldbwrpr-4.2.0.dist-info/RECORD,,