Metadata-Version: 2.1
Name: SQLDbWrpr
Version: 4.0.1
Summary: Wrapper for importing CSV and Text files into MySQL and Postgress
Author: Hendrik du Toit
Author-email: hendrik@brightedge.co.za
License: License :: OSI Approved :: MIT License
Description-Content-Type: text/x-rst
License-File: LICENSE

Wrapper for importing CSV and Text files into MySQL and Postgress.

    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.

=======
Testing
=======

This project uses ``pytest`` to run tests and also to test docstring examples.

Install the test dependencies.

.. code-block:: bash

    $ pip install -r requirements_test.txt

Run the tests.

==========
Developing
==========

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.

.. code-block:: bash

    $ pip install black flake8 pre-commit
    $ pre-commit install

=========
Releasing
=========

Releases are published automatically when a tag is pushed to GitHub.

.. code-block:: bash

    # Set next version number
    export RELEASE = x.x.x

    # Create tags
    git commit --allow -empty -m "Release $RELEASE"
    git tag -a $RELEASE -m "Version $RELEASE"

    # Push
    git push upstream --tags

