Metadata-Version: 2.1
Name: saitama
Version: 0.5.0
Summary: A python toolset to manage postgres migrations and testing
Home-page: https://github.com/spapanik/saitama
License: LGPL-3.0+
Keywords: unit
Author: Stephanos Kuma
Author-email: stephanos@kuma.ai
Requires-Python: >=3.7.0,<4.0.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Database
Requires-Dist: psycopg2 (>=2.8.0,<3.0.0)
Requires-Dist: tomlkit (>=0.8.0,<0.9.0)
Project-URL: Repository, https://github.com/spapanik/saitama
Description-Content-Type: text/x-rst

===================================
saitama: pure postgres unit-testing
===================================

.. image:: https://github.com/spapanik/saitama/actions/workflows/build.yml/badge.svg
  :alt: Build
  :target: https://github.com/spapanik/saitama/actions/workflows/build.yml
.. image:: https://img.shields.io/lgtm/alerts/g/spapanik/saitama.svg
  :alt: Total alerts
  :target: https://lgtm.com/projects/g/spapanik/saitama/alerts/
.. image:: https://img.shields.io/github/license/spapanik/saitama
  :alt: License
  :target: https://github.com/spapanik/saitama/blob/main/LICENSE.txt
.. image:: https://img.shields.io/pypi/v/saitama
  :alt: PyPI
  :target: https://pypi.org/project/saitama
.. image:: https://pepy.tech/badge/saitama
  :alt: Downloads
  :target: https://pepy.tech/project/saitama
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  :alt: Code style
  :target: https://github.com/psf/black

``saitama`` is offering a way to write unittest and migrations in pure postgres.

In a nutshell
-------------

Installation
^^^^^^^^^^^^

The easiest way is to use pip to install saitama.

.. code:: console

    $ pip install --user saitama

Usage
^^^^^

``saitama``, once installed, offers a single command, ``punch``, that controls the migrations and the testing.
``punch`` follows the GNU recommendations for command line interfaces, and offers:

* ``-h`` or ``--help`` to print help, and
* ``-V`` or ``--version`` to print the version


Links
-----

- `Documentation`_
- `Changelog`_


.. _poetry: https://python-poetry.org/
.. _Changelog: https://github.com/spapanik/saitama/blob/main/CHANGELOG.rst
.. _Documentation: https://saitama.readthedocs.io/en/latest/

